Pull request #339 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 jinlinGuan for edgexfoundry/device-modbus-go Loading trusted files from base branch main at e01a1226a5cf77919213724cb5799907c2b0adaa rather than ce482a524a6fbae6af8ef034fc3c09305a0243e8 Obtained Jenkinsfile from e01a1226a5cf77919213724cb5799907c2b0adaa 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-ssh15891154370671758929.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-ssh15744571919084545193.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-339/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-339/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh109732173765525189.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-339/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11664792845438007357.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-ssh17935862024824431529.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-339/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-339/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12081918155189554469.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 ‘prd-ubuntu20.04-docker-8c-8g-33455’ is offline Running on prd-ubuntu20.04-docker-8c-8g-33457 in /w/workspace/xfoundry_device-modbus-go_PR-339 [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-339 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e01a1226a5cf77919213724cb5799907c2b0adaa into PR head commit ce482a524a6fbae6af8ef034fc3c09305a0243e8 Merge succeeded, producing ce482a524a6fbae6af8ef034fc3c09305a0243e8 Checking out Revision ce482a524a6fbae6af8ef034fc3c09305a0243e8 (PR-339) > 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/339/head:refs/remotes/origin/PR-339 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ce482a524a6fbae6af8ef034fc3c09305a0243e8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e01a1226a5cf77919213724cb5799907c2b0adaa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ce482a524a6fbae6af8ef034fc3c09305a0243e8 # timeout=10 Commit message: "feat: Bump device-sdk-go version and update configuration.toml" 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-27T09:59:21.923Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-27T09:59:22.126Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-27T09:59:22.228Z] ========================================================= [2022-04-27T09:59:22.229Z] EdgeX Global Pipelines Version Info [2022-04-27T09:59:22.229Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-27T09:59:23.115Z] ------------------- [2022-04-27T09:59:23.115Z] stable info: [2022-04-27T09:59:23.115Z] ------------------- [2022-04-27T09:59:23.115Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-27T09:59:23.115Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-27T09:59:23.115Z] Message: update stable to v1.0.221 [2022-04-27T09:59:23.689Z] ------------------- [2022-04-27T09:59:23.689Z] experimental info: [2022-04-27T09:59:23.689Z] ------------------- [2022-04-27T09:59:23.689Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-27T09:59:23.689Z] Commit SHA: 47c9b3891b578ce509e33c5bc61a4c29aa566c02 [2022-04-27T09:59:23.689Z] Message: update experimental to v1.0.226 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-27T09:59:23.945Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-04-27T09:59:23.990Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-04-27T09:59:24.037Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-27T09:59:24.079Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-27T09:59:24.119Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-27T09:59:24.157Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-27T09:59:24.197Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-27T09:59:24.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-27T09:59:24.273Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-27T09:59:24.312Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-27T09:59:24.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-27T09:59:24.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-04-27T09:59:24.434Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-27T09:59:24.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-27T09:59:24.519Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-27T09:59:24.561Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-27T09:59:24.603Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-27T09:59:24.642Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-27T09:59:24.682Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-27T09:59:24.720Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-27T09:59:24.762Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-27T09:59:24.801Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-27T09:59:24.846Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-27T09:59:24.886Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-27T09:59:24.931Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-27T09:59:24.973Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-27T09:59:25.103Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-339 [Pipeline] echo [2022-04-27T09:59:25.144Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-339 [Pipeline] echo [2022-04-27T09:59:25.185Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-339 [Pipeline] echo [2022-04-27T09:59:25.227Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ce482a524a6fbae6af8ef034fc3c09305a0243e8 [Pipeline] echo [2022-04-27T09:59:25.268Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ce482a5 [Pipeline] echo [2022-04-27T09:59:25.308Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T09:59:25.420Z] provisioning config files... [2022-04-27T09:59:25.436Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-339@tmp/config6261782992018845805tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T09:59:25.789Z] ---> docker-login.sh [2022-04-27T09:59:25.789Z] nexus3.edgexfoundry.org:10001 [2022-04-27T09:59:26.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T09:59:26.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T09:59:26.050Z] Configure a credential helper to remove this warning. See [2022-04-27T09:59:26.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T09:59:26.050Z] [2022-04-27T09:59:26.050Z] Login Succeeded [2022-04-27T09:59:26.050Z] nexus3.edgexfoundry.org:10002 [2022-04-27T09:59:26.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T09:59:26.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T09:59:26.312Z] Configure a credential helper to remove this warning. See [2022-04-27T09:59:26.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T09:59:26.312Z] [2022-04-27T09:59:26.312Z] Login Succeeded [2022-04-27T09:59:26.312Z] nexus3.edgexfoundry.org:10003 [2022-04-27T09:59:26.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T09:59:26.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T09:59:26.312Z] Configure a credential helper to remove this warning. See [2022-04-27T09:59:26.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T09:59:26.312Z] [2022-04-27T09:59:26.312Z] Login Succeeded [2022-04-27T09:59:26.312Z] nexus3.edgexfoundry.org:10004 [2022-04-27T09:59:26.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T09:59:26.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T09:59:26.574Z] Configure a credential helper to remove this warning. See [2022-04-27T09:59:26.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T09:59:26.574Z] [2022-04-27T09:59:26.574Z] Login Succeeded [2022-04-27T09:59:26.574Z] docker.io [2022-04-27T09:59:26.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T09:59:27.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T09:59:27.159Z] Configure a credential helper to remove this warning. See [2022-04-27T09:59:27.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T09:59:27.159Z] [2022-04-27T09:59:27.159Z] Login Succeeded [2022-04-27T09:59:27.159Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T09:59:27.184Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-27T09:59:27.823Z] + git rev-list -1 --merges ce482a524a6fbae6af8ef034fc3c09305a0243e8~1..ce482a524a6fbae6af8ef034fc3c09305a0243e8 [Pipeline] echo [2022-04-27T09:59:27.872Z] -----------> git rev-list -1 --merges ce482a524a6fbae6af8ef034fc3c09305a0243e8~1..ce482a524a6fbae6af8ef034fc3c09305a0243e8 ce482a524a6fbae6af8ef034fc3c09305a0243e8 [false] [Pipeline] sh [2022-04-27T09:59:28.181Z] + git log --format=format:%s -1 ce482a524a6fbae6af8ef034fc3c09305a0243e8 [Pipeline] echo [2022-04-27T09:59:28.221Z] ========================================================= [2022-04-27T09:59:28.221Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-27T09:59:28.221Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T09:59:28.680Z] + git log --format=format:%s -1 ce482a524a6fbae6af8ef034fc3c09305a0243e8 [Pipeline] echo [2022-04-27T09:59:28.715Z] [semverPrep] GIT_COMMIT: ce482a524a6fbae6af8ef034fc3c09305a0243e8, Commit Message: feat: Bump device-sdk-go version and update configuration.toml [Pipeline] echo [2022-04-27T09:59:28.744Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-27T09:59:29.212Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-27T09:59:29.212Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-27T09:59:29.212Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-27T09:59:29.212Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-27T09:59:29.212Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-27T09:59:29.212Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-27T09:59:29.212Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-27T09:59:29.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T09:59:29.699Z] [2022-04-27T09:59:29.699Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T09:59:30.041Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T09:59:30.041Z] latest: Pulling from edgex-devops/git-semver [2022-04-27T09:59:30.041Z] a0d0a0d46f8b: Pulling fs layer [2022-04-27T09:59:30.041Z] 3e5f54012d9b: Pulling fs layer [2022-04-27T09:59:30.041Z] 4c7163046ea9: Pulling fs layer [2022-04-27T09:59:30.041Z] 0c2d73faf560: Pulling fs layer [2022-04-27T09:59:30.041Z] 0c2d73faf560: Waiting [2022-04-27T09:59:30.041Z] 3e5f54012d9b: Download complete [2022-04-27T09:59:30.041Z] a0d0a0d46f8b: Download complete [2022-04-27T09:59:30.041Z] 0c2d73faf560: Verifying Checksum [2022-04-27T09:59:30.041Z] 0c2d73faf560: Download complete [2022-04-27T09:59:30.307Z] 4c7163046ea9: Verifying Checksum [2022-04-27T09:59:30.307Z] 4c7163046ea9: Download complete [2022-04-27T09:59:30.307Z] a0d0a0d46f8b: Pull complete [2022-04-27T09:59:30.307Z] 3e5f54012d9b: Pull complete [2022-04-27T09:59:30.568Z] 4c7163046ea9: Pull complete [2022-04-27T09:59:30.831Z] 0c2d73faf560: Pull complete [2022-04-27T09:59:30.831Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-27T09:59:30.831Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T09:59:30.831Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-27T09:59:30.945Z] prd-ubuntu20.04-docker-8c-8g-33457 does not seem to be running inside a container [2022-04-27T09:59:30.995Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-339 -v /w/workspace/xfoundry_device-modbus-go_PR-339:/w/workspace/xfoundry_device-modbus-go_PR-339:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-339@tmp:/w/workspace/xfoundry_device-modbus-go_PR-339@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-27T09:59:31.696Z] $ docker top d5b221f5cd56c25d1e7e9579a18b5d8f497f72b35197b0e23c3a13dd23341649 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-27T09:59:31.902Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T09:59:31.902Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T09:59:32.065Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T09:59:32.074Z] $ docker exec d5b221f5cd56c25d1e7e9579a18b5d8f497f72b35197b0e23c3a13dd23341649 ssh-agent [2022-04-27T09:59:32.208Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHJcoNG/agent.14 [2022-04-27T09:59:32.208Z] SSH_AGENT_PID=21 [2022-04-27T09:59:32.218Z] Running ssh-add (command line suppressed) [2022-04-27T09:59:32.351Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-339@tmp/private_key_8098692048718756756.key (/w/workspace/xfoundry_device-modbus-go_PR-339@tmp/private_key_8098692048718756756.key) [2022-04-27T09:59:32.363Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T09:59:32.718Z] + git tag --points-at HEAD [Pipeline] } [2022-04-27T09:59:32.752Z] $ docker exec --env ******** --env ******** d5b221f5cd56c25d1e7e9579a18b5d8f497f72b35197b0e23c3a13dd23341649 ssh-agent -k [2022-04-27T09:59:32.881Z] unset SSH_AUTH_SOCK; [2022-04-27T09:59:32.881Z] unset SSH_AGENT_PID; [2022-04-27T09:59:32.881Z] echo Agent pid 21 killed; [2022-04-27T09:59:32.889Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-27T09:59:32.973Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T09:59:32.973Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T09:59:33.106Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T09:59:33.115Z] $ docker exec d5b221f5cd56c25d1e7e9579a18b5d8f497f72b35197b0e23c3a13dd23341649 ssh-agent [2022-04-27T09:59:33.258Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoDDKMn/agent.56 [2022-04-27T09:59:33.258Z] SSH_AGENT_PID=63 [2022-04-27T09:59:33.264Z] Running ssh-add (command line suppressed) [2022-04-27T09:59:33.380Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-339@tmp/private_key_6730546492387086510.key (/w/workspace/xfoundry_device-modbus-go_PR-339@tmp/private_key_6730546492387086510.key) [2022-04-27T09:59:33.391Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T09:59:33.728Z] + git semver init [2022-04-27T09:59:33.728Z] # -> Open(): unable to determine branch for HEAD [2022-04-27T09:59:33.728Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-339/.git [2022-04-27T09:59:33.728Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-339 [2022-04-27T09:59:33.728Z] # $SEMVER_REMOTE_NAME = origin [2022-04-27T09:59:33.728Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-27T09:59:33.728Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-27T09:59:33.728Z] # $SEMVER_BRANCH = PR-339 [2022-04-27T09:59:33.728Z] # $SEMVER_TEMP = /tmp/semver-131939968 [2022-04-27T09:59:33.728Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2022-04-27T09:59:34.673Z] # '/tmp/semver-131939968' -> '/w/workspace/xfoundry_device-modbus-go_PR-339/.semver' [2022-04-27T09:59:34.673Z] # -> Force: false [2022-04-27T09:59:34.673Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-339/.semver [Pipeline] } [2022-04-27T09:59:34.704Z] $ docker exec --env ******** --env ******** d5b221f5cd56c25d1e7e9579a18b5d8f497f72b35197b0e23c3a13dd23341649 ssh-agent -k [2022-04-27T09:59:34.834Z] unset SSH_AUTH_SOCK; [2022-04-27T09:59:34.834Z] unset SSH_AGENT_PID; [2022-04-27T09:59:34.835Z] echo Agent pid 63 killed; [2022-04-27T09:59:34.842Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-27T09:59:35.273Z] + git semver [Pipeline] } [2022-04-27T09:59:35.313Z] $ docker stop --time=1 d5b221f5cd56c25d1e7e9579a18b5d8f497f72b35197b0e23c3a13dd23341649 [2022-04-27T09:59:36.666Z] $ docker rm -f d5b221f5cd56c25d1e7e9579a18b5d8f497f72b35197b0e23c3a13dd23341649 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T09:59:37.084Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-27T09:59:37.398Z] Stashed 1 file(s) [Pipeline] echo [2022-04-27T09:59:37.420Z] [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-27T09:59:37.979Z] provisioning config files... [2022-04-27T09:59:37.989Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-339@tmp/config4286124523295546846tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T09:59:38.331Z] ---> docker-login.sh [2022-04-27T09:59:38.331Z] nexus3.edgexfoundry.org:10001 [2022-04-27T09:59:38.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T09:59:38.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T09:59:38.331Z] Configure a credential helper to remove this warning. See [2022-04-27T09:59:38.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T09:59:38.331Z] [2022-04-27T09:59:38.331Z] Login Succeeded [2022-04-27T09:59:38.331Z] nexus3.edgexfoundry.org:10002 [2022-04-27T09:59:38.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T09:59:38.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T09:59:38.591Z] Configure a credential helper to remove this warning. See [2022-04-27T09:59:38.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T09:59:38.591Z] [2022-04-27T09:59:38.591Z] Login Succeeded [2022-04-27T09:59:38.591Z] nexus3.edgexfoundry.org:10003 [2022-04-27T09:59:38.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T09:59:38.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T09:59:38.591Z] Configure a credential helper to remove this warning. See [2022-04-27T09:59:38.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T09:59:38.591Z] [2022-04-27T09:59:38.591Z] Login Succeeded [2022-04-27T09:59:38.591Z] nexus3.edgexfoundry.org:10004 [2022-04-27T09:59:38.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T09:59:38.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T09:59:38.852Z] Configure a credential helper to remove this warning. See [2022-04-27T09:59:38.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T09:59:38.852Z] [2022-04-27T09:59:38.852Z] Login Succeeded [2022-04-27T09:59:38.852Z] docker.io [2022-04-27T09:59:38.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T09:59:39.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T09:59:39.113Z] Configure a credential helper to remove this warning. See [2022-04-27T09:59:39.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T09:59:39.113Z] [2022-04-27T09:59:39.113Z] Login Succeeded [2022-04-27T09:59:39.113Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T09:59:39.142Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-27T09:59:39.337Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-27T09:59:39.368Z] ========================================================= [2022-04-27T09:59:39.368Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-27T09:59:39.368Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-27T09:59:39.777Z] + 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-27T09:59:39.777Z] Sending build context to Docker daemon 5.894MB [2022-04-27T09:59:39.777Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T09:59:39.777Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-27T09:59:39.777Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-27T09:59:39.777Z] 59bf1c3509f3: Pulling fs layer [2022-04-27T09:59:39.777Z] 666ba61612fd: Pulling fs layer [2022-04-27T09:59:39.777Z] 8ed8ca486205: Pulling fs layer [2022-04-27T09:59:39.777Z] 4fe6c5a15a65: Pulling fs layer [2022-04-27T09:59:39.777Z] 22a0e8bec74d: Pulling fs layer [2022-04-27T09:59:39.777Z] ca2b28591e48: Pulling fs layer [2022-04-27T09:59:39.777Z] a51346096db8: Pulling fs layer [2022-04-27T09:59:39.777Z] daebc70d1ce1: Pulling fs layer [2022-04-27T09:59:39.777Z] 0e18a0eac166: Pulling fs layer [2022-04-27T09:59:39.777Z] ca2b28591e48: Waiting [2022-04-27T09:59:39.777Z] 0e18a0eac166: Waiting [2022-04-27T09:59:39.777Z] a51346096db8: Waiting [2022-04-27T09:59:39.777Z] daebc70d1ce1: Waiting [2022-04-27T09:59:39.777Z] 4fe6c5a15a65: Waiting [2022-04-27T09:59:39.777Z] 22a0e8bec74d: Waiting [2022-04-27T09:59:39.777Z] 8ed8ca486205: Download complete [2022-04-27T09:59:39.777Z] 666ba61612fd: Download complete [2022-04-27T09:59:40.039Z] 22a0e8bec74d: Verifying Checksum [2022-04-27T09:59:40.039Z] 22a0e8bec74d: Download complete [2022-04-27T09:59:40.039Z] ca2b28591e48: Verifying Checksum [2022-04-27T09:59:40.039Z] ca2b28591e48: Download complete [2022-04-27T09:59:40.039Z] a51346096db8: Verifying Checksum [2022-04-27T09:59:40.039Z] a51346096db8: Download complete [2022-04-27T09:59:40.039Z] 59bf1c3509f3: Verifying Checksum [2022-04-27T09:59:40.039Z] daebc70d1ce1: Verifying Checksum [2022-04-27T09:59:40.039Z] daebc70d1ce1: Download complete [2022-04-27T09:59:40.039Z] 59bf1c3509f3: Pull complete [2022-04-27T09:59:40.303Z] 666ba61612fd: Pull complete [2022-04-27T09:59:40.303Z] 8ed8ca486205: Pull complete [2022-04-27T09:59:40.567Z] 0e18a0eac166: Verifying Checksum [2022-04-27T09:59:40.567Z] 0e18a0eac166: Download complete [2022-04-27T09:59:40.828Z] 4fe6c5a15a65: Verifying Checksum [2022-04-27T09:59:40.828Z] 4fe6c5a15a65: Download complete [2022-04-27T09:59:45.032Z] 4fe6c5a15a65: Pull complete [2022-04-27T09:59:45.294Z] 22a0e8bec74d: Pull complete [2022-04-27T09:59:45.294Z] ca2b28591e48: Pull complete [2022-04-27T09:59:45.558Z] a51346096db8: Pull complete [2022-04-27T09:59:45.558Z] daebc70d1ce1: Pull complete [2022-04-27T09:59:48.126Z] 0e18a0eac166: Pull complete [2022-04-27T09:59:48.126Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-27T09:59:48.126Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-27T09:59:48.126Z] ---> f018257e8ee9 [2022-04-27T09:59:48.126Z] Step 3/10 : ARG MAKE='make build' [2022-04-27T09:59:49.518Z] ---> Running in 06e66fce4d1b [2022-04-27T09:59:49.778Z] Removing intermediate container 06e66fce4d1b [2022-04-27T09:59:49.778Z] ---> 1050a52ee604 [2022-04-27T09:59:49.778Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T09:59:49.778Z] ---> Running in 87c9b6714580 [2022-04-27T09:59:50.349Z] Removing intermediate container 87c9b6714580 [2022-04-27T09:59:50.349Z] ---> 3129299c4d1e [2022-04-27T09:59:50.349Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-27T09:59:50.349Z] ---> Running in 9e1ac589d791 [2022-04-27T09:59:50.609Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-27T09:59:51.557Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-27T09:59:51.819Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-27T09:59:51.819Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-27T09:59:51.819Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-27T09:59:52.081Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-27T09:59:52.081Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-27T09:59:52.081Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-27T09:59:52.343Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-27T09:59:52.343Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-27T09:59:52.343Z] Executing busybox-1.34.1-r3.trigger [2022-04-27T09:59:52.343Z] OK: 226 MiB in 60 packages [2022-04-27T09:59:52.816Z] Still waiting to schedule task [2022-04-27T09:59:52.816Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-33456’ is offline [2022-04-27T09:59:52.918Z] Removing intermediate container 9e1ac589d791 [2022-04-27T09:59:52.918Z] ---> 59196c461600 [2022-04-27T09:59:52.918Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-27T09:59:52.918Z] ---> Running in 60c7711b70ee [2022-04-27T09:59:53.179Z] Removing intermediate container 60c7711b70ee [2022-04-27T09:59:53.179Z] ---> c7009795742d [2022-04-27T09:59:53.179Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-27T09:59:53.179Z] ---> c8f981e7655e [2022-04-27T09:59:53.179Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T09:59:53.179Z] ---> Running in ca96e92786d0 [2022-04-27T10:00:08.119Z] Removing intermediate container ca96e92786d0 [2022-04-27T10:00:08.119Z] ---> 7d0f3aa0cfd2 [2022-04-27T10:00:08.119Z] Step 9/10 : COPY . . [2022-04-27T10:00:08.119Z] ---> 4beeb06d21ff [2022-04-27T10:00:08.119Z] Step 10/10 : RUN ${MAKE} [2022-04-27T10:00:08.380Z] ---> Running in fb6a7a8bba5a [2022-04-27T10:00:08.641Z] noop [2022-04-27T10:00:08.904Z] Removing intermediate container fb6a7a8bba5a [2022-04-27T10:00:08.904Z] ---> c5eb3dfeec72 [2022-04-27T10:00:08.904Z] Successfully built c5eb3dfeec72 [2022-04-27T10:00:08.904Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T10:00:09.235Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-27T10:00:09.235Z] . [Pipeline] withDockerContainer [2022-04-27T10:00:09.325Z] prd-ubuntu20.04-docker-8c-8g-33457 does not seem to be running inside a container [2022-04-27T10:00:09.378Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-339 -v /w/workspace/xfoundry_device-modbus-go_PR-339:/w/workspace/xfoundry_device-modbus-go_PR-339:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-339@tmp:/w/workspace/xfoundry_device-modbus-go_PR-339@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 ******** ci-base-image-x86_64 cat [2022-04-27T10:00:09.785Z] $ docker top 7d2061cb4033212e5ead08f15795633505cad60bba20c2ba80241ff17e89ed2e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T10:00:10.329Z] + go version [2022-04-27T10:00:10.329Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-27T10:00:10.369Z] $ docker stop --time=1 7d2061cb4033212e5ead08f15795633505cad60bba20c2ba80241ff17e89ed2e [2022-04-27T10:00:11.675Z] $ docker rm -f 7d2061cb4033212e5ead08f15795633505cad60bba20c2ba80241ff17e89ed2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T10:00:12.385Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-27T10:00:12.385Z] . [Pipeline] withDockerContainer [2022-04-27T10:00:12.511Z] prd-ubuntu20.04-docker-8c-8g-33457 does not seem to be running inside a container [2022-04-27T10:00:12.556Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-339 -v /w/workspace/xfoundry_device-modbus-go_PR-339:/w/workspace/xfoundry_device-modbus-go_PR-339:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-339@tmp:/w/workspace/xfoundry_device-modbus-go_PR-339@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 ******** ci-base-image-x86_64 cat [2022-04-27T10:00:12.974Z] $ docker top 32bb18604e066346d7f186dcb3cdbc26b8b8726dbe41fd786772859de81d30ba -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-27T10:00:13.439Z] + make test [2022-04-27T10:00:13.439Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-27T10:00:13.700Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-27T10:00:25.938Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-27T10:00:25.938Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 46.4% of statements [2022-04-27T10:00:32.527Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-27T10:00:36.736Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-27T10:00:36.736Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-27T10:00:36.998Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-27T10:00:37.599Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-27T10:00:37.633Z] $ docker stop --time=1 32bb18604e066346d7f186dcb3cdbc26b8b8726dbe41fd786772859de81d30ba [2022-04-27T10:00:39.317Z] $ docker rm -f 32bb18604e066346d7f186dcb3cdbc26b8b8726dbe41fd786772859de81d30ba [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T10:00:39.829Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-27T10:00:39.891Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-27T10:00:41.162Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-27T10:00:41.479Z] + ls -al . [2022-04-27T10:00:41.479Z] total 180 [2022-04-27T10:00:41.479Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 10:00 . [2022-04-27T10:00:41.479Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 09:59 .. [2022-04-27T10:00:41.479Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 09:59 .dockerignore [2022-04-27T10:00:41.479Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 09:59 .git [2022-04-27T10:00:41.479Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 09:59 .github [2022-04-27T10:00:41.479Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 27 09:59 .gitignore [2022-04-27T10:00:41.479Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 09:59 .golangci.yml [2022-04-27T10:00:41.479Z] drwx------ 3 jenkins jenkins 4096 Apr 27 09:59 .semver [2022-04-27T10:00:41.479Z] -rw-rw-r-- 1 jenkins jenkins 9377 Apr 27 09:59 Attribution.txt [2022-04-27T10:00:41.479Z] -rw-rw-r-- 1 jenkins jenkins 6038 Apr 27 09:59 CHANGELOG.md [2022-04-27T10:00:41.479Z] -rw-rw-r-- 1 jenkins jenkins 1546 Apr 27 09:59 Dockerfile [2022-04-27T10:00:41.479Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 09:59 GOVERNANCE.md [2022-04-27T10:00:41.479Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 27 09:59 Jenkinsfile [2022-04-27T10:00:41.479Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 09:59 LICENSE [2022-04-27T10:00:41.479Z] -rw-rw-r-- 1 jenkins jenkins 1905 Apr 27 09:59 Makefile [2022-04-27T10:00:41.479Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 27 09:59 OWNERS.md [2022-04-27T10:00:41.479Z] -rw-rw-r-- 1 jenkins jenkins 3680 Apr 27 09:59 README.md [2022-04-27T10:00:41.479Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 09:59 VERSION [2022-04-27T10:00:41.479Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 09:59 bin [2022-04-27T10:00:41.479Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 09:59 cmd [2022-04-27T10:00:41.479Z] -rw-r--r-- 1 jenkins jenkins 24065 Apr 27 10:00 coverage.out [2022-04-27T10:00:41.479Z] -rw-rw-r-- 1 jenkins jenkins 3399 Apr 27 09:59 go.mod [2022-04-27T10:00:41.479Z] -rw-rw-r-- 1 jenkins jenkins 35075 Apr 27 09:59 go.sum [2022-04-27T10:00:41.479Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 09:59 internal [2022-04-27T10:00:41.479Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 09:59 simulator [2022-04-27T10:00:41.479Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 09:59 snap [2022-04-27T10:00:41.479Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 27 09:59 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-27T10:00:41.832Z] + 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=ce482a524a6fbae6af8ef034fc3c09305a0243e8 --label arch=amd64 --label version=0.0.0 . [2022-04-27T10:00:41.832Z] Sending build context to Docker daemon 5.919MB [2022-04-27T10:00:41.832Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T10:00:41.832Z] Step 2/23 : FROM ${BASE} AS builder [2022-04-27T10:00:41.832Z] ---> c5eb3dfeec72 [2022-04-27T10:00:41.832Z] Step 3/23 : ARG MAKE='make build' [2022-04-27T10:00:41.832Z] ---> Running in 54b7839b1029 [2022-04-27T10:00:42.094Z] Removing intermediate container 54b7839b1029 [2022-04-27T10:00:42.094Z] ---> 124d3e6bb321 [2022-04-27T10:00:42.094Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T10:00:42.094Z] ---> Running in 807f1ff6cce5 [2022-04-27T10:00:42.676Z] Removing intermediate container 807f1ff6cce5 [2022-04-27T10:00:42.676Z] ---> 06f7e025a0f9 [2022-04-27T10:00:42.676Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-27T10:00:42.676Z] ---> Running in 22631abd0f1c [2022-04-27T10:00:42.936Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-27T10:00:43.882Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-27T10:00:44.145Z] OK: 226 MiB in 60 packages [2022-04-27T10:00:44.407Z] Removing intermediate container 22631abd0f1c [2022-04-27T10:00:44.407Z] ---> 9203a7baea91 [2022-04-27T10:00:44.407Z] Step 6/23 : WORKDIR /device-modbus-go [2022-04-27T10:00:44.407Z] ---> Running in fd5f97f2d4a5 [2022-04-27T10:00:44.667Z] Removing intermediate container fd5f97f2d4a5 [2022-04-27T10:00:44.667Z] ---> 2a39654eff8e [2022-04-27T10:00:44.667Z] Step 7/23 : COPY go.mod vendor* ./ [2022-04-27T10:00:44.667Z] ---> 932b63c33d75 [2022-04-27T10:00:44.667Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T10:00:44.667Z] ---> Running in e6e3830fbf61 [2022-04-27T10:00:45.608Z] Removing intermediate container e6e3830fbf61 [2022-04-27T10:00:45.608Z] ---> b4a855343787 [2022-04-27T10:00:45.608Z] Step 9/23 : COPY . . [2022-04-27T10:00:45.869Z] ---> acb73edfa905 [2022-04-27T10:00:45.869Z] Step 10/23 : RUN ${MAKE} [2022-04-27T10:00:45.869Z] ---> Running in cc2f1a4f2d3d [2022-04-27T10:00:46.130Z] 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-27T10:01:08.106Z] Removing intermediate container cc2f1a4f2d3d [2022-04-27T10:01:08.106Z] ---> f67885a0b948 [2022-04-27T10:01:08.106Z] Step 11/23 : FROM alpine:3.14 [2022-04-27T10:01:08.106Z] 3.14: Pulling from library/alpine [2022-04-27T10:01:08.106Z] 8663204ce13b: Pulling fs layer [2022-04-27T10:01:08.369Z] 8663204ce13b: Verifying Checksum [2022-04-27T10:01:08.369Z] 8663204ce13b: Download complete [2022-04-27T10:01:08.632Z] 8663204ce13b: Pull complete [2022-04-27T10:01:08.632Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-27T10:01:08.632Z] Status: Downloaded newer image for alpine:3.14 [2022-04-27T10:01:08.632Z] ---> e04c818066af [2022-04-27T10:01:08.632Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-04-27T10:01:08.632Z] ---> Running in e55e0e52fe89 [2022-04-27T10:01:08.632Z] Removing intermediate container e55e0e52fe89 [2022-04-27T10:01:08.632Z] ---> e52e26098a7e [2022-04-27T10:01:08.632Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T10:01:08.894Z] ---> Running in caf0809aec33 [2022-04-27T10:01:09.467Z] Removing intermediate container caf0809aec33 [2022-04-27T10:01:09.467Z] ---> 7ad99c89d927 [2022-04-27T10:01:09.467Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-27T10:01:09.467Z] ---> Running in 4d0b76675620 [2022-04-27T10:01:09.729Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-27T10:01:10.673Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-27T10:01:10.934Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-27T10:01:10.934Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-27T10:01:10.934Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-27T10:01:11.196Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-27T10:01:11.196Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-27T10:01:11.196Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-27T10:01:11.457Z] Executing busybox-1.33.1-r7.trigger [2022-04-27T10:01:11.457Z] OK: 8 MiB in 20 packages [2022-04-27T10:01:11.718Z] Removing intermediate container 4d0b76675620 [2022-04-27T10:01:11.718Z] ---> 3e5426f2fa9e [2022-04-27T10:01:11.718Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-04-27T10:01:12.289Z] ---> 1dc4660fba84 [2022-04-27T10:01:12.289Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-04-27T10:01:12.548Z] ---> 9a80cf5dfdfd [2022-04-27T10:01:12.548Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-04-27T10:01:12.818Z] ---> 8eb91730e667 [2022-04-27T10:01:12.818Z] Step 18/23 : EXPOSE 59901 [2022-04-27T10:01:12.818Z] ---> Running in d16efdb4f7be [2022-04-27T10:01:12.818Z] Removing intermediate container d16efdb4f7be [2022-04-27T10:01:12.818Z] ---> 9fdd31948d5d [2022-04-27T10:01:12.818Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-04-27T10:01:12.818Z] ---> Running in 8ecf14a3fde8 [2022-04-27T10:01:12.818Z] Removing intermediate container 8ecf14a3fde8 [2022-04-27T10:01:12.818Z] ---> 724fb5783b11 [2022-04-27T10:01:12.818Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-27T10:01:13.079Z] ---> Running in 1b626113ff21 [2022-04-27T10:01:13.079Z] Removing intermediate container 1b626113ff21 [2022-04-27T10:01:13.079Z] ---> 38d1e4c89d8d [2022-04-27T10:01:13.079Z] Step 21/23 : LABEL arch=amd64 [2022-04-27T10:01:13.079Z] ---> Running in 99cec3539dea [2022-04-27T10:01:13.079Z] Removing intermediate container 99cec3539dea [2022-04-27T10:01:13.079Z] ---> ec9d2f691301 [2022-04-27T10:01:13.079Z] Step 22/23 : LABEL git_sha=ce482a524a6fbae6af8ef034fc3c09305a0243e8 [2022-04-27T10:01:13.340Z] ---> Running in 899a6760c643 [2022-04-27T10:01:13.340Z] Removing intermediate container 899a6760c643 [2022-04-27T10:01:13.340Z] ---> 7b77045633f9 [2022-04-27T10:01:13.340Z] Step 23/23 : LABEL version=0.0.0 [2022-04-27T10:01:13.340Z] ---> Running in a4158f996da9 [2022-04-27T10:01:13.340Z] Removing intermediate container a4158f996da9 [2022-04-27T10:01:13.340Z] ---> f82a5e0487f6 [2022-04-27T10:01:13.340Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-27T10:01:13.340Z] Successfully built f82a5e0487f6 [2022-04-27T10:01:13.340Z] 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-27T10:01:14.040Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T10:01:14.041Z] [2022-04-27T10:01:14.041Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T10:01:14.381Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T10:01:14.382Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-27T10:01:14.382Z] 5eb5b503b376: Pulling fs layer [2022-04-27T10:01:14.382Z] 5c69ac0246d0: Pulling fs layer [2022-04-27T10:01:14.382Z] ec43610c2a17: Pulling fs layer [2022-04-27T10:01:14.382Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-27T10:01:14.382Z] 33b1e0a273af: Pulling fs layer [2022-04-27T10:01:14.382Z] 5d3b04190fa2: Pulling fs layer [2022-04-27T10:01:14.382Z] 2f39f015ded8: Pulling fs layer [2022-04-27T10:01:14.382Z] 5d3b04190fa2: Waiting [2022-04-27T10:01:14.382Z] 33b1e0a273af: Waiting [2022-04-27T10:01:14.382Z] 2f39f015ded8: Waiting [2022-04-27T10:01:14.382Z] 3a2ae6a8a46f: Waiting [2022-04-27T10:01:14.382Z] 5c69ac0246d0: Download complete [2022-04-27T10:01:14.382Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-27T10:01:14.382Z] 3a2ae6a8a46f: Download complete [2022-04-27T10:01:14.382Z] 33b1e0a273af: Verifying Checksum [2022-04-27T10:01:14.382Z] 33b1e0a273af: Download complete [2022-04-27T10:01:14.646Z] ec43610c2a17: Verifying Checksum [2022-04-27T10:01:14.646Z] ec43610c2a17: Download complete [2022-04-27T10:01:14.646Z] 5d3b04190fa2: Verifying Checksum [2022-04-27T10:01:14.646Z] 5d3b04190fa2: Download complete [2022-04-27T10:01:14.646Z] 5eb5b503b376: Verifying Checksum [2022-04-27T10:01:14.646Z] 5eb5b503b376: Download complete [2022-04-27T10:01:15.585Z] 2f39f015ded8: Download complete [2022-04-27T10:01:16.156Z] 5eb5b503b376: Pull complete [2022-04-27T10:01:16.418Z] 5c69ac0246d0: Pull complete [2022-04-27T10:01:16.988Z] ec43610c2a17: Pull complete [2022-04-27T10:01:16.988Z] 3a2ae6a8a46f: Pull complete [2022-04-27T10:01:17.248Z] 33b1e0a273af: Pull complete [2022-04-27T10:01:17.248Z] 5d3b04190fa2: Pull complete [2022-04-27T10:01:22.527Z] 2f39f015ded8: Pull complete [2022-04-27T10:01:22.528Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-27T10:01:22.528Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T10:01:22.528Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-27T10:01:22.620Z] prd-ubuntu20.04-docker-8c-8g-33457 does not seem to be running inside a container [2022-04-27T10:01:22.706Z] $ 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-339 -v /w/workspace/xfoundry_device-modbus-go_PR-339:/w/workspace/xfoundry_device-modbus-go_PR-339:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-339@tmp:/w/workspace/xfoundry_device-modbus-go_PR-339@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-27T10:01:24.611Z] $ docker top edfbba1fe50f1006735917f135fe65b036c8cb5afd94fd0b183e55ad7b72ec78 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T10:01:25.131Z] ---> job-cost.sh [2022-04-27T10:01:25.132Z] lf-activate-venv: SKIPPING [2022-04-27T10:01:25.132Z] INFO: No Stack... [2022-04-27T10:01:25.704Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-27T10:01:26.272Z] INFO: Archiving Costs [Pipeline] sh [2022-04-27T10:01:26.598Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-339/archives/cost.csv [2022-04-27T10:01:26.598Z] + cut -d, -f6 [Pipeline] lock [2022-04-27T10:01:26.638Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-339-1-stack-cost] [2022-04-27T10:01:26.644Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-339-1-stack-cost] did not exist. Created. [2022-04-27T10:01:26.644Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-339-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-27T10:01:26.852Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-33458 in /w/workspace/xfoundry_device-modbus-go_PR-339 [Pipeline] { [Pipeline] ws [2022-04-27T10:01:26.896Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-04-27T10:01:27.059Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-27T10:01:27.107Z] Stashed 1 file(s) [Pipeline] } [2022-04-27T10:01:27.131Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-339-1-stack-cost] [2022-04-27T10:01:27.158Z] Selected Git installation does not exist. Using Default [2022-04-27T10:01:27.158Z] The recommended git tool is: NONE [Pipeline] // lock [Pipeline] } [2022-04-27T10:01:27.214Z] $ docker stop --time=1 edfbba1fe50f1006735917f135fe65b036c8cb5afd94fd0b183e55ad7b72ec78 [2022-04-27T10:01:28.371Z] $ docker rm -f edfbba1fe50f1006735917f135fe65b036c8cb5afd94fd0b183e55ad7b72ec78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-27T10:01:33.926Z] using credential edgex-jenkins-ssh [2022-04-27T10:01:33.984Z] Cloning the remote Git repository [2022-04-27T10:01:34.046Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-04-27T10:01:34.119Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-04-27T10:01:34.202Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-04-27T10:01:34.203Z] > git --version # timeout=10 [2022-04-27T10:01:34.224Z] > git --version # 'git version 2.25.1' [2022-04-27T10:01:34.226Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-27T10:01:34.397Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-27T10:01:36.163Z] Merging remotes/origin/main commit e01a1226a5cf77919213724cb5799907c2b0adaa into PR head commit ce482a524a6fbae6af8ef034fc3c09305a0243e8 [2022-04-27T10:01:36.388Z] Merge succeeded, producing ce482a524a6fbae6af8ef034fc3c09305a0243e8 [2022-04-27T10:01:36.389Z] Checking out Revision ce482a524a6fbae6af8ef034fc3c09305a0243e8 (PR-339) [2022-04-27T10:01:35.491Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-04-27T10:01:35.518Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-27T10:01:35.546Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-04-27T10:01:35.575Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-04-27T10:01:35.576Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-27T10:01:35.588Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/339/head:refs/remotes/origin/PR-339 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-27T10:01:36.185Z] > git config core.sparsecheckout # timeout=10 [2022-04-27T10:01:36.206Z] > git checkout -f ce482a524a6fbae6af8ef034fc3c09305a0243e8 # timeout=10 [2022-04-27T10:01:36.298Z] > git remote # timeout=10 [2022-04-27T10:01:36.316Z] > git config --get remote.origin.url # timeout=10 [2022-04-27T10:01:36.336Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-27T10:01:36.347Z] > git merge e01a1226a5cf77919213724cb5799907c2b0adaa # timeout=10 [2022-04-27T10:01:36.371Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-27T10:01:36.398Z] > git config core.sparsecheckout # timeout=10 [2022-04-27T10:01:36.417Z] > git checkout -f ce482a524a6fbae6af8ef034fc3c09305a0243e8 # timeout=10 [2022-04-27T10:01:40.575Z] Commit message: "feat: Bump device-sdk-go version and update configuration.toml" [2022-04-27T10:01:40.630Z] > git --version # timeout=10 [2022-04-27T10:01:40.639Z] > git --version # 'git version 2.25.1' [2022-04-27T10:01:40.650Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T10:01:41.827Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-27T10:01:41.827Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-27T10:01:41.827Z] Dload Upload Total Spent Left Speed [2022-04-27T10:01:41.827Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 96284 0 --:--:-- --:--:-- --:--:-- 96284 [Pipeline] sh [2022-04-27T10:01:42.467Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-27T10:01:42.873Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2022-04-27T10:01:42.873Z] [2022-04-27T10:01:42.873Z] { [2022-04-27T10:01:42.873Z] "registry-mirrors": [ [2022-04-27T10:01:42.873Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-27T10:01:42.873Z] ], [2022-04-27T10:01:42.873Z] "bip": "10.250.0.254/24", [2022-04-27T10:01:42.873Z] "hosts": [ [2022-04-27T10:01:42.873Z] "tcp://0.0.0.0:5555", [2022-04-27T10:01:42.873Z] "unix:///var/run/docker.sock" [2022-04-27T10:01:42.873Z] ], [2022-04-27T10:01:42.873Z] "mtu": 1458, [2022-04-27T10:01:42.873Z] "selinux-enabled": true, [2022-04-27T10:01:42.873Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-27T10:01:42.873Z] } [Pipeline] sh [2022-04-27T10:01:43.226Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-27T10:01:43.579Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T10:02:01.960Z] provisioning config files... [2022-04-27T10:02:01.984Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config7289114098907594061tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T10:02:02.556Z] ---> docker-login.sh [2022-04-27T10:02:02.556Z] nexus3.edgexfoundry.org:10001 [2022-04-27T10:02:03.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T10:02:03.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T10:02:03.426Z] Configure a credential helper to remove this warning. See [2022-04-27T10:02:03.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T10:02:03.426Z] [2022-04-27T10:02:03.426Z] Login Succeeded [2022-04-27T10:02:03.426Z] nexus3.edgexfoundry.org:10002 [2022-04-27T10:02:03.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T10:02:03.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T10:02:03.698Z] Configure a credential helper to remove this warning. See [2022-04-27T10:02:03.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T10:02:03.698Z] [2022-04-27T10:02:03.698Z] Login Succeeded [2022-04-27T10:02:03.972Z] nexus3.edgexfoundry.org:10003 [2022-04-27T10:02:04.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T10:02:04.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T10:02:04.249Z] Configure a credential helper to remove this warning. See [2022-04-27T10:02:04.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T10:02:04.249Z] [2022-04-27T10:02:04.249Z] Login Succeeded [2022-04-27T10:02:04.249Z] nexus3.edgexfoundry.org:10004 [2022-04-27T10:02:04.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T10:02:04.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T10:02:04.795Z] Configure a credential helper to remove this warning. See [2022-04-27T10:02:04.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T10:02:04.795Z] [2022-04-27T10:02:04.795Z] Login Succeeded [2022-04-27T10:02:04.795Z] docker.io [2022-04-27T10:02:05.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T10:02:05.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T10:02:05.341Z] Configure a credential helper to remove this warning. See [2022-04-27T10:02:05.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T10:02:05.341Z] [2022-04-27T10:02:05.341Z] Login Succeeded [2022-04-27T10:02:05.341Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T10:02:05.373Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-27T10:02:05.768Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-27T10:02:05.802Z] ========================================================= [2022-04-27T10:02:05.802Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-27T10:02:05.802Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-27T10:02:06.256Z] + 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-27T10:02:06.529Z] Sending build context to Docker daemon 3.117MB [2022-04-27T10:02:06.529Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T10:02:06.529Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-27T10:02:06.805Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-27T10:02:06.805Z] 9b3977197b4f: Pulling fs layer [2022-04-27T10:02:06.805Z] 1a89e8eeedd5: Pulling fs layer [2022-04-27T10:02:06.805Z] 94645a83ff95: Pulling fs layer [2022-04-27T10:02:06.805Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-27T10:02:06.805Z] 0c92f367c5e7: Pulling fs layer [2022-04-27T10:02:06.805Z] 3096ccb668a1: Pulling fs layer [2022-04-27T10:02:06.805Z] e8cf19c19ddd: Pulling fs layer [2022-04-27T10:02:06.805Z] a4caa8a26152: Pulling fs layer [2022-04-27T10:02:06.805Z] 3f3a8bcf1eab: Waiting [2022-04-27T10:02:06.805Z] 0c92f367c5e7: Waiting [2022-04-27T10:02:06.805Z] 3096ccb668a1: Waiting [2022-04-27T10:02:06.805Z] e8cf19c19ddd: Waiting [2022-04-27T10:02:06.805Z] a4caa8a26152: Waiting [2022-04-27T10:02:06.805Z] 94645a83ff95: Verifying Checksum [2022-04-27T10:02:06.805Z] 94645a83ff95: Download complete [2022-04-27T10:02:06.805Z] 1a89e8eeedd5: Verifying Checksum [2022-04-27T10:02:06.805Z] 1a89e8eeedd5: Download complete [2022-04-27T10:02:06.805Z] 0c92f367c5e7: Download complete [2022-04-27T10:02:06.805Z] 3096ccb668a1: Verifying Checksum [2022-04-27T10:02:06.805Z] e8cf19c19ddd: Verifying Checksum [2022-04-27T10:02:06.805Z] e8cf19c19ddd: Download complete [2022-04-27T10:02:06.805Z] 9b3977197b4f: Verifying Checksum [2022-04-27T10:02:07.805Z] 9b3977197b4f: Pull complete [2022-04-27T10:02:08.082Z] 1a89e8eeedd5: Pull complete [2022-04-27T10:02:08.362Z] 94645a83ff95: Pull complete [2022-04-27T10:02:08.962Z] a4caa8a26152: Verifying Checksum [2022-04-27T10:02:08.963Z] a4caa8a26152: Download complete [2022-04-27T10:02:09.561Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-27T10:02:09.561Z] 3f3a8bcf1eab: Download complete [2022-04-27T10:02:21.999Z] 3f3a8bcf1eab: Pull complete [2022-04-27T10:02:21.999Z] 0c92f367c5e7: Pull complete [2022-04-27T10:02:21.999Z] 3096ccb668a1: Pull complete [2022-04-27T10:02:22.280Z] e8cf19c19ddd: Pull complete [2022-04-27T10:02:29.016Z] a4caa8a26152: Pull complete [2022-04-27T10:02:29.016Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-27T10:02:29.016Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-27T10:02:29.016Z] ---> 725f1c02e7f9 [2022-04-27T10:02:29.016Z] Step 3/10 : ARG MAKE='make build' [2022-04-27T10:02:29.617Z] ---> Running in f416d76d2c47 [2022-04-27T10:02:29.902Z] Removing intermediate container f416d76d2c47 [2022-04-27T10:02:29.902Z] ---> fbe1c1a9ae14 [2022-04-27T10:02:29.902Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T10:02:29.902Z] ---> Running in 877ec2bf3f5e [2022-04-27T10:02:31.885Z] Removing intermediate container 877ec2bf3f5e [2022-04-27T10:02:31.885Z] ---> ef92d2ccd0aa [2022-04-27T10:02:31.885Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-27T10:02:31.885Z] ---> Running in a2f0cfd04496 [2022-04-27T10:02:32.874Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-27T10:02:33.857Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-27T10:02:34.845Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-27T10:02:34.845Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-27T10:02:34.845Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-27T10:02:35.118Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-27T10:02:35.118Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-27T10:02:35.118Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-27T10:02:35.394Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-27T10:02:35.394Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-27T10:02:35.668Z] Executing busybox-1.34.1-r3.trigger [2022-04-27T10:02:35.668Z] OK: 226 MiB in 60 packages [2022-04-27T10:02:36.652Z] Removing intermediate container a2f0cfd04496 [2022-04-27T10:02:36.652Z] ---> 119b89b5cf86 [2022-04-27T10:02:36.652Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-27T10:02:36.652Z] ---> Running in 6c25f15e4a6f [2022-04-27T10:02:36.928Z] Removing intermediate container 6c25f15e4a6f [2022-04-27T10:02:36.928Z] ---> 0dc73cc3818c [2022-04-27T10:02:36.928Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-27T10:02:37.530Z] ---> b2ddec5b978c [2022-04-27T10:02:37.530Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T10:02:37.530Z] ---> Running in 7c3e6dd4f9bb [2022-04-27T10:03:24.542Z] Removing intermediate container 7c3e6dd4f9bb [2022-04-27T10:03:24.542Z] ---> c5f9f2403d76 [2022-04-27T10:03:24.542Z] Step 9/10 : COPY . . [2022-04-27T10:03:24.542Z] ---> 3c8cb2a1f170 [2022-04-27T10:03:24.542Z] Step 10/10 : RUN ${MAKE} [2022-04-27T10:03:24.542Z] ---> Running in c5e1b8e7b9fc [2022-04-27T10:03:24.542Z] noop [2022-04-27T10:03:24.542Z] Removing intermediate container c5e1b8e7b9fc [2022-04-27T10:03:24.542Z] ---> c0e41ee05965 [2022-04-27T10:03:24.542Z] Successfully built c0e41ee05965 [2022-04-27T10:03:24.542Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T10:03:24.917Z] + docker inspect -f . ci-base-image-arm64 [2022-04-27T10:03:24.917Z] . [Pipeline] withDockerContainer [2022-04-27T10:03:25.149Z] prd-ubuntu20.04-docker-arm64-4c-16g-33458 does not seem to be running inside a container [2022-04-27T10:03:25.233Z] $ 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-27T10:03:26.470Z] $ docker top 2d8423ed6f2a56334daad1f106db47f2de02e2cc34263a772e14364af030ac56 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T10:03:27.409Z] + go version [2022-04-27T10:03:27.410Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-27T10:03:27.454Z] $ docker stop --time=1 2d8423ed6f2a56334daad1f106db47f2de02e2cc34263a772e14364af030ac56 [2022-04-27T10:03:29.059Z] $ docker rm -f 2d8423ed6f2a56334daad1f106db47f2de02e2cc34263a772e14364af030ac56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T10:03:29.894Z] + docker inspect -f . ci-base-image-arm64 [2022-04-27T10:03:29.895Z] . [Pipeline] withDockerContainer [2022-04-27T10:03:30.150Z] prd-ubuntu20.04-docker-arm64-4c-16g-33458 does not seem to be running inside a container [2022-04-27T10:03:30.237Z] $ 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-27T10:03:31.516Z] $ docker top c7e098faf16af07ef674589dc531110ad72ed27541a687b2be0c7b9ff8f8e87b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-27T10:03:32.489Z] + make test [2022-04-27T10:03:32.489Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-27T10:03:33.929Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-27T10:04:55.820Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-27T10:04:55.820Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.059s coverage: 46.4% of statements [2022-04-27T10:04:55.820Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-27T10:04:55.820Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-27T10:05:18.055Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-27T10:05:18.055Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-27T10:05:18.055Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-27T10:05:18.097Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-27T10:05:18.128Z] $ docker stop --time=1 c7e098faf16af07ef674589dc531110ad72ed27541a687b2be0c7b9ff8f8e87b [2022-04-27T10:05:19.929Z] $ docker rm -f c7e098faf16af07ef674589dc531110ad72ed27541a687b2be0c7b9ff8f8e87b [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T10:05:20.941Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-27T10:05:20.990Z] Warning: overwriting stash ‘coverage-report’ [2022-04-27T10:05:21.474Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T10:05:22.055Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-27T10:05:22.401Z] + ls -al . [2022-04-27T10:05:22.402Z] total 176 [2022-04-27T10:05:22.402Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 10:05 . [2022-04-27T10:05:22.402Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 10:01 .. [2022-04-27T10:05:22.402Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 10:01 .dockerignore [2022-04-27T10:05:22.402Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 10:01 .git [2022-04-27T10:05:22.402Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 10:01 .github [2022-04-27T10:05:22.402Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 27 10:01 .gitignore [2022-04-27T10:05:22.402Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 10:01 .golangci.yml [2022-04-27T10:05:22.402Z] -rw-rw-r-- 1 jenkins jenkins 9377 Apr 27 10:01 Attribution.txt [2022-04-27T10:05:22.402Z] -rw-rw-r-- 1 jenkins jenkins 6038 Apr 27 10:01 CHANGELOG.md [2022-04-27T10:05:22.402Z] -rw-rw-r-- 1 jenkins jenkins 1546 Apr 27 10:01 Dockerfile [2022-04-27T10:05:22.402Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 10:01 GOVERNANCE.md [2022-04-27T10:05:22.402Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 27 10:01 Jenkinsfile [2022-04-27T10:05:22.402Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 10:01 LICENSE [2022-04-27T10:05:22.402Z] -rw-rw-r-- 1 jenkins jenkins 1905 Apr 27 10:01 Makefile [2022-04-27T10:05:22.402Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 27 10:01 OWNERS.md [2022-04-27T10:05:22.402Z] -rw-rw-r-- 1 jenkins jenkins 3680 Apr 27 10:01 README.md [2022-04-27T10:05:22.402Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 09:59 VERSION [2022-04-27T10:05:22.402Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 10:01 bin [2022-04-27T10:05:22.402Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 10:01 cmd [2022-04-27T10:05:22.402Z] -rw-r--r-- 1 jenkins jenkins 24065 Apr 27 10:04 coverage.out [2022-04-27T10:05:22.402Z] -rw-rw-r-- 1 jenkins jenkins 3399 Apr 27 10:01 go.mod [2022-04-27T10:05:22.402Z] -rw-rw-r-- 1 jenkins jenkins 35075 Apr 27 10:01 go.sum [2022-04-27T10:05:22.402Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 10:01 internal [2022-04-27T10:05:22.402Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 10:01 simulator [2022-04-27T10:05:22.402Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 10:01 snap [2022-04-27T10:05:22.402Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 27 10:01 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-27T10:05:22.770Z] + 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=ce482a524a6fbae6af8ef034fc3c09305a0243e8 --label arch=arm64 --label version=0.0.0 . [2022-04-27T10:05:23.044Z] Sending build context to Docker daemon 3.142MB [2022-04-27T10:05:23.044Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T10:05:23.044Z] Step 2/23 : FROM ${BASE} AS builder [2022-04-27T10:05:23.044Z] ---> c0e41ee05965 [2022-04-27T10:05:23.044Z] Step 3/23 : ARG MAKE='make build' [2022-04-27T10:05:23.321Z] ---> Running in 319a70f924ae [2022-04-27T10:05:23.600Z] Removing intermediate container 319a70f924ae [2022-04-27T10:05:23.600Z] ---> b64eada9226b [2022-04-27T10:05:23.600Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T10:05:23.600Z] ---> Running in 6bc597bb1987 [2022-04-27T10:05:25.585Z] Removing intermediate container 6bc597bb1987 [2022-04-27T10:05:25.585Z] ---> ac48e79bd7c3 [2022-04-27T10:05:25.585Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-27T10:05:25.585Z] ---> Running in 9d55aa75e033 [2022-04-27T10:05:26.182Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-27T10:05:27.156Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-27T10:05:28.133Z] OK: 226 MiB in 60 packages [2022-04-27T10:05:28.735Z] Removing intermediate container 9d55aa75e033 [2022-04-27T10:05:28.735Z] ---> 6dd416cfae04 [2022-04-27T10:05:28.735Z] Step 6/23 : WORKDIR /device-modbus-go [2022-04-27T10:05:28.735Z] ---> Running in 6f95e0330abe [2022-04-27T10:05:29.007Z] Removing intermediate container 6f95e0330abe [2022-04-27T10:05:29.007Z] ---> 17c66972514c [2022-04-27T10:05:29.007Z] Step 7/23 : COPY go.mod vendor* ./ [2022-04-27T10:05:29.611Z] ---> ace47c83f73e [2022-04-27T10:05:29.611Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T10:05:29.611Z] ---> Running in 4ae28e506938 [2022-04-27T10:05:31.593Z] Removing intermediate container 4ae28e506938 [2022-04-27T10:05:31.593Z] ---> 618e3f27f479 [2022-04-27T10:05:31.593Z] Step 9/23 : COPY . . [2022-04-27T10:05:32.573Z] ---> 74f59d4d9f03 [2022-04-27T10:05:32.573Z] Step 10/23 : RUN ${MAKE} [2022-04-27T10:05:32.573Z] ---> Running in 3ca76312f74c [2022-04-27T10:05:33.553Z] 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-27T10:07:40.450Z] Removing intermediate container 3ca76312f74c [2022-04-27T10:07:40.450Z] ---> 8cdeb9dca1c9 [2022-04-27T10:07:40.450Z] Step 11/23 : FROM alpine:3.14 [2022-04-27T10:07:40.450Z] 3.14: Pulling from library/alpine [2022-04-27T10:07:40.450Z] 455c02918c45: Pulling fs layer [2022-04-27T10:07:40.450Z] 455c02918c45: Download complete [2022-04-27T10:07:40.450Z] 455c02918c45: Pull complete [2022-04-27T10:07:40.450Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-27T10:07:40.450Z] Status: Downloaded newer image for alpine:3.14 [2022-04-27T10:07:40.450Z] ---> ac73e934f311 [2022-04-27T10:07:40.450Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-04-27T10:07:40.450Z] ---> Running in c1e58e18d968 [2022-04-27T10:07:40.450Z] Removing intermediate container c1e58e18d968 [2022-04-27T10:07:40.450Z] ---> e6a70c7d827c [2022-04-27T10:07:40.450Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T10:07:40.450Z] ---> Running in dfd793f6ac50 [2022-04-27T10:07:40.450Z] Removing intermediate container dfd793f6ac50 [2022-04-27T10:07:40.450Z] ---> e9307b465755 [2022-04-27T10:07:40.450Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-27T10:07:40.450Z] ---> Running in 04bc77a188af [2022-04-27T10:07:40.450Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-27T10:07:40.450Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-27T10:07:40.450Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-27T10:07:40.450Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-27T10:07:40.450Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-27T10:07:40.450Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-27T10:07:40.450Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-27T10:07:40.450Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-27T10:07:40.450Z] Executing busybox-1.33.1-r7.trigger [2022-04-27T10:07:40.450Z] OK: 8 MiB in 20 packages [2022-04-27T10:07:40.450Z] Removing intermediate container 04bc77a188af [2022-04-27T10:07:40.450Z] ---> b2e6dea7d6da [2022-04-27T10:07:40.450Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-04-27T10:07:40.450Z] ---> df0cdf008975 [2022-04-27T10:07:40.450Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-04-27T10:07:40.450Z] ---> 91b00c21c63e [2022-04-27T10:07:40.450Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-04-27T10:07:40.450Z] ---> c19a14356304 [2022-04-27T10:07:40.450Z] Step 18/23 : EXPOSE 59901 [2022-04-27T10:07:40.450Z] ---> Running in d9d6ead96d5f [2022-04-27T10:07:40.450Z] Removing intermediate container d9d6ead96d5f [2022-04-27T10:07:40.450Z] ---> 26c21dbfd6e1 [2022-04-27T10:07:40.450Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-04-27T10:07:40.450Z] ---> Running in 281a41e09b6c [2022-04-27T10:07:40.450Z] Removing intermediate container 281a41e09b6c [2022-04-27T10:07:40.450Z] ---> 6cb73701d757 [2022-04-27T10:07:40.450Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-27T10:07:40.450Z] ---> Running in d5228554304c [2022-04-27T10:07:40.450Z] Removing intermediate container d5228554304c [2022-04-27T10:07:40.451Z] ---> fc71b590a46d [2022-04-27T10:07:40.451Z] Step 21/23 : LABEL arch=arm64 [2022-04-27T10:07:40.451Z] ---> Running in fc75ea2baa63 [2022-04-27T10:07:40.451Z] Removing intermediate container fc75ea2baa63 [2022-04-27T10:07:40.451Z] ---> acfa7e426aef [2022-04-27T10:07:40.451Z] Step 22/23 : LABEL git_sha=ce482a524a6fbae6af8ef034fc3c09305a0243e8 [2022-04-27T10:07:40.451Z] ---> Running in 33e692a516fb [2022-04-27T10:07:40.451Z] Removing intermediate container 33e692a516fb [2022-04-27T10:07:40.451Z] ---> 2b89e8f26ef0 [2022-04-27T10:07:40.451Z] Step 23/23 : LABEL version=0.0.0 [2022-04-27T10:07:40.451Z] ---> Running in 6a23e2ed961c [2022-04-27T10:07:40.451Z] Removing intermediate container 6a23e2ed961c [2022-04-27T10:07:40.451Z] ---> 8805acc4f3d2 [2022-04-27T10:07:40.451Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-27T10:07:40.451Z] Successfully built 8805acc4f3d2 [2022-04-27T10:07:40.451Z] 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-27T10:07:41.140Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T10:07:41.140Z] [2022-04-27T10:07:41.140Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-27T10:07:41.536Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T10:07:41.815Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-27T10:07:41.815Z] 8998bd30e6a1: Pulling fs layer [2022-04-27T10:07:41.815Z] 04944245beec: Pulling fs layer [2022-04-27T10:07:41.815Z] 699f458cf7ca: Pulling fs layer [2022-04-27T10:07:41.815Z] 765212b225bb: Pulling fs layer [2022-04-27T10:07:41.815Z] f23df028b6ca: Pulling fs layer [2022-04-27T10:07:41.815Z] d65c8cfc05b1: Pulling fs layer [2022-04-27T10:07:41.815Z] 2437ff75d9bd: Pulling fs layer [2022-04-27T10:07:41.815Z] 765212b225bb: Waiting [2022-04-27T10:07:41.815Z] f23df028b6ca: Waiting [2022-04-27T10:07:41.815Z] d65c8cfc05b1: Waiting [2022-04-27T10:07:41.815Z] 2437ff75d9bd: Waiting [2022-04-27T10:07:41.815Z] 04944245beec: Download complete [2022-04-27T10:07:41.815Z] 765212b225bb: Verifying Checksum [2022-04-27T10:07:41.815Z] 765212b225bb: Download complete [2022-04-27T10:07:41.815Z] f23df028b6ca: Verifying Checksum [2022-04-27T10:07:41.815Z] f23df028b6ca: Download complete [2022-04-27T10:07:41.815Z] d65c8cfc05b1: Verifying Checksum [2022-04-27T10:07:41.815Z] d65c8cfc05b1: Download complete [2022-04-27T10:07:42.097Z] 699f458cf7ca: Verifying Checksum [2022-04-27T10:07:42.097Z] 699f458cf7ca: Download complete [2022-04-27T10:07:42.376Z] 8998bd30e6a1: Verifying Checksum [2022-04-27T10:07:42.376Z] 8998bd30e6a1: Download complete [2022-04-27T10:07:45.022Z] 2437ff75d9bd: Verifying Checksum [2022-04-27T10:07:47.017Z] 8998bd30e6a1: Pull complete [2022-04-27T10:07:47.017Z] 04944245beec: Pull complete [2022-04-27T10:07:48.458Z] 699f458cf7ca: Pull complete [2022-04-27T10:07:48.737Z] 765212b225bb: Pull complete [2022-04-27T10:07:49.720Z] f23df028b6ca: Pull complete [2022-04-27T10:07:49.720Z] d65c8cfc05b1: Pull complete [2022-04-27T10:08:04.834Z] 2437ff75d9bd: Pull complete [2022-04-27T10:08:04.834Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-27T10:08:04.834Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T10:08:04.834Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-27T10:08:05.075Z] prd-ubuntu20.04-docker-arm64-4c-16g-33458 does not seem to be running inside a container [2022-04-27T10:08:05.162Z] $ 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-27T10:08:07.784Z] $ docker top f837c106eb632fbebc385d4e1fd0c7bf30a6db878a1d8eed45a58c23826533ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T10:08:08.759Z] ---> job-cost.sh [2022-04-27T10:08:08.759Z] lf-activate-venv: SKIPPING [2022-04-27T10:08:08.759Z] INFO: No Stack... [2022-04-27T10:08:09.354Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-27T10:08:10.335Z] INFO: Archiving Costs [Pipeline] sh [2022-04-27T10:08:11.025Z] + cut -d, -f6 [2022-04-27T10:08:11.025Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2022-04-27T10:08:11.114Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-339-1-stack-cost] [2022-04-27T10:08:11.119Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-339-1-stack-cost] did not exist. Created. [2022-04-27T10:08:11.119Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-339-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-27T10:08:11.922Z] /w/workspace/device-modbus-go/1@tmp/durable-8a87f343/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-27T10:08:12.650Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-27T10:08:12.686Z] Warning: overwriting stash ‘stack-cost’ [2022-04-27T10:08:12.734Z] Stashed 1 file(s) [Pipeline] } [2022-04-27T10:08:12.749Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-339-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-27T10:08:12.826Z] $ docker stop --time=1 f837c106eb632fbebc385d4e1fd0c7bf30a6db878a1d8eed45a58c23826533ef [2022-04-27T10:08:14.306Z] $ docker rm -f f837c106eb632fbebc385d4e1fd0c7bf30a6db878a1d8eed45a58c23826533ef [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-27T10:08:15.634Z] provisioning config files... [2022-04-27T10:08:15.643Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-339@tmp/config7101438855385042312tmp [Pipeline] { [Pipeline] sh [2022-04-27T10:08:15.980Z] + set +x [2022-04-27T10:08:15.981Z] + curl -s https://codecov.io/bash [2022-04-27T10:08:15.981Z] + bash -s -- [2022-04-27T10:08:15.981Z] [2022-04-27T10:08:15.981Z] _____ _ [2022-04-27T10:08:15.981Z] / ____| | | [2022-04-27T10:08:15.981Z] | | ___ __| | ___ ___ _____ __ [2022-04-27T10:08:15.981Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-27T10:08:15.981Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-27T10:08:15.981Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-27T10:08:15.981Z] Bash-1.0.6 [2022-04-27T10:08:15.981Z] [2022-04-27T10:08:15.981Z] [2022-04-27T10:08:15.981Z] ==> git version 2.25.1 found [2022-04-27T10:08:15.981Z] ==> 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-27T10:08:15.981Z] Release-Date: 2020-01-08 [2022-04-27T10:08:15.981Z] 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-27T10:08:15.981Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-27T10:08:15.981Z] ==> Jenkins CI detected. [2022-04-27T10:08:15.981Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-339 [2022-04-27T10:08:15.981Z] project root: . [2022-04-27T10:08:15.981Z] --> token set from env [2022-04-27T10:08:15.981Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-27T10:08:15.981Z] ==> Running gcov in . (disable via -X gcov) [2022-04-27T10:08:15.981Z] ==> Python coveragepy not found [2022-04-27T10:08:15.981Z] ==> Searching for coverage reports in: [2022-04-27T10:08:15.981Z] + . [2022-04-27T10:08:15.981Z] -> Found 1 reports [2022-04-27T10:08:15.981Z] ==> Detecting git/mercurial file structure [2022-04-27T10:08:15.981Z] ==> Reading reports [2022-04-27T10:08:15.981Z] + ./coverage.out bytes=24065 [2022-04-27T10:08:15.981Z] ==> Appending adjustments [2022-04-27T10:08:15.981Z] https://docs.codecov.io/docs/fixing-reports [2022-04-27T10:08:16.241Z] + Found adjustments [2022-04-27T10:08:16.241Z] ==> Gzipping contents [2022-04-27T10:08:16.241Z] 4.0K /tmp/codecov.l3ePXg.gz [2022-04-27T10:08:16.241Z] ==> Uploading reports [2022-04-27T10:08:16.242Z] url: https://codecov.io [2022-04-27T10:08:16.242Z] query: branch=PR-339&commit=ce482a524a6fbae6af8ef034fc3c09305a0243e8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-339%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=339&job=&cmd_args= [2022-04-27T10:08:16.242Z] -> Pinging Codecov [2022-04-27T10:08:16.242Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-339&commit=ce482a524a6fbae6af8ef034fc3c09305a0243e8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-339%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=339&job=&cmd_args= [2022-04-27T10:08:16.504Z] -> Uploading to [2022-04-27T10:08:16.504Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-27/55DBCA73C666E3227836607328DD7E49/ce482a524a6fbae6af8ef034fc3c09305a0243e8/345dfb0c-8ed2-4861-b7fe-d8b5f3af9eeb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220427T100816Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=431f3ca609d38b35f7c99c536d6ad0357604e8875575e5b2e22a02a5f7ac8077 [2022-04-27T10:08:16.504Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-27T10:08:16.504Z] Dload Upload Total Spent Left Speed [2022-04-27T10:08:16.765Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4018 0 0 100 4018 0 16672 --:--:-- --:--:-- --:--:-- 16672 [2022-04-27T10:08:16.765Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/ce482a524a6fbae6af8ef034fc3c09305a0243e8 [Pipeline] } [2022-04-27T10:08:16.791Z] 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-27T10:08:18.524Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-339/archives ] [2022-04-27T10:08:18.524Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-339/archives [2022-04-27T10:08:18.524Z] total 16 [2022-04-27T10:08:18.524Z] drwxr-xr-x 3 root root 4096 Apr 27 10:01 . [2022-04-27T10:08:18.524Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 10:01 .. [2022-04-27T10:08:18.524Z] drwxr-xr-x 2 root root 4096 Apr 27 10:01 cost [2022-04-27T10:08:18.524Z] -rw-r--r-- 1 root root 87 Apr 27 10:01 cost.csv [2022-04-27T10:08:18.524Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-339/archives [2022-04-27T10:08:18.524Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-339/archives [2022-04-27T10:08:18.524Z] total 16 [2022-04-27T10:08:18.524Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 10:01 . [2022-04-27T10:08:18.524Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 10:01 .. [2022-04-27T10:08:18.524Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 10:01 cost [2022-04-27T10:08:18.524Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 27 10:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-27T10:08:18.859Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T10:08:19.769Z] ---> package-listing.sh [2022-04-27T10:08:19.769Z] ++ facter osfamily [2022-04-27T10:08:19.769Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-27T10:08:20.030Z] + OS_FAMILY=debian [2022-04-27T10:08:20.030Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-339 [2022-04-27T10:08:20.030Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-27T10:08:20.030Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-27T10:08:20.030Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-27T10:08:20.030Z] + PACKAGES=/tmp/packages_start.txt [2022-04-27T10:08:20.030Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-339 ']' [2022-04-27T10:08:20.030Z] + PACKAGES=/tmp/packages_end.txt [2022-04-27T10:08:20.030Z] + case "${OS_FAMILY}" in [2022-04-27T10:08:20.030Z] + dpkg -l [2022-04-27T10:08:20.030Z] + grep '^ii' [2022-04-27T10:08:20.030Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-27T10:08:20.030Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-27T10:08:20.030Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-27T10:08:20.030Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-339 ']' [2022-04-27T10:08:20.030Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-339/archives/ [2022-04-27T10:08:20.030Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-339/archives/ [Pipeline] echo [2022-04-27T10:08:20.061Z] 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-339/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-27T10:08:20.357Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-27T10:08:20.987Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T10:08:20.987Z] . [Pipeline] withDockerContainer [2022-04-27T10:08:21.084Z] prd-ubuntu20.04-docker-8c-8g-33457 does not seem to be running inside a container [2022-04-27T10:08:21.131Z] $ 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-339/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-339 -v /w/workspace/xfoundry_device-modbus-go_PR-339:/w/workspace/xfoundry_device-modbus-go_PR-339:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-339@tmp:/w/workspace/xfoundry_device-modbus-go_PR-339@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-27T10:08:21.354Z] $ docker top 8963e74bb85ed9dc1ed5ce8ecfc250a5f72f2dcbb21497d102954c36af53d3a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T10:08:21.754Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-27T10:08:22.076Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-27T10:08:22.389Z] + ls /var/log/sa-host [2022-04-27T10:08:22.389Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T10:08:22.673Z] provisioning config files... [2022-04-27T10:08:22.683Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-339@tmp/config1433856547210031474tmp [Pipeline] { [Pipeline] echo [2022-04-27T10:08:22.731Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T10:08:23.053Z] ---> create-netrc.sh [Pipeline] } [2022-04-27T10:08:23.082Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-27T10:08:23.497Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-27T10:08:23.531Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T10:08:23.948Z] ---> sudo-logs.sh [2022-04-27T10:08:23.948Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-27T10:08:24.037Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T10:08:24.351Z] ---> job-cost.sh [2022-04-27T10:08:24.351Z] lf-activate-venv: SKIPPING [2022-04-27T10:08:24.351Z] DEBUG: total: 0.2199999988079071 [2022-04-27T10:08:24.351Z] INFO: Retrieving Stack Cost... [2022-04-27T10:08:24.611Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-27T10:08:25.182Z] INFO: Archiving Costs [Pipeline] echo [2022-04-27T10:08:25.217Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T10:08:25.541Z] ---> logs-deploy.sh [2022-04-27T10:08:25.541Z] lf-activate-venv: SKIPPING [2022-04-27T10:08:25.541Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-339/1 [2022-04-27T10:08:25.541Z] INFO: archiving workspace using pattern(s): [2022-04-27T10:08:26.482Z] Archives upload complete. [2022-04-27T10:08:26.482Z] INFO: archiving logs to Nexus