Pull request #166 updated 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 jpwhitemn for edgexfoundry/device-rest-go Loading trusted files from base branch main at ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 rather than 747ebf972dbf71458de27d5ea00d8ae2a2c98e33 Obtained Jenkinsfile from ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 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-ssh14737825021976014551.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-ssh13103928392852782773.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-166/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-166/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10070008783298183043.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9875132184924990211.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-166/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-166/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11794642842527495509.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-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-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9530 in /w/workspace/gexfoundry_device-rest-go_PR-166 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-166 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/166/head:refs/remotes/origin/PR-166 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 into PR head commit 747ebf972dbf71458de27d5ea00d8ae2a2c98e33 Merge succeeded, producing 747ebf972dbf71458de27d5ea00d8ae2a2c98e33 Checking out Revision 747ebf972dbf71458de27d5ea00d8ae2a2c98e33 (PR-166) > git config core.sparsecheckout # timeout=10 > git checkout -f 747ebf972dbf71458de27d5ea00d8ae2a2c98e33 # 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 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 747ebf972dbf71458de27d5ea00d8ae2a2c98e33 # timeout=10 Commit message: "feat: addressed review issue of value type checking in check uint and int methods" > git rev-list --no-walk d8a98d2fccb12f3f5057796c9b675e9b6e19a964 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:42:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:42:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:42:36 ========================================================= 00:42:36 EdgeX Global Pipelines Version Info 00:42:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:42:36 ------------------- 00:42:36 stable info: 00:42:36 ------------------- 00:42:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:42:36 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 00:42:36 Message: update stable to v1.0.221 00:42:37 ------------------- 00:42:37 experimental info: 00:42:37 ------------------- 00:42:37 Commited By: **** collab-it+edgex@linuxfoundation.org 00:42:37 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 00:42:37 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-166 [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-166 [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-166 [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 747ebf972dbf71458de27d5ea00d8ae2a2c98e33 [Pipeline] echo 00:42:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 747ebf9 [Pipeline] echo 00:42:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:42:38 provisioning config files... 00:42:38 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-166@tmp/config3944817331804456573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:42:38 ---> docker-login.sh 00:42:38 nexus3.edgexfoundry.org:10001 00:42:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:38 Configure a credential helper to remove this warning. See 00:42:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:38 00:42:38 Login Succeeded 00:42:38 nexus3.edgexfoundry.org:10002 00:42:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:38 Configure a credential helper to remove this warning. See 00:42:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:38 00:42:38 Login Succeeded 00:42:38 nexus3.edgexfoundry.org:10003 00:42:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:39 Configure a credential helper to remove this warning. See 00:42:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:39 00:42:39 Login Succeeded 00:42:39 nexus3.edgexfoundry.org:10004 00:42:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:39 Configure a credential helper to remove this warning. See 00:42:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:39 00:42:39 Login Succeeded 00:42:39 docker.io 00:42:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:39 Configure a credential helper to remove this warning. See 00:42:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:39 00:42:39 Login Succeeded 00:42:39 ---> docker-login.sh ends [Pipeline] } 00:42:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:42:40 + git rev-list -1 --merges 747ebf972dbf71458de27d5ea00d8ae2a2c98e33~1..747ebf972dbf71458de27d5ea00d8ae2a2c98e33 [Pipeline] echo 00:42:40 -----------> git rev-list -1 --merges 747ebf972dbf71458de27d5ea00d8ae2a2c98e33~1..747ebf972dbf71458de27d5ea00d8ae2a2c98e33 747ebf972dbf71458de27d5ea00d8ae2a2c98e33 [false] [Pipeline] sh 00:42:40 + git log --format=format:%s -1 747ebf972dbf71458de27d5ea00d8ae2a2c98e33 [Pipeline] echo 00:42:40 ========================================================= 00:42:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:42:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:42:41 + git log --format=format:%s -1 747ebf972dbf71458de27d5ea00d8ae2a2c98e33 [Pipeline] echo 00:42:41 [semverPrep] GIT_COMMIT: 747ebf972dbf71458de27d5ea00d8ae2a2c98e33, Commit Message: feat: addressed review issue of value type checking in check uint and int methods [Pipeline] echo 00:42:41 [semverPrep] This is not a build commit. [Pipeline] sh 00:42:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:42:41 + grep -v github /etc/ssh/ssh_known_hosts 00:42:41 + [ -e /tmp/ssh_known_hosts ] 00:42:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:42:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:42:41 + sudo tee -a /etc/ssh/ssh_known_hosts 00:42:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:42:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:42:41 00:42:41 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:42:42 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:42:42 latest: Pulling from edgex-devops/git-semver 00:42:42 a0d0a0d46f8b: Pulling fs layer 00:42:42 3e5f54012d9b: Pulling fs layer 00:42:42 4c7163046ea9: Pulling fs layer 00:42:42 0c2d73faf560: Pulling fs layer 00:42:42 0c2d73faf560: Waiting 00:42:42 3e5f54012d9b: Verifying Checksum 00:42:42 3e5f54012d9b: Download complete 00:42:42 a0d0a0d46f8b: Verifying Checksum 00:42:42 a0d0a0d46f8b: Download complete 00:42:42 0c2d73faf560: Verifying Checksum 00:42:42 0c2d73faf560: Download complete 00:42:42 4c7163046ea9: Verifying Checksum 00:42:42 4c7163046ea9: Download complete 00:42:42 a0d0a0d46f8b: Pull complete 00:42:42 3e5f54012d9b: Pull complete 00:42:42 4c7163046ea9: Pull complete 00:42:43 0c2d73faf560: Pull complete 00:42:43 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 00:42:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:42:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:42:43 prd-ubuntu20.04-docker-8c-8g-9530 does not seem to be running inside a container 00:42:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-166 -v /w/workspace/gexfoundry_device-rest-go_PR-166:/w/workspace/gexfoundry_device-rest-go_PR-166:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-166@tmp:/w/workspace/gexfoundry_device-rest-go_PR-166@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:10004/edgex-devops/git-semver:latest cat 00:42:43 $ docker top b0ac30edc87e80119d36317abba500e27250f95665ea25c4fe315063cf9f6b3e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:42:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:42:43 [ssh-agent] Looking for ssh-agent implementation... 00:42:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:42:44 $ docker exec b0ac30edc87e80119d36317abba500e27250f95665ea25c4fe315063cf9f6b3e ssh-agent 00:42:44 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXffcdfk/agent.13 00:42:44 SSH_AGENT_PID=19 00:42:44 Running ssh-add (command line suppressed) 00:42:44 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-166@tmp/private_key_2576734950322967607.key (/w/workspace/gexfoundry_device-rest-go_PR-166@tmp/private_key_2576734950322967607.key) 00:42:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:42:44 + git tag --points-at HEAD [Pipeline] } 00:42:44 $ docker exec --env ******** --env ******** b0ac30edc87e80119d36317abba500e27250f95665ea25c4fe315063cf9f6b3e ssh-agent -k 00:42:44 unset SSH_AUTH_SOCK; 00:42:44 unset SSH_AGENT_PID; 00:42:44 echo Agent pid 19 killed; 00:42:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:42:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:42:44 [ssh-agent] Looking for ssh-agent implementation... 00:42:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:42:45 $ docker exec b0ac30edc87e80119d36317abba500e27250f95665ea25c4fe315063cf9f6b3e ssh-agent 00:42:45 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIkPdGI/agent.54 00:42:45 SSH_AGENT_PID=61 00:42:45 Running ssh-add (command line suppressed) 00:42:45 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-166@tmp/private_key_4913377372295159420.key (/w/workspace/gexfoundry_device-rest-go_PR-166@tmp/private_key_4913377372295159420.key) 00:42:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:42:45 + git semver init 00:42:45 # -> Open(): unable to determine branch for HEAD 00:42:45 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-166/.git 00:42:45 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-166 00:42:45 # $SEMVER_REMOTE_NAME = origin 00:42:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:42:45 # $SEMVER_USER_NAME = edgex-jenkins 00:42:45 # $SEMVER_BRANCH = PR-166 00:42:45 # $SEMVER_TEMP = /tmp/semver-539635197 00:42:45 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 00:42:47 # '/tmp/semver-539635197' -> '/w/workspace/gexfoundry_device-rest-go_PR-166/.semver' 00:42:47 # -> Force: false 00:42:47 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-166/.semver [Pipeline] } 00:42:47 $ docker exec --env ******** --env ******** b0ac30edc87e80119d36317abba500e27250f95665ea25c4fe315063cf9f6b3e ssh-agent -k 00:42:47 unset SSH_AUTH_SOCK; 00:42:47 unset SSH_AGENT_PID; 00:42:47 echo Agent pid 61 killed; 00:42:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:42:47 + git semver [Pipeline] } 00:42:47 $ docker stop --time=1 b0ac30edc87e80119d36317abba500e27250f95665ea25c4fe315063cf9f6b3e 00:42:48 $ docker rm -f b0ac30edc87e80119d36317abba500e27250f95665ea25c4fe315063cf9f6b3e [Pipeline] // withDockerContainer [Pipeline] sh 00:42:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:42:49 Stashed 1 file(s) [Pipeline] echo 00:42:49 [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 00:42:49 provisioning config files... 00:42:49 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-166@tmp/config5132923924633223002tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:42:49 ---> docker-login.sh 00:42:49 nexus3.edgexfoundry.org:10001 00:42:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:49 Configure a credential helper to remove this warning. See 00:42:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:49 00:42:49 Login Succeeded 00:42:49 nexus3.edgexfoundry.org:10002 00:42:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:50 Configure a credential helper to remove this warning. See 00:42:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:50 00:42:50 Login Succeeded 00:42:50 nexus3.edgexfoundry.org:10003 00:42:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:50 Configure a credential helper to remove this warning. See 00:42:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:50 00:42:50 Login Succeeded 00:42:50 nexus3.edgexfoundry.org:10004 00:42:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:50 Configure a credential helper to remove this warning. See 00:42:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:50 00:42:50 Login Succeeded 00:42:50 docker.io 00:42:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:50 Configure a credential helper to remove this warning. See 00:42:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:50 00:42:50 Login Succeeded 00:42:50 ---> docker-login.sh ends [Pipeline] } 00:42:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:42:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:42:50 ========================================================= 00:42:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 00:42:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:42:51 + 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 . 00:42:51 Sending build context to Docker daemon 10.55MB 00:42:51 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 00:42:51 Step 2/12 : FROM ${BASE} AS builder 00:42:51 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 00:42:51 59bf1c3509f3: Pulling fs layer 00:42:51 666ba61612fd: Pulling fs layer 00:42:51 8ed8ca486205: Pulling fs layer 00:42:51 4fe6c5a15a65: Pulling fs layer 00:42:51 22a0e8bec74d: Pulling fs layer 00:42:51 640e595b4fbd: Pulling fs layer 00:42:51 763cafe07f6e: Pulling fs layer 00:42:51 0c0b528cf693: Pulling fs layer 00:42:51 10935f4eaf8b: Pulling fs layer 00:42:51 763cafe07f6e: Waiting 00:42:51 640e595b4fbd: Waiting 00:42:51 0c0b528cf693: Waiting 00:42:51 22a0e8bec74d: Waiting 00:42:51 10935f4eaf8b: Waiting 00:42:51 4fe6c5a15a65: Waiting 00:42:51 8ed8ca486205: Download complete 00:42:51 666ba61612fd: Verifying Checksum 00:42:51 666ba61612fd: Download complete 00:42:51 22a0e8bec74d: Download complete 00:42:51 640e595b4fbd: Download complete 00:42:51 59bf1c3509f3: Verifying Checksum 00:42:51 59bf1c3509f3: Download complete 00:42:51 763cafe07f6e: Download complete 00:42:51 0c0b528cf693: Verifying Checksum 00:42:51 0c0b528cf693: Download complete 00:42:51 59bf1c3509f3: Pull complete 00:42:51 666ba61612fd: Pull complete 00:42:51 8ed8ca486205: Pull complete 00:42:52 10935f4eaf8b: Download complete 00:42:52 4fe6c5a15a65: Verifying Checksum 00:42:52 4fe6c5a15a65: Download complete 00:42:56 4fe6c5a15a65: Pull complete 00:42:56 22a0e8bec74d: Pull complete 00:42:56 640e595b4fbd: Pull complete 00:42:56 763cafe07f6e: Pull complete 00:42:56 0c0b528cf693: Pull complete 00:42:59 10935f4eaf8b: Pull complete 00:42:59 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 00:42:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:42:59 ---> 99d49a6021b9 00:42:59 Step 3/12 : ARG MAKE='make build' 00:43:00 ---> Running in 6f8036fdf581 00:43:00 Removing intermediate container 6f8036fdf581 00:43:00 ---> ebc90704adc4 00:43:00 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:43:00 ---> Running in fe6e868a2268 00:43:00 Removing intermediate container fe6e868a2268 00:43:00 ---> aa665ea4ba71 00:43:00 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 00:43:00 ---> Running in 641615120f05 00:43:01 Removing intermediate container 641615120f05 00:43:01 ---> c807eb629333 00:43:01 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:43:01 ---> Running in 0c74c6e7d737 00:43:01 Removing intermediate container 0c74c6e7d737 00:43:01 ---> ecdf664296f3 00:43:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:43:01 ---> Running in b5381c30781f 00:43:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:43:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:43:03 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:43:03 (2/4) Installing libedit (20210910.3.1-r0) 00:43:03 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:43:03 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:43:03 Executing busybox-1.34.1-r3.trigger 00:43:03 OK: 224 MiB in 56 packages 00:43:03 Removing intermediate container b5381c30781f 00:43:03 ---> 4ce9562d3e47 00:43:03 Step 8/12 : WORKDIR /device-rest-go 00:43:04 ---> Running in d827f78bedeb 00:43:04 Removing intermediate container d827f78bedeb 00:43:04 ---> 74b7da1fc192 00:43:04 Step 9/12 : COPY go.mod vendor* ./ 00:43:04 ---> 43ce385ccfa1 00:43:04 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:43:04 ---> Running in 5a6a618f0e09 00:43:04 Still waiting to schedule task 00:43:04 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9527’ 00:43:31 Removing intermediate container 5a6a618f0e09 00:43:31 ---> 9e90c2151aac 00:43:31 Step 11/12 : COPY . . 00:43:31 ---> 717bc2e06ec4 00:43:31 Step 12/12 : RUN $MAKE 00:43:31 ---> Running in b0502bc507ac 00:43:31 noop 00:43:31 Removing intermediate container b0502bc507ac 00:43:31 ---> d316f8303d3e 00:43:31 Successfully built d316f8303d3e 00:43:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:43:31 + docker inspect -f . ci-base-image-x86_64 00:43:31 . [Pipeline] withDockerContainer 00:43:31 prd-ubuntu20.04-docker-8c-8g-9530 does not seem to be running inside a container 00:43:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-166 -v /w/workspace/gexfoundry_device-rest-go_PR-166:/w/workspace/gexfoundry_device-rest-go_PR-166:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-166@tmp:/w/workspace/gexfoundry_device-rest-go_PR-166@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:43:31 $ docker top 7a013751bda79ac5907d11329c05b5ff7331c536c1c902c0095cb72b67ce7872 -eo pid,comm [Pipeline] { [Pipeline] sh 00:43:32 + go version 00:43:32 go version go1.17.6 linux/amd64 [Pipeline] } 00:43:32 $ docker stop --time=1 7a013751bda79ac5907d11329c05b5ff7331c536c1c902c0095cb72b67ce7872 00:43:33 $ docker rm -f 7a013751bda79ac5907d11329c05b5ff7331c536c1c902c0095cb72b67ce7872 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:43:34 + docker inspect -f . ci-base-image-x86_64 00:43:34 . [Pipeline] withDockerContainer 00:43:34 prd-ubuntu20.04-docker-8c-8g-9530 does not seem to be running inside a container 00:43:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-166 -v /w/workspace/gexfoundry_device-rest-go_PR-166:/w/workspace/gexfoundry_device-rest-go_PR-166:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-166@tmp:/w/workspace/gexfoundry_device-rest-go_PR-166@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:43:34 $ docker top 0359633b47eada0a3023c86b0f4113f149f87f2e94926e63b50d397bbd9f969e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:43:34 + make test 00:43:34 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:43:35 ? github.com/edgexfoundry/device-rest-go [no test files] 00:43:43 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:43:43 ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 55.2% of statements 00:43:50 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:43:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:43:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:43:52 ./bin/test-attribution-txt.sh [Pipeline] echo 00:43:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:43:52 $ docker stop --time=1 0359633b47eada0a3023c86b0f4113f149f87f2e94926e63b50d397bbd9f969e 00:43:54 $ docker rm -f 0359633b47eada0a3023c86b0f4113f149f87f2e94926e63b50d397bbd9f969e [Pipeline] // withDockerContainer [Pipeline] sh 00:43:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:43:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:43:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:43:56 + ls -al . 00:43:56 total 184 00:43:56 drwxrwxr-x 9 jenkins jenkins 4096 Mar 31 00:43 . 00:43:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 00:42 .. 00:43:56 -rw-rw-r-- 1 jenkins jenkins 151 Mar 31 00:42 .dockerignore 00:43:56 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 00:42 .git 00:43:56 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 00:42 .github 00:43:56 -rw-rw-r-- 1 jenkins jenkins 329 Mar 31 00:42 .gitignore 00:43:56 -rw-rw-r-- 1 jenkins jenkins 41 Mar 31 00:42 .golangci.yml 00:43:56 drwx------ 3 jenkins jenkins 4096 Mar 31 00:42 .semver 00:43:56 -rw-rw-r-- 1 jenkins jenkins 7192 Mar 31 00:42 Attribution.txt 00:43:56 -rw-rw-r-- 1 jenkins jenkins 7459 Mar 31 00:42 CHANGELOG.md 00:43:56 -rw-rw-r-- 1 jenkins jenkins 1672 Mar 31 00:42 Dockerfile 00:43:56 -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 00:42 GOVERNANCE.md 00:43:56 -rw-rw-r-- 1 jenkins jenkins 680 Mar 31 00:42 Jenkinsfile 00:43:56 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 31 00:42 LICENSE 00:43:56 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 31 00:42 Makefile 00:43:56 -rw-rw-r-- 1 jenkins jenkins 620 Mar 31 00:42 OWNERS.md 00:43:56 -rw-rw-r-- 1 jenkins jenkins 8246 Mar 31 00:42 README.md 00:43:56 -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 00:42 VERSION 00:43:56 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 00:42 bin 00:43:56 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 00:42 cmd 00:43:56 -rw-r--r-- 1 jenkins jenkins 9355 Mar 31 00:43 coverage.out 00:43:56 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 00:42 driver 00:43:56 -rw-rw-r-- 1 jenkins jenkins 2908 Mar 31 00:42 go.mod 00:43:56 -rw-rw-r-- 1 jenkins jenkins 50572 Mar 31 00:42 go.sum 00:43:56 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 00:42 snap 00:43:56 -rw-rw-r-- 1 jenkins jenkins 713 Mar 31 00:42 version.go [Pipeline] isUnix [Pipeline] sh 00:43:56 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=747ebf972dbf71458de27d5ea00d8ae2a2c98e33 --label arch=amd64 --label version=0.0.0 . 00:43:56 Sending build context to Docker daemon 10.56MB 00:43:56 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 00:43:56 Step 2/25 : FROM ${BASE} AS builder 00:43:56 ---> d316f8303d3e 00:43:56 Step 3/25 : ARG MAKE='make build' 00:43:56 ---> Running in 999e9146813e 00:43:56 Removing intermediate container 999e9146813e 00:43:56 ---> bc1aa833904e 00:43:56 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:43:56 ---> Running in 528e8a3d929a 00:43:56 Removing intermediate container 528e8a3d929a 00:43:56 ---> c1ad4f77e96a 00:43:56 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 00:43:57 ---> Running in 423e729a80fb 00:43:57 Removing intermediate container 423e729a80fb 00:43:57 ---> fac0043d8505 00:43:57 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:43:57 ---> Running in 90641b543375 00:43:57 Removing intermediate container 90641b543375 00:43:57 ---> a3b78f4dc5c6 00:43:57 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:43:57 ---> Running in b06f2daee11a 00:43:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:43:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:43:59 OK: 224 MiB in 56 packages 00:43:59 Removing intermediate container b06f2daee11a 00:43:59 ---> 7cac55df1adc 00:43:59 Step 8/25 : WORKDIR /device-rest-go 00:43:59 ---> Running in 05aa2e64460d 00:43:59 Removing intermediate container 05aa2e64460d 00:43:59 ---> b85c03fa723f 00:43:59 Step 9/25 : COPY go.mod vendor* ./ 00:43:59 ---> 53d427d196d8 00:43:59 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:43:59 ---> Running in 402ca0b703d0 00:44:00 Removing intermediate container 402ca0b703d0 00:44:00 ---> 52ea10fd77d3 00:44:00 Step 11/25 : COPY . . 00:44:00 ---> 52915c386bd5 00:44:00 Step 12/25 : RUN $MAKE 00:44:01 ---> Running in bfe74d95583b 00:44:01 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 00:44:09 Removing intermediate container bfe74d95583b 00:44:09 ---> 2bac19fe559e 00:44:09 Step 13/25 : FROM alpine:3.14 00:44:09 3.14: Pulling from library/alpine 00:44:09 cfab2db72209: Pulling fs layer 00:44:09 error pulling image configuration: Get "https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/84/84b07dd2d1fdac03b8fa6b5624c122d7eb49b62eb6e22e29ac2a7d17839d75df/data?verify=1648690449-2Yb6rHNLrPX5enGbUQqORW6WAS0%3D": dial tcp: lookup production.cloudflare.docker.com: device or resource busy [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:44:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:44:10 00:44:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:44:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:44:10 latest: Pulling from edgex-lftools-log-publisher 00:44:10 5eb5b503b376: Pulling fs layer 00:44:10 5c69ac0246d0: Pulling fs layer 00:44:10 ec43610c2a17: Pulling fs layer 00:44:10 3a2ae6a8a46f: Pulling fs layer 00:44:10 33b1e0a273af: Pulling fs layer 00:44:10 5d3b04190fa2: Pulling fs layer 00:44:10 2f39f015ded8: Pulling fs layer 00:44:10 2f39f015ded8: Waiting 00:44:10 5d3b04190fa2: Waiting 00:44:10 33b1e0a273af: Waiting 00:44:10 5c69ac0246d0: Download complete 00:44:10 3a2ae6a8a46f: Verifying Checksum 00:44:10 3a2ae6a8a46f: Download complete 00:44:10 33b1e0a273af: Verifying Checksum 00:44:10 33b1e0a273af: Download complete 00:44:10 5d3b04190fa2: Verifying Checksum 00:44:10 5d3b04190fa2: Download complete 00:44:10 ec43610c2a17: Verifying Checksum 00:44:10 ec43610c2a17: Download complete 00:44:10 5eb5b503b376: Download complete 00:44:11 2f39f015ded8: Download complete 00:44:12 5eb5b503b376: Pull complete 00:44:12 5c69ac0246d0: Pull complete 00:44:13 ec43610c2a17: Pull complete 00:44:13 3a2ae6a8a46f: Pull complete 00:44:13 33b1e0a273af: Pull complete 00:44:13 5d3b04190fa2: Pull complete 00:44:18 2f39f015ded8: Pull complete 00:44:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:44:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:44:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:44:18 prd-ubuntu20.04-docker-8c-8g-9530 does not seem to be running inside a container 00:44:18 $ 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/gexfoundry_device-rest-go_PR-166 -v /w/workspace/gexfoundry_device-rest-go_PR-166:/w/workspace/gexfoundry_device-rest-go_PR-166:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-166@tmp:/w/workspace/gexfoundry_device-rest-go_PR-166@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:44:20 $ docker top d9b93ade820d5aae3e236da7734016e2ea378479acd79e7476525ab5e603c6e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:44:21 ---> job-cost.sh 00:44:21 lf-activate-venv: SKIPPING 00:44:21 INFO: No Stack... 00:44:22 INFO: Retrieving Pricing Info for: v3-standard-8 00:44:22 INFO: Archiving Costs [Pipeline] sh 00:44:22 + cat /w/workspace/gexfoundry_device-rest-go_PR-166/archives/cost.csv 00:44:22 + cut -d, -f6 [Pipeline] lock 00:44:22 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-166-2-stack-cost] 00:44:22 Resource [jenkins-edgexfoundry-device-rest-go-PR-166-2-stack-cost] did not exist. Created. 00:44:22 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-166-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:44:23 + echo total: 0.2199999988079071 [Pipeline] stash 00:44:23 Stashed 1 file(s) [Pipeline] } 00:44:23 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-166-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:44:23 $ docker stop --time=1 d9b93ade820d5aae3e236da7734016e2ea378479acd79e7476525ab5e603c6e0 00:44:24 $ docker rm -f d9b93ade820d5aae3e236da7734016e2ea378479acd79e7476525ab5e603c6e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:44:24 Failed in branch amd64 00:46:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9531 in /w/workspace/gexfoundry_device-rest-go_PR-166 [Pipeline] { [Pipeline] ws 00:46:40 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 00:46:40 The recommended git tool is: git 00:46:48 using credential edgex-jenkins-ssh 00:46:48 Cloning the remote Git repository 00:46:48 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 00:46:48 > git init /w/workspace/device-rest-go/2 # timeout=10 00:46:49 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:46:49 > git --version # timeout=10 00:46:49 > git --version # 'git version 2.25.1' 00:46:49 using GIT_SSH to set credentials SSH Credentials for GitHub 00:46:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:46:51 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:46:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:46:51 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:46:51 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:46:51 using GIT_SSH to set credentials SSH Credentials for GitHub 00:46:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/166/head:refs/remotes/origin/PR-166 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:46:52 Merging remotes/origin/main commit ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 into PR head commit 747ebf972dbf71458de27d5ea00d8ae2a2c98e33 00:46:52 Merge succeeded, producing 747ebf972dbf71458de27d5ea00d8ae2a2c98e33 00:46:52 Checking out Revision 747ebf972dbf71458de27d5ea00d8ae2a2c98e33 (PR-166) 00:46:52 > git config core.sparsecheckout # timeout=10 00:46:52 > git checkout -f 747ebf972dbf71458de27d5ea00d8ae2a2c98e33 # timeout=10 00:46:52 > git remote # timeout=10 00:46:52 > git config --get remote.origin.url # timeout=10 00:46:52 using GIT_SSH to set credentials SSH Credentials for GitHub 00:46:52 > git merge ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 00:46:52 > git rev-parse HEAD^{commit} # timeout=10 00:46:52 > git config core.sparsecheckout # timeout=10 00:46:52 > git checkout -f 747ebf972dbf71458de27d5ea00d8ae2a2c98e33 # timeout=10 00:46:56 Commit message: "feat: addressed review issue of value type checking in check uint and int methods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:46:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:46:57 % Total % Received % Xferd Average Speed Time Time Time Current 00:46:57 Dload Upload Total Spent Left Speed 00:46:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 45030 0 --:--:-- --:--:-- --:--:-- 44859 [Pipeline] sh 00:46:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:46:58 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:46:58 sudo tee /etc/docker/daemon.new 00:46:58 { 00:46:58 "registry-mirrors": [ 00:46:58 "https://nexus3.edgexfoundry.org:10001" 00:46:58 ], 00:46:58 "bip": "10.250.0.254/24", 00:46:58 "hosts": [ 00:46:58 "tcp://0.0.0.0:5555", 00:46:58 "unix:///var/run/docker.sock" 00:46:58 ], 00:46:58 "mtu": 1458, 00:46:58 "selinux-enabled": true, 00:46:58 "seccomp-profile": "/etc/docker/seccomp.json" 00:46:58 } [Pipeline] sh 00:46:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:46:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:47:17 provisioning config files... 00:47:17 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config9080050611122406565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:47:18 ---> docker-login.sh 00:47:18 nexus3.edgexfoundry.org:10001 00:47:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:47:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:47:18 Configure a credential helper to remove this warning. See 00:47:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:47:18 00:47:18 Login Succeeded 00:47:18 nexus3.edgexfoundry.org:10002 00:47:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:47:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:47:19 Configure a credential helper to remove this warning. See 00:47:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:47:19 00:47:19 Login Succeeded 00:47:19 nexus3.edgexfoundry.org:10003 00:47:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:47:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:47:19 Configure a credential helper to remove this warning. See 00:47:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:47:19 00:47:19 Login Succeeded 00:47:19 nexus3.edgexfoundry.org:10004 00:47:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:47:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:47:20 Configure a credential helper to remove this warning. See 00:47:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:47:20 00:47:20 Login Succeeded 00:47:20 docker.io 00:47:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:47:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:47:20 Configure a credential helper to remove this warning. See 00:47:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:47:20 00:47:20 Login Succeeded 00:47:20 ---> docker-login.sh ends [Pipeline] } 00:47:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:47:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:47:21 ========================================================= 00:47:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 00:47:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:47:21 + 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 . 00:47:21 Sending build context to Docker daemon 126kB 00:47:22 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 00:47:22 Step 2/12 : FROM ${BASE} AS builder 00:47:22 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:47:22 9b3977197b4f: Pulling fs layer 00:47:22 1a89e8eeedd5: Pulling fs layer 00:47:22 94645a83ff95: Pulling fs layer 00:47:22 3f3a8bcf1eab: Pulling fs layer 00:47:22 0c92f367c5e7: Pulling fs layer 00:47:22 f7c0051592d6: Pulling fs layer 00:47:22 a227ed2f7395: Pulling fs layer 00:47:22 7b1c46037f91: Pulling fs layer 00:47:22 3f3a8bcf1eab: Waiting 00:47:22 0c92f367c5e7: Waiting 00:47:22 f7c0051592d6: Waiting 00:47:22 7b1c46037f91: Waiting 00:47:22 a227ed2f7395: Waiting 00:47:22 1a89e8eeedd5: Verifying Checksum 00:47:22 94645a83ff95: Verifying Checksum 00:47:22 94645a83ff95: Download complete 00:47:22 1a89e8eeedd5: Download complete 00:47:22 0c92f367c5e7: Verifying Checksum 00:47:22 0c92f367c5e7: Download complete 00:47:22 f7c0051592d6: Download complete 00:47:22 a227ed2f7395: Verifying Checksum 00:47:22 a227ed2f7395: Download complete 00:47:22 9b3977197b4f: Verifying Checksum 00:47:22 9b3977197b4f: Download complete 00:47:22 9b3977197b4f: Pull complete 00:47:23 1a89e8eeedd5: Pull complete 00:47:23 94645a83ff95: Pull complete 00:47:24 7b1c46037f91: Verifying Checksum 00:47:24 7b1c46037f91: Download complete 00:47:25 3f3a8bcf1eab: Download complete 00:47:37 3f3a8bcf1eab: Pull complete 00:47:37 0c92f367c5e7: Pull complete 00:47:37 f7c0051592d6: Pull complete 00:47:37 a227ed2f7395: Pull complete 00:47:44 7b1c46037f91: Pull complete 00:47:44 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 00:47:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:47:44 ---> f79e39bc4007 00:47:44 Step 3/12 : ARG MAKE='make build' 00:47:44 ---> Running in 130d4e83de93 00:47:45 Removing intermediate container 130d4e83de93 00:47:45 ---> eadbeb84ed9d 00:47:45 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:47:45 ---> Running in 79f07fe3697a 00:47:45 Removing intermediate container 79f07fe3697a 00:47:45 ---> 44aeaf71a157 00:47:45 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 00:47:45 ---> Running in 11d1aa65fab9 00:47:46 Removing intermediate container 11d1aa65fab9 00:47:46 ---> 06eb14e62ecd 00:47:46 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:47:46 ---> Running in 5e2da084e7ea 00:47:47 Removing intermediate container 5e2da084e7ea 00:47:47 ---> 1fa75c0e9ab0 00:47:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:47:47 ---> Running in 6d107858d5b8 00:47:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:47:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:47:50 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:47:50 (2/4) Installing libedit (20210910.3.1-r0) 00:47:50 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:47:51 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:47:51 Executing busybox-1.34.1-r3.trigger 00:47:51 OK: 224 MiB in 56 packages 00:47:52 Removing intermediate container 6d107858d5b8 00:47:52 ---> 4f7234f63225 00:47:52 Step 8/12 : WORKDIR /device-rest-go 00:47:52 ---> Running in 83f6c02c164e 00:47:52 Removing intermediate container 83f6c02c164e 00:47:52 ---> 00bedc4a3a73 00:47:52 Step 9/12 : COPY go.mod vendor* ./ 00:47:53 ---> 087f202df0c6 00:47:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:47:53 ---> Running in 718bf3264b6c 00:49:14 Removing intermediate container 718bf3264b6c 00:49:14 ---> 848c0e6afa5b 00:49:14 Step 11/12 : COPY . . 00:49:14 ---> d126c0f7bcbd 00:49:14 Step 12/12 : RUN $MAKE 00:49:14 ---> Running in 0c609c62583c 00:49:14 noop 00:49:14 Removing intermediate container 0c609c62583c 00:49:14 ---> 2a335528eaab 00:49:14 Successfully built 2a335528eaab 00:49:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:49:15 + docker inspect -f . ci-base-image-arm64 00:49:15 . [Pipeline] withDockerContainer 00:49:15 prd-ubuntu20.04-docker-arm64-4c-16g-9531 does not seem to be running inside a container 00:49:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:49:16 $ docker top bd17391b4c20ea5090095bdb76d3da2eff2a598680b57b849b72ae01abfca3b7 -eo pid,comm [Pipeline] { [Pipeline] sh 00:49:17 + go version 00:49:17 go version go1.17.6 linux/arm64 [Pipeline] } 00:49:17 $ docker stop --time=1 bd17391b4c20ea5090095bdb76d3da2eff2a598680b57b849b72ae01abfca3b7 00:49:19 $ docker rm -f bd17391b4c20ea5090095bdb76d3da2eff2a598680b57b849b72ae01abfca3b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:49:20 + docker inspect -f . ci-base-image-arm64 00:49:20 . [Pipeline] withDockerContainer 00:49:20 prd-ubuntu20.04-docker-arm64-4c-16g-9531 does not seem to be running inside a container 00:49:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:49:21 $ docker top 9fcac5a41e6e254168f5629a04d2496c071392ebb95d5d0e2af715876cf4948b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:49:22 + make test 00:49:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:49:24 ? github.com/edgexfoundry/device-rest-go [no test files] 00:50:20 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:50:20 ok github.com/edgexfoundry/device-rest-go/driver 0.065s coverage: 55.2% of statements 00:50:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:50:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:50:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:50:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:50:36 ./bin/test-attribution-txt.sh [Pipeline] echo 00:50:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:50:36 $ docker stop --time=1 9fcac5a41e6e254168f5629a04d2496c071392ebb95d5d0e2af715876cf4948b 00:50:38 $ docker rm -f 9fcac5a41e6e254168f5629a04d2496c071392ebb95d5d0e2af715876cf4948b [Pipeline] // withDockerContainer [Pipeline] sh 00:50:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:50:39 Warning: overwriting stash ‘coverage-report’ 00:50:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:50:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:50:40 + ls -al . 00:50:40 total 180 00:50:40 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 00:50 . 00:50:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 00:46 .. 00:50:40 -rw-rw-r-- 1 jenkins jenkins 151 Mar 31 00:46 .dockerignore 00:50:40 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 00:46 .git 00:50:40 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 00:46 .github 00:50:40 -rw-rw-r-- 1 jenkins jenkins 329 Mar 31 00:46 .gitignore 00:50:40 -rw-rw-r-- 1 jenkins jenkins 41 Mar 31 00:46 .golangci.yml 00:50:40 -rw-rw-r-- 1 jenkins jenkins 7192 Mar 31 00:46 Attribution.txt 00:50:40 -rw-rw-r-- 1 jenkins jenkins 7459 Mar 31 00:46 CHANGELOG.md 00:50:40 -rw-rw-r-- 1 jenkins jenkins 1672 Mar 31 00:46 Dockerfile 00:50:40 -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 00:46 GOVERNANCE.md 00:50:40 -rw-rw-r-- 1 jenkins jenkins 680 Mar 31 00:46 Jenkinsfile 00:50:40 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 31 00:46 LICENSE 00:50:40 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 31 00:46 Makefile 00:50:40 -rw-rw-r-- 1 jenkins jenkins 620 Mar 31 00:46 OWNERS.md 00:50:40 -rw-rw-r-- 1 jenkins jenkins 8246 Mar 31 00:46 README.md 00:50:40 -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 00:42 VERSION 00:50:40 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 00:46 bin 00:50:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 00:46 cmd 00:50:40 -rw-r--r-- 1 jenkins jenkins 9355 Mar 31 00:50 coverage.out 00:50:40 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 00:46 driver 00:50:40 -rw-rw-r-- 1 jenkins jenkins 2908 Mar 31 00:46 go.mod 00:50:40 -rw-rw-r-- 1 jenkins jenkins 50572 Mar 31 00:46 go.sum 00:50:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 00:46 snap 00:50:40 -rw-rw-r-- 1 jenkins jenkins 713 Mar 31 00:46 version.go [Pipeline] isUnix [Pipeline] sh 00:50:40 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=747ebf972dbf71458de27d5ea00d8ae2a2c98e33 --label arch=arm64 --label version=0.0.0 . 00:50:40 Sending build context to Docker daemon 136.2kB 00:50:41 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 00:50:41 Step 2/25 : FROM ${BASE} AS builder 00:50:41 ---> 2a335528eaab 00:50:41 Step 3/25 : ARG MAKE='make build' 00:50:41 ---> Running in b0dd41ad93a5 00:50:41 Removing intermediate container b0dd41ad93a5 00:50:41 ---> 2c9c7a9894b4 00:50:41 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:50:41 ---> Running in 38921fdc3146 00:50:41 Removing intermediate container 38921fdc3146 00:50:41 ---> dce21a62c51b 00:50:41 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 00:50:42 ---> Running in fb4dbd5d29f7 00:50:42 Removing intermediate container fb4dbd5d29f7 00:50:42 ---> 960a942ecace 00:50:42 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:50:42 ---> Running in 99e94537ba75 00:50:44 Removing intermediate container 99e94537ba75 00:50:44 ---> 638f53c382c9 00:50:44 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:50:44 ---> Running in 12ce40879146 00:50:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:50:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:50:47 OK: 224 MiB in 56 packages 00:50:48 Removing intermediate container 12ce40879146 00:50:48 ---> 58983512cac7 00:50:48 Step 8/25 : WORKDIR /device-rest-go 00:50:48 ---> Running in 4c980a7df5b3 00:50:48 Removing intermediate container 4c980a7df5b3 00:50:48 ---> b65645c1c24d 00:50:48 Step 9/25 : COPY go.mod vendor* ./ 00:50:48 ---> 6b6aa111acc0 00:50:48 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:50:49 ---> Running in cc9ca237d888 00:50:51 Removing intermediate container cc9ca237d888 00:50:51 ---> f6c92bf65370 00:50:51 Step 11/25 : COPY . . 00:50:51 ---> 7d7fd4af6262 00:50:51 Step 12/25 : RUN $MAKE 00:50:51 ---> Running in bf62dd6af6da 00:50:52 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 00:51:39 Removing intermediate container bf62dd6af6da 00:51:39 ---> 1d7e2a59fd80 00:51:39 Step 13/25 : FROM alpine:3.14 00:51:39 3.14: Pulling from library/alpine 00:51:39 810d54c7e01b: Pulling fs layer 00:51:39 810d54c7e01b: Verifying Checksum 00:51:39 810d54c7e01b: Download complete 00:51:39 810d54c7e01b: Pull complete 00:51:39 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 00:51:39 Status: Downloaded newer image for alpine:3.14 00:51:39 ---> cc3d11fa2d52 00:51:39 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:51:39 ---> Running in 0461410d8a72 00:51:39 Removing intermediate container 0461410d8a72 00:51:39 ---> 3b66d3c79aae 00:51:39 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 00:51:39 ---> Running in 5bf1cd1d2660 00:51:40 Removing intermediate container 5bf1cd1d2660 00:51:40 ---> 475f1538ad96 00:51:40 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 00:51:40 ---> Running in 66ec54b4729d 00:51:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:51:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:51:42 (1/6) Installing dumb-init (1.2.5-r1) 00:51:42 (2/6) Installing libgcc (10.3.1_git20210424-r2) 00:51:42 (3/6) Installing libsodium (1.0.18-r0) 00:51:42 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 00:51:42 (5/6) Installing libzmq (4.3.4-r0) 00:51:42 (6/6) Installing zeromq (4.3.4-r0) 00:51:42 Executing busybox-1.33.1-r6.trigger 00:51:42 OK: 8 MiB in 20 packages 00:51:43 Removing intermediate container 66ec54b4729d 00:51:43 ---> e016ae15df63 00:51:43 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 00:51:44 ---> e1535d2ee0da 00:51:44 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 00:51:45 ---> 82d704ef0857 00:51:45 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 00:51:45 ---> bb4de672df1f 00:51:45 Step 20/25 : EXPOSE 59986 00:51:45 ---> Running in 8b43c3882739 00:51:46 Removing intermediate container 8b43c3882739 00:51:46 ---> f2ef5d2ef582 00:51:46 Step 21/25 : ENTRYPOINT ["/device-rest"] 00:51:46 ---> Running in fce9e0a25fb0 00:51:46 Removing intermediate container fce9e0a25fb0 00:51:46 ---> 86cc1198cf0d 00:51:46 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 00:51:46 ---> Running in 5a3862fa62f3 00:51:47 Removing intermediate container 5a3862fa62f3 00:51:47 ---> f6aa0dd0b677 00:51:47 Step 23/25 : LABEL arch=arm64 00:51:47 ---> Running in 0cfcf0a9303b 00:51:47 Removing intermediate container 0cfcf0a9303b 00:51:47 ---> 464a0661704d 00:51:47 Step 24/25 : LABEL git_sha=747ebf972dbf71458de27d5ea00d8ae2a2c98e33 00:51:47 ---> Running in 6820585e1b72 00:51:47 Removing intermediate container 6820585e1b72 00:51:47 ---> edb5ebda9676 00:51:47 Step 25/25 : LABEL version=0.0.0 00:51:47 ---> Running in 09ddd42ea89a 00:51:48 Removing intermediate container 09ddd42ea89a 00:51:48 ---> 6ea4d03198bb 00:51:48 [Warning] One or more build-args [ARCH] were not consumed 00:51:48 Successfully built 6ea4d03198bb 00:51:48 Successfully tagged device-rest-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 00:51:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:51:48 00:51:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:51:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:51:49 arm64: Pulling from edgex-lftools-log-publisher 00:51:49 8998bd30e6a1: Pulling fs layer 00:51:49 04944245beec: Pulling fs layer 00:51:49 699f458cf7ca: Pulling fs layer 00:51:49 765212b225bb: Pulling fs layer 00:51:49 f23df028b6ca: Pulling fs layer 00:51:49 d65c8cfc05b1: Pulling fs layer 00:51:49 2437ff75d9bd: Pulling fs layer 00:51:49 f23df028b6ca: Waiting 00:51:49 2437ff75d9bd: Waiting 00:51:49 d65c8cfc05b1: Waiting 00:51:49 765212b225bb: Waiting 00:51:49 04944245beec: Verifying Checksum 00:51:49 04944245beec: Download complete 00:51:49 765212b225bb: Verifying Checksum 00:51:49 765212b225bb: Download complete 00:51:49 f23df028b6ca: Download complete 00:51:49 d65c8cfc05b1: Verifying Checksum 00:51:49 d65c8cfc05b1: Download complete 00:51:49 699f458cf7ca: Verifying Checksum 00:51:49 699f458cf7ca: Download complete 00:51:49 8998bd30e6a1: Download complete 00:51:52 2437ff75d9bd: Verifying Checksum 00:51:52 2437ff75d9bd: Download complete 00:51:53 8998bd30e6a1: Pull complete 00:51:54 04944245beec: Pull complete 00:51:55 699f458cf7ca: Pull complete 00:51:56 765212b225bb: Pull complete 00:51:56 f23df028b6ca: Pull complete 00:51:57 d65c8cfc05b1: Pull complete 00:52:12 2437ff75d9bd: Pull complete 00:52:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:52:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:52:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:52:12 prd-ubuntu20.04-docker-arm64-4c-16g-9531 does not seem to be running inside a container 00:52:12 $ 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-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:52:15 $ docker top 214416f69ecde35f0ba92b2120ce38ec5940885c322c3e0be3262a77d8ee65fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:52:16 ---> job-cost.sh 00:52:16 lf-activate-venv: SKIPPING 00:52:16 INFO: No Stack... 00:52:16 INFO: Retrieving Pricing Info for: v3-standard-4 00:52:17 INFO: Archiving Costs [Pipeline] sh 00:52:18 + cat /w/workspace/device-rest-go/2/archives/cost.csv 00:52:18 + cut -d, -f6 [Pipeline] lock 00:52:18 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-166-2-stack-cost] 00:52:18 Resource [jenkins-edgexfoundry-device-rest-go-PR-166-2-stack-cost] did not exist. Created. 00:52:18 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-166-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:52:18 /w/workspace/device-rest-go/2@tmp/durable-4a60f0a9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:52:19 + echo total: 0.10999999940395355 [Pipeline] stash 00:52:19 Warning: overwriting stash ‘stack-cost’ 00:52:19 Stashed 1 file(s) [Pipeline] } 00:52:19 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-166-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:52:19 $ docker stop --time=1 214416f69ecde35f0ba92b2120ce38ec5940885c322c3e0be3262a77d8ee65fa 00:52:21 $ docker rm -f 214416f69ecde35f0ba92b2120ce38ec5940885c322c3e0be3262a77d8ee65fa [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:52:22 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-166/archives ] 00:52:22 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-166/archives 00:52:22 total 16 00:52:22 drwxr-xr-x 3 root root 4096 Mar 31 00:44 . 00:52:22 drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 00:44 .. 00:52:22 drwxr-xr-x 2 root root 4096 Mar 31 00:44 cost 00:52:22 -rw-r--r-- 1 root root 85 Mar 31 00:44 cost.csv 00:52:22 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-166/archives 00:52:22 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-166/archives 00:52:22 total 16 00:52:22 drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 00:44 . 00:52:22 drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 00:44 .. 00:52:22 drwxr-xr-x 2 jenkins jenkins 4096 Mar 31 00:44 cost 00:52:22 -rw-r--r-- 1 jenkins jenkins 85 Mar 31 00:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:52:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:52:23 ---> package-listing.sh 00:52:23 ++ facter osfamily 00:52:23 ++ tr '[:upper:]' '[:lower:]' 00:52:23 + OS_FAMILY=debian 00:52:23 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-166 00:52:23 + START_PACKAGES=/tmp/packages_start.txt 00:52:23 + END_PACKAGES=/tmp/packages_end.txt 00:52:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:52:23 + PACKAGES=/tmp/packages_start.txt 00:52:23 + '[' /w/workspace/gexfoundry_device-rest-go_PR-166 ']' 00:52:23 + PACKAGES=/tmp/packages_end.txt 00:52:23 + case "${OS_FAMILY}" in 00:52:23 + dpkg -l 00:52:23 + grep '^ii' 00:52:23 + '[' -f /tmp/packages_start.txt ']' 00:52:23 + '[' -f /tmp/packages_end.txt ']' 00:52:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:52:23 + '[' /w/workspace/gexfoundry_device-rest-go_PR-166 ']' 00:52:23 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-166/archives/ 00:52:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-166/archives/ [Pipeline] echo 00:52:23 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/gexfoundry_device-rest-go_PR-166/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:52:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:52:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:52:24 . [Pipeline] withDockerContainer 00:52:24 prd-ubuntu20.04-docker-8c-8g-9530 does not seem to be running inside a container 00:52:24 $ 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/gexfoundry_device-rest-go_PR-166/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-166 -v /w/workspace/gexfoundry_device-rest-go_PR-166:/w/workspace/gexfoundry_device-rest-go_PR-166:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-166@tmp:/w/workspace/gexfoundry_device-rest-go_PR-166@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:52:24 $ docker top 28e60c3907b5f27d887c1b59ff192781bd325a20a87d3d4494ec293cbd5b80c8 -eo pid,comm [Pipeline] { [Pipeline] sh 00:52:25 + touch /tmp/pre-build-complete [Pipeline] sh 00:52:25 + mkdir -p /var/log/sysstat [Pipeline] sh 00:52:25 + ls /var/log/sa-host 00:52:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:52:26 provisioning config files... 00:52:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-166@tmp/config1472082451744620393tmp [Pipeline] { [Pipeline] echo 00:52:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:52:26 ---> create-netrc.sh [Pipeline] } 00:52:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:52:26 ---> python-tools-install.sh [Pipeline] echo 00:52:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:52:26 ---> sudo-logs.sh 00:52:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:52:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:52:27 ---> job-cost.sh 00:52:27 lf-activate-venv: SKIPPING 00:52:27 DEBUG: total: 0.2199999988079071 00:52:27 INFO: Retrieving Stack Cost... 00:52:27 INFO: Retrieving Pricing Info for: v3-standard-8 00:52:28 INFO: Archiving Costs [Pipeline] echo 00:52:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:52:28 ---> logs-deploy.sh 00:52:28 lf-activate-venv: SKIPPING 00:52:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-166/2 00:52:28 INFO: archiving workspace using pattern(s): 00:52:29 Archives upload complete. 00:52:29 INFO: archiving logs to Nexus