Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c9002b5e4dd2f2db2aacebcf5ad02ef26a3c0ef5+244abab361647dcef607fbcbfbdaea3ae1f72309 (7c20377ac97c5cd7c2e748b8ab61f0a2a70f3bb4) 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-ssh547506792564492240.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-ssh7892964387290842147.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-328/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-328/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11432148304138626123.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-ssh4162517738572285760.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-328/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-328/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8620440061149649632.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 Running on prd-ubuntu20.04-docker-8c-8g-20805 in /w/workspace/xfoundry_device-modbus-go_PR-328 [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-328 # 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 244abab361647dcef607fbcbfbdaea3ae1f72309 into PR head commit c9002b5e4dd2f2db2aacebcf5ad02ef26a3c0ef5 Merge succeeded, producing fb20ae7f19c4ae04353f9372c51c5483edbd2a06 Checking out Revision fb20ae7f19c4ae04353f9372c51c5483edbd2a06 (PR-328) > 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/328/head:refs/remotes/origin/PR-328 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c9002b5e4dd2f2db2aacebcf5ad02ef26a3c0ef5 # 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 244abab361647dcef607fbcbfbdaea3ae1f72309 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb20ae7f19c4ae04353f9372c51c5483edbd2a06 # timeout=10 Commit message: "Merge commit '244abab361647dcef607fbcbfbdaea3ae1f72309' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-13T12:53:30.956Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk 7677f4a66675cfedd933a8a3d7d980b923a1d71a # timeout=10 [Pipeline] withCredentials [2022-04-13T12:53:31.020Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-13T12:53:31.041Z] ========================================================= [2022-04-13T12:53:31.041Z] EdgeX Global Pipelines Version Info [2022-04-13T12:53:31.041Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-13T12:53:31.817Z] ------------------- [2022-04-13T12:53:31.817Z] stable info: [2022-04-13T12:53:31.817Z] ------------------- [2022-04-13T12:53:31.817Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-13T12:53:31.817Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-13T12:53:31.817Z] Message: update stable to v1.0.221 [2022-04-13T12:53:32.390Z] ------------------- [2022-04-13T12:53:32.390Z] experimental info: [2022-04-13T12:53:32.390Z] ------------------- [2022-04-13T12:53:32.390Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-13T12:53:32.390Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-13T12:53:32.390Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-13T12:53:32.509Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-04-13T12:53:32.519Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-04-13T12:53:32.532Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-13T12:53:32.545Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-13T12:53:32.558Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-13T12:53:32.571Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-13T12:53:32.584Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-13T12:53:32.597Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-13T12:53:32.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-13T12:53:32.623Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-13T12:53:32.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-13T12:53:32.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-04-13T12:53:32.664Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-13T12:53:32.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-13T12:53:32.689Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-13T12:53:32.700Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-13T12:53:32.714Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-13T12:53:32.727Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-13T12:53:32.744Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-13T12:53:32.763Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-13T12:53:32.782Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-13T12:53:32.802Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-13T12:53:32.822Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-13T12:53:32.850Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-13T12:53:32.870Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-13T12:53:32.887Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-13T12:53:32.903Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-328 [Pipeline] echo [2022-04-13T12:53:32.920Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-328 [Pipeline] echo [2022-04-13T12:53:32.935Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-328 [Pipeline] echo [2022-04-13T12:53:32.947Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fb20ae7f19c4ae04353f9372c51c5483edbd2a06 [Pipeline] echo [2022-04-13T12:53:32.959Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fb20ae7 [Pipeline] echo [2022-04-13T12:53:32.973Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T12:53:33.015Z] provisioning config files... [2022-04-13T12:53:33.028Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-328@tmp/config7375205730270317170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T12:53:33.341Z] ---> docker-login.sh [2022-04-13T12:53:33.341Z] nexus3.edgexfoundry.org:10001 [2022-04-13T12:53:33.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:53:33.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:53:33.602Z] Configure a credential helper to remove this warning. See [2022-04-13T12:53:33.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:53:33.602Z] [2022-04-13T12:53:33.602Z] Login Succeeded [2022-04-13T12:53:33.602Z] nexus3.edgexfoundry.org:10002 [2022-04-13T12:53:33.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:53:33.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:53:33.863Z] Configure a credential helper to remove this warning. See [2022-04-13T12:53:33.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:53:33.863Z] [2022-04-13T12:53:33.863Z] Login Succeeded [2022-04-13T12:53:33.863Z] nexus3.edgexfoundry.org:10003 [2022-04-13T12:53:33.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:53:33.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:53:33.863Z] Configure a credential helper to remove this warning. See [2022-04-13T12:53:33.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:53:33.863Z] [2022-04-13T12:53:33.863Z] Login Succeeded [2022-04-13T12:53:33.863Z] nexus3.edgexfoundry.org:10004 [2022-04-13T12:53:34.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:53:34.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:53:34.125Z] Configure a credential helper to remove this warning. See [2022-04-13T12:53:34.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:53:34.125Z] [2022-04-13T12:53:34.125Z] Login Succeeded [2022-04-13T12:53:34.125Z] docker.io [2022-04-13T12:53:34.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:53:34.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:53:34.697Z] Configure a credential helper to remove this warning. See [2022-04-13T12:53:34.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:53:34.697Z] [2022-04-13T12:53:34.697Z] Login Succeeded [2022-04-13T12:53:34.697Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T12:53:34.706Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-13T12:53:35.067Z] + git rev-list -1 --merges fb20ae7f19c4ae04353f9372c51c5483edbd2a06~1..fb20ae7f19c4ae04353f9372c51c5483edbd2a06 [Pipeline] echo [2022-04-13T12:53:35.098Z] -----------> git rev-list -1 --merges fb20ae7f19c4ae04353f9372c51c5483edbd2a06~1..fb20ae7f19c4ae04353f9372c51c5483edbd2a06 fb20ae7f19c4ae04353f9372c51c5483edbd2a06 [2022-04-13T12:53:35.098Z] fb20ae7f19c4ae04353f9372c51c5483edbd2a06 [false] [Pipeline] sh [2022-04-13T12:53:35.396Z] + git log --format=format:%s -1 fb20ae7f19c4ae04353f9372c51c5483edbd2a06 [Pipeline] echo [2022-04-13T12:53:35.414Z] ========================================================= [2022-04-13T12:53:35.414Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-13T12:53:35.414Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T12:53:35.749Z] + git log --format=format:%s -1 fb20ae7f19c4ae04353f9372c51c5483edbd2a06 [Pipeline] echo [2022-04-13T12:53:35.762Z] [semverPrep] GIT_COMMIT: fb20ae7f19c4ae04353f9372c51c5483edbd2a06, Commit Message: Merge commit '244abab361647dcef607fbcbfbdaea3ae1f72309' into HEAD [Pipeline] echo [2022-04-13T12:53:35.770Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-13T12:53:36.144Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-13T12:53:36.144Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-13T12:53:36.144Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-13T12:53:36.144Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-13T12:53:36.144Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-13T12:53:36.144Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-13T12:53:36.144Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-13T12:53:36.507Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T12:53:36.507Z] [2022-04-13T12:53:36.507Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T12:53:36.807Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T12:53:36.807Z] latest: Pulling from edgex-devops/git-semver [2022-04-13T12:53:36.807Z] a0d0a0d46f8b: Pulling fs layer [2022-04-13T12:53:36.807Z] 3e5f54012d9b: Pulling fs layer [2022-04-13T12:53:36.807Z] 4c7163046ea9: Pulling fs layer [2022-04-13T12:53:36.807Z] 0c2d73faf560: Pulling fs layer [2022-04-13T12:53:36.807Z] 3e5f54012d9b: Download complete [2022-04-13T12:53:36.807Z] a0d0a0d46f8b: Download complete [2022-04-13T12:53:36.807Z] 0c2d73faf560: Verifying Checksum [2022-04-13T12:53:36.807Z] 0c2d73faf560: Download complete [2022-04-13T12:53:36.807Z] 4c7163046ea9: Verifying Checksum [2022-04-13T12:53:36.807Z] 4c7163046ea9: Download complete [2022-04-13T12:53:37.067Z] a0d0a0d46f8b: Pull complete [2022-04-13T12:53:37.067Z] 3e5f54012d9b: Pull complete [2022-04-13T12:53:37.327Z] 4c7163046ea9: Pull complete [2022-04-13T12:53:37.587Z] 0c2d73faf560: Pull complete [2022-04-13T12:53:37.587Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-13T12:53:37.587Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T12:53:37.587Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-13T12:53:37.762Z] prd-ubuntu20.04-docker-8c-8g-20805 does not seem to be running inside a container [2022-04-13T12:53:37.819Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-328 -v /w/workspace/xfoundry_device-modbus-go_PR-328:/w/workspace/xfoundry_device-modbus-go_PR-328:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-328@tmp:/w/workspace/xfoundry_device-modbus-go_PR-328@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-13T12:53:38.511Z] $ docker top dd87bd461a2f1c0c4e878e936921880bcd6a441245c3555fb3b7bb8b2df9838c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-13T12:53:38.612Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T12:53:38.612Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T12:53:38.741Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T12:53:38.751Z] $ docker exec dd87bd461a2f1c0c4e878e936921880bcd6a441245c3555fb3b7bb8b2df9838c ssh-agent [2022-04-13T12:53:38.859Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpkMkom/agent.13 [2022-04-13T12:53:38.860Z] SSH_AGENT_PID=20 [2022-04-13T12:53:38.867Z] Running ssh-add (command line suppressed) [2022-04-13T12:53:39.000Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-328@tmp/private_key_7563220573974683168.key (/w/workspace/xfoundry_device-modbus-go_PR-328@tmp/private_key_7563220573974683168.key) [2022-04-13T12:53:39.010Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T12:53:39.301Z] + git tag --points-at HEAD [Pipeline] } [2022-04-13T12:53:39.327Z] $ docker exec --env ******** --env ******** dd87bd461a2f1c0c4e878e936921880bcd6a441245c3555fb3b7bb8b2df9838c ssh-agent -k [2022-04-13T12:53:39.436Z] unset SSH_AUTH_SOCK; [2022-04-13T12:53:39.437Z] unset SSH_AGENT_PID; [2022-04-13T12:53:39.437Z] echo Agent pid 20 killed; [2022-04-13T12:53:39.440Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-13T12:53:39.466Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T12:53:39.466Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T12:53:39.580Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T12:53:39.589Z] $ docker exec dd87bd461a2f1c0c4e878e936921880bcd6a441245c3555fb3b7bb8b2df9838c ssh-agent [2022-04-13T12:53:39.701Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcmJNgG/agent.52 [2022-04-13T12:53:39.701Z] SSH_AGENT_PID=58 [2022-04-13T12:53:39.706Z] Running ssh-add (command line suppressed) [2022-04-13T12:53:39.830Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-328@tmp/private_key_3289309522797594147.key (/w/workspace/xfoundry_device-modbus-go_PR-328@tmp/private_key_3289309522797594147.key) [2022-04-13T12:53:39.838Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T12:53:40.127Z] + git semver init [2022-04-13T12:53:40.127Z] # -> Open(): unable to determine branch for HEAD [2022-04-13T12:53:40.127Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-328/.git [2022-04-13T12:53:40.127Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-328 [2022-04-13T12:53:40.127Z] # $SEMVER_REMOTE_NAME = origin [2022-04-13T12:53:40.127Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-13T12:53:40.127Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-13T12:53:40.127Z] # $SEMVER_BRANCH = PR-328 [2022-04-13T12:53:40.127Z] # $SEMVER_TEMP = /tmp/semver-273186443 [2022-04-13T12:53:40.127Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2022-04-13T12:53:41.068Z] # '/tmp/semver-273186443' -> '/w/workspace/xfoundry_device-modbus-go_PR-328/.semver' [2022-04-13T12:53:41.068Z] # -> Force: false [2022-04-13T12:53:41.068Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-328/.semver [Pipeline] } [2022-04-13T12:53:41.086Z] $ docker exec --env ******** --env ******** dd87bd461a2f1c0c4e878e936921880bcd6a441245c3555fb3b7bb8b2df9838c ssh-agent -k [2022-04-13T12:53:41.190Z] unset SSH_AUTH_SOCK; [2022-04-13T12:53:41.190Z] unset SSH_AGENT_PID; [2022-04-13T12:53:41.190Z] echo Agent pid 58 killed; [2022-04-13T12:53:41.193Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-13T12:53:41.507Z] + git semver [Pipeline] } [2022-04-13T12:53:41.528Z] $ docker stop --time=1 dd87bd461a2f1c0c4e878e936921880bcd6a441245c3555fb3b7bb8b2df9838c [2022-04-13T12:53:42.889Z] $ docker rm -f dd87bd461a2f1c0c4e878e936921880bcd6a441245c3555fb3b7bb8b2df9838c [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T12:53:43.240Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-13T12:53:43.481Z] Stashed 1 file(s) [Pipeline] echo [2022-04-13T12:53:43.484Z] [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-13T12:53:43.678Z] provisioning config files... [2022-04-13T12:53:43.688Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-328@tmp/config2762677607049128039tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T12:53:43.988Z] ---> docker-login.sh [2022-04-13T12:53:43.988Z] nexus3.edgexfoundry.org:10001 [2022-04-13T12:53:43.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:53:43.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:53:43.988Z] Configure a credential helper to remove this warning. See [2022-04-13T12:53:43.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:53:43.988Z] [2022-04-13T12:53:43.988Z] Login Succeeded [2022-04-13T12:53:43.988Z] nexus3.edgexfoundry.org:10002 [2022-04-13T12:53:43.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:53:43.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:53:43.988Z] Configure a credential helper to remove this warning. See [2022-04-13T12:53:43.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:53:43.988Z] [2022-04-13T12:53:43.988Z] Login Succeeded [2022-04-13T12:53:44.249Z] nexus3.edgexfoundry.org:10003 [2022-04-13T12:53:44.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:53:44.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:53:44.249Z] Configure a credential helper to remove this warning. See [2022-04-13T12:53:44.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:53:44.249Z] [2022-04-13T12:53:44.249Z] Login Succeeded [2022-04-13T12:53:44.249Z] nexus3.edgexfoundry.org:10004 [2022-04-13T12:53:44.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:53:44.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:53:44.512Z] Configure a credential helper to remove this warning. See [2022-04-13T12:53:44.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:53:44.512Z] [2022-04-13T12:53:44.512Z] Login Succeeded [2022-04-13T12:53:44.512Z] docker.io [2022-04-13T12:53:44.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:53:44.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:53:44.772Z] Configure a credential helper to remove this warning. See [2022-04-13T12:53:44.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:53:44.772Z] [2022-04-13T12:53:44.772Z] Login Succeeded [2022-04-13T12:53:44.772Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T12:53:44.780Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-13T12:53:44.850Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T12:53:44.865Z] ========================================================= [2022-04-13T12:53:44.865Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-13T12:53:44.865Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-13T12:53:45.181Z] + 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-13T12:53:45.181Z] Sending build context to Docker daemon 5.803MB [2022-04-13T12:53:45.181Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T12:53:45.181Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-13T12:53:45.181Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-13T12:53:45.181Z] 59bf1c3509f3: Pulling fs layer [2022-04-13T12:53:45.181Z] 666ba61612fd: Pulling fs layer [2022-04-13T12:53:45.181Z] 8ed8ca486205: Pulling fs layer [2022-04-13T12:53:45.181Z] 4fe6c5a15a65: Pulling fs layer [2022-04-13T12:53:45.181Z] 22a0e8bec74d: Pulling fs layer [2022-04-13T12:53:45.181Z] 640e595b4fbd: Pulling fs layer [2022-04-13T12:53:45.181Z] 763cafe07f6e: Pulling fs layer [2022-04-13T12:53:45.181Z] 0c0b528cf693: Pulling fs layer [2022-04-13T12:53:45.181Z] 10935f4eaf8b: Pulling fs layer [2022-04-13T12:53:45.181Z] 4fe6c5a15a65: Waiting [2022-04-13T12:53:45.181Z] 22a0e8bec74d: Waiting [2022-04-13T12:53:45.181Z] 640e595b4fbd: Waiting [2022-04-13T12:53:45.181Z] 763cafe07f6e: Waiting [2022-04-13T12:53:45.181Z] 0c0b528cf693: Waiting [2022-04-13T12:53:45.181Z] 10935f4eaf8b: Waiting [2022-04-13T12:53:45.181Z] 8ed8ca486205: Verifying Checksum [2022-04-13T12:53:45.181Z] 8ed8ca486205: Download complete [2022-04-13T12:53:45.181Z] 666ba61612fd: Download complete [2022-04-13T12:53:45.181Z] 22a0e8bec74d: Verifying Checksum [2022-04-13T12:53:45.181Z] 22a0e8bec74d: Download complete [2022-04-13T12:53:45.443Z] 640e595b4fbd: Verifying Checksum [2022-04-13T12:53:45.443Z] 640e595b4fbd: Download complete [2022-04-13T12:53:45.443Z] 59bf1c3509f3: Verifying Checksum [2022-04-13T12:53:45.443Z] 763cafe07f6e: Verifying Checksum [2022-04-13T12:53:45.443Z] 763cafe07f6e: Download complete [2022-04-13T12:53:45.443Z] 0c0b528cf693: Verifying Checksum [2022-04-13T12:53:45.443Z] 0c0b528cf693: Download complete [2022-04-13T12:53:45.443Z] 59bf1c3509f3: Pull complete [2022-04-13T12:53:45.703Z] 666ba61612fd: Pull complete [2022-04-13T12:53:45.703Z] 8ed8ca486205: Pull complete [2022-04-13T12:53:45.966Z] 10935f4eaf8b: Verifying Checksum [2022-04-13T12:53:45.966Z] 10935f4eaf8b: Download complete [2022-04-13T12:53:45.966Z] 4fe6c5a15a65: Download complete [2022-04-13T12:53:50.161Z] 4fe6c5a15a65: Pull complete [2022-04-13T12:53:50.161Z] 22a0e8bec74d: Pull complete [2022-04-13T12:53:50.161Z] 640e595b4fbd: Pull complete [2022-04-13T12:53:50.161Z] 763cafe07f6e: Pull complete [2022-04-13T12:53:50.161Z] 0c0b528cf693: Pull complete [2022-04-13T12:53:52.077Z] 10935f4eaf8b: Pull complete [2022-04-13T12:53:52.077Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-13T12:53:52.077Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-13T12:53:52.077Z] ---> 99d49a6021b9 [2022-04-13T12:53:52.077Z] Step 3/10 : ARG MAKE='make build' [2022-04-13T12:53:53.991Z] ---> Running in 1c330e47b04b [2022-04-13T12:53:53.991Z] Removing intermediate container 1c330e47b04b [2022-04-13T12:53:53.991Z] ---> 781410217b96 [2022-04-13T12:53:53.991Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T12:53:53.991Z] ---> Running in a077e800058e [2022-04-13T12:53:54.250Z] Removing intermediate container a077e800058e [2022-04-13T12:53:54.250Z] ---> c9010de55c35 [2022-04-13T12:53:54.250Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-13T12:53:54.250Z] ---> Running in 84065fb72cb0 [2022-04-13T12:53:54.510Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-13T12:53:55.450Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-13T12:53:55.711Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-13T12:53:55.711Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-13T12:53:55.972Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-13T12:53:55.972Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-13T12:53:55.972Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-13T12:53:56.233Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-13T12:53:56.233Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-13T12:53:56.233Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-13T12:53:56.493Z] Executing busybox-1.34.1-r3.trigger [2022-04-13T12:53:56.493Z] OK: 226 MiB in 60 packages [2022-04-13T12:53:56.754Z] Removing intermediate container 84065fb72cb0 [2022-04-13T12:53:56.754Z] ---> 294e0a89f78c [2022-04-13T12:53:56.754Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-13T12:53:56.754Z] ---> Running in ec01198017a6 [2022-04-13T12:53:57.014Z] Removing intermediate container ec01198017a6 [2022-04-13T12:53:57.014Z] ---> c2d041b98b24 [2022-04-13T12:53:57.014Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-13T12:53:57.014Z] ---> 73b67422da1f [2022-04-13T12:53:57.014Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T12:53:57.014Z] ---> Running in df725d6f4f1b [2022-04-13T12:53:58.648Z] Still waiting to schedule task [2022-04-13T12:53:58.649Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-20806’ is offline [2022-04-13T12:54:11.921Z] Removing intermediate container df725d6f4f1b [2022-04-13T12:54:11.921Z] ---> e6e2d7638b84 [2022-04-13T12:54:11.921Z] Step 9/10 : COPY . . [2022-04-13T12:54:11.921Z] ---> 6f38cc9b2c82 [2022-04-13T12:54:11.921Z] Step 10/10 : RUN ${MAKE} [2022-04-13T12:54:11.921Z] ---> Running in 95f834460e3d [2022-04-13T12:54:11.921Z] noop [2022-04-13T12:54:11.921Z] Removing intermediate container 95f834460e3d [2022-04-13T12:54:11.921Z] ---> bd3d73d8e31e [2022-04-13T12:54:11.921Z] Successfully built bd3d73d8e31e [2022-04-13T12:54:11.921Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T12:54:12.221Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-13T12:54:12.221Z] . [Pipeline] withDockerContainer [2022-04-13T12:54:12.290Z] prd-ubuntu20.04-docker-8c-8g-20805 does not seem to be running inside a container [2022-04-13T12:54:12.332Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-328 -v /w/workspace/xfoundry_device-modbus-go_PR-328:/w/workspace/xfoundry_device-modbus-go_PR-328:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-328@tmp:/w/workspace/xfoundry_device-modbus-go_PR-328@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-13T12:54:12.722Z] $ docker top 711be6742fd191dc81c7ec6990d8e2423bfa9dacb94c4b0b1dd1e9c84e40e7ea -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T12:54:13.083Z] + go version [2022-04-13T12:54:13.084Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-13T12:54:13.103Z] $ docker stop --time=1 711be6742fd191dc81c7ec6990d8e2423bfa9dacb94c4b0b1dd1e9c84e40e7ea [2022-04-13T12:54:14.418Z] $ docker rm -f 711be6742fd191dc81c7ec6990d8e2423bfa9dacb94c4b0b1dd1e9c84e40e7ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T12:54:14.807Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-13T12:54:14.807Z] . [Pipeline] withDockerContainer [2022-04-13T12:54:14.885Z] prd-ubuntu20.04-docker-8c-8g-20805 does not seem to be running inside a container [2022-04-13T12:54:14.932Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-328 -v /w/workspace/xfoundry_device-modbus-go_PR-328:/w/workspace/xfoundry_device-modbus-go_PR-328:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-328@tmp:/w/workspace/xfoundry_device-modbus-go_PR-328@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-13T12:54:15.318Z] $ docker top 88cbbf32ffdf47947e1c3b5447fb9b536493c80f0f803a3eaefe1e0123a6b20c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-13T12:54:15.682Z] + make test [2022-04-13T12:54:15.682Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-13T12:54:15.942Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-13T12:54:24.072Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-13T12:54:24.072Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 46.4% of statements [2022-04-13T12:54:30.764Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-13T12:54:34.062Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-13T12:54:34.062Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-13T12:54:34.062Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-13T12:54:34.343Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-13T12:54:34.365Z] $ docker stop --time=1 88cbbf32ffdf47947e1c3b5447fb9b536493c80f0f803a3eaefe1e0123a6b20c [2022-04-13T12:54:36.229Z] $ docker rm -f 88cbbf32ffdf47947e1c3b5447fb9b536493c80f0f803a3eaefe1e0123a6b20c [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T12:54:36.656Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-13T12:54:36.696Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-13T12:54:37.266Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-13T12:54:37.563Z] + ls -al . [2022-04-13T12:54:37.563Z] total 200 [2022-04-13T12:54:37.563Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 12:54 . [2022-04-13T12:54:37.563Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 12:53 .. [2022-04-13T12:54:37.563Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 12:53 .dockerignore [2022-04-13T12:54:37.563Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 12:53 .git [2022-04-13T12:54:37.563Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 12:53 .github [2022-04-13T12:54:37.563Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 13 12:53 .gitignore [2022-04-13T12:54:37.563Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 12:53 .golangci.yml [2022-04-13T12:54:37.563Z] drwx------ 3 jenkins jenkins 4096 Apr 13 12:53 .semver [2022-04-13T12:54:37.563Z] -rw-rw-r-- 1 jenkins jenkins 9244 Apr 13 12:53 Attribution.txt [2022-04-13T12:54:37.563Z] -rw-rw-r-- 1 jenkins jenkins 6038 Apr 13 12:53 CHANGELOG.md [2022-04-13T12:54:37.563Z] -rw-rw-r-- 1 jenkins jenkins 1546 Apr 13 12:53 Dockerfile [2022-04-13T12:54:37.563Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 12:53 GOVERNANCE.md [2022-04-13T12:54:37.563Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 12:53 Jenkinsfile [2022-04-13T12:54:37.563Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 12:53 LICENSE [2022-04-13T12:54:37.563Z] -rw-rw-r-- 1 jenkins jenkins 1905 Apr 13 12:53 Makefile [2022-04-13T12:54:37.563Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 13 12:53 OWNERS.md [2022-04-13T12:54:37.563Z] -rw-rw-r-- 1 jenkins jenkins 3680 Apr 13 12:53 README.md [2022-04-13T12:54:37.563Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 12:53 VERSION [2022-04-13T12:54:37.563Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 12:53 bin [2022-04-13T12:54:37.563Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 12:53 cmd [2022-04-13T12:54:37.563Z] -rw-r--r-- 1 jenkins jenkins 24065 Apr 13 12:54 coverage.out [2022-04-13T12:54:37.563Z] -rw-rw-r-- 1 jenkins jenkins 3306 Apr 13 12:53 go.mod [2022-04-13T12:54:37.563Z] -rw-rw-r-- 1 jenkins jenkins 54457 Apr 13 12:53 go.sum [2022-04-13T12:54:37.563Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 12:53 internal [2022-04-13T12:54:37.563Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 12:53 simulator [2022-04-13T12:54:37.563Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 12:53 snap [2022-04-13T12:54:37.563Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 13 12:53 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-13T12:54:37.863Z] + 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=fb20ae7f19c4ae04353f9372c51c5483edbd2a06 --label arch=amd64 --label version=0.0.0 . [2022-04-13T12:54:37.863Z] Sending build context to Docker daemon 5.828MB [2022-04-13T12:54:37.863Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T12:54:37.863Z] Step 2/23 : FROM ${BASE} AS builder [2022-04-13T12:54:37.863Z] ---> bd3d73d8e31e [2022-04-13T12:54:37.863Z] Step 3/23 : ARG MAKE='make build' [2022-04-13T12:54:37.863Z] ---> Running in 4162a76adc18 [2022-04-13T12:54:38.123Z] Removing intermediate container 4162a76adc18 [2022-04-13T12:54:38.123Z] ---> dac40d2a5b51 [2022-04-13T12:54:38.123Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T12:54:38.123Z] ---> Running in e933fa3d59b0 [2022-04-13T12:54:38.694Z] Removing intermediate container e933fa3d59b0 [2022-04-13T12:54:38.694Z] ---> 9f0868b765b7 [2022-04-13T12:54:38.694Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-13T12:54:38.694Z] ---> Running in 031903a02645 [2022-04-13T12:54:38.955Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-13T12:54:39.896Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-13T12:54:40.156Z] OK: 226 MiB in 60 packages [2022-04-13T12:54:40.415Z] Removing intermediate container 031903a02645 [2022-04-13T12:54:40.415Z] ---> 80970ccc6fb3 [2022-04-13T12:54:40.415Z] Step 6/23 : WORKDIR /device-modbus-go [2022-04-13T12:54:40.415Z] ---> Running in 10e814e73219 [2022-04-13T12:54:40.673Z] Removing intermediate container 10e814e73219 [2022-04-13T12:54:40.673Z] ---> 836fcfe37084 [2022-04-13T12:54:40.673Z] Step 7/23 : COPY go.mod vendor* ./ [2022-04-13T12:54:40.673Z] ---> d1191fc72eed [2022-04-13T12:54:40.673Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T12:54:40.673Z] ---> Running in b98715a84cd0 [2022-04-13T12:54:41.613Z] Removing intermediate container b98715a84cd0 [2022-04-13T12:54:41.613Z] ---> 83081a201ad9 [2022-04-13T12:54:41.613Z] Step 9/23 : COPY . . [2022-04-13T12:54:41.613Z] ---> 9ddb4ae947ac [2022-04-13T12:54:41.613Z] Step 10/23 : RUN ${MAKE} [2022-04-13T12:54:41.613Z] ---> Running in 961151ed851f [2022-04-13T12:54:41.872Z] 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-13T12:54:59.971Z] Removing intermediate container 961151ed851f [2022-04-13T12:54:59.971Z] ---> cf9b9b58175b [2022-04-13T12:54:59.971Z] Step 11/23 : FROM alpine:3.14 [2022-04-13T12:55:00.542Z] 3.14: Pulling from library/alpine [2022-04-13T12:55:00.542Z] 8663204ce13b: Pulling fs layer [2022-04-13T12:55:00.802Z] 8663204ce13b: Verifying Checksum [2022-04-13T12:55:00.802Z] 8663204ce13b: Download complete [2022-04-13T12:55:00.802Z] 8663204ce13b: Pull complete [2022-04-13T12:55:00.802Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-13T12:55:00.802Z] Status: Downloaded newer image for alpine:3.14 [2022-04-13T12:55:00.802Z] ---> e04c818066af [2022-04-13T12:55:00.802Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-04-13T12:55:01.063Z] ---> Running in cc6dc90946d9 [2022-04-13T12:55:01.063Z] Removing intermediate container cc6dc90946d9 [2022-04-13T12:55:01.063Z] ---> dc3def6a12c3 [2022-04-13T12:55:01.063Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T12:55:01.063Z] ---> Running in 888e10696193 [2022-04-13T12:55:01.635Z] Removing intermediate container 888e10696193 [2022-04-13T12:55:01.635Z] ---> 189b562569c4 [2022-04-13T12:55:01.635Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-13T12:55:01.635Z] ---> Running in 7a881331a140 [2022-04-13T12:55:01.896Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-13T12:55:02.837Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-13T12:55:03.098Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-13T12:55:03.098Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-13T12:55:03.098Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-13T12:55:03.360Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-13T12:55:03.360Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-13T12:55:03.621Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-13T12:55:03.621Z] Executing busybox-1.33.1-r7.trigger [2022-04-13T12:55:03.621Z] OK: 8 MiB in 20 packages [2022-04-13T12:55:03.883Z] Removing intermediate container 7a881331a140 [2022-04-13T12:55:03.883Z] ---> adf2914c63ad [2022-04-13T12:55:03.883Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-04-13T12:55:04.453Z] ---> 8a4502b9311d [2022-04-13T12:55:04.453Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-04-13T12:55:04.714Z] ---> f3b9f66444b8 [2022-04-13T12:55:04.714Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-04-13T12:55:04.973Z] ---> e72dfa9ff2cc [2022-04-13T12:55:04.973Z] Step 18/23 : EXPOSE 59901 [2022-04-13T12:55:04.973Z] ---> Running in fe496b89b0fd [2022-04-13T12:55:04.973Z] Removing intermediate container fe496b89b0fd [2022-04-13T12:55:04.973Z] ---> 37e18cdfd490 [2022-04-13T12:55:04.973Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-04-13T12:55:04.973Z] ---> Running in 862548e19af5 [2022-04-13T12:55:04.973Z] Removing intermediate container 862548e19af5 [2022-04-13T12:55:04.973Z] ---> 3e1e2ce7f3f8 [2022-04-13T12:55:04.973Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-13T12:55:05.232Z] ---> Running in 108c59aac546 [2022-04-13T12:55:05.232Z] Removing intermediate container 108c59aac546 [2022-04-13T12:55:05.232Z] ---> 3111854fd84c [2022-04-13T12:55:05.232Z] Step 21/23 : LABEL arch=amd64 [2022-04-13T12:55:05.233Z] ---> Running in 81c42eb3976c [2022-04-13T12:55:05.233Z] Removing intermediate container 81c42eb3976c [2022-04-13T12:55:05.233Z] ---> ed25e5f57437 [2022-04-13T12:55:05.233Z] Step 22/23 : LABEL git_sha=fb20ae7f19c4ae04353f9372c51c5483edbd2a06 [2022-04-13T12:55:05.233Z] ---> Running in 63c90080f5ff [2022-04-13T12:55:05.494Z] Removing intermediate container 63c90080f5ff [2022-04-13T12:55:05.494Z] ---> 3ff6571906ce [2022-04-13T12:55:05.494Z] Step 23/23 : LABEL version=0.0.0 [2022-04-13T12:55:05.494Z] ---> Running in c98e122bfa90 [2022-04-13T12:55:05.494Z] Removing intermediate container c98e122bfa90 [2022-04-13T12:55:05.494Z] ---> 5c2c9fc9feec [2022-04-13T12:55:05.494Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-13T12:55:05.494Z] Successfully built 5c2c9fc9feec [2022-04-13T12:55:05.494Z] 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-13T12:55:05.914Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T12:55:05.915Z] [2022-04-13T12:55:05.915Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T12:55:06.226Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T12:55:06.226Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-13T12:55:06.226Z] 5eb5b503b376: Pulling fs layer [2022-04-13T12:55:06.226Z] 5c69ac0246d0: Pulling fs layer [2022-04-13T12:55:06.226Z] ec43610c2a17: Pulling fs layer [2022-04-13T12:55:06.226Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-13T12:55:06.226Z] 33b1e0a273af: Pulling fs layer [2022-04-13T12:55:06.226Z] 5d3b04190fa2: Pulling fs layer [2022-04-13T12:55:06.226Z] 2f39f015ded8: Pulling fs layer [2022-04-13T12:55:06.226Z] 33b1e0a273af: Waiting [2022-04-13T12:55:06.226Z] 2f39f015ded8: Waiting [2022-04-13T12:55:06.226Z] 5d3b04190fa2: Waiting [2022-04-13T12:55:06.226Z] 3a2ae6a8a46f: Waiting [2022-04-13T12:55:06.226Z] 5c69ac0246d0: Download complete [2022-04-13T12:55:06.226Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-13T12:55:06.226Z] 3a2ae6a8a46f: Download complete [2022-04-13T12:55:06.226Z] 33b1e0a273af: Verifying Checksum [2022-04-13T12:55:06.226Z] 33b1e0a273af: Download complete [2022-04-13T12:55:06.226Z] 5d3b04190fa2: Verifying Checksum [2022-04-13T12:55:06.226Z] 5d3b04190fa2: Download complete [2022-04-13T12:55:06.226Z] ec43610c2a17: Verifying Checksum [2022-04-13T12:55:06.226Z] ec43610c2a17: Download complete [2022-04-13T12:55:06.486Z] 5eb5b503b376: Verifying Checksum [2022-04-13T12:55:06.486Z] 5eb5b503b376: Download complete [2022-04-13T12:55:07.055Z] 2f39f015ded8: Download complete [2022-04-13T12:55:07.625Z] 5eb5b503b376: Pull complete [2022-04-13T12:55:07.625Z] 5c69ac0246d0: Pull complete [2022-04-13T12:55:08.194Z] ec43610c2a17: Pull complete [2022-04-13T12:55:08.194Z] 3a2ae6a8a46f: Pull complete [2022-04-13T12:55:08.454Z] 33b1e0a273af: Pull complete [2022-04-13T12:55:08.454Z] 5d3b04190fa2: Pull complete [2022-04-13T12:55:12.651Z] 2f39f015ded8: Pull complete [2022-04-13T12:55:12.651Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-13T12:55:12.651Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T12:55:12.651Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-13T12:55:12.730Z] prd-ubuntu20.04-docker-8c-8g-20805 does not seem to be running inside a container [2022-04-13T12:55:12.777Z] $ 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-328 -v /w/workspace/xfoundry_device-modbus-go_PR-328:/w/workspace/xfoundry_device-modbus-go_PR-328:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-328@tmp:/w/workspace/xfoundry_device-modbus-go_PR-328@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-13T12:55:14.496Z] $ docker top 8522f25cd75e0ea56a32d9f30ea99d2647228b5de5c928fe5e1702328d85f060 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T12:55:14.887Z] ---> job-cost.sh [2022-04-13T12:55:14.888Z] lf-activate-venv: SKIPPING [2022-04-13T12:55:14.888Z] INFO: No Stack... [2022-04-13T12:55:15.146Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-13T12:55:15.715Z] INFO: Archiving Costs [Pipeline] sh [2022-04-13T12:55:16.011Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-328/archives/cost.csv [2022-04-13T12:55:16.011Z] + cut -d, -f6 [Pipeline] lock [2022-04-13T12:55:16.029Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-328-3-stack-cost] [2022-04-13T12:55:16.035Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-328-3-stack-cost] did not exist. Created. [2022-04-13T12:55:16.035Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-328-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-13T12:55:16.334Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-13T12:55:16.372Z] Stashed 1 file(s) [Pipeline] } [2022-04-13T12:55:16.378Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-328-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-13T12:55:16.406Z] $ docker stop --time=1 8522f25cd75e0ea56a32d9f30ea99d2647228b5de5c928fe5e1702328d85f060 [2022-04-13T12:55:17.588Z] $ docker rm -f 8522f25cd75e0ea56a32d9f30ea99d2647228b5de5c928fe5e1702328d85f060 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-13T12:56:34.882Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20807 in /w/workspace/xfoundry_device-modbus-go_PR-328 [Pipeline] { [Pipeline] ws [2022-04-13T12:56:34.899Z] Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout [2022-04-13T12:56:35.438Z] Selected Git installation does not exist. Using Default [2022-04-13T12:56:35.439Z] The recommended git tool is: NONE [2022-04-13T12:56:42.698Z] using credential edgex-jenkins-ssh [2022-04-13T12:56:42.720Z] Cloning the remote Git repository [2022-04-13T12:56:42.847Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-04-13T12:56:42.947Z] > git init /w/workspace/device-modbus-go/3 # timeout=10 [2022-04-13T12:56:43.081Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-04-13T12:56:43.082Z] > git --version # timeout=10 [2022-04-13T12:56:43.179Z] > git --version # 'git version 2.25.1' [2022-04-13T12:56:43.181Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-13T12:56:43.665Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-13T12:56:44.896Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-04-13T12:56:44.939Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-13T12:56:44.978Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-04-13T12:56:45.615Z] Merging remotes/origin/main commit 244abab361647dcef607fbcbfbdaea3ae1f72309 into PR head commit c9002b5e4dd2f2db2aacebcf5ad02ef26a3c0ef5 [2022-04-13T12:56:45.897Z] Merge succeeded, producing 105ef4396ff12e353ccd07ed37b5e35ed86f5f49 [2022-04-13T12:56:45.898Z] Checking out Revision 105ef4396ff12e353ccd07ed37b5e35ed86f5f49 (PR-328) [2022-04-13T12:56:45.026Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-04-13T12:56:45.027Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-13T12:56:45.044Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/328/head:refs/remotes/origin/PR-328 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-13T12:56:45.644Z] > git config core.sparsecheckout # timeout=10 [2022-04-13T12:56:45.669Z] > git checkout -f c9002b5e4dd2f2db2aacebcf5ad02ef26a3c0ef5 # timeout=10 [2022-04-13T12:56:45.768Z] > git remote # timeout=10 [2022-04-13T12:56:45.786Z] > git config --get remote.origin.url # timeout=10 [2022-04-13T12:56:45.804Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-13T12:56:45.818Z] > git merge 244abab361647dcef607fbcbfbdaea3ae1f72309 # timeout=10 [2022-04-13T12:56:45.873Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-13T12:56:45.906Z] > git config core.sparsecheckout # timeout=10 [2022-04-13T12:56:45.928Z] > git checkout -f 105ef4396ff12e353ccd07ed37b5e35ed86f5f49 # timeout=10 [2022-04-13T12:56:50.314Z] Commit message: "Merge commit '244abab361647dcef607fbcbfbdaea3ae1f72309' into HEAD" [2022-04-13T12:56:50.342Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T12:56:50.326Z] > git rev-list --no-walk 7677f4a66675cfedd933a8a3d7d980b923a1d71a # timeout=10 [2022-04-13T12:56:51.208Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-13T12:56:51.208Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-13T12:56:51.208Z] Dload Upload Total Spent Left Speed [2022-04-13T12:56:51.208Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2022-04-13T12:56:51.762Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-13T12:56:52.124Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2022-04-13T12:56:52.124Z] [2022-04-13T12:56:52.124Z] { [2022-04-13T12:56:52.124Z] "registry-mirrors": [ [2022-04-13T12:56:52.124Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-13T12:56:52.124Z] ], [2022-04-13T12:56:52.124Z] "bip": "10.250.0.254/24", [2022-04-13T12:56:52.124Z] "hosts": [ [2022-04-13T12:56:52.124Z] "tcp://0.0.0.0:5555", [2022-04-13T12:56:52.124Z] "unix:///var/run/docker.sock" [2022-04-13T12:56:52.124Z] ], [2022-04-13T12:56:52.124Z] "mtu": 1458, [2022-04-13T12:56:52.124Z] "selinux-enabled": true, [2022-04-13T12:56:52.124Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-13T12:56:52.124Z] } [Pipeline] sh [2022-04-13T12:56:52.490Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-13T12:56:52.838Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T12:57:11.253Z] provisioning config files... [2022-04-13T12:57:11.280Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config2497939007713966949tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T12:57:11.649Z] ---> docker-login.sh [2022-04-13T12:57:11.649Z] nexus3.edgexfoundry.org:10001 [2022-04-13T12:57:12.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:57:12.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:57:12.518Z] Configure a credential helper to remove this warning. See [2022-04-13T12:57:12.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:57:12.518Z] [2022-04-13T12:57:12.518Z] Login Succeeded [2022-04-13T12:57:12.518Z] nexus3.edgexfoundry.org:10002 [2022-04-13T12:57:12.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:57:13.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:57:13.066Z] Configure a credential helper to remove this warning. See [2022-04-13T12:57:13.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:57:13.066Z] [2022-04-13T12:57:13.066Z] Login Succeeded [2022-04-13T12:57:13.066Z] nexus3.edgexfoundry.org:10003 [2022-04-13T12:57:13.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:57:13.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:57:13.616Z] Configure a credential helper to remove this warning. See [2022-04-13T12:57:13.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:57:13.616Z] [2022-04-13T12:57:13.616Z] Login Succeeded [2022-04-13T12:57:13.616Z] nexus3.edgexfoundry.org:10004 [2022-04-13T12:57:13.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:57:13.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:57:13.890Z] Configure a credential helper to remove this warning. See [2022-04-13T12:57:13.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:57:13.890Z] [2022-04-13T12:57:13.890Z] Login Succeeded [2022-04-13T12:57:13.890Z] docker.io [2022-04-13T12:57:14.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:57:14.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:57:14.759Z] Configure a credential helper to remove this warning. See [2022-04-13T12:57:14.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:57:14.759Z] [2022-04-13T12:57:14.759Z] Login Succeeded [2022-04-13T12:57:14.759Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T12:57:14.776Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-13T12:57:15.301Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T12:57:15.314Z] ========================================================= [2022-04-13T12:57:15.314Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-13T12:57:15.314Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-13T12:57:15.668Z] + 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-13T12:57:15.941Z] Sending build context to Docker daemon 3.044MB [2022-04-13T12:57:16.225Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T12:57:16.225Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-13T12:57:16.225Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-13T12:57:16.225Z] 9b3977197b4f: Pulling fs layer [2022-04-13T12:57:16.225Z] 1a89e8eeedd5: Pulling fs layer [2022-04-13T12:57:16.225Z] 94645a83ff95: Pulling fs layer [2022-04-13T12:57:16.225Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-13T12:57:16.225Z] 0c92f367c5e7: Pulling fs layer [2022-04-13T12:57:16.225Z] f7c0051592d6: Pulling fs layer [2022-04-13T12:57:16.225Z] a227ed2f7395: Pulling fs layer [2022-04-13T12:57:16.225Z] 7b1c46037f91: Pulling fs layer [2022-04-13T12:57:16.225Z] 3f3a8bcf1eab: Waiting [2022-04-13T12:57:16.225Z] f7c0051592d6: Waiting [2022-04-13T12:57:16.225Z] 0c92f367c5e7: Waiting [2022-04-13T12:57:16.225Z] a227ed2f7395: Waiting [2022-04-13T12:57:16.225Z] 7b1c46037f91: Waiting [2022-04-13T12:57:16.225Z] 94645a83ff95: Verifying Checksum [2022-04-13T12:57:16.225Z] 94645a83ff95: Download complete [2022-04-13T12:57:16.225Z] 1a89e8eeedd5: Download complete [2022-04-13T12:57:16.225Z] 0c92f367c5e7: Verifying Checksum [2022-04-13T12:57:16.225Z] 0c92f367c5e7: Download complete [2022-04-13T12:57:16.225Z] f7c0051592d6: Verifying Checksum [2022-04-13T12:57:16.225Z] f7c0051592d6: Download complete [2022-04-13T12:57:16.225Z] 9b3977197b4f: Verifying Checksum [2022-04-13T12:57:16.225Z] 9b3977197b4f: Download complete [2022-04-13T12:57:16.503Z] a227ed2f7395: Verifying Checksum [2022-04-13T12:57:16.503Z] a227ed2f7395: Download complete [2022-04-13T12:57:17.116Z] 9b3977197b4f: Pull complete [2022-04-13T12:57:17.723Z] 1a89e8eeedd5: Pull complete [2022-04-13T12:57:18.000Z] 94645a83ff95: Pull complete [2022-04-13T12:57:18.598Z] 7b1c46037f91: Verifying Checksum [2022-04-13T12:57:18.598Z] 7b1c46037f91: Download complete [2022-04-13T12:57:18.872Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-13T12:57:18.872Z] 3f3a8bcf1eab: Download complete [2022-04-13T12:57:31.285Z] 3f3a8bcf1eab: Pull complete [2022-04-13T12:57:31.285Z] 0c92f367c5e7: Pull complete [2022-04-13T12:57:31.285Z] f7c0051592d6: Pull complete [2022-04-13T12:57:31.285Z] a227ed2f7395: Pull complete [2022-04-13T12:57:36.702Z] 7b1c46037f91: Pull complete [2022-04-13T12:57:36.702Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-13T12:57:36.702Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-13T12:57:36.702Z] ---> f79e39bc4007 [2022-04-13T12:57:36.702Z] Step 3/10 : ARG MAKE='make build' [2022-04-13T12:57:38.138Z] ---> Running in 63eb4afe6faa [2022-04-13T12:57:38.411Z] Removing intermediate container 63eb4afe6faa [2022-04-13T12:57:38.411Z] ---> 4b9d373d9acf [2022-04-13T12:57:38.411Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T12:57:38.411Z] ---> Running in 592fdea284fc [2022-04-13T12:57:40.395Z] Removing intermediate container 592fdea284fc [2022-04-13T12:57:40.395Z] ---> f8490c1ef99d [2022-04-13T12:57:40.395Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-13T12:57:40.395Z] ---> Running in 1c49d859cd8f [2022-04-13T12:57:41.372Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-13T12:57:42.351Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-13T12:57:43.331Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-13T12:57:43.331Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-13T12:57:43.331Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-13T12:57:43.606Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-13T12:57:43.606Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-13T12:57:43.606Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-13T12:57:43.891Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-13T12:57:43.891Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-13T12:57:43.891Z] Executing busybox-1.34.1-r3.trigger [2022-04-13T12:57:43.891Z] OK: 226 MiB in 60 packages [2022-04-13T12:57:45.339Z] Removing intermediate container 1c49d859cd8f [2022-04-13T12:57:45.340Z] ---> 6c61b10199de [2022-04-13T12:57:45.340Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-13T12:57:45.340Z] ---> Running in c726ab4c4649 [2022-04-13T12:57:45.340Z] Removing intermediate container c726ab4c4649 [2022-04-13T12:57:45.340Z] ---> 8f391df1c371 [2022-04-13T12:57:45.340Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-13T12:57:45.936Z] ---> c21f7b1de791 [2022-04-13T12:57:45.936Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T12:57:46.225Z] ---> Running in 4f3e32c1d1be [2022-04-13T12:58:33.257Z] Removing intermediate container 4f3e32c1d1be [2022-04-13T12:58:33.257Z] ---> bdf9a369c9f9 [2022-04-13T12:58:33.257Z] Step 9/10 : COPY . . [2022-04-13T12:58:33.257Z] ---> 956b124983b6 [2022-04-13T12:58:33.257Z] Step 10/10 : RUN ${MAKE} [2022-04-13T12:58:33.257Z] ---> Running in f967ea01ac37 [2022-04-13T12:58:33.534Z] noop [2022-04-13T12:58:34.130Z] Removing intermediate container f967ea01ac37 [2022-04-13T12:58:34.130Z] ---> aa5e1296f729 [2022-04-13T12:58:34.130Z] Successfully built aa5e1296f729 [2022-04-13T12:58:34.130Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T12:58:34.476Z] + docker inspect -f . ci-base-image-arm64 [2022-04-13T12:58:34.477Z] . [Pipeline] withDockerContainer [2022-04-13T12:58:34.716Z] prd-ubuntu20.04-docker-arm64-4c-16g-20807 does not seem to be running inside a container [2022-04-13T12:58:34.803Z] $ 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-13T12:58:36.131Z] $ docker top 1a7d619a3e28f1c03efec79c01dffb0582172d694ed5d04c57160716b2e28d47 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T12:58:37.055Z] + go version [2022-04-13T12:58:37.055Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-13T12:58:37.086Z] $ docker stop --time=1 1a7d619a3e28f1c03efec79c01dffb0582172d694ed5d04c57160716b2e28d47 [2022-04-13T12:58:38.753Z] $ docker rm -f 1a7d619a3e28f1c03efec79c01dffb0582172d694ed5d04c57160716b2e28d47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T12:58:39.357Z] + docker inspect -f . ci-base-image-arm64 [2022-04-13T12:58:39.357Z] . [Pipeline] withDockerContainer [2022-04-13T12:58:39.602Z] prd-ubuntu20.04-docker-arm64-4c-16g-20807 does not seem to be running inside a container [2022-04-13T12:58:39.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-13T12:58:40.957Z] $ docker top 0bf8f5a914374d773a28a288d2c39ff85f1a1a274242fc329c01754bc8e3f13b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-13T12:58:41.901Z] + make test [2022-04-13T12:58:41.901Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-13T12:58:43.351Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-13T13:00:05.224Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-13T13:00:05.224Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.068s coverage: 46.4% of statements [2022-04-13T13:00:05.224Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-13T13:00:05.224Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-13T13:00:32.044Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-13T13:00:32.044Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-13T13:00:32.044Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-13T13:00:33.046Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-13T13:00:33.068Z] $ docker stop --time=1 0bf8f5a914374d773a28a288d2c39ff85f1a1a274242fc329c01754bc8e3f13b [2022-04-13T13:00:34.831Z] $ docker rm -f 0bf8f5a914374d773a28a288d2c39ff85f1a1a274242fc329c01754bc8e3f13b [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T13:00:35.797Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-13T13:00:35.828Z] Warning: overwriting stash ‘coverage-report’ [2022-04-13T13:00:36.321Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T13:00:36.729Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-13T13:00:37.062Z] + ls -al . [2022-04-13T13:00:37.063Z] total 196 [2022-04-13T13:00:37.063Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 13:00 . [2022-04-13T13:00:37.063Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 12:56 .. [2022-04-13T13:00:37.063Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 12:56 .dockerignore [2022-04-13T13:00:37.063Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 12:56 .git [2022-04-13T13:00:37.063Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 12:56 .github [2022-04-13T13:00:37.063Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 13 12:56 .gitignore [2022-04-13T13:00:37.063Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 12:56 .golangci.yml [2022-04-13T13:00:37.063Z] -rw-rw-r-- 1 jenkins jenkins 9244 Apr 13 12:56 Attribution.txt [2022-04-13T13:00:37.063Z] -rw-rw-r-- 1 jenkins jenkins 6038 Apr 13 12:56 CHANGELOG.md [2022-04-13T13:00:37.063Z] -rw-rw-r-- 1 jenkins jenkins 1546 Apr 13 12:56 Dockerfile [2022-04-13T13:00:37.063Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 12:56 GOVERNANCE.md [2022-04-13T13:00:37.063Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 12:56 Jenkinsfile [2022-04-13T13:00:37.063Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 12:56 LICENSE [2022-04-13T13:00:37.063Z] -rw-rw-r-- 1 jenkins jenkins 1905 Apr 13 12:56 Makefile [2022-04-13T13:00:37.063Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 13 12:56 OWNERS.md [2022-04-13T13:00:37.063Z] -rw-rw-r-- 1 jenkins jenkins 3680 Apr 13 12:56 README.md [2022-04-13T13:00:37.063Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 12:53 VERSION [2022-04-13T13:00:37.063Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 12:56 bin [2022-04-13T13:00:37.063Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 12:56 cmd [2022-04-13T13:00:37.063Z] -rw-r--r-- 1 jenkins jenkins 24065 Apr 13 13:00 coverage.out [2022-04-13T13:00:37.063Z] -rw-rw-r-- 1 jenkins jenkins 3306 Apr 13 12:56 go.mod [2022-04-13T13:00:37.063Z] -rw-rw-r-- 1 jenkins jenkins 54457 Apr 13 12:56 go.sum [2022-04-13T13:00:37.063Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 12:56 internal [2022-04-13T13:00:37.063Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 12:56 simulator [2022-04-13T13:00:37.063Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 12:56 snap [2022-04-13T13:00:37.063Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 13 12:56 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-13T13:00:37.404Z] + 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=105ef4396ff12e353ccd07ed37b5e35ed86f5f49 --label arch=arm64 --label version=0.0.0 . [2022-04-13T13:00:37.681Z] Sending build context to Docker daemon 3.069MB [2022-04-13T13:00:37.681Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T13:00:37.681Z] Step 2/23 : FROM ${BASE} AS builder [2022-04-13T13:00:37.681Z] ---> aa5e1296f729 [2022-04-13T13:00:37.681Z] Step 3/23 : ARG MAKE='make build' [2022-04-13T13:00:37.955Z] ---> Running in 80cd5d5cf45d [2022-04-13T13:00:38.232Z] Removing intermediate container 80cd5d5cf45d [2022-04-13T13:00:38.232Z] ---> cc1456280cb9 [2022-04-13T13:00:38.232Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T13:00:38.232Z] ---> Running in 8fc3508e71ee [2022-04-13T13:00:40.214Z] Removing intermediate container 8fc3508e71ee [2022-04-13T13:00:40.214Z] ---> 252da91544a0 [2022-04-13T13:00:40.214Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-13T13:00:40.214Z] ---> Running in 286faa2f1e8f [2022-04-13T13:00:41.196Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-13T13:00:41.792Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-13T13:00:42.775Z] OK: 226 MiB in 60 packages [2022-04-13T13:00:43.760Z] Removing intermediate container 286faa2f1e8f [2022-04-13T13:00:43.760Z] ---> ae7c159b1c0e [2022-04-13T13:00:43.760Z] Step 6/23 : WORKDIR /device-modbus-go [2022-04-13T13:00:43.760Z] ---> Running in 2f1cbf524153 [2022-04-13T13:00:44.034Z] Removing intermediate container 2f1cbf524153 [2022-04-13T13:00:44.034Z] ---> 5872965738d7 [2022-04-13T13:00:44.034Z] Step 7/23 : COPY go.mod vendor* ./ [2022-04-13T13:00:44.640Z] ---> cc416d8ffc33 [2022-04-13T13:00:44.640Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T13:00:44.640Z] ---> Running in c73e787d513a [2022-04-13T13:00:46.623Z] Removing intermediate container c73e787d513a [2022-04-13T13:00:46.623Z] ---> d368356fcf91 [2022-04-13T13:00:46.623Z] Step 9/23 : COPY . . [2022-04-13T13:00:47.682Z] ---> 0a5321ddd51f [2022-04-13T13:00:47.682Z] Step 10/23 : RUN ${MAKE} [2022-04-13T13:00:47.682Z] ---> Running in aa543d7ad156 [2022-04-13T13:00:48.695Z] 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-13T13:02:55.649Z] Removing intermediate container aa543d7ad156 [2022-04-13T13:02:55.649Z] ---> 9887bb16af3e [2022-04-13T13:02:55.649Z] Step 11/23 : FROM alpine:3.14 [2022-04-13T13:02:55.649Z] 3.14: Pulling from library/alpine [2022-04-13T13:02:55.649Z] 455c02918c45: Pulling fs layer [2022-04-13T13:02:55.649Z] 455c02918c45: Verifying Checksum [2022-04-13T13:02:55.649Z] 455c02918c45: Download complete [2022-04-13T13:02:55.649Z] 455c02918c45: Pull complete [2022-04-13T13:02:55.650Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-13T13:02:55.650Z] Status: Downloaded newer image for alpine:3.14 [2022-04-13T13:02:55.650Z] ---> ac73e934f311 [2022-04-13T13:02:55.650Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-04-13T13:02:55.650Z] ---> Running in bf20a4c5a33a [2022-04-13T13:02:55.650Z] Removing intermediate container bf20a4c5a33a [2022-04-13T13:02:55.650Z] ---> 6c6af656d814 [2022-04-13T13:02:55.650Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T13:02:55.650Z] ---> Running in 78716725a8a6 [2022-04-13T13:02:55.650Z] Removing intermediate container 78716725a8a6 [2022-04-13T13:02:55.650Z] ---> 30e0085f2379 [2022-04-13T13:02:55.650Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-13T13:02:55.650Z] ---> Running in b2dd3a488b18 [2022-04-13T13:02:55.650Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-13T13:02:55.650Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-13T13:02:55.650Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-13T13:02:55.650Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-13T13:02:55.650Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-13T13:02:55.650Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-13T13:02:55.650Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-13T13:02:55.650Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-13T13:02:55.650Z] Executing busybox-1.33.1-r7.trigger [2022-04-13T13:02:55.650Z] OK: 8 MiB in 20 packages [2022-04-13T13:02:55.650Z] Removing intermediate container b2dd3a488b18 [2022-04-13T13:02:55.650Z] ---> 0c6ee4bd9f17 [2022-04-13T13:02:55.650Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-04-13T13:02:56.245Z] ---> 6386cc1a0612 [2022-04-13T13:02:56.245Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-04-13T13:02:56.842Z] ---> 0be88fa29027 [2022-04-13T13:02:56.842Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-04-13T13:02:57.438Z] ---> b76ff96c59ca [2022-04-13T13:02:57.438Z] Step 18/23 : EXPOSE 59901 [2022-04-13T13:02:57.438Z] ---> Running in db12fb2d0cb8 [2022-04-13T13:02:57.717Z] Removing intermediate container db12fb2d0cb8 [2022-04-13T13:02:57.717Z] ---> e81169320c34 [2022-04-13T13:02:57.717Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-04-13T13:02:57.717Z] ---> Running in a464d52f2ac3 [2022-04-13T13:02:58.313Z] Removing intermediate container a464d52f2ac3 [2022-04-13T13:02:58.313Z] ---> 1b714d3e8c23 [2022-04-13T13:02:58.313Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-13T13:02:58.313Z] ---> Running in 609e3c241e1a [2022-04-13T13:02:58.589Z] Removing intermediate container 609e3c241e1a [2022-04-13T13:02:58.589Z] ---> 63a3e29f82dd [2022-04-13T13:02:58.589Z] Step 21/23 : LABEL arch=arm64 [2022-04-13T13:02:58.589Z] ---> Running in 20450c428f9c [2022-04-13T13:02:58.864Z] Removing intermediate container 20450c428f9c [2022-04-13T13:02:58.864Z] ---> 2c695a60d37b [2022-04-13T13:02:58.864Z] Step 22/23 : LABEL git_sha=105ef4396ff12e353ccd07ed37b5e35ed86f5f49 [2022-04-13T13:02:58.864Z] ---> Running in 25b1e0ecf8c1 [2022-04-13T13:02:59.141Z] Removing intermediate container 25b1e0ecf8c1 [2022-04-13T13:02:59.141Z] ---> 57df6a00936b [2022-04-13T13:02:59.141Z] Step 23/23 : LABEL version=0.0.0 [2022-04-13T13:02:59.415Z] ---> Running in 93f39c16495f [2022-04-13T13:02:59.687Z] Removing intermediate container 93f39c16495f [2022-04-13T13:02:59.687Z] ---> 9ee394ac1df7 [2022-04-13T13:02:59.687Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-13T13:02:59.687Z] Successfully built 9ee394ac1df7 [2022-04-13T13:02:59.687Z] 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-13T13:03:00.124Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T13:03:00.124Z] [2022-04-13T13:03:00.124Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-13T13:03:00.476Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T13:03:00.476Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-13T13:03:00.751Z] 8998bd30e6a1: Pulling fs layer [2022-04-13T13:03:00.751Z] 04944245beec: Pulling fs layer [2022-04-13T13:03:00.751Z] 699f458cf7ca: Pulling fs layer [2022-04-13T13:03:00.751Z] 765212b225bb: Pulling fs layer [2022-04-13T13:03:00.751Z] f23df028b6ca: Pulling fs layer [2022-04-13T13:03:00.751Z] d65c8cfc05b1: Pulling fs layer [2022-04-13T13:03:00.751Z] 2437ff75d9bd: Pulling fs layer [2022-04-13T13:03:00.751Z] f23df028b6ca: Waiting [2022-04-13T13:03:00.751Z] d65c8cfc05b1: Waiting [2022-04-13T13:03:00.751Z] 2437ff75d9bd: Waiting [2022-04-13T13:03:00.751Z] 765212b225bb: Waiting [2022-04-13T13:03:00.751Z] 04944245beec: Download complete [2022-04-13T13:03:00.751Z] 765212b225bb: Download complete [2022-04-13T13:03:00.751Z] f23df028b6ca: Verifying Checksum [2022-04-13T13:03:00.751Z] f23df028b6ca: Download complete [2022-04-13T13:03:00.751Z] d65c8cfc05b1: Verifying Checksum [2022-04-13T13:03:00.751Z] d65c8cfc05b1: Download complete [2022-04-13T13:03:01.030Z] 699f458cf7ca: Verifying Checksum [2022-04-13T13:03:01.030Z] 699f458cf7ca: Download complete [2022-04-13T13:03:01.309Z] 8998bd30e6a1: Verifying Checksum [2022-04-13T13:03:01.309Z] 8998bd30e6a1: Download complete [2022-04-13T13:03:03.952Z] 2437ff75d9bd: Verifying Checksum [2022-04-13T13:03:03.952Z] 2437ff75d9bd: Download complete [2022-04-13T13:03:05.932Z] 8998bd30e6a1: Pull complete [2022-04-13T13:03:06.207Z] 04944245beec: Pull complete [2022-04-13T13:03:07.645Z] 699f458cf7ca: Pull complete [2022-04-13T13:03:07.919Z] 765212b225bb: Pull complete [2022-04-13T13:03:08.518Z] f23df028b6ca: Pull complete [2022-04-13T13:03:08.792Z] d65c8cfc05b1: Pull complete [2022-04-13T13:03:23.881Z] 2437ff75d9bd: Pull complete [2022-04-13T13:03:23.881Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-13T13:03:23.881Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T13:03:23.881Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-13T13:03:24.106Z] prd-ubuntu20.04-docker-arm64-4c-16g-20807 does not seem to be running inside a container [2022-04-13T13:03:24.201Z] $ 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-13T13:03:26.720Z] $ docker top 832abd66e77beb5291178d8505a7725bdadf684c7361476e9c0dcd2bdf252c3f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T13:03:27.653Z] ---> job-cost.sh [2022-04-13T13:03:27.653Z] lf-activate-venv: SKIPPING [2022-04-13T13:03:27.653Z] INFO: No Stack... [2022-04-13T13:03:27.927Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-13T13:03:28.898Z] INFO: Archiving Costs [Pipeline] sh [2022-04-13T13:03:29.570Z] + cat /w/workspace/device-modbus-go/3/archives/cost.csv [2022-04-13T13:03:29.570Z] + cut -d, -f6 [Pipeline] lock [2022-04-13T13:03:29.638Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-328-3-stack-cost] [2022-04-13T13:03:29.648Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-328-3-stack-cost] did not exist. Created. [2022-04-13T13:03:29.648Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-328-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-13T13:03:30.333Z] /w/workspace/device-modbus-go/3@tmp/durable-3897fe4c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-13T13:03:31.011Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-13T13:03:31.033Z] Warning: overwriting stash ‘stack-cost’ [2022-04-13T13:03:31.084Z] Stashed 1 file(s) [Pipeline] } [2022-04-13T13:03:31.094Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-328-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-13T13:03:31.124Z] $ docker stop --time=1 832abd66e77beb5291178d8505a7725bdadf684c7361476e9c0dcd2bdf252c3f [2022-04-13T13:03:32.635Z] $ docker rm -f 832abd66e77beb5291178d8505a7725bdadf684c7361476e9c0dcd2bdf252c3f [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-13T13:03:33.038Z] provisioning config files... [2022-04-13T13:03:33.047Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-328@tmp/config6766932577208918119tmp [Pipeline] { [Pipeline] sh [2022-04-13T13:03:33.346Z] + set +x [2022-04-13T13:03:33.346Z] + curl -s https://codecov.io/bash [2022-04-13T13:03:33.346Z] + bash -s -- [2022-04-13T13:03:33.346Z] [2022-04-13T13:03:33.346Z] _____ _ [2022-04-13T13:03:33.346Z] / ____| | | [2022-04-13T13:03:33.346Z] | | ___ __| | ___ ___ _____ __ [2022-04-13T13:03:33.346Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-13T13:03:33.346Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-13T13:03:33.346Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-13T13:03:33.346Z] Bash-1.0.6 [2022-04-13T13:03:33.346Z] [2022-04-13T13:03:33.346Z] [2022-04-13T13:03:33.346Z] ==> git version 2.25.1 found [2022-04-13T13:03:33.346Z] ==> 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-13T13:03:33.346Z] Release-Date: 2020-01-08 [2022-04-13T13:03:33.346Z] 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-13T13:03:33.346Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-13T13:03:33.346Z] ==> Jenkins CI detected. [2022-04-13T13:03:33.346Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-328 [2022-04-13T13:03:33.346Z] project root: . [2022-04-13T13:03:33.346Z] --> token set from env [2022-04-13T13:03:33.346Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-13T13:03:33.346Z] ==> Running gcov in . (disable via -X gcov) [2022-04-13T13:03:33.346Z] ==> Python coveragepy not found [2022-04-13T13:03:33.346Z] ==> Searching for coverage reports in: [2022-04-13T13:03:33.346Z] + . [2022-04-13T13:03:33.346Z] -> Found 1 reports [2022-04-13T13:03:33.346Z] ==> Detecting git/mercurial file structure [2022-04-13T13:03:33.346Z] ==> Reading reports [2022-04-13T13:03:33.346Z] + ./coverage.out bytes=24065 [2022-04-13T13:03:33.346Z] ==> Appending adjustments [2022-04-13T13:03:33.346Z] https://docs.codecov.io/docs/fixing-reports [2022-04-13T13:03:33.607Z] + Found adjustments [2022-04-13T13:03:33.607Z] ==> Gzipping contents [2022-04-13T13:03:33.607Z] 4.0K /tmp/codecov.7se3eE.gz [2022-04-13T13:03:33.607Z] ==> Uploading reports [2022-04-13T13:03:33.607Z] url: https://codecov.io [2022-04-13T13:03:33.607Z] query: branch=PR-328&commit=fb20ae7f19c4ae04353f9372c51c5483edbd2a06&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-328%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=328&job=&cmd_args= [2022-04-13T13:03:33.607Z] -> Pinging Codecov [2022-04-13T13:03:33.607Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-328&commit=fb20ae7f19c4ae04353f9372c51c5483edbd2a06&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-328%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=328&job=&cmd_args= [2022-04-13T13:03:33.867Z] -> Uploading to [2022-04-13T13:03:33.868Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-13/55DBCA73C666E3227836607328DD7E49/fb20ae7f19c4ae04353f9372c51c5483edbd2a06/1f1d50c6-d52e-491c-b6e1-06ec7ff45dfb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220413T130333Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e639e67e68e4813e4bf6bccb5ce488e029a3be86c9283b3013c26993bc9bbe75 [2022-04-13T13:03:33.868Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-13T13:03:33.868Z] Dload Upload Total Spent Left Speed [2022-04-13T13:03:34.127Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4005 0 0 100 4005 0 17337 --:--:-- --:--:-- --:--:-- 17337 [2022-04-13T13:03:34.127Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/fb20ae7f19c4ae04353f9372c51c5483edbd2a06 [Pipeline] } [2022-04-13T13:03:34.136Z] 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-13T13:03:34.834Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-328/archives ] [2022-04-13T13:03:34.834Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-328/archives [2022-04-13T13:03:34.834Z] total 16 [2022-04-13T13:03:34.834Z] drwxr-xr-x 3 root root 4096 Apr 13 12:55 . [2022-04-13T13:03:34.834Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 12:55 .. [2022-04-13T13:03:34.834Z] drwxr-xr-x 2 root root 4096 Apr 13 12:55 cost [2022-04-13T13:03:34.834Z] -rw-r--r-- 1 root root 87 Apr 13 12:55 cost.csv [2022-04-13T13:03:34.834Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-328/archives [2022-04-13T13:03:34.834Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-328/archives [2022-04-13T13:03:34.834Z] total 16 [2022-04-13T13:03:34.834Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 12:55 . [2022-04-13T13:03:34.834Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 12:55 .. [2022-04-13T13:03:34.834Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 12:55 cost [2022-04-13T13:03:34.834Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 13 12:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-13T13:03:35.131Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T13:03:36.001Z] ---> package-listing.sh [2022-04-13T13:03:36.001Z] ++ facter osfamily [2022-04-13T13:03:36.001Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-13T13:03:36.262Z] + OS_FAMILY=debian [2022-04-13T13:03:36.262Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-328 [2022-04-13T13:03:36.262Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-13T13:03:36.262Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-13T13:03:36.262Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-13T13:03:36.262Z] + PACKAGES=/tmp/packages_start.txt [2022-04-13T13:03:36.262Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-328 ']' [2022-04-13T13:03:36.262Z] + PACKAGES=/tmp/packages_end.txt [2022-04-13T13:03:36.262Z] + case "${OS_FAMILY}" in [2022-04-13T13:03:36.262Z] + dpkg -l [2022-04-13T13:03:36.262Z] + grep '^ii' [2022-04-13T13:03:36.262Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-13T13:03:36.262Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-13T13:03:36.262Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-13T13:03:36.262Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-328 ']' [2022-04-13T13:03:36.262Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-328/archives/ [2022-04-13T13:03:36.262Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-328/archives/ [Pipeline] echo [2022-04-13T13:03:36.275Z] 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-328/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-13T13:03:36.559Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-13T13:03:37.119Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T13:03:37.119Z] . [Pipeline] withDockerContainer [2022-04-13T13:03:37.251Z] prd-ubuntu20.04-docker-8c-8g-20805 does not seem to be running inside a container [2022-04-13T13:03:37.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-328/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-328 -v /w/workspace/xfoundry_device-modbus-go_PR-328:/w/workspace/xfoundry_device-modbus-go_PR-328:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-328@tmp:/w/workspace/xfoundry_device-modbus-go_PR-328@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-13T13:03:37.545Z] $ docker top 193f4981410d515b5f9fd0973d775dbeebac940666010c79bd1b4c9021300a8d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T13:03:37.905Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-13T13:03:38.197Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-13T13:03:38.490Z] + ls /var/log/sa-host [2022-04-13T13:03:38.490Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T13:03:38.579Z] provisioning config files... [2022-04-13T13:03:38.589Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-328@tmp/config1020496701804864340tmp [Pipeline] { [Pipeline] echo [2022-04-13T13:03:38.600Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T13:03:38.887Z] ---> create-netrc.sh [Pipeline] } [2022-04-13T13:03:38.895Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-13T13:03:39.234Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-13T13:03:39.245Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T13:03:39.538Z] ---> sudo-logs.sh [2022-04-13T13:03:39.538Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-13T13:03:39.562Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T13:03:39.852Z] ---> job-cost.sh [2022-04-13T13:03:39.852Z] lf-activate-venv: SKIPPING [2022-04-13T13:03:39.852Z] DEBUG: total: 0.2199999988079071 [2022-04-13T13:03:39.852Z] INFO: Retrieving Stack Cost... [2022-04-13T13:03:40.112Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-13T13:03:40.682Z] INFO: Archiving Costs [Pipeline] echo [2022-04-13T13:03:40.695Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T13:03:40.986Z] ---> logs-deploy.sh [2022-04-13T13:03:40.986Z] lf-activate-venv: SKIPPING [2022-04-13T13:03:40.986Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-328/3 [2022-04-13T13:03:40.986Z] INFO: archiving workspace using pattern(s): [2022-04-13T13:03:41.927Z] Archives upload complete. [2022-04-13T13:03:41.927Z] INFO: archiving logs to Nexus