Pull request #348 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vli11 for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 0da803b9e852e60e6d0c38932136853af8aaf1e9 rather than 85b6ad4654018ddd26f21fd92b9104dc86d6064d Obtained Jenkinsfile from 0da803b9e852e60e6d0c38932136853af8aaf1e9 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-ssh9212341803187792260.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-ssh4180439416052215192.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/PR-348/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/PR-348/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17569691892170106134.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/PR-348/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12395859409828395030.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh1635315124214001599.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/PR-348/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/PR-348/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15466488617101178938.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-230 in /w/workspace/xfoundry_device-modbus-go_PR-348 [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/xfoundry_device-modbus-go_PR-348 # 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 > 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 remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/348/head:refs/remotes/origin/PR-348 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0da803b9e852e60e6d0c38932136853af8aaf1e9 into PR head commit 85b6ad4654018ddd26f21fd92b9104dc86d6064d Merge succeeded, producing 85b6ad4654018ddd26f21fd92b9104dc86d6064d Checking out Revision 85b6ad4654018ddd26f21fd92b9104dc86d6064d (PR-348) > git config core.sparsecheckout # timeout=10 > git checkout -f 85b6ad4654018ddd26f21fd92b9104dc86d6064d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0da803b9e852e60e6d0c38932136853af8aaf1e9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 85b6ad4654018ddd26f21fd92b9104dc86d6064d # timeout=10 Commit message: "feat: Add go-winio to attribution (new SPIFFE dependency) #4029" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:36:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:36:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:36:38 ========================================================= 04:36:38 EdgeX Global Pipelines Version Info 04:36:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:36:39 ------------------- 04:36:39 stable info: 04:36:39 ------------------- 04:36:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:36:39 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 04:36:39 Message: update stable to v1.0.230 04:36:39 ------------------- 04:36:39 experimental info: 04:36:39 ------------------- 04:36:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:36:39 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 04:36:39 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:36:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:36:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:36:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-348 [Pipeline] echo 04:36:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-348 [Pipeline] echo 04:36:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-348 [Pipeline] echo 04:36:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 85b6ad4654018ddd26f21fd92b9104dc86d6064d [Pipeline] echo 04:36:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 85b6ad4 [Pipeline] echo 04:36:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:36:41 provisioning config files... 04:36:41 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-348@tmp/config5621272693105776239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:36:41 ---> docker-login.sh 04:36:41 nexus3.edgexfoundry.org:10001 04:36:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:42 Configure a credential helper to remove this warning. See 04:36:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:42 04:36:42 Login Succeeded 04:36:42 nexus3.edgexfoundry.org:10002 04:36:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:42 Configure a credential helper to remove this warning. See 04:36:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:42 04:36:42 Login Succeeded 04:36:42 nexus3.edgexfoundry.org:10003 04:36:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:42 Configure a credential helper to remove this warning. See 04:36:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:42 04:36:42 Login Succeeded 04:36:42 nexus3.edgexfoundry.org:10004 04:36:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:42 Configure a credential helper to remove this warning. See 04:36:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:42 04:36:42 Login Succeeded 04:36:42 docker.io 04:36:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:43 Configure a credential helper to remove this warning. See 04:36:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:43 04:36:43 Login Succeeded 04:36:43 ---> docker-login.sh ends [Pipeline] } 04:36:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:36:43 + git rev-list -1 --merges 85b6ad4654018ddd26f21fd92b9104dc86d6064d~1..85b6ad4654018ddd26f21fd92b9104dc86d6064d [Pipeline] echo 04:36:43 -----------> git rev-list -1 --merges 85b6ad4654018ddd26f21fd92b9104dc86d6064d~1..85b6ad4654018ddd26f21fd92b9104dc86d6064d 85b6ad4654018ddd26f21fd92b9104dc86d6064d [false] [Pipeline] sh 04:36:44 + git log --format=format:%s -1 85b6ad4654018ddd26f21fd92b9104dc86d6064d [Pipeline] echo 04:36:44 ========================================================= 04:36:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:36:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:36:44 + git log --format=format:%s -1 85b6ad4654018ddd26f21fd92b9104dc86d6064d [Pipeline] echo 04:36:44 [semverPrep] GIT_COMMIT: 85b6ad4654018ddd26f21fd92b9104dc86d6064d, Commit Message: feat: Add go-winio to attribution (new SPIFFE dependency) #4029 [Pipeline] echo 04:36:44 [semverPrep] This is not a build commit. [Pipeline] sh 04:36:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:36:45 + grep -v github /etc/ssh/ssh_known_hosts 04:36:45 + [ -e /tmp/ssh_known_hosts ] 04:36:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:36:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:36:45 + sudo tee -a /etc/ssh/ssh_known_hosts 04:36:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:36:45 04:36:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:36:45 latest: Pulling from edgex-devops/py-git-semver 04:36:45 1fe172e4850f: Pulling fs layer 04:36:45 caf521ccaac6: Pulling fs layer 04:36:45 3ead6fa29328: Pulling fs layer 04:36:45 5c2a1cbceb83: Pulling fs layer 04:36:45 a8d5f1318db7: Pulling fs layer 04:36:45 c427282e49a2: Pulling fs layer 04:36:45 1827001aaf11: Pulling fs layer 04:36:45 0714d37db230: Pulling fs layer 04:36:45 ac28cf19c067: Pulling fs layer 04:36:45 ca983d60f3e2: Pulling fs layer 04:36:45 9f894cec8388: Pulling fs layer 04:36:45 c427282e49a2: Waiting 04:36:45 1827001aaf11: Waiting 04:36:45 ca983d60f3e2: Waiting 04:36:45 9f894cec8388: Waiting 04:36:45 ac28cf19c067: Waiting 04:36:45 0714d37db230: Waiting 04:36:45 5c2a1cbceb83: Waiting 04:36:45 a8d5f1318db7: Waiting 04:36:45 caf521ccaac6: Download complete 04:36:45 5c2a1cbceb83: Verifying Checksum 04:36:45 5c2a1cbceb83: Download complete 04:36:46 a8d5f1318db7: Verifying Checksum 04:36:46 a8d5f1318db7: Download complete 04:36:46 c427282e49a2: Download complete 04:36:46 3ead6fa29328: Verifying Checksum 04:36:46 3ead6fa29328: Download complete 04:36:46 0714d37db230: Download complete 04:36:46 ac28cf19c067: Download complete 04:36:46 ca983d60f3e2: Download complete 04:36:46 9f894cec8388: Download complete 04:36:46 1fe172e4850f: Verifying Checksum 04:36:46 1fe172e4850f: Download complete 04:36:46 1827001aaf11: Verifying Checksum 04:36:46 1827001aaf11: Download complete 04:36:47 1fe172e4850f: Pull complete 04:36:47 caf521ccaac6: Pull complete 04:36:48 3ead6fa29328: Pull complete 04:36:48 5c2a1cbceb83: Pull complete 04:36:48 a8d5f1318db7: Pull complete 04:36:48 c427282e49a2: Pull complete 04:36:50 1827001aaf11: Pull complete 04:36:50 0714d37db230: Pull complete 04:36:50 ac28cf19c067: Pull complete 04:36:50 ca983d60f3e2: Pull complete 04:36:50 9f894cec8388: Pull complete 04:36:50 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 04:36:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:36:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:36:50 prd-ubuntu20.04-docker-8c-8g-230 does not seem to be running inside a container 04:36:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-348 -v /w/workspace/xfoundry_device-modbus-go_PR-348:/w/workspace/xfoundry_device-modbus-go_PR-348:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-348@tmp:/w/workspace/xfoundry_device-modbus-go_PR-348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 04:36:52 $ docker top d237874508a724ea28ed6e129ab80df3ab57b6673022c7cce24035ed98a2fb4e -eo pid,comm 04:36:52 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). 04:36:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:36:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:36:52 [ssh-agent] Looking for ssh-agent implementation... 04:36:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:36:52 $ docker exec d237874508a724ea28ed6e129ab80df3ab57b6673022c7cce24035ed98a2fb4e ssh-agent 04:36:52 SSH_AUTH_SOCK=/tmp/ssh-G4WQchdDJrNM/agent.32 04:36:52 SSH_AGENT_PID=39 04:36:52 Running ssh-add (command line suppressed) 04:36:52 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-348@tmp/private_key_3738160224735395639.key (/w/workspace/xfoundry_device-modbus-go_PR-348@tmp/private_key_3738160224735395639.key) 04:36:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:36:53 + git tag --points-at HEAD [Pipeline] } 04:36:53 $ docker exec --env ******** --env ******** d237874508a724ea28ed6e129ab80df3ab57b6673022c7cce24035ed98a2fb4e ssh-agent -k 04:36:53 unset SSH_AUTH_SOCK; 04:36:53 unset SSH_AGENT_PID; 04:36:53 echo Agent pid 39 killed; 04:36:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:36:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:36:53 [ssh-agent] Looking for ssh-agent implementation... 04:36:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:36:53 $ docker exec d237874508a724ea28ed6e129ab80df3ab57b6673022c7cce24035ed98a2fb4e ssh-agent 04:36:53 SSH_AUTH_SOCK=/tmp/ssh-p0wPyODlhft7/agent.71 04:36:53 SSH_AGENT_PID=78 04:36:53 Running ssh-add (command line suppressed) 04:36:53 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-348@tmp/private_key_5652460937694289081.key (/w/workspace/xfoundry_device-modbus-go_PR-348@tmp/private_key_5652460937694289081.key) 04:36:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:36:54 + git semver init 04:36:54 2022-05-27 04:36:54,377 [run_init] DEBUG init version:0.0.0 force:False 04:36:54 2022-05-27 04:36:54,378 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-348/.semver 04:36:54 2022-05-27 04:36:54,378 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-348/.semver 04:36:54 2022-05-27 04:36:54,378 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-348/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-348, universal_newlines=False, shell=None, istream=None) 04:36:55 2022-05-27 04:36:55,076 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-348/.git/info/exclude 04:36:55 2022-05-27 04:36:55,077 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-348/.semver/PR-348 with force:False 04:36:55 2022-05-27 04:36:55,077 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-348/.semver/PR-348 04:36:55 2022-05-27 04:36:55,081 [execute] INFO git cat-file --batch-check 04:36:55 2022-05-27 04:36:55,082 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-348/.semver, universal_newlines=False, shell=None, istream=) 04:36:55 2022-05-27 04:36:55,088 [execute] INFO git cat-file --batch 04:36:55 2022-05-27 04:36:55,088 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-348/.semver, universal_newlines=False, shell=None, istream=) 04:36:55 2022-05-27 04:36:55,092 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-348/.semver/PR-348 04:36:55 0.0.0 [Pipeline] } 04:36:55 $ docker exec --env ******** --env ******** d237874508a724ea28ed6e129ab80df3ab57b6673022c7cce24035ed98a2fb4e ssh-agent -k 04:36:55 unset SSH_AUTH_SOCK; 04:36:55 unset SSH_AGENT_PID; 04:36:55 echo Agent pid 78 killed; 04:36:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:36:55 + git semver [Pipeline] } 04:36:56 $ docker stop --time=1 d237874508a724ea28ed6e129ab80df3ab57b6673022c7cce24035ed98a2fb4e 04:36:57 $ docker rm -f d237874508a724ea28ed6e129ab80df3ab57b6673022c7cce24035ed98a2fb4e [Pipeline] // withDockerContainer [Pipeline] sh 04:36:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:36:58 Stashed 1 file(s) [Pipeline] echo 04:36:58 [edgeXSemver]: initialized semver on version 0.0.0 [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 04:36:58 provisioning config files... 04:36:58 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-348@tmp/config5674675608015245314tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:36:59 ---> docker-login.sh 04:36:59 nexus3.edgexfoundry.org:10001 04:36:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:59 Configure a credential helper to remove this warning. See 04:36:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:59 04:36:59 Login Succeeded 04:36:59 nexus3.edgexfoundry.org:10002 04:36:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:59 Configure a credential helper to remove this warning. See 04:36:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:59 04:36:59 Login Succeeded 04:36:59 nexus3.edgexfoundry.org:10003 04:36:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:59 Configure a credential helper to remove this warning. See 04:36:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:59 04:36:59 Login Succeeded 04:36:59 nexus3.edgexfoundry.org:10004 04:36:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:59 Configure a credential helper to remove this warning. See 04:36:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:59 04:36:59 Login Succeeded 04:36:59 docker.io 04:36:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:00 Configure a credential helper to remove this warning. See 04:37:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:00 04:37:00 Login Succeeded 04:37:00 ---> docker-login.sh ends [Pipeline] } 04:37:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:37:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:37:00 ========================================================= 04:37:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:37:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:00 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 04:37:00 Sending build context to Docker daemon 5.841MB 04:37:00 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 04:37:00 Step 2/10 : FROM ${BASE} AS builder 04:37:00 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:37:00 59bf1c3509f3: Pulling fs layer 04:37:00 666ba61612fd: Pulling fs layer 04:37:00 8ed8ca486205: Pulling fs layer 04:37:00 4fe6c5a15a65: Pulling fs layer 04:37:00 22a0e8bec74d: Pulling fs layer 04:37:00 ca2b28591e48: Pulling fs layer 04:37:00 a51346096db8: Pulling fs layer 04:37:00 daebc70d1ce1: Pulling fs layer 04:37:00 0e18a0eac166: Pulling fs layer 04:37:00 4fe6c5a15a65: Waiting 04:37:00 22a0e8bec74d: Waiting 04:37:00 ca2b28591e48: Waiting 04:37:00 a51346096db8: Waiting 04:37:00 daebc70d1ce1: Waiting 04:37:00 0e18a0eac166: Waiting 04:37:00 8ed8ca486205: Verifying Checksum 04:37:00 8ed8ca486205: Download complete 04:37:00 666ba61612fd: Verifying Checksum 04:37:00 666ba61612fd: Download complete 04:37:01 22a0e8bec74d: Download complete 04:37:01 ca2b28591e48: Download complete 04:37:01 59bf1c3509f3: Verifying Checksum 04:37:01 59bf1c3509f3: Download complete 04:37:01 a51346096db8: Verifying Checksum 04:37:01 a51346096db8: Download complete 04:37:01 daebc70d1ce1: Verifying Checksum 04:37:01 daebc70d1ce1: Download complete 04:37:01 59bf1c3509f3: Pull complete 04:37:01 666ba61612fd: Pull complete 04:37:01 8ed8ca486205: Pull complete 04:37:01 0e18a0eac166: Download complete 04:37:01 4fe6c5a15a65: Verifying Checksum 04:37:01 4fe6c5a15a65: Download complete 04:37:05 4fe6c5a15a65: Pull complete 04:37:05 22a0e8bec74d: Pull complete 04:37:05 ca2b28591e48: Pull complete 04:37:05 a51346096db8: Pull complete 04:37:05 daebc70d1ce1: Pull complete 04:37:07 0e18a0eac166: Pull complete 04:37:07 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 04:37:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:37:07 ---> f018257e8ee9 04:37:07 Step 3/10 : ARG MAKE='make build' 04:37:09 ---> Running in 557c1f2a89db 04:37:09 Removing intermediate container 557c1f2a89db 04:37:09 ---> 30ad1732693c 04:37:09 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:37:09 ---> Running in c66e4b464337 04:37:09 Removing intermediate container c66e4b464337 04:37:09 ---> e3c5077ad7a5 04:37:09 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 04:37:09 ---> Running in 8f87d1e22c67 04:37:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:37:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:37:11 (1/8) Installing openssh-keygen (8.8_p1-r1) 04:37:11 (2/8) Installing libedit (20210910.3.1-r0) 04:37:11 (3/8) Installing openssh-client-common (8.8_p1-r1) 04:37:11 (4/8) Installing openssh-client-default (8.8_p1-r1) 04:37:11 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 04:37:11 (6/8) Installing openssh-server-common (8.8_p1-r1) 04:37:11 (7/8) Installing openssh-server (8.8_p1-r1) 04:37:12 (8/8) Installing openssh (8.8_p1-r1) 04:37:12 Executing busybox-1.34.1-r3.trigger 04:37:12 OK: 226 MiB in 60 packages 04:37:12 Removing intermediate container 8f87d1e22c67 04:37:12 ---> 11bde19200bf 04:37:12 Step 6/10 : WORKDIR /device-modbus-go 04:37:12 ---> Running in bfb36018d8e1 04:37:12 Removing intermediate container bfb36018d8e1 04:37:12 ---> e1d905c711c0 04:37:12 Step 7/10 : COPY go.mod vendor* ./ 04:37:12 ---> bdd8d4ae6c58 04:37:12 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:37:12 ---> Running in e97bbc207a66 04:37:13 Still waiting to schedule task 04:37:13 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:37:27 Removing intermediate container e97bbc207a66 04:37:27 ---> 7b0e67050152 04:37:27 Step 9/10 : COPY . . 04:37:28 ---> ba2678116b0f 04:37:28 Step 10/10 : RUN ${MAKE} 04:37:28 ---> Running in 4d37ab75c129 04:37:28 noop 04:37:28 Removing intermediate container 4d37ab75c129 04:37:28 ---> 368ce2ce1762 04:37:28 Successfully built 368ce2ce1762 04:37:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:29 + docker inspect -f . ci-base-image-x86_64 04:37:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:37:29 prd-ubuntu20.04-docker-8c-8g-230 does not seem to be running inside a container 04:37:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-348 -v /w/workspace/xfoundry_device-modbus-go_PR-348:/w/workspace/xfoundry_device-modbus-go_PR-348:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-348@tmp:/w/workspace/xfoundry_device-modbus-go_PR-348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:37:29 $ docker top 97f6556c8f085f12cbddecb6c30d2914f5c9ec1fb381aee47d27ed2cdfe37769 -eo pid,comm [Pipeline] { [Pipeline] sh 04:37:30 + go version 04:37:30 go version go1.17.6 linux/amd64 [Pipeline] } 04:37:30 $ docker stop --time=1 97f6556c8f085f12cbddecb6c30d2914f5c9ec1fb381aee47d27ed2cdfe37769 04:37:31 $ docker rm -f 97f6556c8f085f12cbddecb6c30d2914f5c9ec1fb381aee47d27ed2cdfe37769 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:32 + docker inspect -f . ci-base-image-x86_64 04:37:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:37:32 prd-ubuntu20.04-docker-8c-8g-230 does not seem to be running inside a container 04:37:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-348 -v /w/workspace/xfoundry_device-modbus-go_PR-348:/w/workspace/xfoundry_device-modbus-go_PR-348:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-348@tmp:/w/workspace/xfoundry_device-modbus-go_PR-348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:37:32 $ docker top f1e6db1d18fa11a4d58fa88b79dd1f5c5057fd5bf83e68e2e5ef0a562f5194b7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:37:33 + make test 04:37:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:37:33 ? github.com/edgexfoundry/device-modbus-go [no test files] 04:37:43 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 04:37:43 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 46.4% of statements 04:37:50 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:37:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:37:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:37:53 ./bin/test-attribution-txt.sh [Pipeline] echo 04:37:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:37:54 $ docker stop --time=1 f1e6db1d18fa11a4d58fa88b79dd1f5c5057fd5bf83e68e2e5ef0a562f5194b7 04:37:56 $ docker rm -f f1e6db1d18fa11a4d58fa88b79dd1f5c5057fd5bf83e68e2e5ef0a562f5194b7 [Pipeline] // withDockerContainer [Pipeline] sh 04:37:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:37:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:37:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:37:57 + ls -al . 04:37:57 total 184 04:37:57 drwxrwxr-x 10 jenkins jenkins 4096 May 27 04:37 . 04:37:57 drwxrwxr-x 4 jenkins jenkins 4096 May 27 04:36 .. 04:37:57 -rw-rw-r-- 1 jenkins jenkins 140 May 27 04:36 .dockerignore 04:37:57 drwxrwxr-x 8 jenkins jenkins 4096 May 27 04:36 .git 04:37:57 drwxrwxr-x 3 jenkins jenkins 4096 May 27 04:36 .github 04:37:57 -rw-rw-r-- 1 jenkins jenkins 331 May 27 04:36 .gitignore 04:37:57 -rw-rw-r-- 1 jenkins jenkins 41 May 27 04:36 .golangci.yml 04:37:57 drwxr-xr-x 3 jenkins jenkins 4096 May 27 04:36 .semver 04:37:57 -rw-rw-r-- 1 jenkins jenkins 9510 May 27 04:36 Attribution.txt 04:37:57 -rw-rw-r-- 1 jenkins jenkins 10001 May 27 04:36 CHANGELOG.md 04:37:57 -rw-rw-r-- 1 jenkins jenkins 1546 May 27 04:36 Dockerfile 04:37:57 -rw-rw-r-- 1 jenkins jenkins 677 May 27 04:36 GOVERNANCE.md 04:37:57 -rw-rw-r-- 1 jenkins jenkins 680 May 27 04:36 Jenkinsfile 04:37:57 -rw-rw-r-- 1 jenkins jenkins 11340 May 27 04:36 LICENSE 04:37:57 -rw-rw-r-- 1 jenkins jenkins 1905 May 27 04:36 Makefile 04:37:57 -rw-rw-r-- 1 jenkins jenkins 622 May 27 04:36 OWNERS.md 04:37:57 -rw-rw-r-- 1 jenkins jenkins 3397 May 27 04:36 README.md 04:37:57 -rw-rw-r-- 1 jenkins jenkins 5 May 27 04:36 VERSION 04:37:57 drwxrwxr-x 2 jenkins jenkins 4096 May 27 04:36 bin 04:37:57 drwxrwxr-x 3 jenkins jenkins 4096 May 27 04:36 cmd 04:37:57 -rw-r--r-- 1 jenkins jenkins 24065 May 27 04:37 coverage.out 04:37:57 -rw-rw-r-- 1 jenkins jenkins 3353 May 27 04:36 go.mod 04:37:57 -rw-rw-r-- 1 jenkins jenkins 34983 May 27 04:36 go.sum 04:37:57 drwxrwxr-x 3 jenkins jenkins 4096 May 27 04:36 internal 04:37:57 drwxrwxr-x 2 jenkins jenkins 4096 May 27 04:36 simulator 04:37:57 drwxrwxr-x 4 jenkins jenkins 4096 May 27 04:36 snap 04:37:57 -rw-rw-r-- 1 jenkins jenkins 229 May 27 04:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:58 + 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=85b6ad4654018ddd26f21fd92b9104dc86d6064d --label arch=amd64 --label version=0.0.0 . 04:37:58 Sending build context to Docker daemon 5.866MB 04:37:58 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 04:37:58 Step 2/23 : FROM ${BASE} AS builder 04:37:58 ---> 368ce2ce1762 04:37:58 Step 3/23 : ARG MAKE='make build' 04:37:58 ---> Running in 72566922f308 04:37:58 Removing intermediate container 72566922f308 04:37:58 ---> 0fee2fd6d1f1 04:37:58 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:37:58 ---> Running in 6eabfb30aafb 04:37:59 Removing intermediate container 6eabfb30aafb 04:37:59 ---> d7b5416a663e 04:37:59 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 04:37:59 ---> Running in d2090cdbb3c8 04:37:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:38:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:38:00 OK: 226 MiB in 60 packages 04:38:01 Removing intermediate container d2090cdbb3c8 04:38:01 ---> 0727d0876a41 04:38:01 Step 6/23 : WORKDIR /device-modbus-go 04:38:01 ---> Running in 7cdd891faebd 04:38:01 Removing intermediate container 7cdd891faebd 04:38:01 ---> 25b58ac69790 04:38:01 Step 7/23 : COPY go.mod vendor* ./ 04:38:01 ---> 817974649f21 04:38:01 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:38:01 ---> Running in af44f9919f92 04:38:01 Removing intermediate container af44f9919f92 04:38:01 ---> 2f0abee44e10 04:38:01 Step 9/23 : COPY . . 04:38:02 ---> b6d9a895f874 04:38:02 Step 10/23 : RUN ${MAKE} 04:38:02 ---> Running in d201dbb8c784 04:38:02 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 04:38:24 Removing intermediate container d201dbb8c784 04:38:24 ---> 0680c302bf6e 04:38:24 Step 11/23 : FROM alpine:3.14 04:38:24 3.14: Pulling from library/alpine 04:38:24 8663204ce13b: Pulling fs layer 04:38:24 8663204ce13b: Verifying Checksum 04:38:24 8663204ce13b: Download complete 04:38:24 8663204ce13b: Pull complete 04:38:24 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:38:24 Status: Downloaded newer image for alpine:3.14 04:38:24 ---> e04c818066af 04:38:24 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 04:38:24 ---> Running in 4790b0c04813 04:38:24 Removing intermediate container 4790b0c04813 04:38:24 ---> 1c2f497c6ec5 04:38:24 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:38:24 ---> Running in 03c0606c1c50 04:38:24 Removing intermediate container 03c0606c1c50 04:38:24 ---> 7bb865b5724d 04:38:24 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 04:38:24 ---> Running in fed0e64f4f99 04:38:24 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:38:24 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:38:24 (1/6) Installing dumb-init (1.2.5-r1) 04:38:24 (2/6) Installing libgcc (10.3.1_git20210424-r2) 04:38:25 (3/6) Installing libsodium (1.0.18-r0) 04:38:25 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 04:38:25 (5/6) Installing libzmq (4.3.4-r0) 04:38:25 (6/6) Installing zeromq (4.3.4-r0) 04:38:25 Executing busybox-1.33.1-r7.trigger 04:38:25 OK: 8 MiB in 20 packages 04:38:26 Removing intermediate container fed0e64f4f99 04:38:26 ---> 5977ed4a2be7 04:38:26 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 04:38:26 ---> 4de8709b9820 04:38:26 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 04:38:26 ---> 82f372c05ca4 04:38:26 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 04:38:26 ---> 54c2ae625b25 04:38:26 Step 18/23 : EXPOSE 59901 04:38:26 ---> Running in 065604fff8a9 04:38:26 Removing intermediate container 065604fff8a9 04:38:26 ---> d9fedac7777c 04:38:26 Step 19/23 : ENTRYPOINT ["/device-modbus"] 04:38:26 ---> Running in f52012ebd782 04:38:27 Removing intermediate container f52012ebd782 04:38:27 ---> da3c07734bd2 04:38:27 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:38:27 ---> Running in a25f9113c469 04:38:27 Removing intermediate container a25f9113c469 04:38:27 ---> 1da8ce852fa5 04:38:27 Step 21/23 : LABEL arch=amd64 04:38:27 ---> Running in 794920ad0360 04:38:27 Removing intermediate container 794920ad0360 04:38:27 ---> 8df3b1f8a3ab 04:38:27 Step 22/23 : LABEL git_sha=85b6ad4654018ddd26f21fd92b9104dc86d6064d 04:38:27 ---> Running in c0c914ecfcbb 04:38:27 Removing intermediate container c0c914ecfcbb 04:38:27 ---> ac9b2ecf1694 04:38:27 Step 23/23 : LABEL version=0.0.0 04:38:27 ---> Running in eb30ea2c1e7b 04:38:27 Removing intermediate container eb30ea2c1e7b 04:38:27 ---> 09f8b5cf096a 04:38:27 [Warning] One or more build-args [ARCH] were not consumed 04:38:27 Successfully built 09f8b5cf096a 04:38:27 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:38:28 04:38:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:38:28 latest: Pulling from edgex-lftools-log-publisher 04:38:28 5eb5b503b376: Pulling fs layer 04:38:28 5c69ac0246d0: Pulling fs layer 04:38:28 ec43610c2a17: Pulling fs layer 04:38:28 3a2ae6a8a46f: Pulling fs layer 04:38:28 33b1e0a273af: Pulling fs layer 04:38:28 5d3b04190fa2: Pulling fs layer 04:38:28 2f39f015ded8: Pulling fs layer 04:38:28 5d3b04190fa2: Waiting 04:38:28 3a2ae6a8a46f: Waiting 04:38:28 33b1e0a273af: Waiting 04:38:28 2f39f015ded8: Waiting 04:38:28 5c69ac0246d0: Download complete 04:38:28 3a2ae6a8a46f: Download complete 04:38:28 33b1e0a273af: Verifying Checksum 04:38:28 5d3b04190fa2: Verifying Checksum 04:38:28 5d3b04190fa2: Download complete 04:38:28 ec43610c2a17: Verifying Checksum 04:38:28 ec43610c2a17: Download complete 04:38:29 5eb5b503b376: Verifying Checksum 04:38:29 5eb5b503b376: Download complete 04:38:29 2f39f015ded8: Verifying Checksum 04:38:29 2f39f015ded8: Download complete 04:38:30 5eb5b503b376: Pull complete 04:38:30 5c69ac0246d0: Pull complete 04:38:30 ec43610c2a17: Pull complete 04:38:31 3a2ae6a8a46f: Pull complete 04:38:31 33b1e0a273af: Pull complete 04:38:31 5d3b04190fa2: Pull complete 04:38:35 2f39f015ded8: Pull complete 04:38:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:38:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:38:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:38:35 prd-ubuntu20.04-docker-8c-8g-230 does not seem to be running inside a container 04:38:35 $ 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/xfoundry_device-modbus-go_PR-348 -v /w/workspace/xfoundry_device-modbus-go_PR-348:/w/workspace/xfoundry_device-modbus-go_PR-348:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-348@tmp:/w/workspace/xfoundry_device-modbus-go_PR-348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:38:37 $ docker top edb0b1d20dbad380edfac72eb266f754831bae4d1bb1b1a8bfe82f2b6dfd73aa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:38:38 ---> job-cost.sh 04:38:38 lf-activate-venv: SKIPPING 04:38:38 INFO: No Stack... 04:38:38 INFO: Retrieving Pricing Info for: v3-standard-8 04:38:39 INFO: Archiving Costs [Pipeline] sh 04:38:39 + cat /w/workspace/xfoundry_device-modbus-go_PR-348/archives/cost.csv 04:38:39 + cut -d, -f6 [Pipeline] lock 04:38:39 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-348-1-stack-cost] 04:38:39 Resource [jenkins-edgexfoundry-device-modbus-go-PR-348-1-stack-cost] did not exist. Created. 04:38:39 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-348-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:38:39 + echo total: 0.2199999988079071 [Pipeline] stash 04:38:40 Stashed 1 file(s) [Pipeline] } 04:38:40 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-348-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:38:40 $ docker stop --time=1 edb0b1d20dbad380edfac72eb266f754831bae4d1bb1b1a8bfe82f2b6dfd73aa 04:38:41 $ docker rm -f edb0b1d20dbad380edfac72eb266f754831bae4d1bb1b1a8bfe82f2b6dfd73aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:38:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-231 in /w/workspace/xfoundry_device-modbus-go_PR-348 [Pipeline] { [Pipeline] ws 04:38:48 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 04:38:49 Selected Git installation does not exist. Using Default 04:38:49 The recommended git tool is: NONE 04:38:56 using credential edgex-jenkins-ssh 04:38:56 Cloning the remote Git repository 04:38:56 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 04:38:56 > git init /w/workspace/device-modbus-go/1 # timeout=10 04:38:56 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 04:38:56 > git --version # timeout=10 04:38:56 > git --version # 'git version 2.25.1' 04:38:56 using GIT_SSH to set credentials SSH Credentials for GitHub 04:38:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:38:57 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 04:38:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:38:57 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 04:38:57 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 04:38:57 using GIT_SSH to set credentials SSH Credentials for GitHub 04:38:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/348/head:refs/remotes/origin/PR-348 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:38:58 Merging remotes/origin/main commit 0da803b9e852e60e6d0c38932136853af8aaf1e9 into PR head commit 85b6ad4654018ddd26f21fd92b9104dc86d6064d [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:38:58 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } 04:38:58 > git config core.sparsecheckout # timeout=10 04:38:58 > git checkout -f 85b6ad4654018ddd26f21fd92b9104dc86d6064d # timeout=10 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:39:00 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-348/archives ] 04:39:00 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-348/archives 04:39:00 total 16 04:39:00 drwxr-xr-x 3 root root 4096 May 27 04:38 . 04:39:00 drwxrwxr-x 11 jenkins jenkins 4096 May 27 04:38 .. 04:39:00 drwxr-xr-x 2 root root 4096 May 27 04:38 cost 04:39:00 -rw-r--r-- 1 root root 87 May 27 04:38 cost.csv 04:39:00 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-348/archives 04:39:00 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-348/archives 04:39:00 total 16 04:39:00 drwxr-xr-x 3 jenkins jenkins 4096 May 27 04:38 . 04:39:00 drwxrwxr-x 11 jenkins jenkins 4096 May 27 04:38 .. 04:39:00 drwxr-xr-x 2 jenkins jenkins 4096 May 27 04:38 cost 04:39:00 -rw-r--r-- 1 jenkins jenkins 87 May 27 04:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:39:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:39:01 ---> package-listing.sh 04:39:01 ++ facter osfamily 04:39:01 ++ tr '[:upper:]' '[:lower:]' 04:39:02 + OS_FAMILY=debian 04:39:02 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-348 04:39:02 + START_PACKAGES=/tmp/packages_start.txt 04:39:02 + END_PACKAGES=/tmp/packages_end.txt 04:39:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:39:02 + PACKAGES=/tmp/packages_start.txt 04:39:02 + '[' /w/workspace/xfoundry_device-modbus-go_PR-348 ']' 04:39:02 + PACKAGES=/tmp/packages_end.txt 04:39:02 + case "${OS_FAMILY}" in 04:39:02 + dpkg -l 04:39:02 + grep '^ii' 04:39:02 + '[' -f /tmp/packages_start.txt ']' 04:39:02 + '[' -f /tmp/packages_end.txt ']' 04:39:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:39:02 + '[' /w/workspace/xfoundry_device-modbus-go_PR-348 ']' 04:39:02 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-348/archives/ 04:39:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-348/archives/ [Pipeline] echo 04:39:02 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/xfoundry_device-modbus-go_PR-348/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:39:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:39:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:39:03 prd-ubuntu20.04-docker-8c-8g-230 does not seem to be running inside a container 04:39:03 $ 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/xfoundry_device-modbus-go_PR-348/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-348 -v /w/workspace/xfoundry_device-modbus-go_PR-348:/w/workspace/xfoundry_device-modbus-go_PR-348:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-348@tmp:/w/workspace/xfoundry_device-modbus-go_PR-348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:39:03 $ docker top 98135016fe17b111b4b55d3339e599f382e65514cbf4cddc999f098faeba0dd6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:39:03 + touch /tmp/pre-build-complete [Pipeline] sh 04:39:04 + mkdir -p /var/log/sysstat [Pipeline] sh 04:39:04 + ls /var/log/sa-host 04:39:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:39:04 provisioning config files... 04:39:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-348@tmp/config507148340779000355tmp [Pipeline] { [Pipeline] echo 04:39:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:39:05 ---> create-netrc.sh [Pipeline] } 04:39:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:39:05 ---> python-tools-install.sh [Pipeline] echo 04:39:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:39:05 ---> sudo-logs.sh 04:39:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:39:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:39:06 ---> job-cost.sh 04:39:06 lf-activate-venv: SKIPPING 04:39:06 DEBUG: total: 0.2199999988079071 04:39:06 INFO: Retrieving Stack Cost... 04:39:06 INFO: Retrieving Pricing Info for: v3-standard-8 04:39:07 INFO: Archiving Costs [Pipeline] echo 04:39:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:39:07 ---> logs-deploy.sh 04:39:07 lf-activate-venv: SKIPPING 04:39:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-348/1 04:39:07 INFO: archiving workspace using pattern(s): 04:39:08 Archives upload complete. 04:39:08 INFO: archiving logs to Nexus 04:39:09 ---> uname -a: 04:39:09 Linux prd-ubuntu20-04-docker-8c-8g-230 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 04:39:09 04:39:09 04:39:09 ---> lscpu: 04:39:09 Architecture: x86_64 04:39:09 CPU op-mode(s): 32-bit, 64-bit 04:39:09 Byte Order: Little Endian 04:39:09 Address sizes: 40 bits physical, 48 bits virtual 04:39:09 CPU(s): 8 04:39:09 On-line CPU(s) list: 0-7 04:39:09 Thread(s) per core: 1 04:39:09 Core(s) per socket: 1 04:39:09 Socket(s): 8 04:39:09 NUMA node(s): 1 04:39:09 Vendor ID: AuthenticAMD 04:39:09 CPU family: 23 04:39:09 Model: 49 04:39:09 Model name: AMD EPYC-Rome Processor 04:39:09 Stepping: 0 04:39:09 CPU MHz: 2799.998 04:39:09 BogoMIPS: 5599.99 04:39:09 Virtualization: AMD-V 04:39:09 Hypervisor vendor: KVM 04:39:09 Virtualization type: full 04:39:09 L1d cache: 256 KiB 04:39:09 L1i cache: 256 KiB 04:39:09 L2 cache: 4 MiB 04:39:09 L3 cache: 128 MiB 04:39:09 NUMA node0 CPU(s): 0-7 04:39:09 Vulnerability Itlb multihit: Not affected 04:39:09 Vulnerability L1tf: Not affected 04:39:09 Vulnerability Mds: Not affected 04:39:09 Vulnerability Meltdown: Not affected 04:39:09 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:39:09 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 04:39:09 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 04:39:09 Vulnerability Srbds: Not affected 04:39:09 Vulnerability Tsx async abort: Not affected 04:39:09 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 04:39:09 04:39:09 04:39:09 ---> nproc: 04:39:09 8 04:39:09 04:39:09 04:39:09 ---> df -h: 04:39:09 Filesystem Size Used Avail Use% Mounted on 04:39:09 overlay 155G 11G 145G 7% / 04:39:09 tmpfs 64M 0 64M 0% /dev 04:39:09 tmpfs 16G 0 16G 0% /sys/fs/cgroup 04:39:09 shm 64M 0 64M 0% /dev/shm 04:39:09 /dev/vda1 155G 11G 145G 7% /facter-os 04:39:09 04:39:09