Pull request #334 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3e29b41b92632560620e97578b701af3e8ac4f61+e01a1226a5cf77919213724cb5799907c2b0adaa (02055d2038c765908585c04990432742b95b46e4) 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-ssh8997658019529102012.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6365818719396651942.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-334/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-334/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8072312173375775135.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2391500246071528200.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-334/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-334/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6550751985769191017.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-25942 in /w/workspace/xfoundry_device-modbus-go_PR-334 [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-334 # 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 Merging remotes/origin/main commit e01a1226a5cf77919213724cb5799907c2b0adaa into PR head commit 3e29b41b92632560620e97578b701af3e8ac4f61 Merge succeeded, producing 3e29b41b92632560620e97578b701af3e8ac4f61 Checking out Revision 3e29b41b92632560620e97578b701af3e8ac4f61 (PR-334) > 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/334/head:refs/remotes/origin/PR-334 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e29b41b92632560620e97578b701af3e8ac4f61 # 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 e01a1226a5cf77919213724cb5799907c2b0adaa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e29b41b92632560620e97578b701af3e8ac4f61 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git rev-list --no-walk 4fb51efe987eb81c17e8be5dfeb90a8d52b02bba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-26T16:04:01.113Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-26T16:04:01.176Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-26T16:04:01.194Z] ========================================================= [2022-04-26T16:04:01.194Z] EdgeX Global Pipelines Version Info [2022-04-26T16:04:01.194Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:04:01.989Z] ------------------- [2022-04-26T16:04:01.989Z] stable info: [2022-04-26T16:04:01.989Z] ------------------- [2022-04-26T16:04:01.989Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-26T16:04:01.989Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-26T16:04:01.989Z] Message: update stable to v1.0.221 [2022-04-26T16:04:02.562Z] ------------------- [2022-04-26T16:04:02.562Z] experimental info: [2022-04-26T16:04:02.562Z] ------------------- [2022-04-26T16:04:02.562Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2022-04-26T16:04:02.562Z] Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db [2022-04-26T16:04:02.562Z] Message: update experimental to v1.0.225 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-26T16:04:02.738Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-04-26T16:04:02.757Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-04-26T16:04:02.776Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-26T16:04:02.797Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-26T16:04:02.815Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-26T16:04:02.832Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-26T16:04:02.851Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-26T16:04:02.870Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-26T16:04:02.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-26T16:04:02.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-26T16:04:02.923Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-26T16:04:02.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-04-26T16:04:02.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-26T16:04:02.967Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-26T16:04:02.983Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T16:04:03.001Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T16:04:03.016Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T16:04:03.029Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T16:04:03.039Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-26T16:04:03.050Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-26T16:04:03.060Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-26T16:04:03.075Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-26T16:04:03.089Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-26T16:04:03.102Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-26T16:04:03.118Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-26T16:04:03.129Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-26T16:04:03.145Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-334 [Pipeline] echo [2022-04-26T16:04:03.158Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-334 [Pipeline] echo [2022-04-26T16:04:03.173Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-334 [Pipeline] echo [2022-04-26T16:04:03.183Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3e29b41b92632560620e97578b701af3e8ac4f61 [Pipeline] echo [2022-04-26T16:04:03.193Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3e29b41 [Pipeline] echo [2022-04-26T16:04:03.202Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T16:04:03.251Z] provisioning config files... [2022-04-26T16:04:03.264Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-334@tmp/config3197323526348918807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:04:03.581Z] ---> docker-login.sh [2022-04-26T16:04:03.581Z] nexus3.edgexfoundry.org:10001 [2022-04-26T16:04:03.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:04:03.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:04:03.846Z] Configure a credential helper to remove this warning. See [2022-04-26T16:04:03.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:04:03.846Z] [2022-04-26T16:04:03.846Z] Login Succeeded [2022-04-26T16:04:03.846Z] nexus3.edgexfoundry.org:10002 [2022-04-26T16:04:03.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:04:04.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:04:04.109Z] Configure a credential helper to remove this warning. See [2022-04-26T16:04:04.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:04:04.109Z] [2022-04-26T16:04:04.109Z] Login Succeeded [2022-04-26T16:04:04.109Z] nexus3.edgexfoundry.org:10003 [2022-04-26T16:04:04.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:04:04.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:04:04.109Z] Configure a credential helper to remove this warning. See [2022-04-26T16:04:04.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:04:04.109Z] [2022-04-26T16:04:04.109Z] Login Succeeded [2022-04-26T16:04:04.109Z] nexus3.edgexfoundry.org:10004 [2022-04-26T16:04:04.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:04:04.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:04:04.370Z] Configure a credential helper to remove this warning. See [2022-04-26T16:04:04.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:04:04.370Z] [2022-04-26T16:04:04.370Z] Login Succeeded [2022-04-26T16:04:04.370Z] docker.io [2022-04-26T16:04:04.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:04:04.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:04:04.631Z] Configure a credential helper to remove this warning. See [2022-04-26T16:04:04.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:04:04.631Z] [2022-04-26T16:04:04.631Z] Login Succeeded [2022-04-26T16:04:04.631Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T16:04:04.640Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-26T16:04:05.008Z] + git rev-list -1 --merges 3e29b41b92632560620e97578b701af3e8ac4f61~1..3e29b41b92632560620e97578b701af3e8ac4f61 [Pipeline] echo [2022-04-26T16:04:05.132Z] -----------> git rev-list -1 --merges 3e29b41b92632560620e97578b701af3e8ac4f61~1..3e29b41b92632560620e97578b701af3e8ac4f61 3e29b41b92632560620e97578b701af3e8ac4f61 [false] [Pipeline] sh [2022-04-26T16:04:05.427Z] + git log --format=format:%s -1 3e29b41b92632560620e97578b701af3e8ac4f61 [Pipeline] echo [2022-04-26T16:04:05.445Z] ========================================================= [2022-04-26T16:04:05.445Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-26T16:04:05.445Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T16:04:05.792Z] + git log --format=format:%s -1 3e29b41b92632560620e97578b701af3e8ac4f61 [Pipeline] echo [2022-04-26T16:04:05.806Z] [semverPrep] GIT_COMMIT: 3e29b41b92632560620e97578b701af3e8ac4f61, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-04-26T16:04:05.816Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-26T16:04:06.208Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T16:04:06.208Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-26T16:04:06.208Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-26T16:04:06.208Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-26T16:04:06.208Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-26T16:04:06.208Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-26T16:04:06.208Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:04:06.563Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T16:04:06.563Z] [2022-04-26T16:04:06.563Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:04:06.864Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T16:04:06.864Z] latest: Pulling from edgex-devops/git-semver [2022-04-26T16:04:06.864Z] a0d0a0d46f8b: Pulling fs layer [2022-04-26T16:04:06.864Z] 3e5f54012d9b: Pulling fs layer [2022-04-26T16:04:06.864Z] 4c7163046ea9: Pulling fs layer [2022-04-26T16:04:06.864Z] 0c2d73faf560: Pulling fs layer [2022-04-26T16:04:06.864Z] 0c2d73faf560: Waiting [2022-04-26T16:04:06.864Z] 3e5f54012d9b: Download complete [2022-04-26T16:04:06.864Z] a0d0a0d46f8b: Download complete [2022-04-26T16:04:06.864Z] 0c2d73faf560: Verifying Checksum [2022-04-26T16:04:06.864Z] 0c2d73faf560: Download complete [2022-04-26T16:04:06.864Z] 4c7163046ea9: Verifying Checksum [2022-04-26T16:04:06.864Z] 4c7163046ea9: Download complete [2022-04-26T16:04:07.126Z] a0d0a0d46f8b: Pull complete [2022-04-26T16:04:07.126Z] 3e5f54012d9b: Pull complete [2022-04-26T16:04:07.700Z] 4c7163046ea9: Pull complete [2022-04-26T16:04:07.700Z] 0c2d73faf560: Pull complete [2022-04-26T16:04:07.700Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-26T16:04:07.700Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T16:04:07.700Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-26T16:04:07.783Z] prd-ubuntu20.04-docker-8c-8g-25942 does not seem to be running inside a container [2022-04-26T16:04:07.831Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-334 -v /w/workspace/xfoundry_device-modbus-go_PR-334:/w/workspace/xfoundry_device-modbus-go_PR-334:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-334@tmp:/w/workspace/xfoundry_device-modbus-go_PR-334@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-26T16:04:08.804Z] $ docker top 6e3c59f17cbf879b449a12b70ced5cbd62d48ab83f8abd074aaf79aa69f060e6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T16:04:08.911Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T16:04:08.911Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T16:04:09.043Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T16:04:09.052Z] $ docker exec 6e3c59f17cbf879b449a12b70ced5cbd62d48ab83f8abd074aaf79aa69f060e6 ssh-agent [2022-04-26T16:04:09.209Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdPIacp/agent.14 [2022-04-26T16:04:09.209Z] SSH_AGENT_PID=20 [2022-04-26T16:04:09.220Z] Running ssh-add (command line suppressed) [2022-04-26T16:04:09.360Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-334@tmp/private_key_8367780190482984986.key (/w/workspace/xfoundry_device-modbus-go_PR-334@tmp/private_key_8367780190482984986.key) [2022-04-26T16:04:09.375Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T16:04:09.671Z] + git tag --points-at HEAD [Pipeline] } [2022-04-26T16:04:09.693Z] $ docker exec --env ******** --env ******** 6e3c59f17cbf879b449a12b70ced5cbd62d48ab83f8abd074aaf79aa69f060e6 ssh-agent -k [2022-04-26T16:04:09.812Z] unset SSH_AUTH_SOCK; [2022-04-26T16:04:09.812Z] unset SSH_AGENT_PID; [2022-04-26T16:04:09.812Z] echo Agent pid 20 killed; [2022-04-26T16:04:09.819Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-26T16:04:09.849Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T16:04:09.849Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T16:04:10.002Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T16:04:10.011Z] $ docker exec 6e3c59f17cbf879b449a12b70ced5cbd62d48ab83f8abd074aaf79aa69f060e6 ssh-agent [2022-04-26T16:04:10.144Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhNjDhl/agent.53 [2022-04-26T16:04:10.144Z] SSH_AGENT_PID=59 [2022-04-26T16:04:10.151Z] Running ssh-add (command line suppressed) [2022-04-26T16:04:10.267Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-334@tmp/private_key_9016972591060610426.key (/w/workspace/xfoundry_device-modbus-go_PR-334@tmp/private_key_9016972591060610426.key) [2022-04-26T16:04:10.278Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T16:04:10.573Z] + git semver init [2022-04-26T16:04:10.573Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T16:04:10.573Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-334/.git [2022-04-26T16:04:10.573Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-334 [2022-04-26T16:04:10.573Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T16:04:10.573Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T16:04:10.573Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T16:04:10.573Z] # $SEMVER_BRANCH = PR-334 [2022-04-26T16:04:10.573Z] # $SEMVER_TEMP = /tmp/semver-429661808 [2022-04-26T16:04:10.573Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2022-04-26T16:04:11.521Z] # '/tmp/semver-429661808' -> '/w/workspace/xfoundry_device-modbus-go_PR-334/.semver' [2022-04-26T16:04:11.521Z] # -> Force: false [2022-04-26T16:04:11.521Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-334/.semver [Pipeline] } [2022-04-26T16:04:11.538Z] $ docker exec --env ******** --env ******** 6e3c59f17cbf879b449a12b70ced5cbd62d48ab83f8abd074aaf79aa69f060e6 ssh-agent -k [2022-04-26T16:04:11.661Z] unset SSH_AUTH_SOCK; [2022-04-26T16:04:11.662Z] unset SSH_AGENT_PID; [2022-04-26T16:04:11.662Z] echo Agent pid 59 killed; [2022-04-26T16:04:11.666Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T16:04:11.979Z] + git semver [Pipeline] } [2022-04-26T16:04:12.000Z] $ docker stop --time=1 6e3c59f17cbf879b449a12b70ced5cbd62d48ab83f8abd074aaf79aa69f060e6 [2022-04-26T16:04:13.325Z] $ docker rm -f 6e3c59f17cbf879b449a12b70ced5cbd62d48ab83f8abd074aaf79aa69f060e6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T16:04:13.669Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-26T16:04:13.922Z] Stashed 1 file(s) [Pipeline] echo [2022-04-26T16:04:13.925Z] [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 [2022-04-26T16:04:14.070Z] provisioning config files... [2022-04-26T16:04:14.080Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-334@tmp/config5389721732480530292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:04:14.380Z] ---> docker-login.sh [2022-04-26T16:04:14.380Z] nexus3.edgexfoundry.org:10001 [2022-04-26T16:04:14.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:04:14.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:04:14.381Z] Configure a credential helper to remove this warning. See [2022-04-26T16:04:14.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:04:14.381Z] [2022-04-26T16:04:14.381Z] Login Succeeded [2022-04-26T16:04:14.381Z] nexus3.edgexfoundry.org:10002 [2022-04-26T16:04:14.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:04:14.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:04:14.639Z] Configure a credential helper to remove this warning. See [2022-04-26T16:04:14.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:04:14.639Z] [2022-04-26T16:04:14.639Z] Login Succeeded [2022-04-26T16:04:14.639Z] nexus3.edgexfoundry.org:10003 [2022-04-26T16:04:14.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:04:14.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:04:14.639Z] Configure a credential helper to remove this warning. See [2022-04-26T16:04:14.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:04:14.639Z] [2022-04-26T16:04:14.639Z] Login Succeeded [2022-04-26T16:04:14.639Z] nexus3.edgexfoundry.org:10004 [2022-04-26T16:04:14.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:04:14.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:04:14.901Z] Configure a credential helper to remove this warning. See [2022-04-26T16:04:14.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:04:14.901Z] [2022-04-26T16:04:14.901Z] Login Succeeded [2022-04-26T16:04:14.901Z] docker.io [2022-04-26T16:04:14.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:04:15.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:04:15.162Z] Configure a credential helper to remove this warning. See [2022-04-26T16:04:15.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:04:15.162Z] [2022-04-26T16:04:15.162Z] Login Succeeded [2022-04-26T16:04:15.162Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T16:04:15.170Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T16:04:15.249Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T16:04:15.261Z] ========================================================= [2022-04-26T16:04:15.261Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-26T16:04:15.261Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:04:15.578Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-26T16:04:15.578Z] Sending build context to Docker daemon 5.857MB [2022-04-26T16:04:15.578Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T16:04:15.578Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-26T16:04:15.578Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-26T16:04:15.578Z] 59bf1c3509f3: Pulling fs layer [2022-04-26T16:04:15.578Z] 666ba61612fd: Pulling fs layer [2022-04-26T16:04:15.578Z] 8ed8ca486205: Pulling fs layer [2022-04-26T16:04:15.578Z] 4fe6c5a15a65: Pulling fs layer [2022-04-26T16:04:15.578Z] 22a0e8bec74d: Pulling fs layer [2022-04-26T16:04:15.578Z] ca2b28591e48: Pulling fs layer [2022-04-26T16:04:15.578Z] a51346096db8: Pulling fs layer [2022-04-26T16:04:15.578Z] daebc70d1ce1: Pulling fs layer [2022-04-26T16:04:15.578Z] 0e18a0eac166: Pulling fs layer [2022-04-26T16:04:15.578Z] 4fe6c5a15a65: Waiting [2022-04-26T16:04:15.578Z] 22a0e8bec74d: Waiting [2022-04-26T16:04:15.578Z] a51346096db8: Waiting [2022-04-26T16:04:15.578Z] ca2b28591e48: Waiting [2022-04-26T16:04:15.578Z] daebc70d1ce1: Waiting [2022-04-26T16:04:15.578Z] 0e18a0eac166: Waiting [2022-04-26T16:04:15.578Z] 8ed8ca486205: Verifying Checksum [2022-04-26T16:04:15.578Z] 8ed8ca486205: Download complete [2022-04-26T16:04:15.578Z] 666ba61612fd: Download complete [2022-04-26T16:04:15.840Z] 22a0e8bec74d: Download complete [2022-04-26T16:04:15.840Z] ca2b28591e48: Verifying Checksum [2022-04-26T16:04:15.840Z] ca2b28591e48: Download complete [2022-04-26T16:04:15.840Z] 59bf1c3509f3: Download complete [2022-04-26T16:04:15.840Z] a51346096db8: Verifying Checksum [2022-04-26T16:04:15.840Z] a51346096db8: Download complete [2022-04-26T16:04:15.840Z] daebc70d1ce1: Verifying Checksum [2022-04-26T16:04:15.840Z] daebc70d1ce1: Download complete [2022-04-26T16:04:15.840Z] 59bf1c3509f3: Pull complete [2022-04-26T16:04:16.104Z] 666ba61612fd: Pull complete [2022-04-26T16:04:16.104Z] 8ed8ca486205: Pull complete [2022-04-26T16:04:16.366Z] 0e18a0eac166: Verifying Checksum [2022-04-26T16:04:16.626Z] 4fe6c5a15a65: Verifying Checksum [2022-04-26T16:04:16.626Z] 4fe6c5a15a65: Download complete [2022-04-26T16:04:21.920Z] 4fe6c5a15a65: Pull complete [2022-04-26T16:04:21.920Z] 22a0e8bec74d: Pull complete [2022-04-26T16:04:21.920Z] ca2b28591e48: Pull complete [2022-04-26T16:04:21.920Z] a51346096db8: Pull complete [2022-04-26T16:04:21.920Z] daebc70d1ce1: Pull complete [2022-04-26T16:04:24.468Z] 0e18a0eac166: Pull complete [2022-04-26T16:04:24.468Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-26T16:04:24.468Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-26T16:04:24.468Z] ---> f018257e8ee9 [2022-04-26T16:04:24.468Z] Step 3/10 : ARG MAKE='make build' [2022-04-26T16:04:25.409Z] ---> Running in 379c9f5712ea [2022-04-26T16:04:25.670Z] Removing intermediate container 379c9f5712ea [2022-04-26T16:04:25.670Z] ---> 52e43629666d [2022-04-26T16:04:25.670Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T16:04:25.670Z] ---> Running in 0b6b05e5f2d1 [2022-04-26T16:04:26.243Z] Removing intermediate container 0b6b05e5f2d1 [2022-04-26T16:04:26.243Z] ---> ddf42cdfdeb5 [2022-04-26T16:04:26.243Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-26T16:04:26.243Z] ---> Running in 44ceb634d499 [2022-04-26T16:04:26.819Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T16:04:27.394Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T16:04:27.967Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-26T16:04:27.967Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-26T16:04:27.967Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-26T16:04:27.967Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-26T16:04:28.229Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-26T16:04:28.229Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-26T16:04:28.229Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-26T16:04:28.493Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-26T16:04:28.493Z] Executing busybox-1.34.1-r3.trigger [2022-04-26T16:04:28.493Z] OK: 226 MiB in 60 packages [2022-04-26T16:04:29.027Z] Still waiting to schedule task [2022-04-26T16:04:29.027Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-26T16:04:29.067Z] Removing intermediate container 44ceb634d499 [2022-04-26T16:04:29.067Z] ---> 5e5373f41c9c [2022-04-26T16:04:29.067Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-26T16:04:29.067Z] ---> Running in c28b2800ad67 [2022-04-26T16:04:29.067Z] Removing intermediate container c28b2800ad67 [2022-04-26T16:04:29.067Z] ---> ce6167a6e271 [2022-04-26T16:04:29.067Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-26T16:04:29.329Z] ---> 3eb069e92a42 [2022-04-26T16:04:29.329Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T16:04:29.329Z] ---> Running in 1970eaa3962e [2022-04-26T16:04:44.297Z] Removing intermediate container 1970eaa3962e [2022-04-26T16:04:44.297Z] ---> cbf6aaf00278 [2022-04-26T16:04:44.297Z] Step 9/10 : COPY . . [2022-04-26T16:04:44.559Z] ---> 9c77750f4acc [2022-04-26T16:04:44.559Z] Step 10/10 : RUN ${MAKE} [2022-04-26T16:04:44.559Z] ---> Running in 0dcca835af17 [2022-04-26T16:04:44.818Z] noop [2022-04-26T16:04:45.077Z] Removing intermediate container 0dcca835af17 [2022-04-26T16:04:45.077Z] ---> 3a7331273680 [2022-04-26T16:04:45.077Z] Successfully built 3a7331273680 [2022-04-26T16:04:45.077Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:04:45.373Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T16:04:45.373Z] . [Pipeline] withDockerContainer [2022-04-26T16:04:45.455Z] prd-ubuntu20.04-docker-8c-8g-25942 does not seem to be running inside a container [2022-04-26T16:04:45.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-334 -v /w/workspace/xfoundry_device-modbus-go_PR-334:/w/workspace/xfoundry_device-modbus-go_PR-334:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-334@tmp:/w/workspace/xfoundry_device-modbus-go_PR-334@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 ******** -e ******** ci-base-image-x86_64 cat [2022-04-26T16:04:45.944Z] $ docker top 3f26a2e5ce5dbf164ed92b7d8e6f71039f76151bb4981f25f9b5c88b1700efae -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T16:04:46.300Z] + go version [2022-04-26T16:04:46.300Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-26T16:04:46.317Z] $ docker stop --time=1 3f26a2e5ce5dbf164ed92b7d8e6f71039f76151bb4981f25f9b5c88b1700efae [2022-04-26T16:04:47.623Z] $ docker rm -f 3f26a2e5ce5dbf164ed92b7d8e6f71039f76151bb4981f25f9b5c88b1700efae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:04:48.028Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T16:04:48.028Z] . [Pipeline] withDockerContainer [2022-04-26T16:04:48.110Z] prd-ubuntu20.04-docker-8c-8g-25942 does not seem to be running inside a container [2022-04-26T16:04:48.152Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-334 -v /w/workspace/xfoundry_device-modbus-go_PR-334:/w/workspace/xfoundry_device-modbus-go_PR-334:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-334@tmp:/w/workspace/xfoundry_device-modbus-go_PR-334@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 ******** -e ******** ci-base-image-x86_64 cat [2022-04-26T16:04:48.578Z] $ docker top 1220ee8bec06198d5ba2016b3a23052f2c9bdb768de10bd330998440aa199951 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T16:04:48.955Z] + make test [2022-04-26T16:04:48.955Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-26T16:04:49.214Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-26T16:05:01.676Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-26T16:05:01.676Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 46.4% of statements [2022-04-26T16:05:08.257Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-26T16:05:11.556Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T16:05:11.556Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T16:05:11.556Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T16:05:12.136Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T16:05:12.155Z] $ docker stop --time=1 1220ee8bec06198d5ba2016b3a23052f2c9bdb768de10bd330998440aa199951 [2022-04-26T16:05:13.909Z] $ docker rm -f 1220ee8bec06198d5ba2016b3a23052f2c9bdb768de10bd330998440aa199951 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T16:05:14.387Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T16:05:14.430Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-26T16:05:15.229Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T16:05:15.514Z] + ls -al . [2022-04-26T16:05:15.514Z] total 200 [2022-04-26T16:05:15.514Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 16:05 . [2022-04-26T16:05:15.514Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 16:03 .. [2022-04-26T16:05:15.514Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 16:03 .dockerignore [2022-04-26T16:05:15.514Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 16:04 .git [2022-04-26T16:05:15.514Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:03 .github [2022-04-26T16:05:15.514Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 26 16:03 .gitignore [2022-04-26T16:05:15.514Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 16:03 .golangci.yml [2022-04-26T16:05:15.514Z] drwx------ 3 jenkins jenkins 4096 Apr 26 16:04 .semver [2022-04-26T16:05:15.514Z] -rw-rw-r-- 1 jenkins jenkins 9244 Apr 26 16:03 Attribution.txt [2022-04-26T16:05:15.514Z] -rw-rw-r-- 1 jenkins jenkins 6038 Apr 26 16:03 CHANGELOG.md [2022-04-26T16:05:15.514Z] -rw-rw-r-- 1 jenkins jenkins 1546 Apr 26 16:03 Dockerfile [2022-04-26T16:05:15.514Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 16:03 GOVERNANCE.md [2022-04-26T16:05:15.514Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 26 16:03 Jenkinsfile [2022-04-26T16:05:15.514Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 16:03 LICENSE [2022-04-26T16:05:15.514Z] -rw-rw-r-- 1 jenkins jenkins 1905 Apr 26 16:03 Makefile [2022-04-26T16:05:15.514Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 26 16:03 OWNERS.md [2022-04-26T16:05:15.514Z] -rw-rw-r-- 1 jenkins jenkins 3680 Apr 26 16:03 README.md [2022-04-26T16:05:15.514Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 16:04 VERSION [2022-04-26T16:05:15.514Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 16:03 bin [2022-04-26T16:05:15.514Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:03 cmd [2022-04-26T16:05:15.514Z] -rw-r--r-- 1 jenkins jenkins 24065 Apr 26 16:04 coverage.out [2022-04-26T16:05:15.514Z] -rw-rw-r-- 1 jenkins jenkins 3306 Apr 26 16:03 go.mod [2022-04-26T16:05:15.514Z] -rw-rw-r-- 1 jenkins jenkins 54457 Apr 26 16:03 go.sum [2022-04-26T16:05:15.514Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:03 internal [2022-04-26T16:05:15.514Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 16:03 simulator [2022-04-26T16:05:15.514Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 16:03 snap [2022-04-26T16:05:15.514Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 26 16:03 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:05:15.804Z] + 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=3e29b41b92632560620e97578b701af3e8ac4f61 --label arch=amd64 --label version=0.0.0 . [2022-04-26T16:05:15.805Z] Sending build context to Docker daemon 5.882MB [2022-04-26T16:05:15.805Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T16:05:15.805Z] Step 2/23 : FROM ${BASE} AS builder [2022-04-26T16:05:15.805Z] ---> 3a7331273680 [2022-04-26T16:05:15.805Z] Step 3/23 : ARG MAKE='make build' [2022-04-26T16:05:15.805Z] ---> Running in 8115b759100a [2022-04-26T16:05:16.063Z] Removing intermediate container 8115b759100a [2022-04-26T16:05:16.063Z] ---> 057b5a6167d3 [2022-04-26T16:05:16.063Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T16:05:16.063Z] ---> Running in 437f55a0e999 [2022-04-26T16:05:16.633Z] Removing intermediate container 437f55a0e999 [2022-04-26T16:05:16.633Z] ---> 8c4fb583488a [2022-04-26T16:05:16.633Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-26T16:05:16.633Z] ---> Running in c380b4f32880 [2022-04-26T16:05:16.894Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T16:05:17.836Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T16:05:18.096Z] OK: 226 MiB in 60 packages [2022-04-26T16:05:18.356Z] Removing intermediate container c380b4f32880 [2022-04-26T16:05:18.356Z] ---> 3814c03d2bca [2022-04-26T16:05:18.356Z] Step 6/23 : WORKDIR /device-modbus-go [2022-04-26T16:05:18.356Z] ---> Running in 063fa397313f [2022-04-26T16:05:18.640Z] Removing intermediate container 063fa397313f [2022-04-26T16:05:18.640Z] ---> 9fbe91fcaff8 [2022-04-26T16:05:18.640Z] Step 7/23 : COPY go.mod vendor* ./ [2022-04-26T16:05:18.900Z] ---> 2f4157c77297 [2022-04-26T16:05:18.900Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T16:05:18.900Z] ---> Running in 9f298b382ef2 [2022-04-26T16:05:19.857Z] Removing intermediate container 9f298b382ef2 [2022-04-26T16:05:19.857Z] ---> 975f291ceb80 [2022-04-26T16:05:19.857Z] Step 9/23 : COPY . . [2022-04-26T16:05:20.118Z] ---> 835904ed17cf [2022-04-26T16:05:20.118Z] Step 10/23 : RUN ${MAKE} [2022-04-26T16:05:20.118Z] ---> Running in bff92a834ed8 [2022-04-26T16:05:20.378Z] 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 [2022-04-26T16:05:42.329Z] Removing intermediate container bff92a834ed8 [2022-04-26T16:05:42.329Z] ---> 2b5bca12b5e9 [2022-04-26T16:05:42.329Z] Step 11/23 : FROM alpine:3.14 [2022-04-26T16:05:42.930Z] 3.14: Pulling from library/alpine [2022-04-26T16:05:42.930Z] 8663204ce13b: Pulling fs layer [2022-04-26T16:05:43.193Z] 8663204ce13b: Verifying Checksum [2022-04-26T16:05:43.193Z] 8663204ce13b: Download complete [2022-04-26T16:05:43.454Z] 8663204ce13b: Pull complete [2022-04-26T16:05:43.454Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-26T16:05:43.454Z] Status: Downloaded newer image for alpine:3.14 [2022-04-26T16:05:43.454Z] ---> e04c818066af [2022-04-26T16:05:43.454Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-04-26T16:05:43.454Z] ---> Running in 197af670bacf [2022-04-26T16:05:43.714Z] Removing intermediate container 197af670bacf [2022-04-26T16:05:43.714Z] ---> 5ee49667c872 [2022-04-26T16:05:43.714Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T16:05:43.714Z] ---> Running in 166fa17d8334 [2022-04-26T16:05:44.285Z] Removing intermediate container 166fa17d8334 [2022-04-26T16:05:44.285Z] ---> 0f669ea25b25 [2022-04-26T16:05:44.285Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-26T16:05:44.285Z] ---> Running in 32022ed62c41 [2022-04-26T16:05:44.544Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-26T16:05:45.484Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-26T16:05:45.744Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-26T16:05:45.744Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-26T16:05:46.003Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-26T16:05:46.003Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-26T16:05:46.003Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-26T16:05:46.263Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-26T16:05:46.263Z] Executing busybox-1.33.1-r7.trigger [2022-04-26T16:05:46.263Z] OK: 8 MiB in 20 packages [2022-04-26T16:05:46.835Z] Removing intermediate container 32022ed62c41 [2022-04-26T16:05:46.835Z] ---> 10db247a9ef2 [2022-04-26T16:05:46.835Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-04-26T16:05:47.404Z] ---> e98598352e14 [2022-04-26T16:05:47.404Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-04-26T16:05:47.404Z] ---> 72b9cd19bc34 [2022-04-26T16:05:47.404Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-04-26T16:05:47.663Z] ---> 1314a1f5744e [2022-04-26T16:05:47.663Z] Step 18/23 : EXPOSE 59901 [2022-04-26T16:05:47.663Z] ---> Running in b7785a4d7ea4 [2022-04-26T16:05:47.663Z] Removing intermediate container b7785a4d7ea4 [2022-04-26T16:05:47.663Z] ---> 823ba76d504a [2022-04-26T16:05:47.663Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-04-26T16:05:47.663Z] ---> Running in e3de06dd203b [2022-04-26T16:05:47.924Z] Removing intermediate container e3de06dd203b [2022-04-26T16:05:47.924Z] ---> e7c629d6b789 [2022-04-26T16:05:47.924Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-26T16:05:47.925Z] ---> Running in be30d584866a [2022-04-26T16:05:47.925Z] Removing intermediate container be30d584866a [2022-04-26T16:05:47.925Z] ---> bea257a11f10 [2022-04-26T16:05:47.925Z] Step 21/23 : LABEL arch=amd64 [2022-04-26T16:05:48.184Z] ---> Running in f238321aac2f [2022-04-26T16:05:48.184Z] Removing intermediate container f238321aac2f [2022-04-26T16:05:48.184Z] ---> ca5997731215 [2022-04-26T16:05:48.184Z] Step 22/23 : LABEL git_sha=3e29b41b92632560620e97578b701af3e8ac4f61 [2022-04-26T16:05:48.184Z] ---> Running in 68fca263e39d [2022-04-26T16:05:48.444Z] Removing intermediate container 68fca263e39d [2022-04-26T16:05:48.444Z] ---> b108ca145626 [2022-04-26T16:05:48.444Z] Step 23/23 : LABEL version=0.0.0 [2022-04-26T16:05:48.444Z] ---> Running in 35d2fd85b1f5 [2022-04-26T16:05:48.704Z] Removing intermediate container 35d2fd85b1f5 [2022-04-26T16:05:48.704Z] ---> d40767bca90f [2022-04-26T16:05:48.704Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-26T16:05:48.704Z] Successfully built d40767bca90f [2022-04-26T16:05:48.704Z] Successfully tagged device-modbus:latest [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] sh [2022-04-26T16:05:49.136Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T16:05:49.136Z] [2022-04-26T16:05:49.136Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:05:49.435Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T16:05:49.435Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-26T16:05:49.435Z] 5eb5b503b376: Pulling fs layer [2022-04-26T16:05:49.435Z] 5c69ac0246d0: Pulling fs layer [2022-04-26T16:05:49.435Z] ec43610c2a17: Pulling fs layer [2022-04-26T16:05:49.435Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-26T16:05:49.435Z] 33b1e0a273af: Pulling fs layer [2022-04-26T16:05:49.435Z] 5d3b04190fa2: Pulling fs layer [2022-04-26T16:05:49.435Z] 2f39f015ded8: Pulling fs layer [2022-04-26T16:05:49.435Z] 3a2ae6a8a46f: Waiting [2022-04-26T16:05:49.435Z] 33b1e0a273af: Waiting [2022-04-26T16:05:49.435Z] 5d3b04190fa2: Waiting [2022-04-26T16:05:49.435Z] 2f39f015ded8: Waiting [2022-04-26T16:05:49.435Z] 5c69ac0246d0: Download complete [2022-04-26T16:05:49.435Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-26T16:05:49.435Z] 3a2ae6a8a46f: Download complete [2022-04-26T16:05:49.435Z] 33b1e0a273af: Verifying Checksum [2022-04-26T16:05:49.435Z] 33b1e0a273af: Download complete [2022-04-26T16:05:49.435Z] 5d3b04190fa2: Download complete [2022-04-26T16:05:49.697Z] ec43610c2a17: Verifying Checksum [2022-04-26T16:05:49.697Z] ec43610c2a17: Download complete [2022-04-26T16:05:49.697Z] 5eb5b503b376: Verifying Checksum [2022-04-26T16:05:49.697Z] 5eb5b503b376: Download complete [2022-04-26T16:05:50.634Z] 2f39f015ded8: Download complete [2022-04-26T16:05:51.204Z] 5eb5b503b376: Pull complete [2022-04-26T16:05:51.464Z] 5c69ac0246d0: Pull complete [2022-04-26T16:05:52.035Z] ec43610c2a17: Pull complete [2022-04-26T16:05:52.035Z] 3a2ae6a8a46f: Pull complete [2022-04-26T16:05:52.294Z] 33b1e0a273af: Pull complete [2022-04-26T16:05:52.294Z] 5d3b04190fa2: Pull complete [2022-04-26T16:05:57.570Z] 2f39f015ded8: Pull complete [2022-04-26T16:05:57.570Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-26T16:05:57.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T16:05:57.570Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-26T16:05:57.635Z] prd-ubuntu20.04-docker-8c-8g-25942 does not seem to be running inside a container [2022-04-26T16:05:57.671Z] $ 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-334 -v /w/workspace/xfoundry_device-modbus-go_PR-334:/w/workspace/xfoundry_device-modbus-go_PR-334:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-334@tmp:/w/workspace/xfoundry_device-modbus-go_PR-334@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-26T16:05:59.472Z] $ docker top 7c47e091cba8201b640e45571b1db6ab7357d5b9f8f8f327cd36a739bb0c4dd3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:05:59.884Z] ---> job-cost.sh [2022-04-26T16:05:59.885Z] lf-activate-venv: SKIPPING [2022-04-26T16:05:59.885Z] INFO: No Stack... [2022-04-26T16:06:00.148Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T16:06:00.722Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T16:06:01.019Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-334/archives/cost.csv [2022-04-26T16:06:01.019Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T16:06:01.034Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-334-3-stack-cost] [2022-04-26T16:06:01.043Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-334-3-stack-cost] did not exist. Created. [2022-04-26T16:06:01.043Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-334-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T16:06:01.357Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-26T16:06:01.396Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T16:06:01.402Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-334-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T16:06:01.420Z] $ docker stop --time=1 7c47e091cba8201b640e45571b1db6ab7357d5b9f8f8f327cd36a739bb0c4dd3 [2022-04-26T16:06:02.606Z] $ docker rm -f 7c47e091cba8201b640e45571b1db6ab7357d5b9f8f8f327cd36a739bb0c4dd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-26T17:34:51.936Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-33007 in /w/workspace/xfoundry_device-modbus-go_PR-334 [Pipeline] { [Pipeline] ws [2022-04-26T17:34:51.950Z] Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout [2022-04-26T17:34:52.248Z] Selected Git installation does not exist. Using Default [2022-04-26T17:34:52.248Z] The recommended git tool is: NONE [2022-04-26T17:34:58.415Z] using credential edgex-jenkins-ssh [2022-04-26T17:34:58.431Z] Cloning the remote Git repository [2022-04-26T17:34:58.493Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-04-26T17:34:58.570Z] > git init /w/workspace/device-modbus-go/3 # timeout=10 [2022-04-26T17:34:58.651Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-04-26T17:34:58.652Z] > git --version # timeout=10 [2022-04-26T17:34:58.745Z] > git --version # 'git version 2.25.1' [2022-04-26T17:34:58.749Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T17:34:58.854Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T17:35:00.704Z] Merging remotes/origin/main commit e01a1226a5cf77919213724cb5799907c2b0adaa into PR head commit 3e29b41b92632560620e97578b701af3e8ac4f61 [2022-04-26T17:35:00.929Z] Merge succeeded, producing 3e29b41b92632560620e97578b701af3e8ac4f61 [2022-04-26T17:35:00.930Z] Checking out Revision 3e29b41b92632560620e97578b701af3e8ac4f61 (PR-334) [2022-04-26T17:35:00.083Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-04-26T17:35:00.101Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T17:35:00.134Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-04-26T17:35:00.169Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-04-26T17:35:00.170Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T17:35:00.184Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/334/head:refs/remotes/origin/PR-334 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-26T17:35:00.728Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T17:35:00.744Z] > git checkout -f 3e29b41b92632560620e97578b701af3e8ac4f61 # timeout=10 [2022-04-26T17:35:00.845Z] > git remote # timeout=10 [2022-04-26T17:35:00.863Z] > git config --get remote.origin.url # timeout=10 [2022-04-26T17:35:00.878Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T17:35:00.889Z] > git merge e01a1226a5cf77919213724cb5799907c2b0adaa # timeout=10 [2022-04-26T17:35:00.915Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-26T17:35:00.939Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T17:35:00.961Z] > git checkout -f 3e29b41b92632560620e97578b701af3e8ac4f61 # timeout=10 [2022-04-26T17:35:05.185Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T17:35:06.105Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-26T17:35:06.105Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T17:35:06.105Z] Dload Upload Total Spent Left Speed [2022-04-26T17:35:06.106Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 231k 0 --:--:-- --:--:-- --:--:-- 236k [Pipeline] sh [2022-04-26T17:35:06.673Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-26T17:35:07.019Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-26T17:35:07.019Z] + sudo tee /etc/docker/daemon.new [2022-04-26T17:35:07.019Z] { [2022-04-26T17:35:07.019Z] "registry-mirrors": [ [2022-04-26T17:35:07.019Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-26T17:35:07.019Z] ], [2022-04-26T17:35:07.019Z] "bip": "10.250.0.254/24", [2022-04-26T17:35:07.019Z] "hosts": [ [2022-04-26T17:35:07.019Z] "tcp://0.0.0.0:5555", [2022-04-26T17:35:07.019Z] "unix:///var/run/docker.sock" [2022-04-26T17:35:07.019Z] ], [2022-04-26T17:35:07.019Z] "mtu": 1458, [2022-04-26T17:35:07.019Z] "selinux-enabled": true, [2022-04-26T17:35:07.019Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-26T17:35:07.019Z] } [Pipeline] sh [2022-04-26T17:35:07.383Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-26T17:35:07.827Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T17:35:26.212Z] provisioning config files... [2022-04-26T17:35:26.238Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config6162713947775428225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:35:26.611Z] ---> docker-login.sh [2022-04-26T17:35:26.611Z] nexus3.edgexfoundry.org:10001 [2022-04-26T17:35:27.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:35:27.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:35:27.484Z] Configure a credential helper to remove this warning. See [2022-04-26T17:35:27.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:35:27.484Z] [2022-04-26T17:35:27.484Z] Login Succeeded [2022-04-26T17:35:27.484Z] nexus3.edgexfoundry.org:10002 [2022-04-26T17:35:28.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:35:28.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:35:28.082Z] Configure a credential helper to remove this warning. See [2022-04-26T17:35:28.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:35:28.082Z] [2022-04-26T17:35:28.082Z] Login Succeeded [2022-04-26T17:35:28.082Z] nexus3.edgexfoundry.org:10003 [2022-04-26T17:35:28.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:35:28.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:35:28.628Z] Configure a credential helper to remove this warning. See [2022-04-26T17:35:28.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:35:28.628Z] [2022-04-26T17:35:28.628Z] Login Succeeded [2022-04-26T17:35:28.628Z] nexus3.edgexfoundry.org:10004 [2022-04-26T17:35:28.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:35:28.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:35:28.915Z] Configure a credential helper to remove this warning. See [2022-04-26T17:35:28.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:35:28.915Z] [2022-04-26T17:35:28.915Z] Login Succeeded [2022-04-26T17:35:28.915Z] docker.io [2022-04-26T17:35:29.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:35:29.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:35:29.780Z] Configure a credential helper to remove this warning. See [2022-04-26T17:35:29.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:35:29.780Z] [2022-04-26T17:35:29.780Z] Login Succeeded [2022-04-26T17:35:29.780Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T17:35:29.797Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T17:35:30.389Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T17:35:30.409Z] ========================================================= [2022-04-26T17:35:30.409Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-26T17:35:30.409Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:35:30.761Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-26T17:35:31.039Z] Sending build context to Docker daemon 3.084MB [2022-04-26T17:35:31.339Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T17:35:31.339Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-26T17:35:31.339Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-26T17:35:31.339Z] 9b3977197b4f: Pulling fs layer [2022-04-26T17:35:31.339Z] 1a89e8eeedd5: Pulling fs layer [2022-04-26T17:35:31.339Z] 94645a83ff95: Pulling fs layer [2022-04-26T17:35:31.339Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-26T17:35:31.339Z] 0c92f367c5e7: Pulling fs layer [2022-04-26T17:35:31.339Z] 3096ccb668a1: Pulling fs layer [2022-04-26T17:35:31.339Z] e8cf19c19ddd: Pulling fs layer [2022-04-26T17:35:31.339Z] a4caa8a26152: Pulling fs layer [2022-04-26T17:35:31.339Z] 3096ccb668a1: Waiting [2022-04-26T17:35:31.339Z] e8cf19c19ddd: Waiting [2022-04-26T17:35:31.339Z] a4caa8a26152: Waiting [2022-04-26T17:35:31.339Z] 3f3a8bcf1eab: Waiting [2022-04-26T17:35:31.339Z] 0c92f367c5e7: Waiting [2022-04-26T17:35:31.339Z] 94645a83ff95: Verifying Checksum [2022-04-26T17:35:31.339Z] 94645a83ff95: Download complete [2022-04-26T17:35:31.339Z] 1a89e8eeedd5: Verifying Checksum [2022-04-26T17:35:31.339Z] 1a89e8eeedd5: Download complete [2022-04-26T17:35:31.339Z] 0c92f367c5e7: Verifying Checksum [2022-04-26T17:35:31.339Z] 0c92f367c5e7: Download complete [2022-04-26T17:35:31.339Z] 3096ccb668a1: Verifying Checksum [2022-04-26T17:35:31.339Z] 3096ccb668a1: Download complete [2022-04-26T17:35:31.614Z] 9b3977197b4f: Download complete [2022-04-26T17:35:31.614Z] e8cf19c19ddd: Verifying Checksum [2022-04-26T17:35:32.229Z] 9b3977197b4f: Pull complete [2022-04-26T17:35:32.836Z] 1a89e8eeedd5: Pull complete [2022-04-26T17:35:33.113Z] 94645a83ff95: Pull complete [2022-04-26T17:35:33.711Z] a4caa8a26152: Verifying Checksum [2022-04-26T17:35:33.711Z] a4caa8a26152: Download complete [2022-04-26T17:35:34.314Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-26T17:35:34.314Z] 3f3a8bcf1eab: Download complete [2022-04-26T17:35:46.729Z] 3f3a8bcf1eab: Pull complete [2022-04-26T17:35:46.729Z] 0c92f367c5e7: Pull complete [2022-04-26T17:35:47.003Z] 3096ccb668a1: Pull complete [2022-04-26T17:35:47.279Z] e8cf19c19ddd: Pull complete [2022-04-26T17:35:54.006Z] a4caa8a26152: Pull complete [2022-04-26T17:35:54.006Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-26T17:35:54.006Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-26T17:35:54.006Z] ---> 725f1c02e7f9 [2022-04-26T17:35:54.006Z] Step 3/10 : ARG MAKE='make build' [2022-04-26T17:35:55.451Z] ---> Running in f94b2d4c8938 [2022-04-26T17:35:55.726Z] Removing intermediate container f94b2d4c8938 [2022-04-26T17:35:55.726Z] ---> 578b4c34d3b5 [2022-04-26T17:35:55.726Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T17:35:55.726Z] ---> Running in 434d22806188 [2022-04-26T17:35:57.739Z] Removing intermediate container 434d22806188 [2022-04-26T17:35:57.739Z] ---> 0f18f2aef8d1 [2022-04-26T17:35:57.739Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-26T17:35:57.739Z] ---> Running in dd99a0ca615e [2022-04-26T17:35:58.727Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T17:35:59.707Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T17:36:00.683Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-26T17:36:00.683Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-26T17:36:00.683Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-26T17:36:00.955Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-26T17:36:00.955Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-26T17:36:00.955Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-26T17:36:01.229Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-26T17:36:01.229Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-26T17:36:01.229Z] Executing busybox-1.34.1-r3.trigger [2022-04-26T17:36:01.503Z] OK: 226 MiB in 60 packages [2022-04-26T17:36:02.482Z] Removing intermediate container dd99a0ca615e [2022-04-26T17:36:02.482Z] ---> 8fa0b367fad9 [2022-04-26T17:36:02.482Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-26T17:36:02.482Z] ---> Running in f8a6a59a90c7 [2022-04-26T17:36:02.756Z] Removing intermediate container f8a6a59a90c7 [2022-04-26T17:36:02.756Z] ---> 9512e33f8cbb [2022-04-26T17:36:02.756Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-26T17:36:03.363Z] ---> 7bd4574d6ec5 [2022-04-26T17:36:03.363Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T17:36:03.363Z] ---> Running in a3e3ccf01ecc [2022-04-26T17:36:50.392Z] Removing intermediate container a3e3ccf01ecc [2022-04-26T17:36:50.393Z] ---> 2400ace2c0df [2022-04-26T17:36:50.393Z] Step 9/10 : COPY . . [2022-04-26T17:36:50.393Z] ---> dfc9b5eb761e [2022-04-26T17:36:50.393Z] Step 10/10 : RUN ${MAKE} [2022-04-26T17:36:50.393Z] ---> Running in dfcf747e3a44 [2022-04-26T17:36:50.393Z] noop [2022-04-26T17:36:50.988Z] Removing intermediate container dfcf747e3a44 [2022-04-26T17:36:50.988Z] ---> 3ae14ee24324 [2022-04-26T17:36:50.988Z] Successfully built 3ae14ee24324 [2022-04-26T17:36:50.988Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:36:51.335Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T17:36:51.335Z] . [Pipeline] withDockerContainer [2022-04-26T17:36:51.604Z] prd-ubuntu20.04-docker-arm64-4c-16g-33007 does not seem to be running inside a container [2022-04-26T17:36:51.691Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** ci-base-image-arm64 cat [2022-04-26T17:36:53.026Z] $ docker top dd865513605aa68d17e44788e316c605f2d38089f6fdef8b006280859001f50b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T17:36:53.945Z] + go version [2022-04-26T17:36:53.945Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-26T17:36:53.975Z] $ docker stop --time=1 dd865513605aa68d17e44788e316c605f2d38089f6fdef8b006280859001f50b [2022-04-26T17:36:55.671Z] $ docker rm -f dd865513605aa68d17e44788e316c605f2d38089f6fdef8b006280859001f50b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:36:56.286Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T17:36:56.286Z] . [Pipeline] withDockerContainer [2022-04-26T17:36:56.517Z] prd-ubuntu20.04-docker-arm64-4c-16g-33007 does not seem to be running inside a container [2022-04-26T17:36:56.613Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** ci-base-image-arm64 cat [2022-04-26T17:36:57.964Z] $ docker top 745f040dc3fbe494622e2f47cbe54a6be700b42c7f4147d64d1712e4ab25218a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T17:36:58.893Z] + make test [2022-04-26T17:36:58.893Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-26T17:37:00.891Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-26T17:38:22.760Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-26T17:38:22.760Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.066s coverage: 46.4% of statements [2022-04-26T17:38:22.760Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-26T17:38:22.760Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-26T17:38:55.156Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T17:38:55.156Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T17:38:55.156Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T17:38:55.180Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T17:38:55.200Z] $ docker stop --time=1 745f040dc3fbe494622e2f47cbe54a6be700b42c7f4147d64d1712e4ab25218a [2022-04-26T17:38:57.046Z] $ docker rm -f 745f040dc3fbe494622e2f47cbe54a6be700b42c7f4147d64d1712e4ab25218a [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T17:38:58.048Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T17:38:58.080Z] Warning: overwriting stash ‘coverage-report’ [2022-04-26T17:38:58.611Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T17:38:59.021Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T17:38:59.359Z] + ls -al . [2022-04-26T17:38:59.359Z] total 196 [2022-04-26T17:38:59.359Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 17:38 . [2022-04-26T17:38:59.359Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 17:34 .. [2022-04-26T17:38:59.359Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 17:35 .dockerignore [2022-04-26T17:38:59.359Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 17:35 .git [2022-04-26T17:38:59.359Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 17:35 .github [2022-04-26T17:38:59.359Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 26 17:35 .gitignore [2022-04-26T17:38:59.359Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 17:35 .golangci.yml [2022-04-26T17:38:59.359Z] -rw-rw-r-- 1 jenkins jenkins 9244 Apr 26 17:35 Attribution.txt [2022-04-26T17:38:59.359Z] -rw-rw-r-- 1 jenkins jenkins 6038 Apr 26 17:35 CHANGELOG.md [2022-04-26T17:38:59.359Z] -rw-rw-r-- 1 jenkins jenkins 1546 Apr 26 17:35 Dockerfile [2022-04-26T17:38:59.359Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 17:35 GOVERNANCE.md [2022-04-26T17:38:59.359Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 26 17:35 Jenkinsfile [2022-04-26T17:38:59.359Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 17:35 LICENSE [2022-04-26T17:38:59.359Z] -rw-rw-r-- 1 jenkins jenkins 1905 Apr 26 17:35 Makefile [2022-04-26T17:38:59.359Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 26 17:35 OWNERS.md [2022-04-26T17:38:59.359Z] -rw-rw-r-- 1 jenkins jenkins 3680 Apr 26 17:35 README.md [2022-04-26T17:38:59.359Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 16:04 VERSION [2022-04-26T17:38:59.359Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 17:35 bin [2022-04-26T17:38:59.359Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 17:35 cmd [2022-04-26T17:38:59.359Z] -rw-r--r-- 1 jenkins jenkins 24065 Apr 26 17:38 coverage.out [2022-04-26T17:38:59.359Z] -rw-rw-r-- 1 jenkins jenkins 3306 Apr 26 17:35 go.mod [2022-04-26T17:38:59.359Z] -rw-rw-r-- 1 jenkins jenkins 54457 Apr 26 17:35 go.sum [2022-04-26T17:38:59.359Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 17:35 internal [2022-04-26T17:38:59.359Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 17:35 simulator [2022-04-26T17:38:59.359Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 17:35 snap [2022-04-26T17:38:59.359Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 26 17:35 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:38:59.709Z] + 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=3e29b41b92632560620e97578b701af3e8ac4f61 --label arch=arm64 --label version=0.0.0 . [2022-04-26T17:38:59.982Z] Sending build context to Docker daemon 3.109MB [2022-04-26T17:39:00.258Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T17:39:00.258Z] Step 2/23 : FROM ${BASE} AS builder [2022-04-26T17:39:00.258Z] ---> 3ae14ee24324 [2022-04-26T17:39:00.258Z] Step 3/23 : ARG MAKE='make build' [2022-04-26T17:39:00.258Z] ---> Running in 02f033b6277e [2022-04-26T17:39:00.532Z] Removing intermediate container 02f033b6277e [2022-04-26T17:39:00.532Z] ---> 59ba80bfaaf3 [2022-04-26T17:39:00.532Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T17:39:00.820Z] ---> Running in d0dd6bcbc310 [2022-04-26T17:39:02.815Z] Removing intermediate container d0dd6bcbc310 [2022-04-26T17:39:02.815Z] ---> 9fdcadb849fc [2022-04-26T17:39:02.816Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-26T17:39:02.816Z] ---> Running in 800be406c86f [2022-04-26T17:39:03.420Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T17:39:04.391Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T17:39:05.363Z] OK: 226 MiB in 60 packages [2022-04-26T17:39:05.958Z] Removing intermediate container 800be406c86f [2022-04-26T17:39:05.958Z] ---> cd14a18e9c05 [2022-04-26T17:39:05.958Z] Step 6/23 : WORKDIR /device-modbus-go [2022-04-26T17:39:06.235Z] ---> Running in 9585e70ed288 [2022-04-26T17:39:06.507Z] Removing intermediate container 9585e70ed288 [2022-04-26T17:39:06.507Z] ---> 71b0b1ed3357 [2022-04-26T17:39:06.507Z] Step 7/23 : COPY go.mod vendor* ./ [2022-04-26T17:39:06.782Z] ---> d6526fb46baf [2022-04-26T17:39:06.782Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T17:39:07.058Z] ---> Running in 71d0384fc4ac [2022-04-26T17:39:09.032Z] Removing intermediate container 71d0384fc4ac [2022-04-26T17:39:09.032Z] ---> 41279ddff51b [2022-04-26T17:39:09.032Z] Step 9/23 : COPY . . [2022-04-26T17:39:09.625Z] ---> f64fffce0866 [2022-04-26T17:39:09.625Z] Step 10/23 : RUN ${MAKE} [2022-04-26T17:39:09.625Z] ---> Running in 59ad6ef5f61f [2022-04-26T17:39:10.601Z] 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 [2022-04-26T17:41:17.460Z] Removing intermediate container 59ad6ef5f61f [2022-04-26T17:41:17.460Z] ---> f7cd8e51168a [2022-04-26T17:41:17.460Z] Step 11/23 : FROM alpine:3.14 [2022-04-26T17:41:17.460Z] 3.14: Pulling from library/alpine [2022-04-26T17:41:17.460Z] 455c02918c45: Pulling fs layer [2022-04-26T17:41:17.460Z] 455c02918c45: Download complete [2022-04-26T17:41:17.460Z] 455c02918c45: Pull complete [2022-04-26T17:41:17.460Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-26T17:41:17.460Z] Status: Downloaded newer image for alpine:3.14 [2022-04-26T17:41:17.460Z] ---> ac73e934f311 [2022-04-26T17:41:17.460Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-04-26T17:41:17.460Z] ---> Running in 48f40f5072cb [2022-04-26T17:41:17.460Z] Removing intermediate container 48f40f5072cb [2022-04-26T17:41:17.460Z] ---> ffd54910ed67 [2022-04-26T17:41:17.460Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T17:41:17.460Z] ---> Running in e5a354faee39 [2022-04-26T17:41:17.460Z] Removing intermediate container e5a354faee39 [2022-04-26T17:41:17.460Z] ---> e37245446550 [2022-04-26T17:41:17.460Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-26T17:41:17.460Z] ---> Running in c843e0b026dd [2022-04-26T17:41:17.460Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-26T17:41:17.460Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-26T17:41:17.460Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-26T17:41:17.460Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-26T17:41:17.460Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-26T17:41:17.733Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-26T17:41:17.733Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-26T17:41:18.009Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-26T17:41:18.009Z] Executing busybox-1.33.1-r7.trigger [2022-04-26T17:41:18.009Z] OK: 8 MiB in 20 packages [2022-04-26T17:41:18.999Z] Removing intermediate container c843e0b026dd [2022-04-26T17:41:18.999Z] ---> a92671b8f99f [2022-04-26T17:41:18.999Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-04-26T17:41:20.435Z] ---> 1d26fea9ba62 [2022-04-26T17:41:20.435Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-04-26T17:41:21.034Z] ---> d06b43181a2c [2022-04-26T17:41:21.034Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-04-26T17:41:21.635Z] ---> 0ba064463fdc [2022-04-26T17:41:21.635Z] Step 18/23 : EXPOSE 59901 [2022-04-26T17:41:21.635Z] ---> Running in 489fe52fff56 [2022-04-26T17:41:22.234Z] Removing intermediate container 489fe52fff56 [2022-04-26T17:41:22.234Z] ---> 574e70a536f1 [2022-04-26T17:41:22.234Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-04-26T17:41:22.234Z] ---> Running in 97480c6d3d90 [2022-04-26T17:41:22.509Z] Removing intermediate container 97480c6d3d90 [2022-04-26T17:41:22.509Z] ---> 90098e707d44 [2022-04-26T17:41:22.509Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-26T17:41:22.509Z] ---> Running in 590f5879bddf [2022-04-26T17:41:22.784Z] Removing intermediate container 590f5879bddf [2022-04-26T17:41:22.784Z] ---> 60eef77436bd [2022-04-26T17:41:22.784Z] Step 21/23 : LABEL arch=arm64 [2022-04-26T17:41:23.060Z] ---> Running in 1d0b36ed262a [2022-04-26T17:41:23.337Z] Removing intermediate container 1d0b36ed262a [2022-04-26T17:41:23.337Z] ---> 46a9d05fd85b [2022-04-26T17:41:23.337Z] Step 22/23 : LABEL git_sha=3e29b41b92632560620e97578b701af3e8ac4f61 [2022-04-26T17:41:23.337Z] ---> Running in e97e1b100824 [2022-04-26T17:41:23.938Z] Removing intermediate container e97e1b100824 [2022-04-26T17:41:23.938Z] ---> 4bbdc6d0103c [2022-04-26T17:41:23.938Z] Step 23/23 : LABEL version=0.0.0 [2022-04-26T17:41:23.938Z] ---> Running in 186a3df9acde [2022-04-26T17:41:24.214Z] Removing intermediate container 186a3df9acde [2022-04-26T17:41:24.214Z] ---> 444049b8c200 [2022-04-26T17:41:24.214Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-26T17:41:24.214Z] Successfully built 444049b8c200 [2022-04-26T17:41:24.214Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:41:24.650Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T17:41:24.650Z] [2022-04-26T17:41:24.650Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:41:25.007Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T17:41:25.286Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-26T17:41:25.286Z] 8998bd30e6a1: Pulling fs layer [2022-04-26T17:41:25.286Z] 04944245beec: Pulling fs layer [2022-04-26T17:41:25.286Z] 699f458cf7ca: Pulling fs layer [2022-04-26T17:41:25.286Z] 765212b225bb: Pulling fs layer [2022-04-26T17:41:25.286Z] f23df028b6ca: Pulling fs layer [2022-04-26T17:41:25.286Z] d65c8cfc05b1: Pulling fs layer [2022-04-26T17:41:25.286Z] 2437ff75d9bd: Pulling fs layer [2022-04-26T17:41:25.286Z] 765212b225bb: Waiting [2022-04-26T17:41:25.286Z] f23df028b6ca: Waiting [2022-04-26T17:41:25.286Z] d65c8cfc05b1: Waiting [2022-04-26T17:41:25.286Z] 2437ff75d9bd: Waiting [2022-04-26T17:41:25.286Z] 04944245beec: Verifying Checksum [2022-04-26T17:41:25.286Z] 04944245beec: Download complete [2022-04-26T17:41:25.286Z] 765212b225bb: Download complete [2022-04-26T17:41:25.286Z] f23df028b6ca: Verifying Checksum [2022-04-26T17:41:25.286Z] f23df028b6ca: Download complete [2022-04-26T17:41:25.286Z] d65c8cfc05b1: Verifying Checksum [2022-04-26T17:41:25.286Z] d65c8cfc05b1: Download complete [2022-04-26T17:41:25.565Z] 699f458cf7ca: Verifying Checksum [2022-04-26T17:41:25.565Z] 699f458cf7ca: Download complete [2022-04-26T17:41:25.842Z] 8998bd30e6a1: Verifying Checksum [2022-04-26T17:41:25.842Z] 8998bd30e6a1: Download complete [2022-04-26T17:41:28.475Z] 2437ff75d9bd: Verifying Checksum [2022-04-26T17:41:28.475Z] 2437ff75d9bd: Download complete [2022-04-26T17:41:30.459Z] 8998bd30e6a1: Pull complete [2022-04-26T17:41:30.732Z] 04944245beec: Pull complete [2022-04-26T17:41:32.173Z] 699f458cf7ca: Pull complete [2022-04-26T17:41:32.448Z] 765212b225bb: Pull complete [2022-04-26T17:41:33.432Z] f23df028b6ca: Pull complete [2022-04-26T17:41:33.706Z] d65c8cfc05b1: Pull complete [2022-04-26T17:41:48.809Z] 2437ff75d9bd: Pull complete [2022-04-26T17:41:48.809Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-26T17:41:48.809Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T17:41:48.809Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-26T17:41:49.050Z] prd-ubuntu20.04-docker-arm64-4c-16g-33007 does not seem to be running inside a container [2022-04-26T17:41:49.146Z] $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-26T17:41:51.656Z] $ docker top cd7ab0fcc471648d9e541728aab609fbfab89bb03aa3ca174cc3aa02031a4c01 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:41:52.579Z] ---> job-cost.sh [2022-04-26T17:41:52.579Z] lf-activate-venv: SKIPPING [2022-04-26T17:41:52.579Z] INFO: No Stack... [2022-04-26T17:41:52.851Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-26T17:41:53.830Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T17:41:54.507Z] + cat /w/workspace/device-modbus-go/3/archives/cost.csv [2022-04-26T17:41:54.507Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T17:41:54.578Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-334-3-stack-cost] [2022-04-26T17:41:54.584Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-334-3-stack-cost] did not exist. Created. [2022-04-26T17:41:54.584Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-334-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T17:41:55.267Z] /w/workspace/device-modbus-go/3@tmp/durable-e2cd43d9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-26T17:41:55.962Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-26T17:41:55.991Z] Warning: overwriting stash ‘stack-cost’ [2022-04-26T17:41:56.103Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T17:41:56.114Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-334-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T17:41:56.141Z] $ docker stop --time=1 cd7ab0fcc471648d9e541728aab609fbfab89bb03aa3ca174cc3aa02031a4c01 [2022-04-26T17:41:57.640Z] $ docker rm -f cd7ab0fcc471648d9e541728aab609fbfab89bb03aa3ca174cc3aa02031a4c01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-26T17:41:58.077Z] provisioning config files... [2022-04-26T17:41:58.084Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-334@tmp/config7092456165617033281tmp [Pipeline] { [Pipeline] sh [2022-04-26T17:41:58.384Z] + set +x [2022-04-26T17:41:58.384Z] + bash -s -- [2022-04-26T17:41:58.384Z] + curl -s https://codecov.io/bash [2022-04-26T17:41:58.384Z] [2022-04-26T17:41:58.384Z] _____ _ [2022-04-26T17:41:58.384Z] / ____| | | [2022-04-26T17:41:58.384Z] | | ___ __| | ___ ___ _____ __ [2022-04-26T17:41:58.384Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-26T17:41:58.384Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-26T17:41:58.384Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-26T17:41:58.384Z] Bash-1.0.6 [2022-04-26T17:41:58.384Z] [2022-04-26T17:41:58.384Z] [2022-04-26T17:41:58.384Z] ==> git version 2.25.1 found [2022-04-26T17:41:58.384Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-26T17:41:58.384Z] Release-Date: 2020-01-08 [2022-04-26T17:41:58.384Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-26T17:41:58.384Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-26T17:41:58.384Z] ==> Jenkins CI detected. [2022-04-26T17:41:58.384Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-334 [2022-04-26T17:41:58.384Z] project root: . [2022-04-26T17:41:58.384Z] --> token set from env [2022-04-26T17:41:58.384Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-26T17:41:58.384Z] ==> Running gcov in . (disable via -X gcov) [2022-04-26T17:41:58.384Z] ==> Python coveragepy not found [2022-04-26T17:41:58.384Z] ==> Searching for coverage reports in: [2022-04-26T17:41:58.384Z] + . [2022-04-26T17:41:58.384Z] -> Found 1 reports [2022-04-26T17:41:58.384Z] ==> Detecting git/mercurial file structure [2022-04-26T17:41:58.384Z] ==> Reading reports [2022-04-26T17:41:58.384Z] + ./coverage.out bytes=24065 [2022-04-26T17:41:58.384Z] ==> Appending adjustments [2022-04-26T17:41:58.384Z] https://docs.codecov.io/docs/fixing-reports [2022-04-26T17:41:58.384Z] + Found adjustments [2022-04-26T17:41:58.648Z] ==> Gzipping contents [2022-04-26T17:41:58.648Z] 4.0K /tmp/codecov.keiitv.gz [2022-04-26T17:41:58.648Z] ==> Uploading reports [2022-04-26T17:41:58.648Z] url: https://codecov.io [2022-04-26T17:41:58.648Z] query: branch=PR-334&commit=3e29b41b92632560620e97578b701af3e8ac4f61&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-334%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=334&job=&cmd_args= [2022-04-26T17:41:58.648Z] -> Pinging Codecov [2022-04-26T17:41:58.648Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-334&commit=3e29b41b92632560620e97578b701af3e8ac4f61&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-334%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=334&job=&cmd_args= [2022-04-26T17:41:58.910Z] -> Uploading to [2022-04-26T17:41:58.910Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-26/55DBCA73C666E3227836607328DD7E49/3e29b41b92632560620e97578b701af3e8ac4f61/7fe8aa87-4520-4b86-82ff-be838738bbe2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T174158Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=769adcbe01b73efb570a379b714751dccb68a84c77a006cfdf8ffb4509701ca6 [2022-04-26T17:41:58.910Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T17:41:58.910Z] Dload Upload Total Spent Left Speed [2022-04-26T17:41:59.169Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4012 0 0 100 4012 0 19763 --:--:-- --:--:-- --:--:-- 19666 100 4012 0 0 100 4012 0 17443 --:--:-- --:--:-- --:--:-- 17367 [2022-04-26T17:41:59.169Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/3e29b41b92632560620e97578b701af3e8ac4f61 [Pipeline] } [2022-04-26T17:41:59.178Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-26T17:41:59.937Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-334/archives ] [2022-04-26T17:41:59.937Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-334/archives [2022-04-26T17:41:59.937Z] total 16 [2022-04-26T17:41:59.937Z] drwxr-xr-x 3 root root 4096 Apr 26 16:06 . [2022-04-26T17:41:59.937Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 16:06 .. [2022-04-26T17:41:59.937Z] drwxr-xr-x 2 root root 4096 Apr 26 16:06 cost [2022-04-26T17:41:59.937Z] -rw-r--r-- 1 root root 87 Apr 26 16:06 cost.csv [2022-04-26T17:41:59.937Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-334/archives [2022-04-26T17:41:59.937Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-334/archives [2022-04-26T17:41:59.937Z] total 16 [2022-04-26T17:41:59.937Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 16:06 . [2022-04-26T17:41:59.937Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 16:06 .. [2022-04-26T17:41:59.937Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 16:06 cost [2022-04-26T17:41:59.937Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 26 16:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:42:00.240Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:42:01.105Z] ---> package-listing.sh [2022-04-26T17:42:01.105Z] ++ facter osfamily [2022-04-26T17:42:01.105Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-26T17:42:01.366Z] + OS_FAMILY=debian [2022-04-26T17:42:01.366Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-334 [2022-04-26T17:42:01.366Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-26T17:42:01.366Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-26T17:42:01.366Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-26T17:42:01.366Z] + PACKAGES=/tmp/packages_start.txt [2022-04-26T17:42:01.366Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-334 ']' [2022-04-26T17:42:01.366Z] + PACKAGES=/tmp/packages_end.txt [2022-04-26T17:42:01.366Z] + case "${OS_FAMILY}" in [2022-04-26T17:42:01.366Z] + dpkg -l [2022-04-26T17:42:01.366Z] + grep '^ii' [2022-04-26T17:42:01.366Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-26T17:42:01.366Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-26T17:42:01.366Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-26T17:42:01.366Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-334 ']' [2022-04-26T17:42:01.366Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-334/archives/ [2022-04-26T17:42:01.366Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-334/archives/ [Pipeline] echo [2022-04-26T17:42:01.378Z] 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-334/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-26T17:42:01.657Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:42:02.208Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T17:42:02.208Z] . [Pipeline] withDockerContainer [2022-04-26T17:42:02.276Z] prd-ubuntu20.04-docker-8c-8g-25942 does not seem to be running inside a container [2022-04-26T17:42:02.314Z] $ 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-334/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-334 -v /w/workspace/xfoundry_device-modbus-go_PR-334:/w/workspace/xfoundry_device-modbus-go_PR-334:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-334@tmp:/w/workspace/xfoundry_device-modbus-go_PR-334@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 [2022-04-26T17:42:02.566Z] $ docker top bfc2d639a0777986c5bd1a9e357f36c6b5da4d1a17a39f90752021491c81aac3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T17:42:02.961Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-26T17:42:03.260Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-26T17:42:03.551Z] + ls /var/log/sa-host [2022-04-26T17:42:03.551Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T17:42:03.641Z] provisioning config files... [2022-04-26T17:42:03.649Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-334@tmp/config2790234702715165434tmp [Pipeline] { [Pipeline] echo [2022-04-26T17:42:03.665Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:42:03.952Z] ---> create-netrc.sh [Pipeline] } [2022-04-26T17:42:03.960Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:42:04.292Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-26T17:42:04.300Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:42:04.580Z] ---> sudo-logs.sh [2022-04-26T17:42:04.580Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-26T17:42:04.611Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:42:04.893Z] ---> job-cost.sh [2022-04-26T17:42:04.893Z] lf-activate-venv: SKIPPING [2022-04-26T17:42:04.893Z] DEBUG: total: 0.2199999988079071 [2022-04-26T17:42:04.893Z] INFO: Retrieving Stack Cost... [2022-04-26T17:42:05.463Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T17:42:05.724Z] INFO: Archiving Costs [Pipeline] echo [2022-04-26T17:42:05.736Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:42:06.025Z] ---> logs-deploy.sh [2022-04-26T17:42:06.025Z] lf-activate-venv: SKIPPING [2022-04-26T17:42:06.025Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-334/3 [2022-04-26T17:42:06.025Z] INFO: archiving workspace using pattern(s): [2022-04-26T17:42:06.969Z] Archives upload complete. [2022-04-26T17:42:07.230Z] INFO: archiving logs to Nexus