Push event to branch jakarta Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7e722e98a97eea1fdd2004f9763d159144cad676 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-ssh14022457895736245022.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh1488247919822092594.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16050898846828788220.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4938207163770894487.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3133118890872531072.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10465808293514669474.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-602 in /w/workspace/foundry_device-modbus-go_jakarta [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/foundry_device-modbus-go_jakarta # 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 7e722e98a97eea1fdd2004f9763d159144cad676 (jakarta) > 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 7e722e98a97eea1fdd2004f9763d159144cad676 # timeout=10 Commit message: "build: Update SDK to version with 2.1.1 patch fixes (#349)" > git rev-list --no-walk 134ea97e9de4ceea43639929958c6703127f10e1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-01T23:01:39.443Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-01T23:01:39.495Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-01T23:01:39.511Z] ========================================================= [2022-06-01T23:01:39.511Z] EdgeX Global Pipelines Version Info [2022-06-01T23:01:39.511Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-01T23:01:40.610Z] ------------------- [2022-06-01T23:01:40.610Z] stable info: [2022-06-01T23:01:40.610Z] ------------------- [2022-06-01T23:01:40.610Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-01T23:01:40.610Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-06-01T23:01:40.610Z] Message: update stable to v1.0.230 [2022-06-01T23:01:40.610Z] ------------------- [2022-06-01T23:01:40.610Z] experimental info: [2022-06-01T23:01:40.610Z] ------------------- [2022-06-01T23:01:40.610Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-01T23:01:40.610Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-06-01T23:01:40.610Z] Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-01T23:01:40.789Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-06-01T23:01:40.799Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-06-01T23:01:40.811Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-01T23:01:40.822Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-01T23:01:40.837Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-01T23:01:40.846Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-01T23:01:40.856Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-01T23:01:40.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-01T23:01:40.875Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-01T23:01:40.887Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-01T23:01:40.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-01T23:01:40.920Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-06-01T23:01:40.937Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-01T23:01:40.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-01T23:01:40.960Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-01T23:01:40.972Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-01T23:01:40.984Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-01T23:01:40.995Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-01T23:01:41.008Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-01T23:01:41.018Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-06-01T23:01:41.033Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-01T23:01:41.047Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-01T23:01:41.060Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-01T23:01:41.073Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-01T23:01:41.081Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-01T23:01:41.090Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-01T23:01:41.099Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo [2022-06-01T23:01:41.109Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo [2022-06-01T23:01:41.122Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo [2022-06-01T23:01:41.132Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7e722e98a97eea1fdd2004f9763d159144cad676 [Pipeline] echo [2022-06-01T23:01:41.143Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7e722e9 [Pipeline] echo [2022-06-01T23:01:41.155Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T23:01:41.195Z] provisioning config files... [2022-06-01T23:01:41.217Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config5090718967990283066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T23:01:41.525Z] ---> docker-login.sh [2022-06-01T23:01:41.525Z] nexus3.edgexfoundry.org:10001 [2022-06-01T23:01:41.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T23:01:41.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T23:01:41.787Z] Configure a credential helper to remove this warning. See [2022-06-01T23:01:41.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T23:01:41.787Z] [2022-06-01T23:01:41.787Z] Login Succeeded [2022-06-01T23:01:41.787Z] nexus3.edgexfoundry.org:10002 [2022-06-01T23:01:42.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T23:01:42.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T23:01:42.047Z] Configure a credential helper to remove this warning. See [2022-06-01T23:01:42.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T23:01:42.047Z] [2022-06-01T23:01:42.047Z] Login Succeeded [2022-06-01T23:01:42.047Z] nexus3.edgexfoundry.org:10003 [2022-06-01T23:01:42.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T23:01:42.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T23:01:42.047Z] Configure a credential helper to remove this warning. See [2022-06-01T23:01:42.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T23:01:42.047Z] [2022-06-01T23:01:42.047Z] Login Succeeded [2022-06-01T23:01:42.047Z] nexus3.edgexfoundry.org:10004 [2022-06-01T23:01:42.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T23:01:42.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T23:01:42.307Z] Configure a credential helper to remove this warning. See [2022-06-01T23:01:42.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T23:01:42.307Z] [2022-06-01T23:01:42.307Z] Login Succeeded [2022-06-01T23:01:42.307Z] docker.io [2022-06-01T23:01:42.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T23:01:42.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T23:01:42.569Z] Configure a credential helper to remove this warning. See [2022-06-01T23:01:42.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T23:01:42.569Z] [2022-06-01T23:01:42.569Z] Login Succeeded [2022-06-01T23:01:42.569Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T23:01:42.578Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-01T23:01:42.951Z] + git rev-list -1 --merges 7e722e98a97eea1fdd2004f9763d159144cad676~1..7e722e98a97eea1fdd2004f9763d159144cad676 [Pipeline] echo [2022-06-01T23:01:42.973Z] -----------> git rev-list -1 --merges 7e722e98a97eea1fdd2004f9763d159144cad676~1..7e722e98a97eea1fdd2004f9763d159144cad676 7e722e98a97eea1fdd2004f9763d159144cad676 [false] [Pipeline] sh [2022-06-01T23:01:43.271Z] + git log --format=format:%s -1 7e722e98a97eea1fdd2004f9763d159144cad676 [Pipeline] echo [2022-06-01T23:01:43.287Z] ========================================================= [2022-06-01T23:01:43.287Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-01T23:01:43.287Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-01T23:01:43.614Z] + git log --format=format:%s -1 7e722e98a97eea1fdd2004f9763d159144cad676 [Pipeline] echo [2022-06-01T23:01:43.625Z] [semverPrep] GIT_COMMIT: 7e722e98a97eea1fdd2004f9763d159144cad676, Commit Message: build: Update SDK to version with 2.1.1 patch fixes (#349) [Pipeline] echo [2022-06-01T23:01:43.636Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-01T23:01:43.974Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-01T23:01:43.974Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-01T23:01:43.974Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-01T23:01:43.974Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-01T23:01:43.974Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-01T23:01:43.974Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-01T23:01:43.974Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:01:44.322Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T23:01:44.322Z] [2022-06-01T23:01:44.322Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:01:44.622Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T23:01:44.622Z] latest: Pulling from edgex-devops/py-git-semver [2022-06-01T23:01:44.622Z] 1fe172e4850f: Pulling fs layer [2022-06-01T23:01:44.622Z] caf521ccaac6: Pulling fs layer [2022-06-01T23:01:44.622Z] 3ead6fa29328: Pulling fs layer [2022-06-01T23:01:44.622Z] 5c2a1cbceb83: Pulling fs layer [2022-06-01T23:01:44.622Z] a8d5f1318db7: Pulling fs layer [2022-06-01T23:01:44.622Z] c427282e49a2: Pulling fs layer [2022-06-01T23:01:44.622Z] 1827001aaf11: Pulling fs layer [2022-06-01T23:01:44.622Z] 5c2a1cbceb83: Waiting [2022-06-01T23:01:44.622Z] c427282e49a2: Waiting [2022-06-01T23:01:44.622Z] 0714d37db230: Pulling fs layer [2022-06-01T23:01:44.622Z] ac28cf19c067: Pulling fs layer [2022-06-01T23:01:44.622Z] 1827001aaf11: Waiting [2022-06-01T23:01:44.622Z] ca983d60f3e2: Pulling fs layer [2022-06-01T23:01:44.622Z] 9f894cec8388: Pulling fs layer [2022-06-01T23:01:44.622Z] ac28cf19c067: Waiting [2022-06-01T23:01:44.622Z] ca983d60f3e2: Waiting [2022-06-01T23:01:44.622Z] 0714d37db230: Waiting [2022-06-01T23:01:44.622Z] 9f894cec8388: Waiting [2022-06-01T23:01:44.622Z] caf521ccaac6: Download complete [2022-06-01T23:01:44.622Z] 5c2a1cbceb83: Verifying Checksum [2022-06-01T23:01:44.622Z] 5c2a1cbceb83: Download complete [2022-06-01T23:01:44.882Z] a8d5f1318db7: Verifying Checksum [2022-06-01T23:01:44.882Z] a8d5f1318db7: Download complete [2022-06-01T23:01:44.882Z] 3ead6fa29328: Verifying Checksum [2022-06-01T23:01:44.882Z] 3ead6fa29328: Download complete [2022-06-01T23:01:44.882Z] c427282e49a2: Download complete [2022-06-01T23:01:44.882Z] 0714d37db230: Verifying Checksum [2022-06-01T23:01:44.882Z] 0714d37db230: Download complete [2022-06-01T23:01:44.882Z] ac28cf19c067: Verifying Checksum [2022-06-01T23:01:44.882Z] ac28cf19c067: Download complete [2022-06-01T23:01:44.882Z] ca983d60f3e2: Verifying Checksum [2022-06-01T23:01:44.882Z] ca983d60f3e2: Download complete [2022-06-01T23:01:44.882Z] 9f894cec8388: Download complete [2022-06-01T23:01:44.882Z] 1fe172e4850f: Verifying Checksum [2022-06-01T23:01:44.882Z] 1fe172e4850f: Download complete [2022-06-01T23:01:45.143Z] 1827001aaf11: Verifying Checksum [2022-06-01T23:01:45.143Z] 1827001aaf11: Download complete [2022-06-01T23:01:46.084Z] 1fe172e4850f: Pull complete [2022-06-01T23:01:46.344Z] caf521ccaac6: Pull complete [2022-06-01T23:01:46.921Z] 3ead6fa29328: Pull complete [2022-06-01T23:01:46.921Z] 5c2a1cbceb83: Pull complete [2022-06-01T23:01:47.182Z] a8d5f1318db7: Pull complete [2022-06-01T23:01:47.443Z] c427282e49a2: Pull complete [2022-06-01T23:01:49.350Z] 1827001aaf11: Pull complete [2022-06-01T23:01:49.350Z] 0714d37db230: Pull complete [2022-06-01T23:01:49.610Z] ac28cf19c067: Pull complete [2022-06-01T23:01:49.610Z] ca983d60f3e2: Pull complete [2022-06-01T23:01:49.610Z] 9f894cec8388: Pull complete [2022-06-01T23:01:49.610Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-06-01T23:01:49.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T23:01:49.610Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T23:01:49.706Z] prd-ubuntu20.04-docker-8c-8g-602 does not seem to be running inside a container [2022-06-01T23:01:49.742Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-06-01T23:01:51.369Z] $ docker top b9b6bd54efc07a2cf584dfc5fe60e992c105f53e07065d1e5fd3357c6bcbe771 -eo pid,comm [2022-06-01T23:01:51.433Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-01T23:01:51.433Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-01T23:01:51.471Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-01T23:01:51.471Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-01T23:01:51.598Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-01T23:01:51.601Z] $ docker exec b9b6bd54efc07a2cf584dfc5fe60e992c105f53e07065d1e5fd3357c6bcbe771 ssh-agent [2022-06-01T23:01:51.722Z] SSH_AUTH_SOCK=/tmp/ssh-8uvlF84m4Mzm/agent.32 [2022-06-01T23:01:51.722Z] SSH_AGENT_PID=38 [2022-06-01T23:01:51.728Z] Running ssh-add (command line suppressed) [2022-06-01T23:01:51.839Z] Identity added: /w/workspace/foundry_device-modbus-go_jakarta@tmp/private_key_9055563976864322379.key (/w/workspace/foundry_device-modbus-go_jakarta@tmp/private_key_9055563976864322379.key) [2022-06-01T23:01:51.857Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-01T23:01:52.150Z] + git tag --points-at HEAD [Pipeline] } [2022-06-01T23:01:52.163Z] $ docker exec --env ******** --env ******** b9b6bd54efc07a2cf584dfc5fe60e992c105f53e07065d1e5fd3357c6bcbe771 ssh-agent -k [2022-06-01T23:01:52.291Z] unset SSH_AUTH_SOCK; [2022-06-01T23:01:52.292Z] unset SSH_AGENT_PID; [2022-06-01T23:01:52.292Z] echo Agent pid 38 killed; [2022-06-01T23:01:52.307Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-01T23:01:52.332Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-01T23:01:52.332Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-01T23:01:52.477Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-01T23:01:52.481Z] $ docker exec b9b6bd54efc07a2cf584dfc5fe60e992c105f53e07065d1e5fd3357c6bcbe771 ssh-agent [2022-06-01T23:01:52.607Z] SSH_AUTH_SOCK=/tmp/ssh-FALy9MnGrhCY/agent.71 [2022-06-01T23:01:52.607Z] SSH_AGENT_PID=78 [2022-06-01T23:01:52.614Z] Running ssh-add (command line suppressed) [2022-06-01T23:01:52.733Z] Identity added: /w/workspace/foundry_device-modbus-go_jakarta@tmp/private_key_7109953453661783747.key (/w/workspace/foundry_device-modbus-go_jakarta@tmp/private_key_7109953453661783747.key) [2022-06-01T23:01:52.747Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-01T23:01:53.041Z] + git semver init [2022-06-01T23:01:53.301Z] 2022-06-01 23:01:53,282 [run_init] DEBUG init version:0.0.0 force:False [2022-06-01T23:01:53.301Z] 2022-06-01 23:01:53,283 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-modbus-go_jakarta/.semver [2022-06-01T23:01:53.301Z] 2022-06-01 23:01:53,284 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/foundry_device-modbus-go_jakarta/.semver [2022-06-01T23:01:53.301Z] 2022-06-01 23:01:53,284 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/foundry_device-modbus-go_jakarta/.semver'], cwd=/w/workspace/foundry_device-modbus-go_jakarta, universal_newlines=False, shell=None, istream=None) [2022-06-01T23:01:54.243Z] 2022-06-01 23:01:53,967 [append_file] DEBUG append to file:/w/workspace/foundry_device-modbus-go_jakarta/.git/info/exclude [2022-06-01T23:01:54.243Z] 2022-06-01 23:01:53,967 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta with force:False [2022-06-01T23:01:54.243Z] 2022-06-01 23:01:53,967 [read_version] DEBUG read version from /w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta [2022-06-01T23:01:54.244Z] 2022-06-01 23:01:53,967 [read_version] DEBUG read version from /w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta [2022-06-01T23:01:54.244Z] 2.1.1-dev.1 [Pipeline] } [2022-06-01T23:01:54.256Z] $ docker exec --env ******** --env ******** b9b6bd54efc07a2cf584dfc5fe60e992c105f53e07065d1e5fd3357c6bcbe771 ssh-agent -k [2022-06-01T23:01:54.379Z] unset SSH_AUTH_SOCK; [2022-06-01T23:01:54.380Z] unset SSH_AGENT_PID; [2022-06-01T23:01:54.380Z] echo Agent pid 78 killed; [2022-06-01T23:01:54.390Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-01T23:01:54.697Z] + git semver [Pipeline] } [2022-06-01T23:01:54.974Z] $ docker stop --time=1 b9b6bd54efc07a2cf584dfc5fe60e992c105f53e07065d1e5fd3357c6bcbe771 [2022-06-01T23:01:56.341Z] $ docker rm -f b9b6bd54efc07a2cf584dfc5fe60e992c105f53e07065d1e5fd3357c6bcbe771 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-01T23:01:56.690Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-01T23:01:56.949Z] Stashed 1 file(s) [Pipeline] echo [2022-06-01T23:01:56.952Z] [edgeXSemver]: initialized semver on version 2.1.1-dev.1 [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-06-01T23:01:57.098Z] provisioning config files... [2022-06-01T23:01:57.109Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config213115483880034364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T23:01:57.409Z] ---> docker-login.sh [2022-06-01T23:01:57.410Z] nexus3.edgexfoundry.org:10001 [2022-06-01T23:01:57.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T23:01:57.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T23:01:57.410Z] Configure a credential helper to remove this warning. See [2022-06-01T23:01:57.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T23:01:57.410Z] [2022-06-01T23:01:57.410Z] Login Succeeded [2022-06-01T23:01:57.410Z] nexus3.edgexfoundry.org:10002 [2022-06-01T23:01:57.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T23:01:57.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T23:01:57.676Z] Configure a credential helper to remove this warning. See [2022-06-01T23:01:57.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T23:01:57.676Z] [2022-06-01T23:01:57.676Z] Login Succeeded [2022-06-01T23:01:57.676Z] nexus3.edgexfoundry.org:10003 [2022-06-01T23:01:57.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T23:01:57.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T23:01:57.677Z] Configure a credential helper to remove this warning. See [2022-06-01T23:01:57.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T23:01:57.677Z] [2022-06-01T23:01:57.677Z] Login Succeeded [2022-06-01T23:01:57.677Z] nexus3.edgexfoundry.org:10004 [2022-06-01T23:01:57.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T23:01:57.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T23:01:57.977Z] Configure a credential helper to remove this warning. See [2022-06-01T23:01:57.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T23:01:57.977Z] [2022-06-01T23:01:57.977Z] Login Succeeded [2022-06-01T23:01:57.977Z] docker.io [2022-06-01T23:01:57.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T23:01:58.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T23:01:58.244Z] Configure a credential helper to remove this warning. See [2022-06-01T23:01:58.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T23:01:58.244Z] [2022-06-01T23:01:58.244Z] Login Succeeded [2022-06-01T23:01:58.244Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T23:01:58.254Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-01T23:01:58.308Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-01T23:01:58.317Z] ========================================================= [2022-06-01T23:01:58.317Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] [2022-06-01T23:01:58.317Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:01:58.640Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . [2022-06-01T23:01:58.640Z] Sending build context to Docker daemon 17.16MB [2022-06-01T23:01:58.640Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2022-06-01T23:01:58.640Z] Step 2/9 : FROM ${BASE} AS builder [2022-06-01T23:01:58.901Z] 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2022-06-01T23:01:58.901Z] 59bf1c3509f3: Pulling fs layer [2022-06-01T23:01:58.901Z] 666ba61612fd: Pulling fs layer [2022-06-01T23:01:58.901Z] 8ed8ca486205: Pulling fs layer [2022-06-01T23:01:58.901Z] 4fe6c5a15a65: Pulling fs layer [2022-06-01T23:01:58.901Z] 22a0e8bec74d: Pulling fs layer [2022-06-01T23:01:58.901Z] 812f408151ee: Pulling fs layer [2022-06-01T23:01:58.901Z] 4fe6c5a15a65: Waiting [2022-06-01T23:01:58.901Z] 22a0e8bec74d: Waiting [2022-06-01T23:01:58.901Z] bab7bd504b26: Pulling fs layer [2022-06-01T23:01:58.901Z] 070449caade9: Pulling fs layer [2022-06-01T23:01:58.901Z] 8f1a5288e3a6: Pulling fs layer [2022-06-01T23:01:58.901Z] 812f408151ee: Waiting [2022-06-01T23:01:58.901Z] bab7bd504b26: Waiting [2022-06-01T23:01:58.901Z] 070449caade9: Waiting [2022-06-01T23:01:58.901Z] 8ed8ca486205: Download complete [2022-06-01T23:01:58.901Z] 666ba61612fd: Verifying Checksum [2022-06-01T23:01:58.901Z] 666ba61612fd: Download complete [2022-06-01T23:01:58.901Z] 22a0e8bec74d: Download complete [2022-06-01T23:01:58.901Z] 812f408151ee: Verifying Checksum [2022-06-01T23:01:58.901Z] 812f408151ee: Download complete [2022-06-01T23:01:58.901Z] 59bf1c3509f3: Verifying Checksum [2022-06-01T23:01:58.901Z] bab7bd504b26: Verifying Checksum [2022-06-01T23:01:58.901Z] bab7bd504b26: Download complete [2022-06-01T23:01:59.162Z] 070449caade9: Verifying Checksum [2022-06-01T23:01:59.162Z] 070449caade9: Download complete [2022-06-01T23:01:59.162Z] 59bf1c3509f3: Pull complete [2022-06-01T23:01:59.162Z] 666ba61612fd: Pull complete [2022-06-01T23:01:59.425Z] 8ed8ca486205: Pull complete [2022-06-01T23:01:59.685Z] 8f1a5288e3a6: Verifying Checksum [2022-06-01T23:01:59.685Z] 8f1a5288e3a6: Download complete [2022-06-01T23:01:59.685Z] 4fe6c5a15a65: Verifying Checksum [2022-06-01T23:01:59.685Z] 4fe6c5a15a65: Download complete [2022-06-01T23:02:03.884Z] 4fe6c5a15a65: Pull complete [2022-06-01T23:02:03.884Z] 22a0e8bec74d: Pull complete [2022-06-01T23:02:03.884Z] 812f408151ee: Pull complete [2022-06-01T23:02:03.884Z] bab7bd504b26: Pull complete [2022-06-01T23:02:04.146Z] 070449caade9: Pull complete [2022-06-01T23:02:06.056Z] 8f1a5288e3a6: Pull complete [2022-06-01T23:02:06.056Z] Digest: sha256:53030bcd5b82665afb3cefeba7a6fee19172d9224e433a3be554ad5982a25c96 [2022-06-01T23:02:06.056Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts [2022-06-01T23:02:06.056Z] ---> c47586b81864 [2022-06-01T23:02:06.056Z] Step 3/9 : ARG MAKE='make build' [2022-06-01T23:02:07.971Z] ---> Running in c5bdaded1873 [2022-06-01T23:02:07.971Z] Removing intermediate container c5bdaded1873 [2022-06-01T23:02:07.971Z] ---> 605d72a57fbf [2022-06-01T23:02:07.971Z] Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T23:02:07.971Z] ---> Running in c3eb79214e87 [2022-06-01T23:02:08.542Z] Removing intermediate container c3eb79214e87 [2022-06-01T23:02:08.542Z] ---> c43e4ed2aba1 [2022-06-01T23:02:08.542Z] Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-01T23:02:08.542Z] ---> Running in c6afd454df67 [2022-06-01T23:02:08.801Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-01T23:02:09.372Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-01T23:02:09.943Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-06-01T23:02:09.943Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-06-01T23:02:09.943Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-06-01T23:02:10.205Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-06-01T23:02:10.205Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-06-01T23:02:10.205Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-06-01T23:02:10.465Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-06-01T23:02:10.465Z] (8/8) Installing openssh (8.8_p1-r1) [2022-06-01T23:02:10.465Z] Executing busybox-1.34.1-r3.trigger [2022-06-01T23:02:10.465Z] OK: 226 MiB in 60 packages [2022-06-01T23:02:11.034Z] Removing intermediate container c6afd454df67 [2022-06-01T23:02:11.034Z] ---> f161b41e4a0b [2022-06-01T23:02:11.034Z] Step 6/9 : WORKDIR /device-modbus-go [2022-06-01T23:02:11.034Z] ---> Running in a6b7fb61ad95 [2022-06-01T23:02:11.034Z] Removing intermediate container a6b7fb61ad95 [2022-06-01T23:02:11.034Z] ---> e4dbea30d828 [2022-06-01T23:02:11.034Z] Step 7/9 : COPY . . [2022-06-01T23:02:11.976Z] ---> 2a27da9374ec [2022-06-01T23:02:11.976Z] Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T23:02:11.976Z] ---> Running in 1631b656a7ef [2022-06-01T23:02:12.056Z] Still waiting to schedule task [2022-06-01T23:02:12.056Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-06-01T23:02:12.237Z] skipping... [2022-06-01T23:02:12.807Z] Removing intermediate container 1631b656a7ef [2022-06-01T23:02:12.807Z] ---> c0b792aac92c [2022-06-01T23:02:12.807Z] Step 9/9 : RUN ${MAKE} [2022-06-01T23:02:12.807Z] ---> Running in f000fc6e4d99 [2022-06-01T23:02:13.068Z] noop [2022-06-01T23:02:13.328Z] Removing intermediate container f000fc6e4d99 [2022-06-01T23:02:13.328Z] ---> 301e3e8dc0fc [2022-06-01T23:02:13.328Z] Successfully built 301e3e8dc0fc [2022-06-01T23:02:13.328Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:02:13.646Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-01T23:02:13.646Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T23:02:13.725Z] prd-ubuntu20.04-docker-8c-8g-602 does not seem to be running inside a container [2022-06-01T23:02:13.768Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@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 ******** ci-base-image-x86_64 cat [2022-06-01T23:02:14.151Z] $ docker top 8d039599b681b7e97ff1c371424b994d5e11c1a22a982fdb8adfb133c9b89029 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-01T23:02:14.507Z] + go version [2022-06-01T23:02:14.507Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-06-01T23:02:14.523Z] $ docker stop --time=1 8d039599b681b7e97ff1c371424b994d5e11c1a22a982fdb8adfb133c9b89029 [2022-06-01T23:02:15.849Z] $ docker rm -f 8d039599b681b7e97ff1c371424b994d5e11c1a22a982fdb8adfb133c9b89029 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:02:16.247Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-01T23:02:16.247Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T23:02:16.335Z] prd-ubuntu20.04-docker-8c-8g-602 does not seem to be running inside a container [2022-06-01T23:02:16.379Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@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 ******** ci-base-image-x86_64 cat [2022-06-01T23:02:16.741Z] $ docker top 73f4e93117297a5c0ceb6b7a74abd7cbd563f2f1f8f5e404eed669cca43823ea -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-01T23:02:17.103Z] + make test [2022-06-01T23:02:17.104Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-01T23:02:17.367Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-06-01T23:02:23.937Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-06-01T23:02:23.937Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 46.6% of statements [2022-06-01T23:02:23.937Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-01T23:02:26.472Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-01T23:02:26.472Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-01T23:02:26.472Z] ./bin/test-attribution-txt.sh [2022-06-01T23:02:27.041Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1-dev.3 [2022-06-01T23:02:27.041Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1-dev.2 [2022-06-01T23:02:27.041Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 [2022-06-01T23:02:27.302Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-06-01T23:02:27.302Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-06-01T23:02:27.302Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-06-01T23:02:27.302Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1-dev.2 [2022-06-01T23:02:27.302Z] go: downloading github.com/google/uuid v1.3.0 [2022-06-01T23:02:27.302Z] go: downloading github.com/goburrow/modbus v0.1.0 [2022-06-01T23:02:27.302Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-06-01T23:02:27.302Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-06-01T23:02:27.302Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-06-01T23:02:27.302Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-06-01T23:02:27.302Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-06-01T23:02:27.302Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1-dev.1 [2022-06-01T23:02:27.302Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-06-01T23:02:27.302Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-06-01T23:02:27.302Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-06-01T23:02:27.302Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-06-01T23:02:27.302Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-06-01T23:02:27.302Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-06-01T23:02:27.302Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-06-01T23:02:27.302Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-06-01T23:02:27.302Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-06-01T23:02:27.302Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-06-01T23:02:27.302Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-06-01T23:02:27.302Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-06-01T23:02:27.302Z] go: downloading github.com/goburrow/serial v0.1.0 [2022-06-01T23:02:27.302Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-06-01T23:02:27.302Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-06-01T23:02:27.302Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-06-01T23:02:27.302Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-06-01T23:02:27.302Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-06-01T23:02:27.302Z] go: downloading golang.org/x/text v0.3.6 [2022-06-01T23:02:27.302Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-06-01T23:02:27.302Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-06-01T23:02:27.561Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-06-01T23:02:27.561Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-06-01T23:02:27.561Z] go: downloading github.com/x448/float16 v0.8.4 [2022-06-01T23:02:27.561Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-06-01T23:02:27.561Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-06-01T23:02:27.561Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-06-01T23:02:27.561Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-06-01T23:02:27.561Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-06-01T23:02:27.561Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-06-01T23:02:27.561Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-06-01T23:02:27.561Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-06-01T23:02:27.561Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-06-01T23:02:27.561Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-06-01T23:02:27.561Z] go: downloading github.com/fatih/color v1.9.0 [2022-06-01T23:02:27.561Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-06-01T23:02:27.821Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-06-01T23:02:27.821Z] go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo [2022-06-01T23:02:28.772Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-06-01T23:02:29.064Z] + go mod tidy [2022-06-01T23:02:29.064Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-06-01T23:02:29.064Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-06-01T23:02:29.064Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-06-01T23:02:29.064Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-06-01T23:02:29.064Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-06-01T23:02:29.064Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-06-01T23:02:29.064Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-06-01T23:02:29.064Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-06-01T23:02:29.064Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-06-01T23:02:29.064Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-06-01T23:02:29.064Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-06-01T23:02:29.064Z] go: downloading github.com/pkg/errors v0.9.1 [2022-06-01T23:02:29.064Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-06-01T23:02:29.064Z] go: downloading github.com/kr/pretty v0.3.0 [2022-06-01T23:02:29.324Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-06-01T23:02:29.324Z] go: downloading github.com/kr/text v0.2.0 [2022-06-01T23:02:29.324Z] go: downloading github.com/miekg/dns v1.1.26 [2022-06-01T23:02:29.324Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-06-01T23:02:29.324Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-06-01T23:02:29.324Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-06-01T23:02:29.324Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-06-01T23:02:29.324Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-06-01T23:02:29.324Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-06-01T23:02:29.324Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } [2022-06-01T23:02:29.344Z] $ docker stop --time=1 73f4e93117297a5c0ceb6b7a74abd7cbd563f2f1f8f5e404eed669cca43823ea [2022-06-01T23:02:31.758Z] $ docker rm -f 73f4e93117297a5c0ceb6b7a74abd7cbd563f2f1f8f5e404eed669cca43823ea [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-01T23:02:32.286Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-01T23:02:32.353Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-01T23:02:32.785Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-01T23:02:33.076Z] + ls -al . [2022-06-01T23:02:33.076Z] total 192 [2022-06-01T23:02:33.076Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 1 23:02 . [2022-06-01T23:02:33.076Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 23:01 .. [2022-06-01T23:02:33.076Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 1 23:01 .dockerignore [2022-06-01T23:02:33.076Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 23:01 .git [2022-06-01T23:02:33.076Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 23:01 .github [2022-06-01T23:02:33.076Z] -rw-rw-r-- 1 jenkins jenkins 323 Jun 1 23:01 .gitignore [2022-06-01T23:02:33.076Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 23:01 .semver [2022-06-01T23:02:33.076Z] -rw-rw-r-- 1 jenkins jenkins 8010 Jun 1 23:01 Attribution.txt [2022-06-01T23:02:33.076Z] -rw-rw-r-- 1 jenkins jenkins 6038 Jun 1 23:01 CHANGELOG.md [2022-06-01T23:02:33.076Z] -rw-rw-r-- 1 jenkins jenkins 1523 Jun 1 23:01 Dockerfile [2022-06-01T23:02:33.076Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 23:01 GOVERNANCE.md [2022-06-01T23:02:33.076Z] -rw-rw-r-- 1 jenkins jenkins 679 Jun 1 23:01 Jenkinsfile [2022-06-01T23:02:33.076Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 1 23:01 LICENSE [2022-06-01T23:02:33.076Z] -rw-rw-r-- 1 jenkins jenkins 1009 Jun 1 23:01 Makefile [2022-06-01T23:02:33.076Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 1 23:01 OWNERS.md [2022-06-01T23:02:33.076Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jun 1 23:01 README.md [2022-06-01T23:02:33.076Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 1 23:01 VERSION [2022-06-01T23:02:33.076Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 23:01 bin [2022-06-01T23:02:33.076Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 23:01 cmd [2022-06-01T23:02:33.076Z] -rw-r--r-- 1 jenkins jenkins 23727 Jun 1 23:02 coverage.out [2022-06-01T23:02:33.076Z] -rw-rw-r-- 1 jenkins jenkins 300 Jun 1 23:02 go.mod [2022-06-01T23:02:33.076Z] -rw-rw-r-- 1 jenkins jenkins 49535 Jun 1 23:01 go.sum [2022-06-01T23:02:33.076Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 23:01 internal [2022-06-01T23:02:33.076Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 23:01 simulator [2022-06-01T23:02:33.076Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 23:01 snap [2022-06-01T23:02:33.076Z] drwxrwxr-x 6 jenkins jenkins 4096 Jun 1 23:01 vendor [2022-06-01T23:02:33.076Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 1 23:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:02:33.386Z] + 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=7e722e98a97eea1fdd2004f9763d159144cad676 --label arch=amd64 --label version=2.1.1-dev.1 . [2022-06-01T23:02:33.386Z] Sending build context to Docker daemon 17.19MB [2022-06-01T23:02:33.646Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.14 [2022-06-01T23:02:33.646Z] Step 2/22 : FROM ${BASE} AS builder [2022-06-01T23:02:33.646Z] ---> 301e3e8dc0fc [2022-06-01T23:02:33.646Z] Step 3/22 : ARG MAKE='make build' [2022-06-01T23:02:33.646Z] ---> Running in 78aa72ad8998 [2022-06-01T23:02:33.905Z] Removing intermediate container 78aa72ad8998 [2022-06-01T23:02:33.905Z] ---> 9b0683f255b7 [2022-06-01T23:02:33.905Z] Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T23:02:33.905Z] ---> Running in ec6f1fc31ed2 [2022-06-01T23:02:34.475Z] Removing intermediate container ec6f1fc31ed2 [2022-06-01T23:02:34.475Z] ---> dce48af18402 [2022-06-01T23:02:34.475Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-01T23:02:34.475Z] ---> Running in 4fa70474f27d [2022-06-01T23:02:34.736Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-01T23:02:35.676Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-01T23:02:35.935Z] OK: 226 MiB in 60 packages [2022-06-01T23:02:36.203Z] Removing intermediate container 4fa70474f27d [2022-06-01T23:02:36.203Z] ---> 01ff9cac96a6 [2022-06-01T23:02:36.203Z] Step 6/22 : WORKDIR /device-modbus-go [2022-06-01T23:02:36.463Z] ---> Running in ec5586b5427d [2022-06-01T23:02:36.463Z] Removing intermediate container ec5586b5427d [2022-06-01T23:02:36.463Z] ---> f36cd1ff9c3e [2022-06-01T23:02:36.463Z] Step 7/22 : COPY . . [2022-06-01T23:02:37.409Z] ---> 0c4ae4c35998 [2022-06-01T23:02:37.409Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T23:02:37.669Z] ---> Running in cab4e080548c [2022-06-01T23:02:37.929Z] skipping... [2022-06-01T23:02:38.188Z] Removing intermediate container cab4e080548c [2022-06-01T23:02:38.188Z] ---> d6dd885095b2 [2022-06-01T23:02:38.188Z] Step 9/22 : RUN ${MAKE} [2022-06-01T23:02:38.188Z] ---> Running in 621ccf14a3bc [2022-06-01T23:02:38.448Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.1.1-dev.1" -o cmd/device-modbus ./cmd [2022-06-01T23:02:46.567Z] Removing intermediate container 621ccf14a3bc [2022-06-01T23:02:46.567Z] ---> a96b6bcf1a71 [2022-06-01T23:02:46.567Z] Step 10/22 : FROM alpine:3.14 [2022-06-01T23:02:46.827Z] 3.14: Pulling from library/alpine [2022-06-01T23:02:47.087Z] 8663204ce13b: Pulling fs layer [2022-06-01T23:02:47.348Z] 8663204ce13b: Verifying Checksum [2022-06-01T23:02:47.348Z] 8663204ce13b: Download complete [2022-06-01T23:02:47.675Z] 8663204ce13b: Pull complete [2022-06-01T23:02:47.675Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-01T23:02:47.675Z] Status: Downloaded newer image for alpine:3.14 [2022-06-01T23:02:47.675Z] ---> e04c818066af [2022-06-01T23:02:47.675Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-06-01T23:02:47.935Z] ---> Running in d9455be2adad [2022-06-01T23:02:48.506Z] Removing intermediate container d9455be2adad [2022-06-01T23:02:48.506Z] ---> 73db9b75f0aa [2022-06-01T23:02:48.506Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T23:02:48.506Z] ---> Running in 9e5c017791aa [2022-06-01T23:02:49.079Z] Removing intermediate container 9e5c017791aa [2022-06-01T23:02:49.079Z] ---> a2c08afb4cff [2022-06-01T23:02:49.079Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-01T23:02:49.340Z] ---> Running in 34787b816beb [2022-06-01T23:02:49.601Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-01T23:02:50.544Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-01T23:02:50.544Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-01T23:02:50.804Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-01T23:02:50.804Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-01T23:02:50.804Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-01T23:02:51.064Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-01T23:02:51.064Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-01T23:02:51.064Z] Executing busybox-1.33.1-r7.trigger [2022-06-01T23:02:51.064Z] OK: 8 MiB in 20 packages [2022-06-01T23:02:51.635Z] Removing intermediate container 34787b816beb [2022-06-01T23:02:51.635Z] ---> 335260b36672 [2022-06-01T23:02:51.635Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-06-01T23:02:51.895Z] ---> 4fb3921079ff [2022-06-01T23:02:51.895Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-06-01T23:02:52.158Z] ---> b1d809e2b0e7 [2022-06-01T23:02:52.158Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-06-01T23:02:52.419Z] ---> 80e765908c81 [2022-06-01T23:02:52.419Z] Step 17/22 : EXPOSE 59901 [2022-06-01T23:02:52.419Z] ---> Running in d7fd7a0a3119 [2022-06-01T23:02:52.419Z] Removing intermediate container d7fd7a0a3119 [2022-06-01T23:02:52.419Z] ---> dfa49920570a [2022-06-01T23:02:52.419Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-06-01T23:02:52.419Z] ---> Running in ed03473aad6b [2022-06-01T23:02:52.681Z] Removing intermediate container ed03473aad6b [2022-06-01T23:02:52.681Z] ---> 80d5fe641731 [2022-06-01T23:02:52.681Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-01T23:02:52.681Z] ---> Running in eb6756aba3c5 [2022-06-01T23:02:52.681Z] Removing intermediate container eb6756aba3c5 [2022-06-01T23:02:52.681Z] ---> 23c192c524d9 [2022-06-01T23:02:52.681Z] Step 20/22 : LABEL arch=amd64 [2022-06-01T23:02:52.942Z] ---> Running in e4fa6ab8cd3f [2022-06-01T23:02:52.942Z] Removing intermediate container e4fa6ab8cd3f [2022-06-01T23:02:52.942Z] ---> 6ce319554360 [2022-06-01T23:02:52.942Z] Step 21/22 : LABEL git_sha=7e722e98a97eea1fdd2004f9763d159144cad676 [2022-06-01T23:02:52.942Z] ---> Running in 9e43dc4d1a45 [2022-06-01T23:02:53.202Z] Removing intermediate container 9e43dc4d1a45 [2022-06-01T23:02:53.202Z] ---> dcc85a7e4383 [2022-06-01T23:02:53.202Z] Step 22/22 : LABEL version=2.1.1-dev.1 [2022-06-01T23:02:53.202Z] ---> Running in df11fdaf5ecb [2022-06-01T23:02:53.202Z] Removing intermediate container df11fdaf5ecb [2022-06-01T23:02:53.202Z] ---> e2b2e2d8e296 [2022-06-01T23:02:53.202Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-01T23:02:53.202Z] Successfully built e2b2e2d8e296 [2022-06-01T23:02:53.202Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T23:02:53.308Z] provisioning config files... [2022-06-01T23:02:53.318Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config8940008741703741166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T23:02:53.619Z] ---> docker-login.sh [2022-06-01T23:02:53.619Z] nexus3.edgexfoundry.org:10001 [2022-06-01T23:02:53.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T23:02:53.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T23:02:53.619Z] Configure a credential helper to remove this warning. See [2022-06-01T23:02:53.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T23:02:53.619Z] [2022-06-01T23:02:53.619Z] Login Succeeded [2022-06-01T23:02:53.619Z] nexus3.edgexfoundry.org:10002 [2022-06-01T23:02:53.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T23:02:53.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T23:02:53.879Z] Configure a credential helper to remove this warning. See [2022-06-01T23:02:53.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T23:02:53.879Z] [2022-06-01T23:02:53.879Z] Login Succeeded [2022-06-01T23:02:53.879Z] nexus3.edgexfoundry.org:10003 [2022-06-01T23:02:53.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T23:02:53.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T23:02:53.879Z] Configure a credential helper to remove this warning. See [2022-06-01T23:02:53.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T23:02:53.879Z] [2022-06-01T23:02:53.879Z] Login Succeeded [2022-06-01T23:02:53.879Z] nexus3.edgexfoundry.org:10004 [2022-06-01T23:02:54.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T23:02:54.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T23:02:54.138Z] Configure a credential helper to remove this warning. See [2022-06-01T23:02:54.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T23:02:54.138Z] [2022-06-01T23:02:54.138Z] Login Succeeded [2022-06-01T23:02:54.138Z] docker.io [2022-06-01T23:02:54.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T23:02:54.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T23:02:54.398Z] Configure a credential helper to remove this warning. See [2022-06-01T23:02:54.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T23:02:54.398Z] [2022-06-01T23:02:54.398Z] Login Succeeded [2022-06-01T23:02:54.398Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T23:02:54.406Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-01T23:02:54.433Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-01T23:02:54.451Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-06-01T23:02:54.451Z] 7e722e98a97eea1fdd2004f9763d159144cad676 [2022-06-01T23:02:54.451Z] 2.1.1-dev.1 [2022-06-01T23:02:54.451Z] 7e722e98a97eea1fdd2004f9763d159144cad676-2.1.1-dev.1 [2022-06-01T23:02:54.451Z] jakarta [2022-06-01T23:02:54.451Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:02:54.782Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:7e722e98a97eea1fdd2004f9763d159144cad676 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:02:55.119Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:7e722e98a97eea1fdd2004f9763d159144cad676 [2022-06-01T23:02:55.119Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-06-01T23:02:55.120Z] 5e44a705e7b2: Preparing [2022-06-01T23:02:55.120Z] 356650a4ce30: Preparing [2022-06-01T23:02:55.120Z] 2c4eb1fa8d5e: Preparing [2022-06-01T23:02:55.120Z] 24d40f907120: Preparing [2022-06-01T23:02:55.120Z] 67f617eb993d: Preparing [2022-06-01T23:02:55.120Z] b541d28bf3b4: Preparing [2022-06-01T23:02:55.120Z] b541d28bf3b4: Waiting [2022-06-01T23:02:55.120Z] 5e44a705e7b2: Pushed [2022-06-01T23:02:55.120Z] 67f617eb993d: Pushed [2022-06-01T23:02:55.120Z] 356650a4ce30: Pushed [2022-06-01T23:02:55.120Z] b541d28bf3b4: Layer already exists [2022-06-01T23:02:55.408Z] 24d40f907120: Pushed [2022-06-01T23:02:56.494Z] 2c4eb1fa8d5e: Pushed [2022-06-01T23:02:56.494Z] 7e722e98a97eea1fdd2004f9763d159144cad676: digest: sha256:b2c5a0f9e1d26994eb42b575ddef79bb79cd05547fc4bab688dee1206fbfdba2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:02:56.822Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:02:57.137Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.1.1-dev.1 [2022-06-01T23:02:57.138Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-06-01T23:02:57.138Z] 5e44a705e7b2: Preparing [2022-06-01T23:02:57.138Z] 356650a4ce30: Preparing [2022-06-01T23:02:57.138Z] 2c4eb1fa8d5e: Preparing [2022-06-01T23:02:57.138Z] 24d40f907120: Preparing [2022-06-01T23:02:57.138Z] 67f617eb993d: Preparing [2022-06-01T23:02:57.138Z] b541d28bf3b4: Preparing [2022-06-01T23:02:57.138Z] b541d28bf3b4: Waiting [2022-06-01T23:02:57.138Z] 2c4eb1fa8d5e: Layer already exists [2022-06-01T23:02:57.138Z] 5e44a705e7b2: Layer already exists [2022-06-01T23:02:57.138Z] 67f617eb993d: Layer already exists [2022-06-01T23:02:57.138Z] 356650a4ce30: Layer already exists [2022-06-01T23:02:57.138Z] 24d40f907120: Layer already exists [2022-06-01T23:02:57.138Z] b541d28bf3b4: Layer already exists [2022-06-01T23:02:57.138Z] 2.1.1-dev.1: digest: sha256:b2c5a0f9e1d26994eb42b575ddef79bb79cd05547fc4bab688dee1206fbfdba2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:02:57.457Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:7e722e98a97eea1fdd2004f9763d159144cad676-2.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:02:57.760Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:7e722e98a97eea1fdd2004f9763d159144cad676-2.1.1-dev.1 [2022-06-01T23:02:57.760Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-06-01T23:02:57.760Z] 5e44a705e7b2: Preparing [2022-06-01T23:02:57.760Z] 356650a4ce30: Preparing [2022-06-01T23:02:57.760Z] 2c4eb1fa8d5e: Preparing [2022-06-01T23:02:57.760Z] 24d40f907120: Preparing [2022-06-01T23:02:57.760Z] 67f617eb993d: Preparing [2022-06-01T23:02:57.760Z] b541d28bf3b4: Preparing [2022-06-01T23:02:57.760Z] b541d28bf3b4: Waiting [2022-06-01T23:02:57.760Z] 356650a4ce30: Layer already exists [2022-06-01T23:02:57.760Z] 5e44a705e7b2: Layer already exists [2022-06-01T23:02:57.760Z] 24d40f907120: Layer already exists [2022-06-01T23:02:57.760Z] 67f617eb993d: Layer already exists [2022-06-01T23:02:57.760Z] 2c4eb1fa8d5e: Layer already exists [2022-06-01T23:02:57.760Z] b541d28bf3b4: Layer already exists [2022-06-01T23:02:57.760Z] 7e722e98a97eea1fdd2004f9763d159144cad676-2.1.1-dev.1: digest: sha256:b2c5a0f9e1d26994eb42b575ddef79bb79cd05547fc4bab688dee1206fbfdba2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:02:58.091Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:02:58.397Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:jakarta [2022-06-01T23:02:58.397Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-06-01T23:02:58.397Z] 5e44a705e7b2: Preparing [2022-06-01T23:02:58.397Z] 356650a4ce30: Preparing [2022-06-01T23:02:58.397Z] 2c4eb1fa8d5e: Preparing [2022-06-01T23:02:58.397Z] 24d40f907120: Preparing [2022-06-01T23:02:58.397Z] 67f617eb993d: Preparing [2022-06-01T23:02:58.397Z] b541d28bf3b4: Preparing [2022-06-01T23:02:58.397Z] b541d28bf3b4: Waiting [2022-06-01T23:02:58.397Z] 67f617eb993d: Layer already exists [2022-06-01T23:02:58.397Z] 356650a4ce30: Layer already exists [2022-06-01T23:02:58.397Z] 24d40f907120: Layer already exists [2022-06-01T23:02:58.397Z] 5e44a705e7b2: Layer already exists [2022-06-01T23:02:58.397Z] 2c4eb1fa8d5e: Layer already exists [2022-06-01T23:02:58.397Z] b541d28bf3b4: Layer already exists [2022-06-01T23:02:58.397Z] jakarta: digest: sha256:b2c5a0f9e1d26994eb42b575ddef79bb79cd05547fc4bab688dee1206fbfdba2 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-01T23:02:58.445Z] ===================================================== [Pipeline] echo [2022-06-01T23:02:58.455Z] taggedImages: [2022-06-01T23:02:58.455Z] - nexus3.edgexfoundry.org:10004/device-modbus:7e722e98a97eea1fdd2004f9763d159144cad676 [2022-06-01T23:02:58.455Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.1.1-dev.1 [2022-06-01T23:02:58.455Z] - nexus3.edgexfoundry.org:10004/device-modbus:7e722e98a97eea1fdd2004f9763d159144cad676-2.1.1-dev.1 [2022-06-01T23:02:58.455Z] - nexus3.edgexfoundry.org:10004/device-modbus:jakarta [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:02:58.870Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T23:02:58.871Z] [2022-06-01T23:02:58.871Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:02:59.181Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T23:02:59.181Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-01T23:02:59.181Z] 5eb5b503b376: Pulling fs layer [2022-06-01T23:02:59.181Z] 5c69ac0246d0: Pulling fs layer [2022-06-01T23:02:59.181Z] ec43610c2a17: Pulling fs layer [2022-06-01T23:02:59.181Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-01T23:02:59.181Z] 33b1e0a273af: Pulling fs layer [2022-06-01T23:02:59.181Z] 5d3b04190fa2: Pulling fs layer [2022-06-01T23:02:59.181Z] 2f39f015ded8: Pulling fs layer [2022-06-01T23:02:59.181Z] 3a2ae6a8a46f: Waiting [2022-06-01T23:02:59.181Z] 33b1e0a273af: Waiting [2022-06-01T23:02:59.181Z] 5d3b04190fa2: Waiting [2022-06-01T23:02:59.181Z] 2f39f015ded8: Waiting [2022-06-01T23:02:59.181Z] 5c69ac0246d0: Verifying Checksum [2022-06-01T23:02:59.181Z] 5c69ac0246d0: Download complete [2022-06-01T23:02:59.181Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-01T23:02:59.181Z] 3a2ae6a8a46f: Download complete [2022-06-01T23:02:59.440Z] ec43610c2a17: Verifying Checksum [2022-06-01T23:02:59.440Z] ec43610c2a17: Download complete [2022-06-01T23:02:59.440Z] 33b1e0a273af: Verifying Checksum [2022-06-01T23:02:59.440Z] 33b1e0a273af: Download complete [2022-06-01T23:02:59.440Z] 5d3b04190fa2: Verifying Checksum [2022-06-01T23:02:59.440Z] 5d3b04190fa2: Download complete [2022-06-01T23:02:59.440Z] 5eb5b503b376: Verifying Checksum [2022-06-01T23:02:59.440Z] 5eb5b503b376: Download complete [2022-06-01T23:03:00.008Z] 2f39f015ded8: Download complete [2022-06-01T23:03:00.577Z] 5eb5b503b376: Pull complete [2022-06-01T23:03:00.836Z] 5c69ac0246d0: Pull complete [2022-06-01T23:03:01.403Z] ec43610c2a17: Pull complete [2022-06-01T23:03:01.403Z] 3a2ae6a8a46f: Pull complete [2022-06-01T23:03:01.661Z] 33b1e0a273af: Pull complete [2022-06-01T23:03:01.661Z] 5d3b04190fa2: Pull complete [2022-06-01T23:03:05.855Z] 2f39f015ded8: Pull complete [2022-06-01T23:03:05.855Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-01T23:03:05.855Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T23:03:05.855Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T23:03:05.946Z] prd-ubuntu20.04-docker-8c-8g-602 does not seem to be running inside a container [2022-06-01T23:03:05.994Z] $ 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/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@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-06-01T23:03:08.422Z] $ docker top da1ee9b348c540b10907648acbf5fc503b9da8031bbae3b1e21eb96914e1661b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T23:03:08.830Z] ---> job-cost.sh [2022-06-01T23:03:08.830Z] lf-activate-venv: SKIPPING [2022-06-01T23:03:08.830Z] INFO: No Stack... [2022-06-01T23:03:09.090Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-01T23:03:09.660Z] INFO: Archiving Costs [Pipeline] sh [2022-06-01T23:03:09.949Z] + cat /w/workspace/foundry_device-modbus-go_jakarta/archives/cost.csv [2022-06-01T23:03:09.950Z] + cut -d, -f6 [Pipeline] lock [2022-06-01T23:03:09.963Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-jakarta-4-stack-cost] [2022-06-01T23:03:09.969Z] Resource [jenkins-edgexfoundry-device-modbus-go-jakarta-4-stack-cost] did not exist. Created. [2022-06-01T23:03:09.969Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-jakarta-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-01T23:03:10.267Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-01T23:03:10.303Z] Stashed 1 file(s) [Pipeline] } [2022-06-01T23:03:10.309Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-jakarta-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-01T23:03:10.334Z] $ docker stop --time=1 da1ee9b348c540b10907648acbf5fc503b9da8031bbae3b1e21eb96914e1661b [2022-06-01T23:03:11.516Z] $ docker rm -f da1ee9b348c540b10907648acbf5fc503b9da8031bbae3b1e21eb96914e1661b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-01T23:04:35.291Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-603 in /w/workspace/foundry_device-modbus-go_jakarta [Pipeline] { [Pipeline] ws [2022-06-01T23:04:35.302Z] Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout [2022-06-01T23:04:35.348Z] Selected Git installation does not exist. Using Default [2022-06-01T23:04:35.348Z] The recommended git tool is: NONE [2022-06-01T23:04:41.368Z] using credential edgex-jenkins-ssh [2022-06-01T23:04:41.386Z] Cloning the remote Git repository [2022-06-01T23:04:41.480Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-06-01T23:04:41.624Z] > git init /w/workspace/device-modbus-go/4 # timeout=10 [2022-06-01T23:04:41.788Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-06-01T23:04:41.789Z] > git --version # timeout=10 [2022-06-01T23:04:41.841Z] > git --version # 'git version 2.25.1' [2022-06-01T23:04:41.843Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-01T23:04:42.046Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-01T23:04:43.045Z] Avoid second fetch [2022-06-01T23:04:43.046Z] Checking out Revision 7e722e98a97eea1fdd2004f9763d159144cad676 (jakarta) [2022-06-01T23:04:43.014Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-06-01T23:04:43.032Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-01T23:04:43.073Z] > git config core.sparsecheckout # timeout=10 [2022-06-01T23:04:43.101Z] > git checkout -f 7e722e98a97eea1fdd2004f9763d159144cad676 # timeout=10 [2022-06-01T23:04:47.707Z] Commit message: "build: Update SDK to version with 2.1.1 patch fixes (#349)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-01T23:04:48.645Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-01T23:04:48.645Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-01T23:04:48.645Z] Dload Upload Total Spent Left Speed [2022-06-01T23:04:48.645Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 225k 0 --:--:-- --:--:-- --:--:-- 230k [Pipeline] sh [2022-06-01T23:04:49.372Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-01T23:04:49.739Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-01T23:04:49.739Z] + sudo tee /etc/docker/daemon.new [2022-06-01T23:04:49.739Z] { [2022-06-01T23:04:49.739Z] "registry-mirrors": [ [2022-06-01T23:04:49.739Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-01T23:04:49.739Z] ], [2022-06-01T23:04:49.739Z] "bip": "10.250.0.254/24", [2022-06-01T23:04:49.739Z] "hosts": [ [2022-06-01T23:04:49.739Z] "tcp://0.0.0.0:5555", [2022-06-01T23:04:49.739Z] "unix:///var/run/docker.sock" [2022-06-01T23:04:49.739Z] ], [2022-06-01T23:04:49.739Z] "mtu": 1458, [2022-06-01T23:04:49.739Z] "selinux-enabled": true, [2022-06-01T23:04:49.739Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-01T23:04:49.739Z] } [Pipeline] sh [2022-06-01T23:04:50.084Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-01T23:04:50.424Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T23:05:08.767Z] provisioning config files... [2022-06-01T23:05:08.791Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/4@tmp/config1593130894357680024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T23:05:09.354Z] ---> docker-login.sh [2022-06-01T23:05:09.354Z] nexus3.edgexfoundry.org:10001 [2022-06-01T23:05:09.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T23:05:10.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T23:05:10.238Z] Configure a credential helper to remove this warning. See [2022-06-01T23:05:10.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T23:05:10.238Z] [2022-06-01T23:05:10.238Z] Login Succeeded [2022-06-01T23:05:10.238Z] nexus3.edgexfoundry.org:10002 [2022-06-01T23:05:10.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T23:05:10.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T23:05:10.794Z] Configure a credential helper to remove this warning. See [2022-06-01T23:05:10.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T23:05:10.794Z] [2022-06-01T23:05:10.794Z] Login Succeeded [2022-06-01T23:05:10.794Z] nexus3.edgexfoundry.org:10003 [2022-06-01T23:05:11.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T23:05:11.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T23:05:11.068Z] Configure a credential helper to remove this warning. See [2022-06-01T23:05:11.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T23:05:11.068Z] [2022-06-01T23:05:11.068Z] Login Succeeded [2022-06-01T23:05:11.068Z] nexus3.edgexfoundry.org:10004 [2022-06-01T23:05:11.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T23:05:11.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T23:05:11.668Z] Configure a credential helper to remove this warning. See [2022-06-01T23:05:11.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T23:05:11.668Z] [2022-06-01T23:05:11.668Z] Login Succeeded [2022-06-01T23:05:11.668Z] docker.io [2022-06-01T23:05:11.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T23:05:12.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T23:05:12.535Z] Configure a credential helper to remove this warning. See [2022-06-01T23:05:12.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T23:05:12.535Z] [2022-06-01T23:05:12.535Z] Login Succeeded [2022-06-01T23:05:12.535Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T23:05:12.552Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-01T23:05:12.823Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-01T23:05:12.833Z] ========================================================= [2022-06-01T23:05:12.833Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] [2022-06-01T23:05:12.833Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:05:13.186Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . [2022-06-01T23:05:14.628Z] Sending build context to Docker daemon 14.29MB [2022-06-01T23:05:14.628Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2022-06-01T23:05:14.628Z] Step 2/9 : FROM ${BASE} AS builder [2022-06-01T23:05:14.628Z] 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-01T23:05:14.628Z] 9b3977197b4f: Pulling fs layer [2022-06-01T23:05:14.628Z] 1a89e8eeedd5: Pulling fs layer [2022-06-01T23:05:14.628Z] 94645a83ff95: Pulling fs layer [2022-06-01T23:05:14.628Z] 3f3a8bcf1eab: Pulling fs layer [2022-06-01T23:05:14.628Z] 0c92f367c5e7: Pulling fs layer [2022-06-01T23:05:14.628Z] 63b1bc5785f6: Pulling fs layer [2022-06-01T23:05:14.628Z] 626d30ff41c6: Pulling fs layer [2022-06-01T23:05:14.628Z] de1d54c125be: Pulling fs layer [2022-06-01T23:05:14.628Z] 3f3a8bcf1eab: Waiting [2022-06-01T23:05:14.628Z] 0c92f367c5e7: Waiting [2022-06-01T23:05:14.628Z] 63b1bc5785f6: Waiting [2022-06-01T23:05:14.628Z] 626d30ff41c6: Waiting [2022-06-01T23:05:14.628Z] de1d54c125be: Waiting [2022-06-01T23:05:14.628Z] 94645a83ff95: Verifying Checksum [2022-06-01T23:05:14.628Z] 94645a83ff95: Download complete [2022-06-01T23:05:14.628Z] 1a89e8eeedd5: Download complete [2022-06-01T23:05:14.628Z] 0c92f367c5e7: Verifying Checksum [2022-06-01T23:05:14.628Z] 0c92f367c5e7: Download complete [2022-06-01T23:05:14.628Z] 63b1bc5785f6: Verifying Checksum [2022-06-01T23:05:14.628Z] 63b1bc5785f6: Download complete [2022-06-01T23:05:14.628Z] 9b3977197b4f: Verifying Checksum [2022-06-01T23:05:14.628Z] 9b3977197b4f: Download complete [2022-06-01T23:05:14.628Z] 626d30ff41c6: Verifying Checksum [2022-06-01T23:05:14.628Z] 626d30ff41c6: Download complete [2022-06-01T23:05:15.614Z] 9b3977197b4f: Pull complete [2022-06-01T23:05:15.889Z] 1a89e8eeedd5: Pull complete [2022-06-01T23:05:16.164Z] 94645a83ff95: Pull complete [2022-06-01T23:05:16.785Z] de1d54c125be: Verifying Checksum [2022-06-01T23:05:16.785Z] de1d54c125be: Download complete [2022-06-01T23:05:17.380Z] 3f3a8bcf1eab: Verifying Checksum [2022-06-01T23:05:17.380Z] 3f3a8bcf1eab: Download complete [2022-06-01T23:05:29.779Z] 3f3a8bcf1eab: Pull complete [2022-06-01T23:05:29.779Z] 0c92f367c5e7: Pull complete [2022-06-01T23:05:29.779Z] 63b1bc5785f6: Pull complete [2022-06-01T23:05:29.779Z] 626d30ff41c6: Pull complete [2022-06-01T23:05:36.514Z] de1d54c125be: Pull complete [2022-06-01T23:05:36.514Z] Digest: sha256:c13e7f4b3dabbafca41e473b4c3190511df4cc90c6116df0ec0acdea4752f811 [2022-06-01T23:05:36.514Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts [2022-06-01T23:05:36.514Z] ---> 5f011755c4a2 [2022-06-01T23:05:36.514Z] Step 3/9 : ARG MAKE='make build' [2022-06-01T23:05:37.964Z] ---> Running in bdb97badf4b6 [2022-06-01T23:05:37.964Z] Removing intermediate container bdb97badf4b6 [2022-06-01T23:05:37.964Z] ---> 5bafb75a078a [2022-06-01T23:05:37.964Z] Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T23:05:37.964Z] ---> Running in 6559dd9c6474 [2022-06-01T23:05:41.373Z] Removing intermediate container 6559dd9c6474 [2022-06-01T23:05:41.373Z] ---> 5e60dc1feb07 [2022-06-01T23:05:41.373Z] Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-01T23:05:41.373Z] ---> Running in 7203f0293f38 [2022-06-01T23:05:42.359Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-01T23:05:43.338Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-01T23:05:43.935Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-06-01T23:05:44.212Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-06-01T23:05:44.212Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-06-01T23:05:44.485Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-06-01T23:05:44.485Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-06-01T23:05:44.485Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-06-01T23:05:44.761Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-06-01T23:05:44.761Z] (8/8) Installing openssh (8.8_p1-r1) [2022-06-01T23:05:45.037Z] Executing busybox-1.34.1-r3.trigger [2022-06-01T23:05:45.037Z] OK: 226 MiB in 60 packages [2022-06-01T23:05:46.018Z] Removing intermediate container 7203f0293f38 [2022-06-01T23:05:46.018Z] ---> fd368e9328ac [2022-06-01T23:05:46.018Z] Step 6/9 : WORKDIR /device-modbus-go [2022-06-01T23:05:46.018Z] ---> Running in f840e138f714 [2022-06-01T23:05:46.293Z] Removing intermediate container f840e138f714 [2022-06-01T23:05:46.293Z] ---> 97d8c09ddc3c [2022-06-01T23:05:46.293Z] Step 7/9 : COPY . . [2022-06-01T23:05:50.621Z] ---> 14689c4ecb74 [2022-06-01T23:05:50.621Z] Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T23:05:50.621Z] ---> Running in 67a4583b9c20 [2022-06-01T23:05:51.226Z] skipping... [2022-06-01T23:05:51.835Z] Removing intermediate container 67a4583b9c20 [2022-06-01T23:05:51.835Z] ---> 416d48f64a69 [2022-06-01T23:05:51.835Z] Step 9/9 : RUN ${MAKE} [2022-06-01T23:05:51.835Z] ---> Running in 6466b75b98ca [2022-06-01T23:05:52.815Z] noop [2022-06-01T23:05:53.413Z] Removing intermediate container 6466b75b98ca [2022-06-01T23:05:53.413Z] ---> 9175421b86ba [2022-06-01T23:05:53.687Z] Successfully built 9175421b86ba [2022-06-01T23:05:53.687Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:05:54.057Z] + docker inspect -f . ci-base-image-arm64 [2022-06-01T23:05:54.057Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T23:05:54.330Z] prd-ubuntu20.04-docker-arm64-4c-16g-603 does not seem to be running inside a container [2022-06-01T23:05:54.423Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@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 ******** ci-base-image-arm64 cat [2022-06-01T23:05:55.759Z] $ docker top 6641bf8a4bd4db1c4fc60a9d4f5fadcd1fdd49af7eaea02103bbf2dd44ac781c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-01T23:05:56.712Z] + go version [2022-06-01T23:05:56.712Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-06-01T23:05:56.744Z] $ docker stop --time=1 6641bf8a4bd4db1c4fc60a9d4f5fadcd1fdd49af7eaea02103bbf2dd44ac781c [2022-06-01T23:05:58.430Z] $ docker rm -f 6641bf8a4bd4db1c4fc60a9d4f5fadcd1fdd49af7eaea02103bbf2dd44ac781c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:05:59.062Z] + docker inspect -f . ci-base-image-arm64 [2022-06-01T23:05:59.062Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T23:05:59.328Z] prd-ubuntu20.04-docker-arm64-4c-16g-603 does not seem to be running inside a container [2022-06-01T23:05:59.427Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@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 ******** ci-base-image-arm64 cat [2022-06-01T23:06:00.812Z] $ docker top 33e1ae648639e650e9774a8885a5c96bcffc3e7fe3a62277e9b43f4168feb394 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-01T23:06:01.783Z] + make test [2022-06-01T23:06:01.783Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-01T23:06:03.224Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-06-01T23:06:59.809Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-06-01T23:06:59.809Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.058s coverage: 46.6% of statements [2022-06-01T23:06:59.809Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-01T23:07:12.250Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-01T23:07:12.250Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-01T23:07:12.250Z] ./bin/test-attribution-txt.sh [2022-06-01T23:07:12.250Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1-dev.3 [2022-06-01T23:07:12.524Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 [2022-06-01T23:07:12.524Z] go: downloading github.com/goburrow/modbus v0.1.0 [2022-06-01T23:07:12.802Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-06-01T23:07:12.802Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-06-01T23:07:12.802Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1-dev.2 [2022-06-01T23:07:12.802Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-06-01T23:07:12.802Z] go: downloading github.com/google/uuid v1.3.0 [2022-06-01T23:07:12.802Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-06-01T23:07:12.802Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1-dev.2 [2022-06-01T23:07:12.802Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-06-01T23:07:12.802Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-06-01T23:07:12.802Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-06-01T23:07:12.802Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-06-01T23:07:12.802Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-06-01T23:07:13.083Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1-dev.1 [2022-06-01T23:07:13.083Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-06-01T23:07:13.083Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-06-01T23:07:13.083Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-06-01T23:07:13.083Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-06-01T23:07:13.083Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-06-01T23:07:13.083Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-06-01T23:07:13.363Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-06-01T23:07:13.363Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-06-01T23:07:13.363Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-06-01T23:07:13.363Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-06-01T23:07:13.363Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-06-01T23:07:13.363Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-06-01T23:07:13.363Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-06-01T23:07:13.363Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-06-01T23:07:13.363Z] go: downloading github.com/goburrow/serial v0.1.0 [2022-06-01T23:07:13.363Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-06-01T23:07:13.363Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-06-01T23:07:13.363Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-06-01T23:07:13.363Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-06-01T23:07:13.638Z] go: downloading golang.org/x/text v0.3.6 [2022-06-01T23:07:14.626Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-06-01T23:07:14.626Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-06-01T23:07:14.626Z] go: downloading github.com/x448/float16 v0.8.4 [2022-06-01T23:07:14.626Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-06-01T23:07:14.626Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-06-01T23:07:14.900Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-06-01T23:07:14.900Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-06-01T23:07:15.174Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-06-01T23:07:15.174Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-06-01T23:07:15.448Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-06-01T23:07:16.428Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-06-01T23:07:16.428Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-06-01T23:07:16.428Z] go: downloading github.com/fatih/color v1.9.0 [2022-06-01T23:07:16.428Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-06-01T23:07:16.428Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-06-01T23:07:16.703Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-06-01T23:07:16.703Z] go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo [2022-06-01T23:07:21.029Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-06-01T23:07:21.693Z] + go mod tidy [2022-06-01T23:07:21.971Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-06-01T23:07:21.971Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-06-01T23:07:21.971Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-06-01T23:07:22.245Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-06-01T23:07:22.246Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-06-01T23:07:22.246Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-06-01T23:07:22.246Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-06-01T23:07:22.246Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-06-01T23:07:22.246Z] go: downloading github.com/kr/pretty v0.3.0 [2022-06-01T23:07:22.246Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-06-01T23:07:22.246Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-06-01T23:07:22.246Z] go: downloading github.com/pkg/errors v0.9.1 [2022-06-01T23:07:22.246Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-06-01T23:07:22.520Z] go: downloading github.com/kr/text v0.2.0 [2022-06-01T23:07:22.520Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-06-01T23:07:22.520Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-06-01T23:07:22.520Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-06-01T23:07:22.520Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-06-01T23:07:22.520Z] go: downloading github.com/miekg/dns v1.1.26 [2022-06-01T23:07:22.520Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-06-01T23:07:22.794Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-06-01T23:07:22.794Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-06-01T23:07:22.794Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-06-01T23:07:22.794Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } [2022-06-01T23:07:22.820Z] $ docker stop --time=1 33e1ae648639e650e9774a8885a5c96bcffc3e7fe3a62277e9b43f4168feb394 [2022-06-01T23:07:25.044Z] $ docker rm -f 33e1ae648639e650e9774a8885a5c96bcffc3e7fe3a62277e9b43f4168feb394 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-01T23:07:27.266Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-01T23:07:27.293Z] Warning: overwriting stash ‘coverage-report’ [2022-06-01T23:07:27.957Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-01T23:07:28.348Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-01T23:07:28.686Z] + ls -al . [2022-06-01T23:07:28.686Z] total 188 [2022-06-01T23:07:28.686Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 23:07 . [2022-06-01T23:07:28.686Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 23:04 .. [2022-06-01T23:07:28.686Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 1 23:04 .dockerignore [2022-06-01T23:07:28.686Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 23:04 .git [2022-06-01T23:07:28.686Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 23:04 .github [2022-06-01T23:07:28.686Z] -rw-rw-r-- 1 jenkins jenkins 323 Jun 1 23:04 .gitignore [2022-06-01T23:07:28.686Z] -rw-rw-r-- 1 jenkins jenkins 8010 Jun 1 23:04 Attribution.txt [2022-06-01T23:07:28.686Z] -rw-rw-r-- 1 jenkins jenkins 6038 Jun 1 23:04 CHANGELOG.md [2022-06-01T23:07:28.686Z] -rw-rw-r-- 1 jenkins jenkins 1523 Jun 1 23:04 Dockerfile [2022-06-01T23:07:28.686Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 23:04 GOVERNANCE.md [2022-06-01T23:07:28.686Z] -rw-rw-r-- 1 jenkins jenkins 679 Jun 1 23:04 Jenkinsfile [2022-06-01T23:07:28.686Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 1 23:04 LICENSE [2022-06-01T23:07:28.686Z] -rw-rw-r-- 1 jenkins jenkins 1009 Jun 1 23:04 Makefile [2022-06-01T23:07:28.686Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 1 23:04 OWNERS.md [2022-06-01T23:07:28.686Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jun 1 23:04 README.md [2022-06-01T23:07:28.686Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 1 23:01 VERSION [2022-06-01T23:07:28.686Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 23:04 bin [2022-06-01T23:07:28.686Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 23:04 cmd [2022-06-01T23:07:28.686Z] -rw-r--r-- 1 jenkins jenkins 23727 Jun 1 23:06 coverage.out [2022-06-01T23:07:28.686Z] -rw-rw-r-- 1 jenkins jenkins 300 Jun 1 23:07 go.mod [2022-06-01T23:07:28.686Z] -rw-rw-r-- 1 jenkins jenkins 49535 Jun 1 23:04 go.sum [2022-06-01T23:07:28.686Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 23:04 internal [2022-06-01T23:07:28.686Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 23:04 simulator [2022-06-01T23:07:28.686Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 23:04 snap [2022-06-01T23:07:28.686Z] drwxrwxr-x 6 jenkins jenkins 4096 Jun 1 23:04 vendor [2022-06-01T23:07:28.686Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 1 23:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:07:29.044Z] + 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=7e722e98a97eea1fdd2004f9763d159144cad676 --label arch=arm64 --label version=2.1.1-dev.1 . [2022-06-01T23:07:30.490Z] Sending build context to Docker daemon 14.32MB [2022-06-01T23:07:30.490Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.14 [2022-06-01T23:07:30.490Z] Step 2/22 : FROM ${BASE} AS builder [2022-06-01T23:07:30.490Z] ---> 9175421b86ba [2022-06-01T23:07:30.490Z] Step 3/22 : ARG MAKE='make build' [2022-06-01T23:07:30.490Z] ---> Running in fb2eca71777f [2022-06-01T23:07:30.767Z] Removing intermediate container fb2eca71777f [2022-06-01T23:07:30.767Z] ---> 8245d0405525 [2022-06-01T23:07:30.767Z] Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T23:07:31.056Z] ---> Running in a224ce4f3440 [2022-06-01T23:07:32.509Z] Removing intermediate container a224ce4f3440 [2022-06-01T23:07:32.509Z] ---> ac1ff6ae88ec [2022-06-01T23:07:32.509Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-01T23:07:32.791Z] ---> Running in e2bcd12aad2e [2022-06-01T23:07:33.775Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-01T23:07:34.757Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-01T23:07:35.354Z] OK: 226 MiB in 60 packages [2022-06-01T23:07:36.345Z] Removing intermediate container e2bcd12aad2e [2022-06-01T23:07:36.345Z] ---> 9c6ec9b21a57 [2022-06-01T23:07:36.345Z] Step 6/22 : WORKDIR /device-modbus-go [2022-06-01T23:07:36.345Z] ---> Running in 0c317519de1e [2022-06-01T23:07:36.345Z] Removing intermediate container 0c317519de1e [2022-06-01T23:07:36.345Z] ---> 67569bae715a [2022-06-01T23:07:36.345Z] Step 7/22 : COPY . . [2022-06-01T23:07:40.664Z] ---> fbf6cc145146 [2022-06-01T23:07:40.664Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T23:07:40.664Z] ---> Running in 36f6916db2bf [2022-06-01T23:07:41.665Z] skipping... [2022-06-01T23:07:42.262Z] Removing intermediate container 36f6916db2bf [2022-06-01T23:07:42.262Z] ---> 0a6f182c4ef7 [2022-06-01T23:07:42.262Z] Step 9/22 : RUN ${MAKE} [2022-06-01T23:07:42.262Z] ---> Running in 27b7b6948b1b [2022-06-01T23:07:43.252Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.1.1-dev.1" -o cmd/device-modbus ./cmd [2022-06-01T23:08:22.366Z] Removing intermediate container 27b7b6948b1b [2022-06-01T23:08:22.366Z] ---> 185c40e5aba4 [2022-06-01T23:08:22.366Z] Step 10/22 : FROM alpine:3.14 [2022-06-01T23:08:22.639Z] 3.14: Pulling from library/alpine [2022-06-01T23:08:22.911Z] 455c02918c45: Pulling fs layer [2022-06-01T23:08:23.184Z] 455c02918c45: Verifying Checksum [2022-06-01T23:08:23.184Z] 455c02918c45: Download complete [2022-06-01T23:08:23.784Z] 455c02918c45: Pull complete [2022-06-01T23:08:23.784Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-01T23:08:23.784Z] Status: Downloaded newer image for alpine:3.14 [2022-06-01T23:08:23.784Z] ---> ac73e934f311 [2022-06-01T23:08:23.784Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-06-01T23:08:23.784Z] ---> Running in 3845bad7f9cb [2022-06-01T23:08:24.059Z] Removing intermediate container 3845bad7f9cb [2022-06-01T23:08:24.059Z] ---> d000498aa7e2 [2022-06-01T23:08:24.059Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T23:08:24.059Z] ---> Running in 06f44246ee13 [2022-06-01T23:08:26.046Z] Removing intermediate container 06f44246ee13 [2022-06-01T23:08:26.046Z] ---> 63a450244a29 [2022-06-01T23:08:26.046Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-01T23:08:26.046Z] ---> Running in 74901dc8991b [2022-06-01T23:08:26.642Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-01T23:08:27.624Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-01T23:08:28.223Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-01T23:08:28.495Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-01T23:08:28.495Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-01T23:08:28.495Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-01T23:08:28.775Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-01T23:08:28.775Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-01T23:08:28.775Z] Executing busybox-1.33.1-r7.trigger [2022-06-01T23:08:29.049Z] OK: 8 MiB in 20 packages [2022-06-01T23:08:29.649Z] Removing intermediate container 74901dc8991b [2022-06-01T23:08:29.649Z] ---> a1b31154419b [2022-06-01T23:08:29.649Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-06-01T23:08:30.636Z] ---> 707e703d563d [2022-06-01T23:08:30.636Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-06-01T23:08:31.238Z] ---> 769217b08a2b [2022-06-01T23:08:31.238Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-06-01T23:08:31.838Z] ---> 957b21d3cfb5 [2022-06-01T23:08:31.838Z] Step 17/22 : EXPOSE 59901 [2022-06-01T23:08:31.838Z] ---> Running in 77951e31c2f7 [2022-06-01T23:08:32.113Z] Removing intermediate container 77951e31c2f7 [2022-06-01T23:08:32.113Z] ---> ab3df1146acb [2022-06-01T23:08:32.113Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-06-01T23:08:32.113Z] ---> Running in 0096fcf457e9 [2022-06-01T23:08:32.387Z] Removing intermediate container 0096fcf457e9 [2022-06-01T23:08:32.387Z] ---> 5b8d17792d57 [2022-06-01T23:08:32.387Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-01T23:08:32.658Z] ---> Running in 2fb17e1322bf [2022-06-01T23:08:32.932Z] Removing intermediate container 2fb17e1322bf [2022-06-01T23:08:32.932Z] ---> 837c0186329f [2022-06-01T23:08:32.932Z] Step 20/22 : LABEL arch=arm64 [2022-06-01T23:08:32.932Z] ---> Running in 86ee67786929 [2022-06-01T23:08:33.207Z] Removing intermediate container 86ee67786929 [2022-06-01T23:08:33.207Z] ---> 220b4457d1a0 [2022-06-01T23:08:33.207Z] Step 21/22 : LABEL git_sha=7e722e98a97eea1fdd2004f9763d159144cad676 [2022-06-01T23:08:33.207Z] ---> Running in b82c4e6dca72 [2022-06-01T23:08:33.803Z] Removing intermediate container b82c4e6dca72 [2022-06-01T23:08:33.803Z] ---> 8e20b4044fbe [2022-06-01T23:08:33.803Z] Step 22/22 : LABEL version=2.1.1-dev.1 [2022-06-01T23:08:33.803Z] ---> Running in 6b2d588b6b3b [2022-06-01T23:08:34.077Z] Removing intermediate container 6b2d588b6b3b [2022-06-01T23:08:34.077Z] ---> 37023ec0e284 [2022-06-01T23:08:34.077Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-01T23:08:34.350Z] Successfully built 37023ec0e284 [2022-06-01T23:08:34.350Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T23:08:34.464Z] provisioning config files... [2022-06-01T23:08:34.482Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/4@tmp/config97681208294914617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T23:08:34.834Z] ---> docker-login.sh [2022-06-01T23:08:34.834Z] nexus3.edgexfoundry.org:10001 [2022-06-01T23:08:35.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T23:08:35.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T23:08:35.110Z] Configure a credential helper to remove this warning. See [2022-06-01T23:08:35.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T23:08:35.110Z] [2022-06-01T23:08:35.110Z] Login Succeeded [2022-06-01T23:08:35.110Z] nexus3.edgexfoundry.org:10002 [2022-06-01T23:08:35.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T23:08:35.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T23:08:35.712Z] Configure a credential helper to remove this warning. See [2022-06-01T23:08:35.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T23:08:35.712Z] [2022-06-01T23:08:35.712Z] Login Succeeded [2022-06-01T23:08:35.712Z] nexus3.edgexfoundry.org:10003 [2022-06-01T23:08:35.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T23:08:36.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T23:08:36.259Z] Configure a credential helper to remove this warning. See [2022-06-01T23:08:36.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T23:08:36.259Z] [2022-06-01T23:08:36.259Z] Login Succeeded [2022-06-01T23:08:36.259Z] nexus3.edgexfoundry.org:10004 [2022-06-01T23:08:36.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T23:08:36.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T23:08:36.813Z] Configure a credential helper to remove this warning. See [2022-06-01T23:08:36.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T23:08:36.813Z] [2022-06-01T23:08:36.813Z] Login Succeeded [2022-06-01T23:08:36.813Z] docker.io [2022-06-01T23:08:37.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T23:08:37.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T23:08:37.362Z] Configure a credential helper to remove this warning. See [2022-06-01T23:08:37.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T23:08:37.362Z] [2022-06-01T23:08:37.362Z] Login Succeeded [2022-06-01T23:08:37.362Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T23:08:37.380Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-01T23:08:37.408Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-01T23:08:37.431Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-06-01T23:08:37.431Z] 7e722e98a97eea1fdd2004f9763d159144cad676 [2022-06-01T23:08:37.431Z] 2.1.1-dev.1 [2022-06-01T23:08:37.431Z] 7e722e98a97eea1fdd2004f9763d159144cad676-2.1.1-dev.1 [2022-06-01T23:08:37.431Z] jakarta [2022-06-01T23:08:37.431Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:08:37.785Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:7e722e98a97eea1fdd2004f9763d159144cad676 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:08:38.150Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:7e722e98a97eea1fdd2004f9763d159144cad676 [2022-06-01T23:08:38.150Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-06-01T23:08:38.150Z] 3e6856e3a875: Preparing [2022-06-01T23:08:38.150Z] d622e7143315: Preparing [2022-06-01T23:08:38.150Z] 45555f95d6b7: Preparing [2022-06-01T23:08:38.150Z] ee1023d6e86b: Preparing [2022-06-01T23:08:38.150Z] 4674f1ddd210: Preparing [2022-06-01T23:08:38.150Z] f73e7dbfee58: Preparing [2022-06-01T23:08:38.150Z] f73e7dbfee58: Waiting [2022-06-01T23:08:38.425Z] d622e7143315: Pushed [2022-06-01T23:08:38.425Z] 3e6856e3a875: Pushed [2022-06-01T23:08:38.425Z] 4674f1ddd210: Pushed [2022-06-01T23:08:38.425Z] f73e7dbfee58: Layer already exists [2022-06-01T23:08:39.025Z] ee1023d6e86b: Pushed [2022-06-01T23:08:41.644Z] 45555f95d6b7: Pushed [2022-06-01T23:08:41.644Z] 7e722e98a97eea1fdd2004f9763d159144cad676: digest: sha256:af8b3b4e77ec8db19ad802dab816c1bb52757b2df7baffc98b58b5fbaeab6709 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:08:42.016Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:08:42.386Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.1.1-dev.1 [2022-06-01T23:08:42.386Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-06-01T23:08:42.386Z] 3e6856e3a875: Preparing [2022-06-01T23:08:42.386Z] d622e7143315: Preparing [2022-06-01T23:08:42.386Z] 45555f95d6b7: Preparing [2022-06-01T23:08:42.386Z] ee1023d6e86b: Preparing [2022-06-01T23:08:42.386Z] 4674f1ddd210: Preparing [2022-06-01T23:08:42.386Z] f73e7dbfee58: Preparing [2022-06-01T23:08:42.386Z] f73e7dbfee58: Waiting [2022-06-01T23:08:42.386Z] 3e6856e3a875: Layer already exists [2022-06-01T23:08:42.386Z] d622e7143315: Layer already exists [2022-06-01T23:08:42.386Z] 45555f95d6b7: Layer already exists [2022-06-01T23:08:42.386Z] 4674f1ddd210: Layer already exists [2022-06-01T23:08:42.386Z] ee1023d6e86b: Layer already exists [2022-06-01T23:08:42.386Z] f73e7dbfee58: Layer already exists [2022-06-01T23:08:42.658Z] 2.1.1-dev.1: digest: sha256:af8b3b4e77ec8db19ad802dab816c1bb52757b2df7baffc98b58b5fbaeab6709 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:08:43.028Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:7e722e98a97eea1fdd2004f9763d159144cad676-2.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:08:43.393Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:7e722e98a97eea1fdd2004f9763d159144cad676-2.1.1-dev.1 [2022-06-01T23:08:43.393Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-06-01T23:08:43.393Z] 3e6856e3a875: Preparing [2022-06-01T23:08:43.393Z] d622e7143315: Preparing [2022-06-01T23:08:43.393Z] 45555f95d6b7: Preparing [2022-06-01T23:08:43.393Z] ee1023d6e86b: Preparing [2022-06-01T23:08:43.393Z] 4674f1ddd210: Preparing [2022-06-01T23:08:43.393Z] f73e7dbfee58: Preparing [2022-06-01T23:08:43.393Z] f73e7dbfee58: Waiting [2022-06-01T23:08:43.393Z] 45555f95d6b7: Layer already exists [2022-06-01T23:08:43.393Z] ee1023d6e86b: Layer already exists [2022-06-01T23:08:43.393Z] d622e7143315: Layer already exists [2022-06-01T23:08:43.393Z] 4674f1ddd210: Layer already exists [2022-06-01T23:08:43.393Z] 3e6856e3a875: Layer already exists [2022-06-01T23:08:43.393Z] f73e7dbfee58: Layer already exists [2022-06-01T23:08:43.667Z] 7e722e98a97eea1fdd2004f9763d159144cad676-2.1.1-dev.1: digest: sha256:af8b3b4e77ec8db19ad802dab816c1bb52757b2df7baffc98b58b5fbaeab6709 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:08:44.037Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:08:44.402Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:jakarta [2022-06-01T23:08:44.402Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-06-01T23:08:44.402Z] 3e6856e3a875: Preparing [2022-06-01T23:08:44.402Z] d622e7143315: Preparing [2022-06-01T23:08:44.402Z] 45555f95d6b7: Preparing [2022-06-01T23:08:44.402Z] ee1023d6e86b: Preparing [2022-06-01T23:08:44.402Z] 4674f1ddd210: Preparing [2022-06-01T23:08:44.402Z] f73e7dbfee58: Preparing [2022-06-01T23:08:44.402Z] f73e7dbfee58: Waiting [2022-06-01T23:08:44.402Z] d622e7143315: Layer already exists [2022-06-01T23:08:44.402Z] 3e6856e3a875: Layer already exists [2022-06-01T23:08:44.402Z] 4674f1ddd210: Layer already exists [2022-06-01T23:08:44.402Z] ee1023d6e86b: Layer already exists [2022-06-01T23:08:44.402Z] 45555f95d6b7: Layer already exists [2022-06-01T23:08:44.402Z] f73e7dbfee58: Layer already exists [2022-06-01T23:08:44.675Z] jakarta: digest: sha256:af8b3b4e77ec8db19ad802dab816c1bb52757b2df7baffc98b58b5fbaeab6709 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-01T23:08:44.737Z] ===================================================== [Pipeline] echo [2022-06-01T23:08:44.750Z] taggedImages: [2022-06-01T23:08:44.750Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:7e722e98a97eea1fdd2004f9763d159144cad676 [2022-06-01T23:08:44.750Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.1.1-dev.1 [2022-06-01T23:08:44.750Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:7e722e98a97eea1fdd2004f9763d159144cad676-2.1.1-dev.1 [2022-06-01T23:08:44.750Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:jakarta [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:08:45.124Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-01T23:08:45.124Z] [2022-06-01T23:08:45.124Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:08:45.477Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-01T23:08:45.753Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-01T23:08:45.753Z] 8998bd30e6a1: Pulling fs layer [2022-06-01T23:08:45.753Z] 04944245beec: Pulling fs layer [2022-06-01T23:08:45.753Z] 699f458cf7ca: Pulling fs layer [2022-06-01T23:08:45.753Z] 765212b225bb: Pulling fs layer [2022-06-01T23:08:45.753Z] f23df028b6ca: Pulling fs layer [2022-06-01T23:08:45.753Z] d65c8cfc05b1: Pulling fs layer [2022-06-01T23:08:45.753Z] 2437ff75d9bd: Pulling fs layer [2022-06-01T23:08:45.753Z] 765212b225bb: Waiting [2022-06-01T23:08:45.753Z] f23df028b6ca: Waiting [2022-06-01T23:08:45.753Z] d65c8cfc05b1: Waiting [2022-06-01T23:08:45.753Z] 2437ff75d9bd: Waiting [2022-06-01T23:08:45.753Z] 04944245beec: Verifying Checksum [2022-06-01T23:08:45.753Z] 04944245beec: Download complete [2022-06-01T23:08:45.753Z] 765212b225bb: Verifying Checksum [2022-06-01T23:08:45.753Z] 765212b225bb: Download complete [2022-06-01T23:08:45.753Z] f23df028b6ca: Download complete [2022-06-01T23:08:45.753Z] d65c8cfc05b1: Download complete [2022-06-01T23:08:46.041Z] 699f458cf7ca: Verifying Checksum [2022-06-01T23:08:46.041Z] 699f458cf7ca: Download complete [2022-06-01T23:08:46.317Z] 8998bd30e6a1: Verifying Checksum [2022-06-01T23:08:46.317Z] 8998bd30e6a1: Download complete [2022-06-01T23:08:48.304Z] 2437ff75d9bd: Verifying Checksum [2022-06-01T23:08:48.304Z] 2437ff75d9bd: Download complete [2022-06-01T23:08:50.950Z] 8998bd30e6a1: Pull complete [2022-06-01T23:08:50.950Z] 04944245beec: Pull complete [2022-06-01T23:08:52.387Z] 699f458cf7ca: Pull complete [2022-06-01T23:08:52.665Z] 765212b225bb: Pull complete [2022-06-01T23:08:53.651Z] f23df028b6ca: Pull complete [2022-06-01T23:08:53.925Z] d65c8cfc05b1: Pull complete [2022-06-01T23:09:09.040Z] 2437ff75d9bd: Pull complete [2022-06-01T23:09:09.040Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-01T23:09:09.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-01T23:09:09.041Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T23:09:09.309Z] prd-ubuntu20.04-docker-arm64-4c-16g-603 does not seem to be running inside a container [2022-06-01T23:09:09.406Z] $ 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/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@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:arm64 cat [2022-06-01T23:09:11.794Z] $ docker top 95a23a3dd2b4531105b795dd25268d478222ce10d1fbc62fe4e7e664552f0829 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T23:09:12.728Z] ---> job-cost.sh [2022-06-01T23:09:12.728Z] lf-activate-venv: SKIPPING [2022-06-01T23:09:12.728Z] INFO: No Stack... [2022-06-01T23:09:12.999Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-01T23:09:13.975Z] INFO: Archiving Costs [Pipeline] sh [2022-06-01T23:09:14.685Z] + cat /w/workspace/device-modbus-go/4/archives/cost.csv [2022-06-01T23:09:14.685Z] + cut -d, -f6 [Pipeline] lock [2022-06-01T23:09:14.756Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-jakarta-4-stack-cost] [2022-06-01T23:09:14.764Z] Resource [jenkins-edgexfoundry-device-modbus-go-jakarta-4-stack-cost] did not exist. Created. [2022-06-01T23:09:14.764Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-jakarta-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-01T23:09:15.540Z] /w/workspace/device-modbus-go/4@tmp/durable-fac3bdb9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-01T23:09:16.236Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-01T23:09:16.265Z] Warning: overwriting stash ‘stack-cost’ [2022-06-01T23:09:16.508Z] Stashed 1 file(s) [Pipeline] } [2022-06-01T23:09:16.516Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-jakarta-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-01T23:09:16.545Z] $ docker stop --time=1 95a23a3dd2b4531105b795dd25268d478222ce10d1fbc62fe4e7e664552f0829 [2022-06-01T23:09:18.115Z] $ docker rm -f 95a23a3dd2b4531105b795dd25268d478222ce10d1fbc62fe4e7e664552f0829 [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-06-01T23:09:18.588Z] provisioning config files... [2022-06-01T23:09:18.596Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config4796564046999127172tmp [Pipeline] { [Pipeline] sh [2022-06-01T23:09:18.889Z] + set +x [2022-06-01T23:09:18.889Z] + curl -s https://codecov.io/bash [2022-06-01T23:09:18.889Z] + bash -s -- [2022-06-01T23:09:18.889Z] [2022-06-01T23:09:18.889Z] _____ _ [2022-06-01T23:09:18.889Z] / ____| | | [2022-06-01T23:09:18.889Z] | | ___ __| | ___ ___ _____ __ [2022-06-01T23:09:18.889Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-01T23:09:18.889Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-01T23:09:18.889Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-01T23:09:18.889Z] Bash-1.0.6 [2022-06-01T23:09:18.889Z] [2022-06-01T23:09:18.889Z] [2022-06-01T23:09:18.889Z] ==> git version 2.25.1 found [2022-06-01T23:09:18.889Z] ==> 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-06-01T23:09:18.889Z] Release-Date: 2020-01-08 [2022-06-01T23:09:18.889Z] 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-06-01T23:09:18.889Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-01T23:09:18.889Z] ==> Jenkins CI detected. [2022-06-01T23:09:18.889Z] current dir:  /w/workspace/foundry_device-modbus-go_jakarta [2022-06-01T23:09:18.889Z] project root: . [2022-06-01T23:09:18.889Z] --> token set from env [2022-06-01T23:09:18.889Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-01T23:09:18.889Z] ==> Running gcov in . (disable via -X gcov) [2022-06-01T23:09:18.889Z] ==> Python coveragepy not found [2022-06-01T23:09:18.889Z] ==> Searching for coverage reports in: [2022-06-01T23:09:18.889Z] + . [2022-06-01T23:09:18.889Z] -> Found 1 reports [2022-06-01T23:09:18.889Z] ==> Detecting git/mercurial file structure [2022-06-01T23:09:18.889Z] ==> Reading reports [2022-06-01T23:09:18.889Z] + ./coverage.out bytes=23727 [2022-06-01T23:09:18.889Z] ==> Appending adjustments [2022-06-01T23:09:18.889Z] https://docs.codecov.io/docs/fixing-reports [2022-06-01T23:09:19.149Z] + Found adjustments [2022-06-01T23:09:19.149Z] ==> Gzipping contents [2022-06-01T23:09:19.149Z] 12K /tmp/codecov.9SX3r3.gz [2022-06-01T23:09:19.149Z] ==> Uploading reports [2022-06-01T23:09:19.149Z] url: https://codecov.io [2022-06-01T23:09:19.150Z] query: branch=jakarta&commit=7e722e98a97eea1fdd2004f9763d159144cad676&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fjakarta%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-01T23:09:19.150Z] -> Pinging Codecov [2022-06-01T23:09:19.150Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=jakarta&commit=7e722e98a97eea1fdd2004f9763d159144cad676&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fjakarta%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-01T23:09:19.411Z] -> Uploading to [2022-06-01T23:09:19.412Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-01/55DBCA73C666E3227836607328DD7E49/7e722e98a97eea1fdd2004f9763d159144cad676/6f8936a7-90ee-4202-a501-dd92151e92ae.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220601%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220601T230919Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=16fd351b4fd9632c0ecd95c77f7b77cebd5166606223f1d10111ae05b3bed8d4 [2022-06-01T23:09:19.412Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-01T23:09:19.412Z] Dload Upload Total Spent Left Speed [2022-06-01T23:09:19.673Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10764 0 0 100 10764 0 53820 --:--:-- --:--:-- --:--:-- 53820 [2022-06-01T23:09:19.674Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/7e722e98a97eea1fdd2004f9763d159144cad676 [Pipeline] } [2022-06-01T23:09:19.681Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-01T23:09:19.786Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-01T23:09:19.793Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:09:20.095Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-01T23:09:20.095Z] [2022-06-01T23:09:20.095Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:09:20.397Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-01T23:09:20.397Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-01T23:09:20.397Z] df9b9388f04a: Pulling fs layer [2022-06-01T23:09:20.397Z] 52dc419b0ee2: Pulling fs layer [2022-06-01T23:09:20.397Z] 25bc292e5bac: Pulling fs layer [2022-06-01T23:09:20.397Z] 114826534d7a: Pulling fs layer [2022-06-01T23:09:20.397Z] 4657fd5d0bcf: Pulling fs layer [2022-06-01T23:09:20.397Z] 6ad1cebc031e: Pulling fs layer [2022-06-01T23:09:20.397Z] 8a3aa393b2d8: Pulling fs layer [2022-06-01T23:09:20.397Z] 4657fd5d0bcf: Waiting [2022-06-01T23:09:20.397Z] 6ad1cebc031e: Waiting [2022-06-01T23:09:20.397Z] 8a3aa393b2d8: Waiting [2022-06-01T23:09:20.397Z] 114826534d7a: Waiting [2022-06-01T23:09:20.397Z] 25bc292e5bac: Download complete [2022-06-01T23:09:20.397Z] 52dc419b0ee2: Verifying Checksum [2022-06-01T23:09:20.397Z] 52dc419b0ee2: Download complete [2022-06-01T23:09:20.397Z] 4657fd5d0bcf: Verifying Checksum [2022-06-01T23:09:20.397Z] 4657fd5d0bcf: Download complete [2022-06-01T23:09:20.397Z] df9b9388f04a: Download complete [2022-06-01T23:09:20.658Z] df9b9388f04a: Pull complete [2022-06-01T23:09:20.658Z] 6ad1cebc031e: Verifying Checksum [2022-06-01T23:09:20.658Z] 6ad1cebc031e: Download complete [2022-06-01T23:09:20.658Z] 52dc419b0ee2: Pull complete [2022-06-01T23:09:20.921Z] 25bc292e5bac: Pull complete [2022-06-01T23:09:21.182Z] 114826534d7a: Verifying Checksum [2022-06-01T23:09:21.182Z] 114826534d7a: Download complete [2022-06-01T23:09:21.441Z] 8a3aa393b2d8: Verifying Checksum [2022-06-01T23:09:21.441Z] 8a3aa393b2d8: Download complete [2022-06-01T23:09:25.636Z] 114826534d7a: Pull complete [2022-06-01T23:09:25.636Z] 4657fd5d0bcf: Pull complete [2022-06-01T23:09:25.896Z] 6ad1cebc031e: Pull complete [2022-06-01T23:09:29.235Z] 8a3aa393b2d8: Pull complete [2022-06-01T23:09:29.235Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-01T23:09:29.235Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-01T23:09:29.235Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T23:09:29.327Z] prd-ubuntu20.04-docker-8c-8g-602 does not seem to be running inside a container [2022-06-01T23:09:29.374Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-06-01T23:09:32.062Z] $ docker top e0b17698a9d5fdec51979f66f4e9f5e766b4135bfccfa4dec9faa170d3a74936 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-01T23:09:32.130Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-06-01T23:09:32.415Z] + set -o pipefail [2022-06-01T23:09:32.415Z] + snyk monitor '--org=edgex-jenkins' [2022-06-01T23:09:35.719Z] [2022-06-01T23:09:35.719Z] Monitoring /w/workspace/foundry_device-modbus-go_jakarta (github.com/edgexfoundry/device-modbus-go)... [2022-06-01T23:09:35.719Z] [2022-06-01T23:09:35.719Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/26f91cd6-2b34-4f2b-8790-a4919bf0cfc6/history/1ecf0027-8b7d-499d-b2c2-9aee2ff5b011 [2022-06-01T23:09:35.719Z] [2022-06-01T23:09:35.719Z] Tip: Detected multiple supported manifests (3), use --all-projects to scan all of them at once. [2022-06-01T23:09:35.719Z] [2022-06-01T23:09:35.719Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-01T23:09:35.719Z] [2022-06-01T23:09:35.719Z] [Pipeline] } [2022-06-01T23:09:35.741Z] $ docker stop --time=1 e0b17698a9d5fdec51979f66f4e9f5e766b4135bfccfa4dec9faa170d3a74936 [2022-06-01T23:09:37.246Z] $ docker rm -f e0b17698a9d5fdec51979f66f4e9f5e766b4135bfccfa4dec9faa170d3a74936 [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-06-01T23:09:37.803Z] + git log --format=format:%s -1 7e722e98a97eea1fdd2004f9763d159144cad676 [Pipeline] sh [2022-06-01T23:09:38.099Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-01T23:09:38.099Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:09:38.411Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T23:09:38.411Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T23:09:38.504Z] prd-ubuntu20.04-docker-8c-8g-602 does not seem to be running inside a container [2022-06-01T23:09:38.548Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-06-01T23:09:38.977Z] $ docker top 178f34ea64de3126a9bc18e1c94aac2d8513ba37d4659b651ffc1f019acbd3e6 -eo pid,comm [2022-06-01T23:09:39.027Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-01T23:09:39.027Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-01T23:09:39.063Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-01T23:09:39.063Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-01T23:09:39.207Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-01T23:09:39.219Z] $ docker exec 178f34ea64de3126a9bc18e1c94aac2d8513ba37d4659b651ffc1f019acbd3e6 ssh-agent [2022-06-01T23:09:39.338Z] SSH_AUTH_SOCK=/tmp/ssh-GoxCh3XGcvc1/agent.32 [2022-06-01T23:09:39.338Z] SSH_AGENT_PID=38 [2022-06-01T23:09:39.344Z] Running ssh-add (command line suppressed) [2022-06-01T23:09:39.473Z] Identity added: /w/workspace/foundry_device-modbus-go_jakarta@tmp/private_key_3020461811422545854.key (/w/workspace/foundry_device-modbus-go_jakarta@tmp/private_key_3020461811422545854.key) [2022-06-01T23:09:39.477Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-01T23:09:39.762Z] + git semver tag [2022-06-01T23:09:40.022Z] 2022-06-01 23:09:39,951 [run_tag] DEBUG tag force:False [2022-06-01T23:09:40.022Z] 2022-06-01 23:09:39,951 [check_head_tag] DEBUG check head tag [2022-06-01T23:09:40.022Z] 2022-06-01 23:09:39,951 [execute] INFO git cat-file --batch-check [2022-06-01T23:09:40.022Z] 2022-06-01 23:09:39,952 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-modbus-go_jakarta, universal_newlines=False, shell=None, istream=) [2022-06-01T23:09:40.022Z] 2022-06-01 23:09:39,956 [execute] INFO git cat-file --batch [2022-06-01T23:09:40.022Z] 2022-06-01 23:09:39,956 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-modbus-go_jakarta, universal_newlines=False, shell=None, istream=) [2022-06-01T23:09:40.022Z] 2022-06-01 23:09:39,964 [read_version] DEBUG read version from /w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta [2022-06-01T23:09:40.022Z] 2022-06-01 23:09:39,964 [execute] INFO git tag -a v2.1.1-dev.1 -m v2.1.1-dev.1 [2022-06-01T23:09:40.022Z] 2022-06-01 23:09:39,964 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.1.1-dev.1', '-m', 'v2.1.1-dev.1'], cwd=/w/workspace/foundry_device-modbus-go_jakarta, universal_newlines=False, shell=None, istream=None) [2022-06-01T23:09:40.022Z] 2022-06-01 23:09:39,968 [read_version] DEBUG read version from /w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta [2022-06-01T23:09:40.022Z] 2.1.1-dev.1 [Pipeline] } [2022-06-01T23:09:40.042Z] $ docker exec --env ******** --env ******** 178f34ea64de3126a9bc18e1c94aac2d8513ba37d4659b651ffc1f019acbd3e6 ssh-agent -k [2022-06-01T23:09:40.164Z] unset SSH_AUTH_SOCK; [2022-06-01T23:09:40.164Z] unset SSH_AGENT_PID; [2022-06-01T23:09:40.164Z] echo Agent pid 38 killed; [2022-06-01T23:09:40.170Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-01T23:09:40.483Z] + git semver [Pipeline] } [2022-06-01T23:09:40.765Z] $ docker stop --time=1 178f34ea64de3126a9bc18e1c94aac2d8513ba37d4659b651ffc1f019acbd3e6 [2022-06-01T23:09:42.066Z] $ docker rm -f 178f34ea64de3126a9bc18e1c94aac2d8513ba37d4659b651ffc1f019acbd3e6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:09:42.461Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-01T23:09:42.461Z] [2022-06-01T23:09:42.461Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:09:42.759Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-01T23:09:42.759Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-01T23:09:42.759Z] ab5ef0e58194: Pulling fs layer [2022-06-01T23:09:42.759Z] 9712f1f96733: Pulling fs layer [2022-06-01T23:09:42.759Z] 63f879dbbcfc: Pulling fs layer [2022-06-01T23:09:42.759Z] 0d9ebad4ef96: Pulling fs layer [2022-06-01T23:09:42.759Z] e9a5061849ea: Pulling fs layer [2022-06-01T23:09:42.759Z] d747dcd14b5f: Pulling fs layer [2022-06-01T23:09:42.759Z] 2de7ff778b66: Pulling fs layer [2022-06-01T23:09:42.759Z] 0d9ebad4ef96: Waiting [2022-06-01T23:09:42.759Z] d747dcd14b5f: Waiting [2022-06-01T23:09:42.759Z] e9a5061849ea: Waiting [2022-06-01T23:09:42.759Z] 2de7ff778b66: Waiting [2022-06-01T23:09:42.759Z] 9712f1f96733: Verifying Checksum [2022-06-01T23:09:42.759Z] 9712f1f96733: Download complete [2022-06-01T23:09:43.023Z] 63f879dbbcfc: Verifying Checksum [2022-06-01T23:09:43.023Z] 63f879dbbcfc: Download complete [2022-06-01T23:09:43.284Z] 0d9ebad4ef96: Verifying Checksum [2022-06-01T23:09:43.284Z] 0d9ebad4ef96: Download complete [2022-06-01T23:09:43.284Z] d747dcd14b5f: Verifying Checksum [2022-06-01T23:09:43.284Z] d747dcd14b5f: Download complete [2022-06-01T23:09:43.284Z] e9a5061849ea: Download complete [2022-06-01T23:09:43.284Z] ab5ef0e58194: Verifying Checksum [2022-06-01T23:09:43.284Z] ab5ef0e58194: Download complete [2022-06-01T23:09:43.542Z] 2de7ff778b66: Verifying Checksum [2022-06-01T23:09:43.542Z] 2de7ff778b66: Download complete [2022-06-01T23:09:46.825Z] ab5ef0e58194: Pull complete [2022-06-01T23:09:46.825Z] 9712f1f96733: Pull complete [2022-06-01T23:09:47.083Z] 63f879dbbcfc: Pull complete [2022-06-01T23:09:51.271Z] 0d9ebad4ef96: Pull complete [2022-06-01T23:09:51.271Z] e9a5061849ea: Pull complete [2022-06-01T23:09:51.530Z] d747dcd14b5f: Pull complete [2022-06-01T23:09:52.907Z] 2de7ff778b66: Pull complete [2022-06-01T23:09:52.907Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-01T23:09:52.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-01T23:09:52.907Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T23:09:52.993Z] prd-ubuntu20.04-docker-8c-8g-602 does not seem to be running inside a container [2022-06-01T23:09:53.037Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-06-01T23:09:55.883Z] $ docker top bb50746ba7685579c5e69c169cc74408f818c79b181ec4deeef85e518efb6881 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-01T23:09:55.957Z] provisioning config files... [2022-06-01T23:09:55.966Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config618892096629846507tmp [2022-06-01T23:09:55.977Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config6290735528412845418tmp [2022-06-01T23:09:55.987Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config6307348970155227336tmp [Pipeline] { [Pipeline] echo [2022-06-01T23:09:56.003Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T23:09:56.291Z] ---> sigul-configuration.sh [2022-06-01T23:09:56.291Z] gpg: directory `/root/.gnupg' created [2022-06-01T23:09:56.291Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-01T23:09:56.291Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-01T23:09:56.291Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-01T23:09:56.291Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-01T23:09:56.291Z] gpg: CAST5 encrypted data [2022-06-01T23:09:56.291Z] gpg: encrypted with 1 passphrase [2022-06-01T23:09:56.291Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-01T23:09:56.578Z] + mkdir /home/jenkins [2022-06-01T23:09:56.578Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-01T23:09:56.866Z] + 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-06-01T23:09:56.875Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T23:09:57.166Z] ---> sigul-install.sh [2022-06-01T23:09:57.166Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-01T23:09:57.455Z] + git tag --list [2022-06-01T23:09:57.455Z] 0.7.1 [2022-06-01T23:09:57.455Z] v1.0.0 [2022-06-01T23:09:57.455Z] v1.1.0 [2022-06-01T23:09:57.455Z] v1.1.1 [2022-06-01T23:09:57.455Z] v1.2.2 [2022-06-01T23:09:57.455Z] v1.3.0 [2022-06-01T23:09:57.455Z] v1.3.1 [2022-06-01T23:09:57.455Z] v2.0.0 [2022-06-01T23:09:57.455Z] v2.1.0 [2022-06-01T23:09:57.455Z] v2.1.1-dev.1 [2022-06-01T23:09:57.455Z] v2.2.0 [2022-06-01T23:09:57.455Z] v2.2.1-dev.1 [Pipeline] sh [2022-06-01T23:09:57.744Z] + lftools sign git-tag v2.1.1-dev.1 [2022-06-01T23:09:58.313Z] Signing Git tag with Sigul... [2022-06-01T23:09:58.313Z] Signing v2.1.1-dev.1 [Pipeline] echo [2022-06-01T23:09:58.892Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T23:09:59.178Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-01T23:09:59.186Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-01T23:09:59.212Z] $ docker stop --time=1 bb50746ba7685579c5e69c169cc74408f818c79b181ec4deeef85e518efb6881 [2022-06-01T23:10:00.523Z] $ docker rm -f bb50746ba7685579c5e69c169cc74408f818c79b181ec4deeef85e518efb6881 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-01T23:10:00.949Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-01T23:10:00.949Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:10:01.266Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T23:10:01.266Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T23:10:01.352Z] prd-ubuntu20.04-docker-8c-8g-602 does not seem to be running inside a container [2022-06-01T23:10:01.391Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-06-01T23:10:01.790Z] $ docker top bda7c8ddb9e4497f4c580e031816472d79f7000efde68713e5536ec5c8ad05f3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-01T23:10:01.873Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-01T23:10:01.873Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-01T23:10:02.039Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-01T23:10:02.051Z] $ docker exec bda7c8ddb9e4497f4c580e031816472d79f7000efde68713e5536ec5c8ad05f3 ssh-agent [2022-06-01T23:10:02.181Z] SSH_AUTH_SOCK=/tmp/ssh-KdLl4Io7pjqW/agent.33 [2022-06-01T23:10:02.181Z] SSH_AGENT_PID=40 [2022-06-01T23:10:02.191Z] Running ssh-add (command line suppressed) [2022-06-01T23:10:02.317Z] Identity added: /w/workspace/foundry_device-modbus-go_jakarta@tmp/private_key_8485656810559605089.key (/w/workspace/foundry_device-modbus-go_jakarta@tmp/private_key_8485656810559605089.key) [2022-06-01T23:10:02.323Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-01T23:10:02.611Z] + git semver bump pre [2022-06-01T23:10:02.872Z] 2022-06-01 23:10:02,820 [read_version] DEBUG read version from /w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta [2022-06-01T23:10:02.872Z] 2022-06-01 23:10:02,820 [bump_version] DEBUG bumping version:2.1.1-dev.1 on axis:pre with prefix:dev [2022-06-01T23:10:02.872Z] 2022-06-01 23:10:02,820 [bump_version] DEBUG bumped version:2.1.1-dev.2 [2022-06-01T23:10:02.872Z] 2022-06-01 23:10:02,821 [write_version] DEBUG write version:2.1.1-dev.2 to path:/w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta with force:True [2022-06-01T23:10:02.872Z] 2022-06-01 23:10:02,821 [read_version] DEBUG read version from /w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta [2022-06-01T23:10:02.872Z] 2022-06-01 23:10:02,821 [write_file] DEBUG write to file:/w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta [2022-06-01T23:10:02.872Z] 2022-06-01 23:10:02,823 [execute] INFO git cat-file --batch-check [2022-06-01T23:10:02.872Z] 2022-06-01 23:10:02,823 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-modbus-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) [2022-06-01T23:10:02.872Z] 2022-06-01 23:10:02,829 [execute] INFO git cat-file --batch [2022-06-01T23:10:02.872Z] 2022-06-01 23:10:02,829 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-modbus-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) [2022-06-01T23:10:02.872Z] 2022-06-01 23:10:02,834 [read_version] DEBUG read version from /w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta [2022-06-01T23:10:02.872Z] 2.1.1-dev.2 [Pipeline] } [2022-06-01T23:10:02.891Z] $ docker exec --env ******** --env ******** bda7c8ddb9e4497f4c580e031816472d79f7000efde68713e5536ec5c8ad05f3 ssh-agent -k [2022-06-01T23:10:03.006Z] unset SSH_AUTH_SOCK; [2022-06-01T23:10:03.006Z] unset SSH_AGENT_PID; [2022-06-01T23:10:03.006Z] echo Agent pid 40 killed; [2022-06-01T23:10:03.006Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-01T23:10:03.311Z] + git semver [Pipeline] } [2022-06-01T23:10:03.597Z] $ docker stop --time=1 bda7c8ddb9e4497f4c580e031816472d79f7000efde68713e5536ec5c8ad05f3 [2022-06-01T23:10:04.936Z] $ docker rm -f bda7c8ddb9e4497f4c580e031816472d79f7000efde68713e5536ec5c8ad05f3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-01T23:10:05.279Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-01T23:10:05.279Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:10:05.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T23:10:05.579Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T23:10:05.651Z] prd-ubuntu20.04-docker-8c-8g-602 does not seem to be running inside a container [2022-06-01T23:10:05.692Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-06-01T23:10:06.066Z] $ docker top aff1e77721e94cb5debb2ffb7e06daf8e10395ffc6c2aa8ede796ef45b4553f5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-01T23:10:06.162Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-01T23:10:06.162Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-01T23:10:06.292Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-01T23:10:06.304Z] $ docker exec aff1e77721e94cb5debb2ffb7e06daf8e10395ffc6c2aa8ede796ef45b4553f5 ssh-agent [2022-06-01T23:10:06.433Z] SSH_AUTH_SOCK=/tmp/ssh-MmSfyz7C6UEK/agent.34 [2022-06-01T23:10:06.433Z] SSH_AGENT_PID=40 [2022-06-01T23:10:06.437Z] Running ssh-add (command line suppressed) [2022-06-01T23:10:06.562Z] Identity added: /w/workspace/foundry_device-modbus-go_jakarta@tmp/private_key_3282023337070580605.key (/w/workspace/foundry_device-modbus-go_jakarta@tmp/private_key_3282023337070580605.key) [2022-06-01T23:10:06.567Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-01T23:10:06.856Z] + git semver push [2022-06-01T23:10:07.116Z] 2022-06-01 23:10:07,054 [run_push] DEBUG push [2022-06-01T23:10:07.116Z] 2022-06-01 23:10:07,055 [execute] INFO git push origin semver [2022-06-01T23:10:07.116Z] 2022-06-01 23:10:07,055 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-modbus-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-01T23:10:08.061Z] 2022-06-01 23:10:07,737 [run_push] DEBUG push all version tags [2022-06-01T23:10:08.061Z] 2022-06-01 23:10:07,737 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-01T23:10:08.061Z] 2022-06-01 23:10:07,738 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-modbus-go_jakarta, universal_newlines=False, shell=None, istream=None) [2022-06-01T23:10:08.632Z] 2022-06-01 23:10:08,499 [read_version] DEBUG read version from /w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta [2022-06-01T23:10:08.632Z] 2.1.1-dev.2 [Pipeline] } [2022-06-01T23:10:08.651Z] $ docker exec --env ******** --env ******** aff1e77721e94cb5debb2ffb7e06daf8e10395ffc6c2aa8ede796ef45b4553f5 ssh-agent -k [2022-06-01T23:10:08.764Z] unset SSH_AUTH_SOCK; [2022-06-01T23:10:08.764Z] unset SSH_AGENT_PID; [2022-06-01T23:10:08.764Z] echo Agent pid 40 killed; [2022-06-01T23:10:08.769Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-01T23:10:09.080Z] + git semver [Pipeline] } [2022-06-01T23:10:09.362Z] $ docker stop --time=1 aff1e77721e94cb5debb2ffb7e06daf8e10395ffc6c2aa8ede796ef45b4553f5 [2022-06-01T23:10:10.674Z] $ docker rm -f aff1e77721e94cb5debb2ffb7e06daf8e10395ffc6c2aa8ede796ef45b4553f5 [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-06-01T23:10:11.223Z] + [ -d /w/workspace/foundry_device-modbus-go_jakarta/archives ] [2022-06-01T23:10:11.223Z] + ls -al /w/workspace/foundry_device-modbus-go_jakarta/archives [2022-06-01T23:10:11.223Z] total 16 [2022-06-01T23:10:11.223Z] drwxr-xr-x 3 root root 4096 Jun 1 23:03 . [2022-06-01T23:10:11.223Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 1 23:09 .. [2022-06-01T23:10:11.223Z] drwxr-xr-x 2 root root 4096 Jun 1 23:03 cost [2022-06-01T23:10:11.223Z] -rw-r--r-- 1 root root 88 Jun 1 23:03 cost.csv [2022-06-01T23:10:11.223Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-modbus-go_jakarta/archives [2022-06-01T23:10:11.223Z] + ls -al /w/workspace/foundry_device-modbus-go_jakarta/archives [2022-06-01T23:10:11.223Z] total 16 [2022-06-01T23:10:11.223Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 23:03 . [2022-06-01T23:10:11.223Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 1 23:09 .. [2022-06-01T23:10:11.223Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 1 23:03 cost [2022-06-01T23:10:11.223Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 1 23:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-01T23:10:11.511Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T23:10:12.372Z] ---> package-listing.sh [2022-06-01T23:10:12.372Z] ++ facter osfamily [2022-06-01T23:10:12.372Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-01T23:10:12.632Z] + OS_FAMILY=debian [2022-06-01T23:10:12.632Z] + workspace=/w/workspace/foundry_device-modbus-go_jakarta [2022-06-01T23:10:12.632Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-01T23:10:12.632Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-01T23:10:12.632Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-01T23:10:12.632Z] + PACKAGES=/tmp/packages_start.txt [2022-06-01T23:10:12.632Z] + '[' /w/workspace/foundry_device-modbus-go_jakarta ']' [2022-06-01T23:10:12.632Z] + PACKAGES=/tmp/packages_end.txt [2022-06-01T23:10:12.632Z] + case "${OS_FAMILY}" in [2022-06-01T23:10:12.632Z] + grep '^ii' [2022-06-01T23:10:12.632Z] + dpkg -l [2022-06-01T23:10:12.632Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-01T23:10:12.632Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-01T23:10:12.632Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-01T23:10:12.632Z] + '[' /w/workspace/foundry_device-modbus-go_jakarta ']' [2022-06-01T23:10:12.632Z] + mkdir -p /w/workspace/foundry_device-modbus-go_jakarta/archives/ [2022-06-01T23:10:12.632Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-modbus-go_jakarta/archives/ [Pipeline] echo [2022-06-01T23:10:12.642Z] 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/foundry_device-modbus-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-01T23:10:12.922Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T23:10:13.490Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T23:10:13.490Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T23:10:13.580Z] prd-ubuntu20.04-docker-8c-8g-602 does not seem to be running inside a container [2022-06-01T23:10:13.624Z] $ 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/foundry_device-modbus-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-01T23:10:13.885Z] $ docker top f7d26b71d66b444ad393c333e2aef25d670cccca37e53ba16fa4f3d6efe06daa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-01T23:10:14.243Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-01T23:10:14.527Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-01T23:10:14.822Z] + ls /var/log/sa-host [2022-06-01T23:10:14.822Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T23:10:14.888Z] provisioning config files... [2022-06-01T23:10:14.899Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config3653803032586784779tmp [Pipeline] { [Pipeline] echo [2022-06-01T23:10:14.912Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T23:10:15.197Z] ---> create-netrc.sh [Pipeline] } [2022-06-01T23:10:15.206Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-01T23:10:15.538Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-01T23:10:15.546Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T23:10:15.835Z] ---> sudo-logs.sh [2022-06-01T23:10:15.835Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-01T23:10:15.863Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T23:10:16.148Z] ---> job-cost.sh [2022-06-01T23:10:16.148Z] lf-activate-venv: SKIPPING [2022-06-01T23:10:16.148Z] DEBUG: total: 0.2199999988079071 [2022-06-01T23:10:16.148Z] INFO: Retrieving Stack Cost... [2022-06-01T23:10:16.408Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-01T23:10:16.978Z] INFO: Archiving Costs [Pipeline] echo [2022-06-01T23:10:16.989Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T23:10:17.272Z] ---> logs-deploy.sh [2022-06-01T23:10:17.272Z] lf-activate-venv: SKIPPING [2022-06-01T23:10:17.272Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/jakarta/4 [2022-06-01T23:10:17.272Z] INFO: archiving workspace using pattern(s): [2022-06-01T23:10:18.212Z] Archives upload complete. [2022-06-01T23:10:18.473Z] INFO: archiving logs to Nexus