Pull request #336 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 244abab361647dcef607fbcbfbdaea3ae1f72309 rather than 3237a4a44b4a52002b410c2dd400a27648297c25 Obtained Jenkinsfile from 244abab361647dcef607fbcbfbdaea3ae1f72309 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-ssh16264194750170998529.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-ssh422645149555757349.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-336/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-336/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17635763466016676532.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-336/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17230392013434640714.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh870972085963545343.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-336/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-336/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13150745006455617553.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-22044’ Running on prd-ubuntu20.04-docker-8c-8g-22046 in /w/workspace/xfoundry_device-modbus-go_PR-336 [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-336 # 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 3237a4a44b4a52002b410c2dd400a27648297c25 > 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/336/head:refs/remotes/origin/PR-336 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3237a4a44b4a52002b410c2dd400a27648297c25 # timeout=10 Merge succeeded, producing 3237a4a44b4a52002b410c2dd400a27648297c25 Checking out Revision 3237a4a44b4a52002b410c2dd400a27648297c25 (PR-336) > 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 3237a4a44b4a52002b410c2dd400a27648297c25 # timeout=10 Commit message: "feat(snap): add support for env var injection" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-25T14:58:42.501Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-25T14:58:42.680Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-25T14:58:42.787Z] ========================================================= [2022-04-25T14:58:42.787Z] EdgeX Global Pipelines Version Info [2022-04-25T14:58:42.787Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-25T14:58:43.634Z] ------------------- [2022-04-25T14:58:43.634Z] stable info: [2022-04-25T14:58:43.634Z] ------------------- [2022-04-25T14:58:43.634Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-25T14:58:43.634Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-25T14:58:43.634Z] Message: update stable to v1.0.221 [2022-04-25T14:58:44.210Z] ------------------- [2022-04-25T14:58:44.210Z] experimental info: [2022-04-25T14:58:44.210Z] ------------------- [2022-04-25T14:58:44.210Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-25T14:58:44.210Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-25T14:58:44.210Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-25T14:58:44.515Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-04-25T14:58:44.556Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-04-25T14:58:44.596Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-25T14:58:44.634Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-25T14:58:44.678Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-25T14:58:44.715Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-25T14:58:44.751Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-25T14:58:44.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-25T14:58:44.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-25T14:58:44.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-25T14:58:44.899Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-25T14:58:44.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-04-25T14:58:44.979Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-25T14:58:45.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-25T14:58:45.058Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-25T14:58:45.095Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-25T14:58:45.137Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-25T14:58:45.178Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-25T14:58:45.222Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-25T14:58:45.256Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-25T14:58:45.294Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-25T14:58:45.339Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-25T14:58:45.379Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-25T14:58:45.418Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-25T14:58:45.460Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-25T14:58:45.505Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-25T14:58:45.544Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-336 [Pipeline] echo [2022-04-25T14:58:45.582Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-336 [Pipeline] echo [2022-04-25T14:58:45.640Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-336 [Pipeline] echo [2022-04-25T14:58:45.680Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3237a4a44b4a52002b410c2dd400a27648297c25 [Pipeline] echo [2022-04-25T14:58:45.717Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3237a4a [Pipeline] echo [2022-04-25T14:58:45.752Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T14:58:45.861Z] provisioning config files... [2022-04-25T14:58:45.874Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-336@tmp/config6504181196017932994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T14:58:46.222Z] ---> docker-login.sh [2022-04-25T14:58:46.222Z] nexus3.edgexfoundry.org:10001 [2022-04-25T14:58:46.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T14:58:46.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T14:58:46.748Z] Configure a credential helper to remove this warning. See [2022-04-25T14:58:46.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T14:58:46.748Z] [2022-04-25T14:58:46.748Z] Login Succeeded [2022-04-25T14:58:46.748Z] nexus3.edgexfoundry.org:10002 [2022-04-25T14:58:46.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T14:58:46.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T14:58:46.748Z] Configure a credential helper to remove this warning. See [2022-04-25T14:58:46.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T14:58:46.748Z] [2022-04-25T14:58:46.748Z] Login Succeeded [2022-04-25T14:58:46.748Z] nexus3.edgexfoundry.org:10003 [2022-04-25T14:58:47.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T14:58:47.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T14:58:47.009Z] Configure a credential helper to remove this warning. See [2022-04-25T14:58:47.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T14:58:47.009Z] [2022-04-25T14:58:47.009Z] Login Succeeded [2022-04-25T14:58:47.009Z] nexus3.edgexfoundry.org:10004 [2022-04-25T14:58:47.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T14:58:47.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T14:58:47.009Z] Configure a credential helper to remove this warning. See [2022-04-25T14:58:47.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T14:58:47.009Z] [2022-04-25T14:58:47.009Z] Login Succeeded [2022-04-25T14:58:47.009Z] docker.io [2022-04-25T14:58:47.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T14:58:47.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T14:58:47.536Z] Configure a credential helper to remove this warning. See [2022-04-25T14:58:47.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T14:58:47.536Z] [2022-04-25T14:58:47.536Z] Login Succeeded [2022-04-25T14:58:47.536Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T14:58:47.565Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-25T14:58:48.179Z] + git rev-list -1 --merges 3237a4a44b4a52002b410c2dd400a27648297c25~1..3237a4a44b4a52002b410c2dd400a27648297c25 [Pipeline] echo [2022-04-25T14:58:48.228Z] -----------> git rev-list -1 --merges 3237a4a44b4a52002b410c2dd400a27648297c25~1..3237a4a44b4a52002b410c2dd400a27648297c25 3237a4a44b4a52002b410c2dd400a27648297c25 [false] [Pipeline] sh [2022-04-25T14:58:48.540Z] + git log --format=format:%s -1 3237a4a44b4a52002b410c2dd400a27648297c25 [Pipeline] echo [2022-04-25T14:58:48.578Z] ========================================================= [2022-04-25T14:58:48.578Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-25T14:58:48.578Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-25T14:58:49.022Z] + git log --format=format:%s -1 3237a4a44b4a52002b410c2dd400a27648297c25 [Pipeline] echo [2022-04-25T14:58:49.054Z] [semverPrep] GIT_COMMIT: 3237a4a44b4a52002b410c2dd400a27648297c25, Commit Message: feat(snap): add support for env var injection [Pipeline] echo [2022-04-25T14:58:49.088Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-25T14:58:49.505Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-25T14:58:49.505Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-25T14:58:49.505Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-25T14:58:49.505Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-25T14:58:49.505Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-25T14:58:49.505Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-25T14:58:49.505Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-25T14:58:49.905Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T14:58:49.905Z] [2022-04-25T14:58:49.905Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T14:58:50.245Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T14:58:50.245Z] latest: Pulling from edgex-devops/git-semver [2022-04-25T14:58:50.245Z] a0d0a0d46f8b: Pulling fs layer [2022-04-25T14:58:50.245Z] 3e5f54012d9b: Pulling fs layer [2022-04-25T14:58:50.245Z] 4c7163046ea9: Pulling fs layer [2022-04-25T14:58:50.245Z] 0c2d73faf560: Pulling fs layer [2022-04-25T14:58:50.245Z] 0c2d73faf560: Waiting [2022-04-25T14:58:50.245Z] 3e5f54012d9b: Verifying Checksum [2022-04-25T14:58:50.245Z] 3e5f54012d9b: Download complete [2022-04-25T14:58:50.245Z] a0d0a0d46f8b: Download complete [2022-04-25T14:58:50.245Z] 0c2d73faf560: Verifying Checksum [2022-04-25T14:58:50.245Z] 4c7163046ea9: Verifying Checksum [2022-04-25T14:58:50.245Z] 4c7163046ea9: Download complete [2022-04-25T14:58:50.509Z] a0d0a0d46f8b: Pull complete [2022-04-25T14:58:50.509Z] 3e5f54012d9b: Pull complete [2022-04-25T14:58:50.770Z] 4c7163046ea9: Pull complete [2022-04-25T14:58:51.032Z] 0c2d73faf560: Pull complete [2022-04-25T14:58:51.032Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-25T14:58:51.032Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T14:58:51.032Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-25T14:58:51.135Z] prd-ubuntu20.04-docker-8c-8g-22046 does not seem to be running inside a container [2022-04-25T14:58:51.180Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-336 -v /w/workspace/xfoundry_device-modbus-go_PR-336:/w/workspace/xfoundry_device-modbus-go_PR-336:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-336@tmp:/w/workspace/xfoundry_device-modbus-go_PR-336@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-25T14:58:51.901Z] $ docker top f8314b5e3949a394a897a6d38e4ce365b5f841f5024647f2391d13ad56aab5e4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-25T14:58:52.090Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-25T14:58:52.090Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-25T14:58:52.218Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-25T14:58:52.228Z] $ docker exec f8314b5e3949a394a897a6d38e4ce365b5f841f5024647f2391d13ad56aab5e4 ssh-agent [2022-04-25T14:58:52.358Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaBNiha/agent.13 [2022-04-25T14:58:52.358Z] SSH_AGENT_PID=19 [2022-04-25T14:58:52.367Z] Running ssh-add (command line suppressed) [2022-04-25T14:58:52.502Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-336@tmp/private_key_5945603796547836874.key (/w/workspace/xfoundry_device-modbus-go_PR-336@tmp/private_key_5945603796547836874.key) [2022-04-25T14:58:52.516Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-25T14:58:52.844Z] + git tag --points-at HEAD [Pipeline] } [2022-04-25T14:58:52.879Z] $ docker exec --env ******** --env ******** f8314b5e3949a394a897a6d38e4ce365b5f841f5024647f2391d13ad56aab5e4 ssh-agent -k [2022-04-25T14:58:52.996Z] unset SSH_AUTH_SOCK; [2022-04-25T14:58:52.997Z] unset SSH_AGENT_PID; [2022-04-25T14:58:52.997Z] echo Agent pid 19 killed; [2022-04-25T14:58:53.003Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-25T14:58:53.087Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-25T14:58:53.087Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-25T14:58:53.211Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-25T14:58:53.221Z] $ docker exec f8314b5e3949a394a897a6d38e4ce365b5f841f5024647f2391d13ad56aab5e4 ssh-agent [2022-04-25T14:58:53.338Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdJkDFF/agent.51 [2022-04-25T14:58:53.338Z] SSH_AGENT_PID=58 [2022-04-25T14:58:53.344Z] Running ssh-add (command line suppressed) [2022-04-25T14:58:53.467Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-336@tmp/private_key_2630492175070569771.key (/w/workspace/xfoundry_device-modbus-go_PR-336@tmp/private_key_2630492175070569771.key) [2022-04-25T14:58:53.476Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-25T14:58:53.808Z] + git semver init [2022-04-25T14:58:53.808Z] # -> Open(): unable to determine branch for HEAD [2022-04-25T14:58:53.808Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-336/.git [2022-04-25T14:58:53.808Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-336 [2022-04-25T14:58:53.808Z] # $SEMVER_REMOTE_NAME = origin [2022-04-25T14:58:53.808Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-25T14:58:53.808Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-25T14:58:53.808Z] # $SEMVER_BRANCH = PR-336 [2022-04-25T14:58:53.808Z] # $SEMVER_TEMP = /tmp/semver-658540867 [2022-04-25T14:58:53.808Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2022-04-25T14:58:54.750Z] # '/tmp/semver-658540867' -> '/w/workspace/xfoundry_device-modbus-go_PR-336/.semver' [2022-04-25T14:58:54.750Z] # -> Force: false [2022-04-25T14:58:54.750Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-336/.semver [Pipeline] } [2022-04-25T14:58:54.786Z] $ docker exec --env ******** --env ******** f8314b5e3949a394a897a6d38e4ce365b5f841f5024647f2391d13ad56aab5e4 ssh-agent -k [2022-04-25T14:58:54.886Z] unset SSH_AUTH_SOCK; [2022-04-25T14:58:54.886Z] unset SSH_AGENT_PID; [2022-04-25T14:58:54.886Z] echo Agent pid 58 killed; [2022-04-25T14:58:54.891Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-25T14:58:55.316Z] + git semver [Pipeline] } [2022-04-25T14:58:55.351Z] $ docker stop --time=1 f8314b5e3949a394a897a6d38e4ce365b5f841f5024647f2391d13ad56aab5e4 [2022-04-25T14:58:56.777Z] $ docker rm -f f8314b5e3949a394a897a6d38e4ce365b5f841f5024647f2391d13ad56aab5e4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-25T14:58:57.214Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-25T14:58:57.542Z] Stashed 1 file(s) [Pipeline] echo [2022-04-25T14:58:57.564Z] [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-25T14:58:58.127Z] provisioning config files... [2022-04-25T14:58:58.138Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-336@tmp/config2218550162524564727tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T14:58:58.482Z] ---> docker-login.sh [2022-04-25T14:58:58.482Z] nexus3.edgexfoundry.org:10001 [2022-04-25T14:58:58.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T14:58:58.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T14:58:58.482Z] Configure a credential helper to remove this warning. See [2022-04-25T14:58:58.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T14:58:58.482Z] [2022-04-25T14:58:58.482Z] Login Succeeded [2022-04-25T14:58:58.482Z] nexus3.edgexfoundry.org:10002 [2022-04-25T14:58:58.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T14:58:58.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T14:58:58.743Z] Configure a credential helper to remove this warning. See [2022-04-25T14:58:58.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T14:58:58.743Z] [2022-04-25T14:58:58.743Z] Login Succeeded [2022-04-25T14:58:58.743Z] nexus3.edgexfoundry.org:10003 [2022-04-25T14:58:58.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T14:58:58.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T14:58:58.743Z] Configure a credential helper to remove this warning. See [2022-04-25T14:58:58.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T14:58:58.743Z] [2022-04-25T14:58:58.743Z] Login Succeeded [2022-04-25T14:58:58.743Z] nexus3.edgexfoundry.org:10004 [2022-04-25T14:58:59.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T14:58:59.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T14:58:59.006Z] Configure a credential helper to remove this warning. See [2022-04-25T14:58:59.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T14:58:59.006Z] [2022-04-25T14:58:59.006Z] Login Succeeded [2022-04-25T14:58:59.006Z] docker.io [2022-04-25T14:58:59.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T14:58:59.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T14:58:59.269Z] Configure a credential helper to remove this warning. See [2022-04-25T14:58:59.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T14:58:59.269Z] [2022-04-25T14:58:59.269Z] Login Succeeded [2022-04-25T14:58:59.269Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T14:58:59.297Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-25T14:58:59.484Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-25T14:58:59.517Z] ========================================================= [2022-04-25T14:58:59.517Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-25T14:58:59.517Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-25T14:58:59.939Z] + 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-25T14:58:59.939Z] Sending build context to Docker daemon 5.87MB [2022-04-25T14:58:59.939Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T14:58:59.939Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-25T14:58:59.939Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-25T14:58:59.939Z] 59bf1c3509f3: Pulling fs layer [2022-04-25T14:58:59.939Z] 666ba61612fd: Pulling fs layer [2022-04-25T14:58:59.939Z] 8ed8ca486205: Pulling fs layer [2022-04-25T14:58:59.939Z] 4fe6c5a15a65: Pulling fs layer [2022-04-25T14:58:59.939Z] 22a0e8bec74d: Pulling fs layer [2022-04-25T14:58:59.939Z] ca2b28591e48: Pulling fs layer [2022-04-25T14:58:59.939Z] a51346096db8: Pulling fs layer [2022-04-25T14:58:59.939Z] daebc70d1ce1: Pulling fs layer [2022-04-25T14:58:59.939Z] 0e18a0eac166: Pulling fs layer [2022-04-25T14:58:59.939Z] 4fe6c5a15a65: Waiting [2022-04-25T14:58:59.939Z] 22a0e8bec74d: Waiting [2022-04-25T14:58:59.939Z] ca2b28591e48: Waiting [2022-04-25T14:58:59.939Z] 0e18a0eac166: Waiting [2022-04-25T14:58:59.939Z] a51346096db8: Waiting [2022-04-25T14:58:59.939Z] daebc70d1ce1: Waiting [2022-04-25T14:59:00.200Z] 8ed8ca486205: Download complete [2022-04-25T14:59:00.200Z] 666ba61612fd: Verifying Checksum [2022-04-25T14:59:00.200Z] 666ba61612fd: Download complete [2022-04-25T14:59:00.200Z] 22a0e8bec74d: Download complete [2022-04-25T14:59:00.200Z] ca2b28591e48: Verifying Checksum [2022-04-25T14:59:00.200Z] ca2b28591e48: Download complete [2022-04-25T14:59:00.200Z] 59bf1c3509f3: Verifying Checksum [2022-04-25T14:59:00.200Z] a51346096db8: Verifying Checksum [2022-04-25T14:59:00.200Z] 59bf1c3509f3: Download complete [2022-04-25T14:59:00.200Z] a51346096db8: Download complete [2022-04-25T14:59:00.200Z] daebc70d1ce1: Verifying Checksum [2022-04-25T14:59:00.200Z] daebc70d1ce1: Download complete [2022-04-25T14:59:00.200Z] 59bf1c3509f3: Pull complete [2022-04-25T14:59:00.464Z] 666ba61612fd: Pull complete [2022-04-25T14:59:00.464Z] 8ed8ca486205: Pull complete [2022-04-25T14:59:00.732Z] 0e18a0eac166: Verifying Checksum [2022-04-25T14:59:00.732Z] 0e18a0eac166: Download complete [2022-04-25T14:59:00.992Z] 4fe6c5a15a65: Verifying Checksum [2022-04-25T14:59:00.992Z] 4fe6c5a15a65: Download complete [2022-04-25T14:59:05.194Z] 4fe6c5a15a65: Pull complete [2022-04-25T14:59:05.194Z] 22a0e8bec74d: Pull complete [2022-04-25T14:59:05.194Z] ca2b28591e48: Pull complete [2022-04-25T14:59:05.194Z] a51346096db8: Pull complete [2022-04-25T14:59:05.194Z] daebc70d1ce1: Pull complete [2022-04-25T14:59:07.733Z] 0e18a0eac166: Pull complete [2022-04-25T14:59:07.733Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-25T14:59:07.733Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-25T14:59:07.733Z] ---> f018257e8ee9 [2022-04-25T14:59:07.733Z] Step 3/10 : ARG MAKE='make build' [2022-04-25T14:59:09.646Z] ---> Running in 405b34cc3042 [2022-04-25T14:59:09.646Z] Removing intermediate container 405b34cc3042 [2022-04-25T14:59:09.646Z] ---> f3d098bc702b [2022-04-25T14:59:09.646Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T14:59:09.646Z] ---> Running in fc854a12f229 [2022-04-25T14:59:10.217Z] Removing intermediate container fc854a12f229 [2022-04-25T14:59:10.217Z] ---> 4c116e5c8162 [2022-04-25T14:59:10.217Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-25T14:59:10.217Z] ---> Running in 78bf303bb5d2 [2022-04-25T14:59:10.478Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-25T14:59:11.427Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-25T14:59:11.427Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-25T14:59:11.690Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-25T14:59:11.690Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-25T14:59:11.690Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-25T14:59:11.951Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-25T14:59:11.951Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-25T14:59:11.951Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-25T14:59:12.214Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-25T14:59:12.214Z] Executing busybox-1.34.1-r3.trigger [2022-04-25T14:59:12.214Z] OK: 226 MiB in 60 packages [2022-04-25T14:59:12.786Z] Removing intermediate container 78bf303bb5d2 [2022-04-25T14:59:12.786Z] ---> b98bee62032c [2022-04-25T14:59:12.786Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-25T14:59:12.786Z] ---> Running in 684368c23b31 [2022-04-25T14:59:12.786Z] Removing intermediate container 684368c23b31 [2022-04-25T14:59:12.786Z] ---> cb0a6de20d80 [2022-04-25T14:59:12.786Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-25T14:59:12.967Z] Still waiting to schedule task [2022-04-25T14:59:12.967Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22045’ [2022-04-25T14:59:13.046Z] ---> 411574b19aae [2022-04-25T14:59:13.046Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T14:59:13.046Z] ---> Running in 9fad28af83c7 [2022-04-25T14:59:31.161Z] Removing intermediate container 9fad28af83c7 [2022-04-25T14:59:31.161Z] ---> 33d7d517bebc [2022-04-25T14:59:31.161Z] Step 9/10 : COPY . . [2022-04-25T14:59:31.161Z] ---> 44238365fb43 [2022-04-25T14:59:31.161Z] Step 10/10 : RUN ${MAKE} [2022-04-25T14:59:31.161Z] ---> Running in f2ee8972f0f7 [2022-04-25T14:59:31.161Z] noop [2022-04-25T14:59:31.161Z] Removing intermediate container f2ee8972f0f7 [2022-04-25T14:59:31.161Z] ---> 6156c9125dd3 [2022-04-25T14:59:31.161Z] Successfully built 6156c9125dd3 [2022-04-25T14:59:31.161Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T14:59:31.495Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-25T14:59:31.495Z] . [Pipeline] withDockerContainer [2022-04-25T14:59:31.591Z] prd-ubuntu20.04-docker-8c-8g-22046 does not seem to be running inside a container [2022-04-25T14:59:31.634Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-336 -v /w/workspace/xfoundry_device-modbus-go_PR-336:/w/workspace/xfoundry_device-modbus-go_PR-336:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-336@tmp:/w/workspace/xfoundry_device-modbus-go_PR-336@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-25T14:59:32.205Z] $ docker top e4e92275cae5fb8e2d5485a16fdde96b10547a0d20c5654a97c0a882c3ab82ae -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T14:59:32.618Z] + go version [2022-04-25T14:59:32.618Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-25T14:59:32.654Z] $ docker stop --time=1 e4e92275cae5fb8e2d5485a16fdde96b10547a0d20c5654a97c0a882c3ab82ae [2022-04-25T14:59:33.959Z] $ docker rm -f e4e92275cae5fb8e2d5485a16fdde96b10547a0d20c5654a97c0a882c3ab82ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-25T14:59:34.669Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-25T14:59:34.669Z] . [Pipeline] withDockerContainer [2022-04-25T14:59:34.782Z] prd-ubuntu20.04-docker-8c-8g-22046 does not seem to be running inside a container [2022-04-25T14:59:34.823Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-336 -v /w/workspace/xfoundry_device-modbus-go_PR-336:/w/workspace/xfoundry_device-modbus-go_PR-336:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-336@tmp:/w/workspace/xfoundry_device-modbus-go_PR-336@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-25T14:59:35.246Z] $ docker top df8173b323f37746e72ff558b2bd1ed3cb10a1a118369eafeec9c9fc2df9388f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-25T14:59:35.693Z] + make test [2022-04-25T14:59:35.693Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-25T14:59:35.953Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-25T14:59:45.943Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-25T14:59:45.943Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.030s coverage: 46.4% of statements [2022-04-25T14:59:52.515Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-25T14:59:55.811Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-25T14:59:55.811Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-25T14:59:55.811Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-25T14:59:56.407Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-25T14:59:56.441Z] $ docker stop --time=1 df8173b323f37746e72ff558b2bd1ed3cb10a1a118369eafeec9c9fc2df9388f [2022-04-25T14:59:58.310Z] $ docker rm -f df8173b323f37746e72ff558b2bd1ed3cb10a1a118369eafeec9c9fc2df9388f [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-25T14:59:58.826Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-25T14:59:58.897Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-25T14:59:59.710Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-25T15:00:00.028Z] + ls -al . [2022-04-25T15:00:00.028Z] total 180 [2022-04-25T15:00:00.028Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 14:59 . [2022-04-25T15:00:00.028Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 14:58 .. [2022-04-25T15:00:00.028Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 25 14:58 .dockerignore [2022-04-25T15:00:00.028Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 14:58 .git [2022-04-25T15:00:00.028Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 14:58 .github [2022-04-25T15:00:00.028Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 25 14:58 .gitignore [2022-04-25T15:00:00.028Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 14:58 .golangci.yml [2022-04-25T15:00:00.028Z] drwx------ 3 jenkins jenkins 4096 Apr 25 14:58 .semver [2022-04-25T15:00:00.028Z] -rw-rw-r-- 1 jenkins jenkins 9244 Apr 25 14:58 Attribution.txt [2022-04-25T15:00:00.028Z] -rw-rw-r-- 1 jenkins jenkins 6038 Apr 25 14:58 CHANGELOG.md [2022-04-25T15:00:00.028Z] -rw-rw-r-- 1 jenkins jenkins 1546 Apr 25 14:58 Dockerfile [2022-04-25T15:00:00.028Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 14:58 GOVERNANCE.md [2022-04-25T15:00:00.028Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 25 14:58 Jenkinsfile [2022-04-25T15:00:00.028Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 14:58 LICENSE [2022-04-25T15:00:00.028Z] -rw-rw-r-- 1 jenkins jenkins 1905 Apr 25 14:58 Makefile [2022-04-25T15:00:00.028Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 25 14:58 OWNERS.md [2022-04-25T15:00:00.028Z] -rw-rw-r-- 1 jenkins jenkins 3680 Apr 25 14:58 README.md [2022-04-25T15:00:00.028Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 14:58 VERSION [2022-04-25T15:00:00.028Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 14:58 bin [2022-04-25T15:00:00.028Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 14:58 cmd [2022-04-25T15:00:00.028Z] -rw-r--r-- 1 jenkins jenkins 24065 Apr 25 14:59 coverage.out [2022-04-25T15:00:00.028Z] -rw-rw-r-- 1 jenkins jenkins 3306 Apr 25 14:58 go.mod [2022-04-25T15:00:00.028Z] -rw-rw-r-- 1 jenkins jenkins 34903 Apr 25 14:58 go.sum [2022-04-25T15:00:00.028Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 14:58 internal [2022-04-25T15:00:00.028Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 14:58 simulator [2022-04-25T15:00:00.028Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 14:58 snap [2022-04-25T15:00:00.028Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 25 14:58 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-25T15:00:00.364Z] + 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=3237a4a44b4a52002b410c2dd400a27648297c25 --label arch=amd64 --label version=0.0.0 . [2022-04-25T15:00:00.364Z] Sending build context to Docker daemon 5.895MB [2022-04-25T15:00:00.364Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T15:00:00.364Z] Step 2/23 : FROM ${BASE} AS builder [2022-04-25T15:00:00.364Z] ---> 6156c9125dd3 [2022-04-25T15:00:00.364Z] Step 3/23 : ARG MAKE='make build' [2022-04-25T15:00:00.626Z] ---> Running in 6af38a223b14 [2022-04-25T15:00:00.626Z] Removing intermediate container 6af38a223b14 [2022-04-25T15:00:00.626Z] ---> 8995c37cea94 [2022-04-25T15:00:00.626Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T15:00:00.626Z] ---> Running in 6bcc42455ad4 [2022-04-25T15:00:01.201Z] Removing intermediate container 6bcc42455ad4 [2022-04-25T15:00:01.201Z] ---> 2bc75eb3c9f0 [2022-04-25T15:00:01.201Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-25T15:00:01.201Z] ---> Running in 145f88a61969 [2022-04-25T15:00:01.461Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-25T15:00:02.410Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-25T15:00:02.670Z] OK: 226 MiB in 60 packages [2022-04-25T15:00:03.240Z] Removing intermediate container 145f88a61969 [2022-04-25T15:00:03.240Z] ---> d9a324bc2067 [2022-04-25T15:00:03.240Z] Step 6/23 : WORKDIR /device-modbus-go [2022-04-25T15:00:03.240Z] ---> Running in adbb80ff65e5 [2022-04-25T15:00:03.502Z] Removing intermediate container adbb80ff65e5 [2022-04-25T15:00:03.502Z] ---> 5c0992c61fd8 [2022-04-25T15:00:03.502Z] Step 7/23 : COPY go.mod vendor* ./ [2022-04-25T15:00:03.502Z] ---> 406d7b036232 [2022-04-25T15:00:03.502Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T15:00:03.762Z] ---> Running in 18bcbe2ad769 [2022-04-25T15:00:04.334Z] Removing intermediate container 18bcbe2ad769 [2022-04-25T15:00:04.334Z] ---> 203795c75012 [2022-04-25T15:00:04.334Z] Step 9/23 : COPY . . [2022-04-25T15:00:04.595Z] ---> b5565fce4e0d [2022-04-25T15:00:04.595Z] Step 10/23 : RUN ${MAKE} [2022-04-25T15:00:04.595Z] ---> Running in 70e2db249c84 [2022-04-25T15:00:04.859Z] 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-25T15:00:26.817Z] Removing intermediate container 70e2db249c84 [2022-04-25T15:00:26.817Z] ---> 282aae434155 [2022-04-25T15:00:26.817Z] Step 11/23 : FROM alpine:3.14 [2022-04-25T15:00:26.817Z] 3.14: Pulling from library/alpine [2022-04-25T15:00:26.817Z] 8663204ce13b: Pulling fs layer [2022-04-25T15:00:26.817Z] 8663204ce13b: Verifying Checksum [2022-04-25T15:00:26.817Z] 8663204ce13b: Download complete [2022-04-25T15:00:26.817Z] 8663204ce13b: Pull complete [2022-04-25T15:00:26.817Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-25T15:00:26.817Z] Status: Downloaded newer image for alpine:3.14 [2022-04-25T15:00:26.817Z] ---> e04c818066af [2022-04-25T15:00:26.817Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-04-25T15:00:26.817Z] ---> Running in 0b2d588783bb [2022-04-25T15:00:26.817Z] Removing intermediate container 0b2d588783bb [2022-04-25T15:00:26.817Z] ---> 9bfac3d371ad [2022-04-25T15:00:26.817Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T15:00:26.817Z] ---> Running in ef16f13beada [2022-04-25T15:00:26.817Z] Removing intermediate container ef16f13beada [2022-04-25T15:00:26.817Z] ---> e3e3904844b6 [2022-04-25T15:00:26.817Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-25T15:00:26.817Z] ---> Running in d88063349f90 [2022-04-25T15:00:27.077Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-25T15:00:28.019Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-25T15:00:28.280Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-25T15:00:28.280Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-25T15:00:28.280Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-25T15:00:28.541Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-25T15:00:28.541Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-25T15:00:28.541Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-25T15:00:28.801Z] Executing busybox-1.33.1-r7.trigger [2022-04-25T15:00:28.801Z] OK: 8 MiB in 20 packages [2022-04-25T15:00:29.061Z] Removing intermediate container d88063349f90 [2022-04-25T15:00:29.061Z] ---> 82ee30552eee [2022-04-25T15:00:29.061Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-04-25T15:00:29.629Z] ---> ad0550cff5b7 [2022-04-25T15:00:29.629Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-04-25T15:00:29.888Z] ---> 67640f4258bc [2022-04-25T15:00:29.888Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-04-25T15:00:30.150Z] ---> 1dfac8d5c459 [2022-04-25T15:00:30.150Z] Step 18/23 : EXPOSE 59901 [2022-04-25T15:00:30.150Z] ---> Running in 8f158468c32b [2022-04-25T15:00:30.150Z] Removing intermediate container 8f158468c32b [2022-04-25T15:00:30.150Z] ---> 886ea655f663 [2022-04-25T15:00:30.150Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-04-25T15:00:30.150Z] ---> Running in 62aae93d4cad [2022-04-25T15:00:30.409Z] Removing intermediate container 62aae93d4cad [2022-04-25T15:00:30.409Z] ---> f02a13d7992e [2022-04-25T15:00:30.409Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-25T15:00:30.409Z] ---> Running in d89deaa76f56 [2022-04-25T15:00:30.409Z] Removing intermediate container d89deaa76f56 [2022-04-25T15:00:30.409Z] ---> 7651ff9dfc7d [2022-04-25T15:00:30.409Z] Step 21/23 : LABEL arch=amd64 [2022-04-25T15:00:30.668Z] ---> Running in 4180ab04b710 [2022-04-25T15:00:30.668Z] Removing intermediate container 4180ab04b710 [2022-04-25T15:00:30.668Z] ---> a1f59266de20 [2022-04-25T15:00:30.668Z] Step 22/23 : LABEL git_sha=3237a4a44b4a52002b410c2dd400a27648297c25 [2022-04-25T15:00:30.668Z] ---> Running in c5c5fb6b116e [2022-04-25T15:00:30.927Z] Removing intermediate container c5c5fb6b116e [2022-04-25T15:00:30.927Z] ---> 88c514aaadf7 [2022-04-25T15:00:30.927Z] Step 23/23 : LABEL version=0.0.0 [2022-04-25T15:00:30.927Z] ---> Running in df2aa1b55a0f [2022-04-25T15:00:30.927Z] Removing intermediate container df2aa1b55a0f [2022-04-25T15:00:30.927Z] ---> 1ef3261742be [2022-04-25T15:00:30.927Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-25T15:00:30.927Z] Successfully built 1ef3261742be [2022-04-25T15:00:30.927Z] 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-25T15:00:31.649Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T15:00:31.649Z] [2022-04-25T15:00:31.649Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T15:00:31.997Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T15:00:31.997Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-25T15:00:31.997Z] 5eb5b503b376: Pulling fs layer [2022-04-25T15:00:31.997Z] 5c69ac0246d0: Pulling fs layer [2022-04-25T15:00:31.997Z] ec43610c2a17: Pulling fs layer [2022-04-25T15:00:31.997Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-25T15:00:31.997Z] 33b1e0a273af: Pulling fs layer [2022-04-25T15:00:31.997Z] 5d3b04190fa2: Pulling fs layer [2022-04-25T15:00:31.997Z] 2f39f015ded8: Pulling fs layer [2022-04-25T15:00:31.997Z] 3a2ae6a8a46f: Waiting [2022-04-25T15:00:31.997Z] 5d3b04190fa2: Waiting [2022-04-25T15:00:31.997Z] 2f39f015ded8: Waiting [2022-04-25T15:00:31.997Z] 5c69ac0246d0: Verifying Checksum [2022-04-25T15:00:31.997Z] 5c69ac0246d0: Download complete [2022-04-25T15:00:31.997Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-25T15:00:31.997Z] 3a2ae6a8a46f: Download complete [2022-04-25T15:00:31.997Z] 33b1e0a273af: Verifying Checksum [2022-04-25T15:00:31.997Z] 33b1e0a273af: Download complete [2022-04-25T15:00:31.997Z] ec43610c2a17: Verifying Checksum [2022-04-25T15:00:31.997Z] ec43610c2a17: Download complete [2022-04-25T15:00:31.997Z] 5d3b04190fa2: Download complete [2022-04-25T15:00:32.256Z] 5eb5b503b376: Verifying Checksum [2022-04-25T15:00:32.256Z] 5eb5b503b376: Download complete [2022-04-25T15:00:32.826Z] 2f39f015ded8: Download complete [2022-04-25T15:00:33.396Z] 5eb5b503b376: Pull complete [2022-04-25T15:00:33.656Z] 5c69ac0246d0: Pull complete [2022-04-25T15:00:33.915Z] ec43610c2a17: Pull complete [2022-04-25T15:00:34.176Z] 3a2ae6a8a46f: Pull complete [2022-04-25T15:00:34.176Z] 33b1e0a273af: Pull complete [2022-04-25T15:00:34.438Z] 5d3b04190fa2: Pull complete [2022-04-25T15:00:38.639Z] 2f39f015ded8: Pull complete [2022-04-25T15:00:38.639Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-25T15:00:38.639Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T15:00:38.639Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-25T15:00:38.729Z] prd-ubuntu20.04-docker-8c-8g-22046 does not seem to be running inside a container [2022-04-25T15:00:38.778Z] $ 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-336 -v /w/workspace/xfoundry_device-modbus-go_PR-336:/w/workspace/xfoundry_device-modbus-go_PR-336:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-336@tmp:/w/workspace/xfoundry_device-modbus-go_PR-336@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-25T15:00:41.534Z] $ docker top f782bc58b162efb7d1c6edd9ee93a4fadb9f6cbd25a8d343d9e3bd98b5cc86c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T15:00:42.046Z] ---> job-cost.sh [2022-04-25T15:00:42.046Z] lf-activate-venv: SKIPPING [2022-04-25T15:00:42.046Z] INFO: No Stack... [2022-04-25T15:00:42.309Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-25T15:00:42.879Z] INFO: Archiving Costs [Pipeline] sh [2022-04-25T15:00:43.203Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-336/archives/cost.csv [2022-04-25T15:00:43.203Z] + cut -d, -f6 [Pipeline] lock [2022-04-25T15:00:43.245Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-336-1-stack-cost] [2022-04-25T15:00:43.250Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-336-1-stack-cost] did not exist. Created. [2022-04-25T15:00:43.250Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-336-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-25T15:00:43.639Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-25T15:00:43.702Z] Stashed 1 file(s) [Pipeline] } [2022-04-25T15:00:43.734Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-336-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-25T15:00:43.818Z] $ docker stop --time=1 f782bc58b162efb7d1c6edd9ee93a4fadb9f6cbd25a8d343d9e3bd98b5cc86c0 [2022-04-25T15:00:44.985Z] $ docker rm -f f782bc58b162efb7d1c6edd9ee93a4fadb9f6cbd25a8d343d9e3bd98b5cc86c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-25T15:02:54.784Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22047 in /w/workspace/xfoundry_device-modbus-go_PR-336 [Pipeline] { [Pipeline] ws [2022-04-25T15:02:54.852Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-04-25T15:02:55.189Z] Selected Git installation does not exist. Using Default [2022-04-25T15:02:55.189Z] The recommended git tool is: NONE [2022-04-25T15:03:01.158Z] using credential edgex-jenkins-ssh [2022-04-25T15:03:01.176Z] Cloning the remote Git repository [2022-04-25T15:03:01.241Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-04-25T15:03:01.326Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-04-25T15:03:01.477Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-04-25T15:03:01.478Z] > git --version # timeout=10 [2022-04-25T15:03:01.512Z] > git --version # 'git version 2.25.1' [2022-04-25T15:03:01.514Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T15:03:01.689Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-25T15:03:03.732Z] Merging remotes/origin/main commit 244abab361647dcef607fbcbfbdaea3ae1f72309 into PR head commit 3237a4a44b4a52002b410c2dd400a27648297c25 [2022-04-25T15:03:03.957Z] Merge succeeded, producing 3237a4a44b4a52002b410c2dd400a27648297c25 [2022-04-25T15:03:03.958Z] Checking out Revision 3237a4a44b4a52002b410c2dd400a27648297c25 (PR-336) [2022-04-25T15:03:03.028Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-04-25T15:03:03.048Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-25T15:03:03.080Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-04-25T15:03:03.116Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-04-25T15:03:03.117Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T15:03:03.135Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/336/head:refs/remotes/origin/PR-336 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-25T15:03:03.754Z] > git config core.sparsecheckout # timeout=10 [2022-04-25T15:03:03.777Z] > git checkout -f 3237a4a44b4a52002b410c2dd400a27648297c25 # timeout=10 [2022-04-25T15:03:03.864Z] > git remote # timeout=10 [2022-04-25T15:03:03.880Z] > git config --get remote.origin.url # timeout=10 [2022-04-25T15:03:03.902Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T15:03:03.919Z] > git merge 244abab361647dcef607fbcbfbdaea3ae1f72309 # timeout=10 [2022-04-25T15:03:03.944Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-25T15:03:03.967Z] > git config core.sparsecheckout # timeout=10 [2022-04-25T15:03:03.984Z] > git checkout -f 3237a4a44b4a52002b410c2dd400a27648297c25 # timeout=10 [2022-04-25T15:03:08.165Z] Commit message: "feat(snap): add support for env var injection" [2022-04-25T15:03:08.234Z] > git --version # timeout=10 [2022-04-25T15:03:08.250Z] > git --version # 'git version 2.25.1' [2022-04-25T15:03:08.267Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-25T15:03:09.375Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-25T15:03:09.376Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-25T15:03:09.376Z] Dload Upload Total Spent Left Speed [2022-04-25T15:03:09.376Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 82818 0 --:--:-- --:--:-- --:--:-- 83401 [Pipeline] sh [2022-04-25T15:03:09.901Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-25T15:03:10.266Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-25T15:03:10.266Z] + sudo tee /etc/docker/daemon.new [2022-04-25T15:03:10.266Z] { [2022-04-25T15:03:10.266Z] "registry-mirrors": [ [2022-04-25T15:03:10.266Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-25T15:03:10.266Z] ], [2022-04-25T15:03:10.266Z] "bip": "10.250.0.254/24", [2022-04-25T15:03:10.266Z] "hosts": [ [2022-04-25T15:03:10.266Z] "tcp://0.0.0.0:5555", [2022-04-25T15:03:10.266Z] "unix:///var/run/docker.sock" [2022-04-25T15:03:10.266Z] ], [2022-04-25T15:03:10.266Z] "mtu": 1458, [2022-04-25T15:03:10.266Z] "selinux-enabled": true, [2022-04-25T15:03:10.266Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-25T15:03:10.266Z] } [Pipeline] sh [2022-04-25T15:03:10.716Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-25T15:03:11.082Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T15:03:29.490Z] provisioning config files... [2022-04-25T15:03:29.519Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config3480064454799989502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T15:03:30.114Z] ---> docker-login.sh [2022-04-25T15:03:30.114Z] nexus3.edgexfoundry.org:10001 [2022-04-25T15:03:30.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T15:03:30.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T15:03:30.998Z] Configure a credential helper to remove this warning. See [2022-04-25T15:03:30.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T15:03:30.998Z] [2022-04-25T15:03:30.998Z] Login Succeeded [2022-04-25T15:03:30.998Z] nexus3.edgexfoundry.org:10002 [2022-04-25T15:03:31.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T15:03:31.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T15:03:31.602Z] Configure a credential helper to remove this warning. See [2022-04-25T15:03:31.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T15:03:31.602Z] [2022-04-25T15:03:31.602Z] Login Succeeded [2022-04-25T15:03:31.602Z] nexus3.edgexfoundry.org:10003 [2022-04-25T15:03:31.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T15:03:32.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T15:03:32.156Z] Configure a credential helper to remove this warning. See [2022-04-25T15:03:32.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T15:03:32.156Z] [2022-04-25T15:03:32.156Z] Login Succeeded [2022-04-25T15:03:32.156Z] nexus3.edgexfoundry.org:10004 [2022-04-25T15:03:32.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T15:03:32.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T15:03:32.710Z] Configure a credential helper to remove this warning. See [2022-04-25T15:03:32.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T15:03:32.710Z] [2022-04-25T15:03:32.710Z] Login Succeeded [2022-04-25T15:03:32.710Z] docker.io [2022-04-25T15:03:32.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T15:03:33.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T15:03:33.588Z] Configure a credential helper to remove this warning. See [2022-04-25T15:03:33.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T15:03:33.588Z] [2022-04-25T15:03:33.588Z] Login Succeeded [2022-04-25T15:03:33.588Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T15:03:33.617Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-25T15:03:34.022Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-25T15:03:34.056Z] ========================================================= [2022-04-25T15:03:34.057Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-25T15:03:34.057Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-25T15:03:34.502Z] + 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-25T15:03:34.779Z] Sending build context to Docker daemon 3.098MB [2022-04-25T15:03:35.061Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T15:03:35.061Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-25T15:03:35.061Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-25T15:03:35.061Z] 9b3977197b4f: Pulling fs layer [2022-04-25T15:03:35.061Z] 1a89e8eeedd5: Pulling fs layer [2022-04-25T15:03:35.061Z] 94645a83ff95: Pulling fs layer [2022-04-25T15:03:35.061Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-25T15:03:35.061Z] 0c92f367c5e7: Pulling fs layer [2022-04-25T15:03:35.061Z] 3096ccb668a1: Pulling fs layer [2022-04-25T15:03:35.061Z] e8cf19c19ddd: Pulling fs layer [2022-04-25T15:03:35.061Z] a4caa8a26152: Pulling fs layer [2022-04-25T15:03:35.061Z] 3f3a8bcf1eab: Waiting [2022-04-25T15:03:35.061Z] 0c92f367c5e7: Waiting [2022-04-25T15:03:35.061Z] 3096ccb668a1: Waiting [2022-04-25T15:03:35.061Z] e8cf19c19ddd: Waiting [2022-04-25T15:03:35.061Z] a4caa8a26152: Waiting [2022-04-25T15:03:35.061Z] 94645a83ff95: Verifying Checksum [2022-04-25T15:03:35.061Z] 94645a83ff95: Download complete [2022-04-25T15:03:35.061Z] 1a89e8eeedd5: Download complete [2022-04-25T15:03:35.061Z] 0c92f367c5e7: Verifying Checksum [2022-04-25T15:03:35.061Z] 0c92f367c5e7: Download complete [2022-04-25T15:03:35.348Z] 3096ccb668a1: Verifying Checksum [2022-04-25T15:03:35.348Z] 3096ccb668a1: Download complete [2022-04-25T15:03:35.348Z] 9b3977197b4f: Verifying Checksum [2022-04-25T15:03:35.348Z] 9b3977197b4f: Download complete [2022-04-25T15:03:35.348Z] e8cf19c19ddd: Verifying Checksum [2022-04-25T15:03:35.348Z] e8cf19c19ddd: Download complete [2022-04-25T15:03:35.960Z] 9b3977197b4f: Pull complete [2022-04-25T15:03:36.567Z] 1a89e8eeedd5: Pull complete [2022-04-25T15:03:36.846Z] 94645a83ff95: Pull complete [2022-04-25T15:03:37.461Z] a4caa8a26152: Verifying Checksum [2022-04-25T15:03:37.461Z] a4caa8a26152: Download complete [2022-04-25T15:03:38.062Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-25T15:03:38.062Z] 3f3a8bcf1eab: Download complete [2022-04-25T15:03:50.485Z] 3f3a8bcf1eab: Pull complete [2022-04-25T15:03:50.762Z] 0c92f367c5e7: Pull complete [2022-04-25T15:03:51.041Z] 3096ccb668a1: Pull complete [2022-04-25T15:03:51.318Z] e8cf19c19ddd: Pull complete [2022-04-25T15:03:58.077Z] a4caa8a26152: Pull complete [2022-04-25T15:03:58.077Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-25T15:03:58.077Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-25T15:03:58.077Z] ---> 725f1c02e7f9 [2022-04-25T15:03:58.077Z] Step 3/10 : ARG MAKE='make build' [2022-04-25T15:03:58.353Z] ---> Running in 139a291e9168 [2022-04-25T15:03:58.632Z] Removing intermediate container 139a291e9168 [2022-04-25T15:03:58.632Z] ---> 9fcbfde22979 [2022-04-25T15:03:58.632Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T15:03:58.632Z] ---> Running in 75901456dc05 [2022-04-25T15:04:02.057Z] Removing intermediate container 75901456dc05 [2022-04-25T15:04:02.057Z] ---> f1010bb2f749 [2022-04-25T15:04:02.057Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-25T15:04:02.057Z] ---> Running in f8027a97e900 [2022-04-25T15:04:02.654Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-25T15:04:03.633Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-25T15:04:04.230Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-25T15:04:04.506Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-25T15:04:04.506Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-25T15:04:04.779Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-25T15:04:04.779Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-25T15:04:04.779Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-25T15:04:05.054Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-25T15:04:05.054Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-25T15:04:05.327Z] Executing busybox-1.34.1-r3.trigger [2022-04-25T15:04:05.327Z] OK: 226 MiB in 60 packages [2022-04-25T15:04:06.311Z] Removing intermediate container f8027a97e900 [2022-04-25T15:04:06.311Z] ---> 207b718a97a0 [2022-04-25T15:04:06.311Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-25T15:04:06.311Z] ---> Running in 48dc673a2ca7 [2022-04-25T15:04:06.587Z] Removing intermediate container 48dc673a2ca7 [2022-04-25T15:04:06.587Z] ---> fe077a1f7a2b [2022-04-25T15:04:06.587Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-25T15:04:07.198Z] ---> 854f9545429b [2022-04-25T15:04:07.198Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T15:04:07.198Z] ---> Running in 89811cd47982 [2022-04-25T15:05:03.769Z] Removing intermediate container 89811cd47982 [2022-04-25T15:05:03.769Z] ---> 4c202ca3acc1 [2022-04-25T15:05:03.769Z] Step 9/10 : COPY . . [2022-04-25T15:05:03.770Z] ---> 401067b4f285 [2022-04-25T15:05:03.770Z] Step 10/10 : RUN ${MAKE} [2022-04-25T15:05:03.770Z] ---> Running in 08f7e75a6f72 [2022-04-25T15:05:03.770Z] noop [2022-04-25T15:05:03.770Z] Removing intermediate container 08f7e75a6f72 [2022-04-25T15:05:03.770Z] ---> 8f1d11a2ca59 [2022-04-25T15:05:03.770Z] Successfully built 8f1d11a2ca59 [2022-04-25T15:05:03.770Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T15:05:04.149Z] + docker inspect -f . ci-base-image-arm64 [2022-04-25T15:05:04.149Z] . [Pipeline] withDockerContainer [2022-04-25T15:05:04.412Z] prd-ubuntu20.04-docker-arm64-4c-16g-22047 does not seem to be running inside a container [2022-04-25T15:05:04.507Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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-arm64 cat [2022-04-25T15:05:05.917Z] $ docker top 5b25965a7b5e23a1dddf3d8009f6d7d9507cb17216d1eb92721f473fd473e6c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T15:05:06.924Z] + go version [2022-04-25T15:05:06.924Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-25T15:05:06.964Z] $ docker stop --time=1 5b25965a7b5e23a1dddf3d8009f6d7d9507cb17216d1eb92721f473fd473e6c9 [2022-04-25T15:05:08.587Z] $ docker rm -f 5b25965a7b5e23a1dddf3d8009f6d7d9507cb17216d1eb92721f473fd473e6c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-25T15:05:09.442Z] + docker inspect -f . ci-base-image-arm64 [2022-04-25T15:05:09.442Z] . [Pipeline] withDockerContainer [2022-04-25T15:05:09.685Z] prd-ubuntu20.04-docker-arm64-4c-16g-22047 does not seem to be running inside a container [2022-04-25T15:05:09.772Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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-arm64 cat [2022-04-25T15:05:11.036Z] $ docker top ddbfdbf88ca3c8f05bb50e52f8f83f1f91c57e62857c098fd5b3d18b4992ea60 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-25T15:05:12.113Z] + make test [2022-04-25T15:05:12.113Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-25T15:05:13.557Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-25T15:06:35.433Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-25T15:06:35.433Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.070s coverage: 46.4% of statements [2022-04-25T15:06:35.433Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-25T15:06:35.433Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-25T15:07:02.289Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-25T15:07:02.289Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-25T15:07:02.289Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-25T15:07:05.727Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-25T15:07:05.767Z] $ docker stop --time=1 ddbfdbf88ca3c8f05bb50e52f8f83f1f91c57e62857c098fd5b3d18b4992ea60 [2022-04-25T15:07:07.660Z] $ docker rm -f ddbfdbf88ca3c8f05bb50e52f8f83f1f91c57e62857c098fd5b3d18b4992ea60 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-25T15:07:08.733Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-25T15:07:08.769Z] Warning: overwriting stash ‘coverage-report’ [2022-04-25T15:07:09.310Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-25T15:07:09.919Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-25T15:07:10.278Z] + ls -al . [2022-04-25T15:07:10.278Z] total 176 [2022-04-25T15:07:10.278Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 15:07 . [2022-04-25T15:07:10.278Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 15:03 .. [2022-04-25T15:07:10.278Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 25 15:03 .dockerignore [2022-04-25T15:07:10.278Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 15:03 .git [2022-04-25T15:07:10.278Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 15:03 .github [2022-04-25T15:07:10.278Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 25 15:03 .gitignore [2022-04-25T15:07:10.278Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 15:03 .golangci.yml [2022-04-25T15:07:10.278Z] -rw-rw-r-- 1 jenkins jenkins 9244 Apr 25 15:03 Attribution.txt [2022-04-25T15:07:10.278Z] -rw-rw-r-- 1 jenkins jenkins 6038 Apr 25 15:03 CHANGELOG.md [2022-04-25T15:07:10.278Z] -rw-rw-r-- 1 jenkins jenkins 1546 Apr 25 15:03 Dockerfile [2022-04-25T15:07:10.278Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 15:03 GOVERNANCE.md [2022-04-25T15:07:10.278Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 25 15:03 Jenkinsfile [2022-04-25T15:07:10.278Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 15:03 LICENSE [2022-04-25T15:07:10.278Z] -rw-rw-r-- 1 jenkins jenkins 1905 Apr 25 15:03 Makefile [2022-04-25T15:07:10.278Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 25 15:03 OWNERS.md [2022-04-25T15:07:10.278Z] -rw-rw-r-- 1 jenkins jenkins 3680 Apr 25 15:03 README.md [2022-04-25T15:07:10.278Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 14:58 VERSION [2022-04-25T15:07:10.278Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 15:03 bin [2022-04-25T15:07:10.278Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 15:03 cmd [2022-04-25T15:07:10.278Z] -rw-r--r-- 1 jenkins jenkins 24065 Apr 25 15:06 coverage.out [2022-04-25T15:07:10.278Z] -rw-rw-r-- 1 jenkins jenkins 3306 Apr 25 15:03 go.mod [2022-04-25T15:07:10.278Z] -rw-rw-r-- 1 jenkins jenkins 34903 Apr 25 15:03 go.sum [2022-04-25T15:07:10.278Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 15:03 internal [2022-04-25T15:07:10.278Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 15:03 simulator [2022-04-25T15:07:10.278Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 15:03 snap [2022-04-25T15:07:10.278Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 25 15:03 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-25T15:07:10.651Z] + 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=3237a4a44b4a52002b410c2dd400a27648297c25 --label arch=arm64 --label version=0.0.0 . [2022-04-25T15:07:10.927Z] Sending build context to Docker daemon 3.123MB [2022-04-25T15:07:11.202Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T15:07:11.202Z] Step 2/23 : FROM ${BASE} AS builder [2022-04-25T15:07:11.202Z] ---> 8f1d11a2ca59 [2022-04-25T15:07:11.202Z] Step 3/23 : ARG MAKE='make build' [2022-04-25T15:07:11.202Z] ---> Running in 3f18d693fabc [2022-04-25T15:07:11.477Z] Removing intermediate container 3f18d693fabc [2022-04-25T15:07:11.477Z] ---> 716c2e5753db [2022-04-25T15:07:11.477Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T15:07:11.764Z] ---> Running in 9999318fbfbb [2022-04-25T15:07:13.746Z] Removing intermediate container 9999318fbfbb [2022-04-25T15:07:13.746Z] ---> 8350f135c1c0 [2022-04-25T15:07:13.746Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-25T15:07:13.746Z] ---> Running in b1a51b4c21d0 [2022-04-25T15:07:14.346Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-25T15:07:15.328Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-25T15:07:16.315Z] OK: 226 MiB in 60 packages [2022-04-25T15:07:17.312Z] Removing intermediate container b1a51b4c21d0 [2022-04-25T15:07:17.312Z] ---> 6a06e0513735 [2022-04-25T15:07:17.312Z] Step 6/23 : WORKDIR /device-modbus-go [2022-04-25T15:07:17.312Z] ---> Running in 23a08e7fd088 [2022-04-25T15:07:17.593Z] Removing intermediate container 23a08e7fd088 [2022-04-25T15:07:17.593Z] ---> ad585791680c [2022-04-25T15:07:17.593Z] Step 7/23 : COPY go.mod vendor* ./ [2022-04-25T15:07:18.200Z] ---> 35861c13bc0c [2022-04-25T15:07:18.200Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T15:07:18.200Z] ---> Running in e582466999d4 [2022-04-25T15:07:20.191Z] Removing intermediate container e582466999d4 [2022-04-25T15:07:20.191Z] ---> 193c81762e5b [2022-04-25T15:07:20.191Z] Step 9/23 : COPY . . [2022-04-25T15:07:21.190Z] ---> caf4494412a0 [2022-04-25T15:07:21.190Z] Step 10/23 : RUN ${MAKE} [2022-04-25T15:07:21.190Z] ---> Running in d0ee86e5fba0 [2022-04-25T15:07:22.644Z] 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-25T15:09:29.553Z] Removing intermediate container d0ee86e5fba0 [2022-04-25T15:09:29.553Z] ---> d56422f0efc0 [2022-04-25T15:09:29.553Z] Step 11/23 : FROM alpine:3.14 [2022-04-25T15:09:29.553Z] 3.14: Pulling from library/alpine [2022-04-25T15:09:29.553Z] 455c02918c45: Pulling fs layer [2022-04-25T15:09:29.553Z] 455c02918c45: Verifying Checksum [2022-04-25T15:09:29.553Z] 455c02918c45: Download complete [2022-04-25T15:09:29.553Z] 455c02918c45: Pull complete [2022-04-25T15:09:29.553Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-25T15:09:29.553Z] Status: Downloaded newer image for alpine:3.14 [2022-04-25T15:09:29.553Z] ---> ac73e934f311 [2022-04-25T15:09:29.553Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-04-25T15:09:29.553Z] ---> Running in 46a661592cc9 [2022-04-25T15:09:29.553Z] Removing intermediate container 46a661592cc9 [2022-04-25T15:09:29.553Z] ---> 741bc412afce [2022-04-25T15:09:29.553Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T15:09:29.553Z] ---> Running in 86a472197e22 [2022-04-25T15:09:31.566Z] Removing intermediate container 86a472197e22 [2022-04-25T15:09:31.566Z] ---> ff32ec8cf801 [2022-04-25T15:09:31.566Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-25T15:09:31.566Z] ---> Running in f706a90706e4 [2022-04-25T15:09:32.549Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-25T15:09:33.531Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-25T15:09:34.520Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-25T15:09:34.520Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-25T15:09:34.520Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-25T15:09:34.792Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-25T15:09:34.792Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-25T15:09:34.792Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-25T15:09:35.064Z] Executing busybox-1.33.1-r7.trigger [2022-04-25T15:09:35.064Z] OK: 8 MiB in 20 packages [2022-04-25T15:09:36.051Z] Removing intermediate container f706a90706e4 [2022-04-25T15:09:36.051Z] ---> 51febae77f18 [2022-04-25T15:09:36.051Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-04-25T15:09:37.497Z] ---> b3510def917a [2022-04-25T15:09:37.497Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-04-25T15:09:38.487Z] ---> 4fdb76b2f772 [2022-04-25T15:09:38.487Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-04-25T15:09:38.763Z] ---> aad9e6e3919e [2022-04-25T15:09:38.763Z] Step 18/23 : EXPOSE 59901 [2022-04-25T15:09:39.041Z] ---> Running in 7477f1d18293 [2022-04-25T15:09:39.317Z] Removing intermediate container 7477f1d18293 [2022-04-25T15:09:39.317Z] ---> bd7e3ffd6cae [2022-04-25T15:09:39.317Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-04-25T15:09:39.317Z] ---> Running in b3a883165d69 [2022-04-25T15:09:39.914Z] Removing intermediate container b3a883165d69 [2022-04-25T15:09:39.914Z] ---> d06a48c25e87 [2022-04-25T15:09:39.914Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-25T15:09:39.914Z] ---> Running in 0ab5eb3a841d [2022-04-25T15:09:40.190Z] Removing intermediate container 0ab5eb3a841d [2022-04-25T15:09:40.190Z] ---> 05c0c880ebdc [2022-04-25T15:09:40.190Z] Step 21/23 : LABEL arch=arm64 [2022-04-25T15:09:40.190Z] ---> Running in 7fd29c16abee [2022-04-25T15:09:40.790Z] Removing intermediate container 7fd29c16abee [2022-04-25T15:09:40.790Z] ---> 353267a8ef63 [2022-04-25T15:09:40.790Z] Step 22/23 : LABEL git_sha=3237a4a44b4a52002b410c2dd400a27648297c25 [2022-04-25T15:09:40.790Z] ---> Running in 0da200f90ad7 [2022-04-25T15:09:41.065Z] Removing intermediate container 0da200f90ad7 [2022-04-25T15:09:41.065Z] ---> 7dae4160f4a1 [2022-04-25T15:09:41.065Z] Step 23/23 : LABEL version=0.0.0 [2022-04-25T15:09:41.065Z] ---> Running in bd8cf4fc08e4 [2022-04-25T15:09:41.339Z] Removing intermediate container bd8cf4fc08e4 [2022-04-25T15:09:41.339Z] ---> 9361f438da04 [2022-04-25T15:09:41.339Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-25T15:09:41.612Z] Successfully built 9361f438da04 [2022-04-25T15:09:41.612Z] 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-25T15:09:42.298Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T15:09:42.298Z] [2022-04-25T15:09:42.298Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-25T15:09:42.693Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T15:09:42.969Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-25T15:09:42.969Z] 8998bd30e6a1: Pulling fs layer [2022-04-25T15:09:42.969Z] 04944245beec: Pulling fs layer [2022-04-25T15:09:42.969Z] 699f458cf7ca: Pulling fs layer [2022-04-25T15:09:42.969Z] 765212b225bb: Pulling fs layer [2022-04-25T15:09:42.969Z] f23df028b6ca: Pulling fs layer [2022-04-25T15:09:42.969Z] d65c8cfc05b1: Pulling fs layer [2022-04-25T15:09:42.969Z] 2437ff75d9bd: Pulling fs layer [2022-04-25T15:09:42.969Z] f23df028b6ca: Waiting [2022-04-25T15:09:42.969Z] d65c8cfc05b1: Waiting [2022-04-25T15:09:42.969Z] 2437ff75d9bd: Waiting [2022-04-25T15:09:42.969Z] 765212b225bb: Waiting [2022-04-25T15:09:42.969Z] 04944245beec: Download complete [2022-04-25T15:09:42.969Z] 765212b225bb: Verifying Checksum [2022-04-25T15:09:42.969Z] 765212b225bb: Download complete [2022-04-25T15:09:42.969Z] f23df028b6ca: Verifying Checksum [2022-04-25T15:09:42.969Z] f23df028b6ca: Download complete [2022-04-25T15:09:43.252Z] d65c8cfc05b1: Verifying Checksum [2022-04-25T15:09:43.252Z] d65c8cfc05b1: Download complete [2022-04-25T15:09:43.252Z] 699f458cf7ca: Verifying Checksum [2022-04-25T15:09:43.252Z] 699f458cf7ca: Download complete [2022-04-25T15:09:43.859Z] 8998bd30e6a1: Download complete [2022-04-25T15:09:46.497Z] 2437ff75d9bd: Verifying Checksum [2022-04-25T15:09:46.497Z] 2437ff75d9bd: Download complete [2022-04-25T15:09:48.493Z] 8998bd30e6a1: Pull complete [2022-04-25T15:09:48.769Z] 04944245beec: Pull complete [2022-04-25T15:09:50.217Z] 699f458cf7ca: Pull complete [2022-04-25T15:09:50.494Z] 765212b225bb: Pull complete [2022-04-25T15:09:51.481Z] f23df028b6ca: Pull complete [2022-04-25T15:09:51.481Z] d65c8cfc05b1: Pull complete [2022-04-25T15:10:06.632Z] 2437ff75d9bd: Pull complete [2022-04-25T15:10:06.632Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-25T15:10:06.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T15:10:06.632Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-25T15:10:06.914Z] prd-ubuntu20.04-docker-arm64-4c-16g-22047 does not seem to be running inside a container [2022-04-25T15:10:07.037Z] $ 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/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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:arm64 cat [2022-04-25T15:10:09.870Z] $ docker top 4393cccb4f8abca7b808142b689287b9c9159769dda0bc4e672858bbe418df26 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T15:10:10.904Z] ---> job-cost.sh [2022-04-25T15:10:10.904Z] lf-activate-venv: SKIPPING [2022-04-25T15:10:10.904Z] INFO: No Stack... [2022-04-25T15:10:11.501Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-25T15:10:12.480Z] INFO: Archiving Costs [Pipeline] sh [2022-04-25T15:10:13.172Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2022-04-25T15:10:13.172Z] + cut -d, -f6 [Pipeline] lock [2022-04-25T15:10:13.264Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-336-1-stack-cost] [2022-04-25T15:10:13.270Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-336-1-stack-cost] did not exist. Created. [2022-04-25T15:10:13.270Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-336-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-25T15:10:14.039Z] /w/workspace/device-modbus-go/1@tmp/durable-ed29879c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-25T15:10:14.746Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-25T15:10:14.783Z] Warning: overwriting stash ‘stack-cost’ [2022-04-25T15:10:14.844Z] Stashed 1 file(s) [Pipeline] } [2022-04-25T15:10:14.860Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-336-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-25T15:10:14.953Z] $ docker stop --time=1 4393cccb4f8abca7b808142b689287b9c9159769dda0bc4e672858bbe418df26 [2022-04-25T15:10:16.547Z] $ docker rm -f 4393cccb4f8abca7b808142b689287b9c9159769dda0bc4e672858bbe418df26 [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-25T15:10:17.650Z] provisioning config files... [2022-04-25T15:10:17.658Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-336@tmp/config6896992459260266189tmp [Pipeline] { [Pipeline] sh [2022-04-25T15:10:17.992Z] + set +x [2022-04-25T15:10:17.992Z] + bash -s -- [2022-04-25T15:10:17.992Z] + curl -s https://codecov.io/bash [2022-04-25T15:10:17.992Z] [2022-04-25T15:10:17.992Z] _____ _ [2022-04-25T15:10:17.992Z] / ____| | | [2022-04-25T15:10:17.992Z] | | ___ __| | ___ ___ _____ __ [2022-04-25T15:10:17.992Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-25T15:10:17.992Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-25T15:10:17.992Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-25T15:10:17.992Z] Bash-1.0.6 [2022-04-25T15:10:17.992Z] [2022-04-25T15:10:17.992Z] [2022-04-25T15:10:17.992Z] ==> git version 2.25.1 found [2022-04-25T15:10:17.992Z] ==> 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-25T15:10:17.992Z] Release-Date: 2020-01-08 [2022-04-25T15:10:17.992Z] 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-25T15:10:17.992Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-25T15:10:17.992Z] ==> Jenkins CI detected. [2022-04-25T15:10:17.992Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-336 [2022-04-25T15:10:17.992Z] project root: . [2022-04-25T15:10:17.992Z] --> token set from env [2022-04-25T15:10:17.992Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-25T15:10:17.992Z] ==> Running gcov in . (disable via -X gcov) [2022-04-25T15:10:17.992Z] ==> Python coveragepy not found [2022-04-25T15:10:17.992Z] ==> Searching for coverage reports in: [2022-04-25T15:10:17.992Z] + . [2022-04-25T15:10:17.992Z] -> Found 1 reports [2022-04-25T15:10:17.992Z] ==> Detecting git/mercurial file structure [2022-04-25T15:10:17.992Z] ==> Reading reports [2022-04-25T15:10:17.992Z] + ./coverage.out bytes=24065 [2022-04-25T15:10:17.992Z] ==> Appending adjustments [2022-04-25T15:10:17.992Z] https://docs.codecov.io/docs/fixing-reports [2022-04-25T15:10:18.253Z] + Found adjustments [2022-04-25T15:10:18.253Z] ==> Gzipping contents [2022-04-25T15:10:18.253Z] 4.0K /tmp/codecov.fMV3NY.gz [2022-04-25T15:10:18.253Z] ==> Uploading reports [2022-04-25T15:10:18.253Z] url: https://codecov.io [2022-04-25T15:10:18.253Z] query: branch=PR-336&commit=3237a4a44b4a52002b410c2dd400a27648297c25&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-336%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=336&job=&cmd_args= [2022-04-25T15:10:18.253Z] -> Pinging Codecov [2022-04-25T15:10:18.253Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-336&commit=3237a4a44b4a52002b410c2dd400a27648297c25&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-336%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=336&job=&cmd_args= [2022-04-25T15:10:18.514Z] -> Uploading to [2022-04-25T15:10:18.514Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-25/55DBCA73C666E3227836607328DD7E49/3237a4a44b4a52002b410c2dd400a27648297c25/3f657965-3b91-43ef-b9fc-a673b0236e3e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220425T151018Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b8cb0f5892267ee8929a66bbc21952a2bc27837781b3bcbfc742c09126cb738d [2022-04-25T15:10:18.514Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-25T15:10:18.514Z] Dload Upload Total Spent Left Speed [2022-04-25T15:10:18.773Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4025 0 0 100 4025 0 17349 --:--:-- --:--:-- --:--:-- 17349 [2022-04-25T15:10:18.773Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/3237a4a44b4a52002b410c2dd400a27648297c25 [Pipeline] } [2022-04-25T15:10:18.802Z] 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-25T15:10:20.685Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-336/archives ] [2022-04-25T15:10:20.685Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-336/archives [2022-04-25T15:10:20.685Z] total 16 [2022-04-25T15:10:20.685Z] drwxr-xr-x 3 root root 4096 Apr 25 15:00 . [2022-04-25T15:10:20.685Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 15:00 .. [2022-04-25T15:10:20.685Z] drwxr-xr-x 2 root root 4096 Apr 25 15:00 cost [2022-04-25T15:10:20.685Z] -rw-r--r-- 1 root root 87 Apr 25 15:00 cost.csv [2022-04-25T15:10:20.685Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-336/archives [2022-04-25T15:10:20.685Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-336/archives [2022-04-25T15:10:20.685Z] total 16 [2022-04-25T15:10:20.685Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 15:00 . [2022-04-25T15:10:20.685Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 15:00 .. [2022-04-25T15:10:20.685Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 15:00 cost [2022-04-25T15:10:20.685Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 25 15:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-25T15:10:21.012Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T15:10:21.913Z] ---> package-listing.sh [2022-04-25T15:10:21.913Z] ++ facter osfamily [2022-04-25T15:10:21.913Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-25T15:10:22.174Z] + OS_FAMILY=debian [2022-04-25T15:10:22.174Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-336 [2022-04-25T15:10:22.174Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-25T15:10:22.174Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-25T15:10:22.174Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-25T15:10:22.174Z] + PACKAGES=/tmp/packages_start.txt [2022-04-25T15:10:22.174Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-336 ']' [2022-04-25T15:10:22.174Z] + PACKAGES=/tmp/packages_end.txt [2022-04-25T15:10:22.174Z] + case "${OS_FAMILY}" in [2022-04-25T15:10:22.174Z] + dpkg -l [2022-04-25T15:10:22.174Z] + grep '^ii' [2022-04-25T15:10:22.174Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-25T15:10:22.174Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-25T15:10:22.174Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-25T15:10:22.174Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-336 ']' [2022-04-25T15:10:22.174Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-336/archives/ [2022-04-25T15:10:22.174Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-336/archives/ [Pipeline] echo [2022-04-25T15:10:22.207Z] 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-336/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-25T15:10:22.505Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-25T15:10:23.095Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T15:10:23.095Z] . [Pipeline] withDockerContainer [2022-04-25T15:10:23.182Z] prd-ubuntu20.04-docker-8c-8g-22046 does not seem to be running inside a container [2022-04-25T15:10:23.223Z] $ 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-336/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-336 -v /w/workspace/xfoundry_device-modbus-go_PR-336:/w/workspace/xfoundry_device-modbus-go_PR-336:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-336@tmp:/w/workspace/xfoundry_device-modbus-go_PR-336@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-25T15:10:23.451Z] $ docker top 743751b5af565f029a42b4f25ee3ca27d9c2e941cc7f37828819ccf211564fcc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T15:10:23.845Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-25T15:10:24.159Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-25T15:10:24.472Z] + ls /var/log/sa-host [2022-04-25T15:10:24.472Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T15:10:24.738Z] provisioning config files... [2022-04-25T15:10:24.749Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-336@tmp/config3835733825300106163tmp [Pipeline] { [Pipeline] echo [2022-04-25T15:10:24.791Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T15:10:25.102Z] ---> create-netrc.sh [Pipeline] } [2022-04-25T15:10:25.131Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-25T15:10:25.534Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-25T15:10:25.560Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T15:10:25.873Z] ---> sudo-logs.sh [2022-04-25T15:10:25.873Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-25T15:10:25.950Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T15:10:26.261Z] ---> job-cost.sh [2022-04-25T15:10:26.261Z] lf-activate-venv: SKIPPING [2022-04-25T15:10:26.261Z] DEBUG: total: 0.2199999988079071 [2022-04-25T15:10:26.261Z] INFO: Retrieving Stack Cost... [2022-04-25T15:10:26.830Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-25T15:10:27.090Z] INFO: Archiving Costs [Pipeline] echo [2022-04-25T15:10:27.122Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T15:10:27.434Z] ---> logs-deploy.sh [2022-04-25T15:10:27.434Z] lf-activate-venv: SKIPPING [2022-04-25T15:10:27.434Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-336/1 [2022-04-25T15:10:27.434Z] INFO: archiving workspace using pattern(s): [2022-04-25T15:10:28.373Z] Archives upload complete. [2022-04-25T15:10:28.373Z] INFO: archiving logs to Nexus