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 [2022-03-31T00:42:36.029Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-31T00:42:36.073Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-31T00:42:36.089Z] ========================================================= [2022-03-31T00:42:36.089Z] EdgeX Global Pipelines Version Info [2022-03-31T00:42:36.089Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-31T00:42:36.881Z] ------------------- [2022-03-31T00:42:36.881Z] stable info: [2022-03-31T00:42:36.881Z] ------------------- [2022-03-31T00:42:36.881Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-31T00:42:36.881Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-31T00:42:36.881Z] Message: update stable to v1.0.221 [2022-03-31T00:42:37.456Z] ------------------- [2022-03-31T00:42:37.456Z] experimental info: [2022-03-31T00:42:37.456Z] ------------------- [2022-03-31T00:42:37.456Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-31T00:42:37.456Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-31T00:42:37.456Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-31T00:42:37.599Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-03-31T00:42:37.616Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-03-31T00:42:37.636Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-31T00:42:37.655Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-31T00:42:37.674Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-31T00:42:37.692Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-31T00:42:37.710Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-31T00:42:37.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-03-31T00:42:37.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-31T00:42:37.750Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-31T00:42:37.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-31T00:42:37.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-03-31T00:42:37.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-31T00:42:37.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-31T00:42:37.796Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-31T00:42:37.805Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-31T00:42:37.813Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-31T00:42:37.822Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-31T00:42:37.833Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-31T00:42:37.847Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-31T00:42:37.860Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-03-31T00:42:37.876Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-03-31T00:42:37.888Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-31T00:42:37.901Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-31T00:42:37.914Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-31T00:42:37.930Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-31T00:42:37.940Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-166 [Pipeline] echo [2022-03-31T00:42:37.952Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-166 [Pipeline] echo [2022-03-31T00:42:37.967Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-166 [Pipeline] echo [2022-03-31T00:42:37.980Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 747ebf972dbf71458de27d5ea00d8ae2a2c98e33 [Pipeline] echo [2022-03-31T00:42:37.991Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 747ebf9 [Pipeline] echo [2022-03-31T00:42:38.006Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-31T00:42:38.059Z] provisioning config files... [2022-03-31T00:42:38.075Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-166@tmp/config3944817331804456573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-31T00:42:38.386Z] ---> docker-login.sh [2022-03-31T00:42:38.386Z] nexus3.edgexfoundry.org:10001 [2022-03-31T00:42:38.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T00:42:38.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T00:42:38.649Z] Configure a credential helper to remove this warning. See [2022-03-31T00:42:38.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T00:42:38.649Z] [2022-03-31T00:42:38.649Z] Login Succeeded [2022-03-31T00:42:38.649Z] nexus3.edgexfoundry.org:10002 [2022-03-31T00:42:38.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T00:42:38.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T00:42:38.918Z] Configure a credential helper to remove this warning. See [2022-03-31T00:42:38.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T00:42:38.918Z] [2022-03-31T00:42:38.918Z] Login Succeeded [2022-03-31T00:42:38.918Z] nexus3.edgexfoundry.org:10003 [2022-03-31T00:42:38.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T00:42:39.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T00:42:39.181Z] Configure a credential helper to remove this warning. See [2022-03-31T00:42:39.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T00:42:39.181Z] [2022-03-31T00:42:39.181Z] Login Succeeded [2022-03-31T00:42:39.181Z] nexus3.edgexfoundry.org:10004 [2022-03-31T00:42:39.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T00:42:39.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T00:42:39.181Z] Configure a credential helper to remove this warning. See [2022-03-31T00:42:39.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T00:42:39.181Z] [2022-03-31T00:42:39.181Z] Login Succeeded [2022-03-31T00:42:39.181Z] docker.io [2022-03-31T00:42:39.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T00:42:39.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T00:42:39.755Z] Configure a credential helper to remove this warning. See [2022-03-31T00:42:39.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T00:42:39.756Z] [2022-03-31T00:42:39.756Z] Login Succeeded [2022-03-31T00:42:39.756Z] ---> docker-login.sh ends [Pipeline] } [2022-03-31T00:42:39.765Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-31T00:42:40.190Z] + git rev-list -1 --merges 747ebf972dbf71458de27d5ea00d8ae2a2c98e33~1..747ebf972dbf71458de27d5ea00d8ae2a2c98e33 [Pipeline] echo [2022-03-31T00:42:40.346Z] -----------> git rev-list -1 --merges 747ebf972dbf71458de27d5ea00d8ae2a2c98e33~1..747ebf972dbf71458de27d5ea00d8ae2a2c98e33 747ebf972dbf71458de27d5ea00d8ae2a2c98e33 [false] [Pipeline] sh [2022-03-31T00:42:40.644Z] + git log --format=format:%s -1 747ebf972dbf71458de27d5ea00d8ae2a2c98e33 [Pipeline] echo [2022-03-31T00:42:40.664Z] ========================================================= [2022-03-31T00:42:40.664Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-31T00:42:40.664Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-31T00:42:41.008Z] + git log --format=format:%s -1 747ebf972dbf71458de27d5ea00d8ae2a2c98e33 [Pipeline] echo [2022-03-31T00:42:41.022Z] [semverPrep] GIT_COMMIT: 747ebf972dbf71458de27d5ea00d8ae2a2c98e33, Commit Message: feat: addressed review issue of value type checking in check uint and int methods [Pipeline] echo [2022-03-31T00:42:41.030Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-31T00:42:41.469Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-31T00:42:41.469Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-31T00:42:41.469Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-31T00:42:41.469Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-31T00:42:41.469Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-31T00:42:41.469Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-31T00:42:41.469Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-31T00:42:41.934Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-31T00:42:41.934Z] [2022-03-31T00:42:41.934Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-31T00:42:42.243Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-31T00:42:42.243Z] latest: Pulling from edgex-devops/git-semver [2022-03-31T00:42:42.243Z] a0d0a0d46f8b: Pulling fs layer [2022-03-31T00:42:42.243Z] 3e5f54012d9b: Pulling fs layer [2022-03-31T00:42:42.243Z] 4c7163046ea9: Pulling fs layer [2022-03-31T00:42:42.243Z] 0c2d73faf560: Pulling fs layer [2022-03-31T00:42:42.243Z] 0c2d73faf560: Waiting [2022-03-31T00:42:42.243Z] 3e5f54012d9b: Verifying Checksum [2022-03-31T00:42:42.243Z] 3e5f54012d9b: Download complete [2022-03-31T00:42:42.243Z] a0d0a0d46f8b: Verifying Checksum [2022-03-31T00:42:42.243Z] a0d0a0d46f8b: Download complete [2022-03-31T00:42:42.243Z] 0c2d73faf560: Verifying Checksum [2022-03-31T00:42:42.243Z] 0c2d73faf560: Download complete [2022-03-31T00:42:42.503Z] 4c7163046ea9: Verifying Checksum [2022-03-31T00:42:42.503Z] 4c7163046ea9: Download complete [2022-03-31T00:42:42.503Z] a0d0a0d46f8b: Pull complete [2022-03-31T00:42:42.503Z] 3e5f54012d9b: Pull complete [2022-03-31T00:42:42.766Z] 4c7163046ea9: Pull complete [2022-03-31T00:42:43.028Z] 0c2d73faf560: Pull complete [2022-03-31T00:42:43.028Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-31T00:42:43.028Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-31T00:42:43.028Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-31T00:42:43.113Z] prd-ubuntu20.04-docker-8c-8g-9530 does not seem to be running inside a container [2022-03-31T00:42:43.160Z] $ 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 [2022-03-31T00:42:43.881Z] $ docker top b0ac30edc87e80119d36317abba500e27250f95665ea25c4fe315063cf9f6b3e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-31T00:42:43.993Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-31T00:42:43.993Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-31T00:42:44.149Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-31T00:42:44.158Z] $ docker exec b0ac30edc87e80119d36317abba500e27250f95665ea25c4fe315063cf9f6b3e ssh-agent [2022-03-31T00:42:44.289Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXffcdfk/agent.13 [2022-03-31T00:42:44.289Z] SSH_AGENT_PID=19 [2022-03-31T00:42:44.298Z] Running ssh-add (command line suppressed) [2022-03-31T00:42:44.414Z] 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) [2022-03-31T00:42:44.431Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-31T00:42:44.724Z] + git tag --points-at HEAD [Pipeline] } [2022-03-31T00:42:44.745Z] $ docker exec --env ******** --env ******** b0ac30edc87e80119d36317abba500e27250f95665ea25c4fe315063cf9f6b3e ssh-agent -k [2022-03-31T00:42:44.850Z] unset SSH_AUTH_SOCK; [2022-03-31T00:42:44.851Z] unset SSH_AGENT_PID; [2022-03-31T00:42:44.851Z] echo Agent pid 19 killed; [2022-03-31T00:42:44.858Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-31T00:42:44.884Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-31T00:42:44.884Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-31T00:42:45.029Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-31T00:42:45.038Z] $ docker exec b0ac30edc87e80119d36317abba500e27250f95665ea25c4fe315063cf9f6b3e ssh-agent [2022-03-31T00:42:45.176Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIkPdGI/agent.54 [2022-03-31T00:42:45.176Z] SSH_AGENT_PID=61 [2022-03-31T00:42:45.182Z] Running ssh-add (command line suppressed) [2022-03-31T00:42:45.306Z] 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) [2022-03-31T00:42:45.318Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-31T00:42:45.615Z] + git semver init [2022-03-31T00:42:45.615Z] # -> Open(): unable to determine branch for HEAD [2022-03-31T00:42:45.615Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-166/.git [2022-03-31T00:42:45.615Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-166 [2022-03-31T00:42:45.615Z] # $SEMVER_REMOTE_NAME = origin [2022-03-31T00:42:45.615Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-31T00:42:45.615Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-31T00:42:45.615Z] # $SEMVER_BRANCH = PR-166 [2022-03-31T00:42:45.615Z] # $SEMVER_TEMP = /tmp/semver-539635197 [2022-03-31T00:42:45.615Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-03-31T00:42:47.008Z] # '/tmp/semver-539635197' -> '/w/workspace/gexfoundry_device-rest-go_PR-166/.semver' [2022-03-31T00:42:47.008Z] # -> Force: false [2022-03-31T00:42:47.008Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-166/.semver [Pipeline] } [2022-03-31T00:42:47.025Z] $ docker exec --env ******** --env ******** b0ac30edc87e80119d36317abba500e27250f95665ea25c4fe315063cf9f6b3e ssh-agent -k [2022-03-31T00:42:47.137Z] unset SSH_AUTH_SOCK; [2022-03-31T00:42:47.137Z] unset SSH_AGENT_PID; [2022-03-31T00:42:47.137Z] echo Agent pid 61 killed; [2022-03-31T00:42:47.145Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-31T00:42:47.464Z] + git semver [Pipeline] } [2022-03-31T00:42:47.481Z] $ docker stop --time=1 b0ac30edc87e80119d36317abba500e27250f95665ea25c4fe315063cf9f6b3e [2022-03-31T00:42:48.873Z] $ docker rm -f b0ac30edc87e80119d36317abba500e27250f95665ea25c4fe315063cf9f6b3e [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-31T00:42:49.231Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-31T00:42:49.493Z] Stashed 1 file(s) [Pipeline] echo [2022-03-31T00:42:49.497Z] [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-03-31T00:42:49.608Z] provisioning config files... [2022-03-31T00:42:49.620Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-166@tmp/config5132923924633223002tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-31T00:42:49.922Z] ---> docker-login.sh [2022-03-31T00:42:49.922Z] nexus3.edgexfoundry.org:10001 [2022-03-31T00:42:49.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T00:42:49.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T00:42:49.922Z] Configure a credential helper to remove this warning. See [2022-03-31T00:42:49.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T00:42:49.922Z] [2022-03-31T00:42:49.922Z] Login Succeeded [2022-03-31T00:42:49.922Z] nexus3.edgexfoundry.org:10002 [2022-03-31T00:42:49.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T00:42:50.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T00:42:50.184Z] Configure a credential helper to remove this warning. See [2022-03-31T00:42:50.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T00:42:50.184Z] [2022-03-31T00:42:50.184Z] Login Succeeded [2022-03-31T00:42:50.184Z] nexus3.edgexfoundry.org:10003 [2022-03-31T00:42:50.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T00:42:50.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T00:42:50.184Z] Configure a credential helper to remove this warning. See [2022-03-31T00:42:50.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T00:42:50.184Z] [2022-03-31T00:42:50.184Z] Login Succeeded [2022-03-31T00:42:50.184Z] nexus3.edgexfoundry.org:10004 [2022-03-31T00:42:50.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T00:42:50.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T00:42:50.444Z] Configure a credential helper to remove this warning. See [2022-03-31T00:42:50.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T00:42:50.444Z] [2022-03-31T00:42:50.444Z] Login Succeeded [2022-03-31T00:42:50.444Z] docker.io [2022-03-31T00:42:50.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T00:42:50.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T00:42:50.707Z] Configure a credential helper to remove this warning. See [2022-03-31T00:42:50.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T00:42:50.707Z] [2022-03-31T00:42:50.707Z] Login Succeeded [2022-03-31T00:42:50.707Z] ---> docker-login.sh ends [Pipeline] } [2022-03-31T00:42:50.717Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-31T00:42:50.783Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-31T00:42:50.797Z] ========================================================= [2022-03-31T00:42:50.797Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-31T00:42:50.797Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-31T00:42:51.126Z] + 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-03-31T00:42:51.126Z] Sending build context to Docker daemon 10.55MB [2022-03-31T00:42:51.126Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-31T00:42:51.126Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-31T00:42:51.388Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-31T00:42:51.388Z] 59bf1c3509f3: Pulling fs layer [2022-03-31T00:42:51.388Z] 666ba61612fd: Pulling fs layer [2022-03-31T00:42:51.388Z] 8ed8ca486205: Pulling fs layer [2022-03-31T00:42:51.388Z] 4fe6c5a15a65: Pulling fs layer [2022-03-31T00:42:51.388Z] 22a0e8bec74d: Pulling fs layer [2022-03-31T00:42:51.388Z] 640e595b4fbd: Pulling fs layer [2022-03-31T00:42:51.388Z] 763cafe07f6e: Pulling fs layer [2022-03-31T00:42:51.388Z] 0c0b528cf693: Pulling fs layer [2022-03-31T00:42:51.388Z] 10935f4eaf8b: Pulling fs layer [2022-03-31T00:42:51.388Z] 763cafe07f6e: Waiting [2022-03-31T00:42:51.388Z] 640e595b4fbd: Waiting [2022-03-31T00:42:51.388Z] 0c0b528cf693: Waiting [2022-03-31T00:42:51.388Z] 22a0e8bec74d: Waiting [2022-03-31T00:42:51.388Z] 10935f4eaf8b: Waiting [2022-03-31T00:42:51.388Z] 4fe6c5a15a65: Waiting [2022-03-31T00:42:51.388Z] 8ed8ca486205: Download complete [2022-03-31T00:42:51.388Z] 666ba61612fd: Verifying Checksum [2022-03-31T00:42:51.388Z] 666ba61612fd: Download complete [2022-03-31T00:42:51.388Z] 22a0e8bec74d: Download complete [2022-03-31T00:42:51.388Z] 640e595b4fbd: Download complete [2022-03-31T00:42:51.388Z] 59bf1c3509f3: Verifying Checksum [2022-03-31T00:42:51.388Z] 59bf1c3509f3: Download complete [2022-03-31T00:42:51.388Z] 763cafe07f6e: Download complete [2022-03-31T00:42:51.388Z] 0c0b528cf693: Verifying Checksum [2022-03-31T00:42:51.388Z] 0c0b528cf693: Download complete [2022-03-31T00:42:51.651Z] 59bf1c3509f3: Pull complete [2022-03-31T00:42:51.651Z] 666ba61612fd: Pull complete [2022-03-31T00:42:51.913Z] 8ed8ca486205: Pull complete [2022-03-31T00:42:52.174Z] 10935f4eaf8b: Download complete [2022-03-31T00:42:52.174Z] 4fe6c5a15a65: Verifying Checksum [2022-03-31T00:42:52.174Z] 4fe6c5a15a65: Download complete [2022-03-31T00:42:56.380Z] 4fe6c5a15a65: Pull complete [2022-03-31T00:42:56.380Z] 22a0e8bec74d: Pull complete [2022-03-31T00:42:56.641Z] 640e595b4fbd: Pull complete [2022-03-31T00:42:56.641Z] 763cafe07f6e: Pull complete [2022-03-31T00:42:56.901Z] 0c0b528cf693: Pull complete [2022-03-31T00:42:59.446Z] 10935f4eaf8b: Pull complete [2022-03-31T00:42:59.446Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-31T00:42:59.446Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-31T00:42:59.446Z] ---> 99d49a6021b9 [2022-03-31T00:42:59.446Z] Step 3/12 : ARG MAKE='make build' [2022-03-31T00:43:00.843Z] ---> Running in 6f8036fdf581 [2022-03-31T00:43:00.843Z] Removing intermediate container 6f8036fdf581 [2022-03-31T00:43:00.843Z] ---> ebc90704adc4 [2022-03-31T00:43:00.843Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-31T00:43:00.843Z] ---> Running in fe6e868a2268 [2022-03-31T00:43:00.843Z] Removing intermediate container fe6e868a2268 [2022-03-31T00:43:00.843Z] ---> aa665ea4ba71 [2022-03-31T00:43:00.843Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-31T00:43:00.843Z] ---> Running in 641615120f05 [2022-03-31T00:43:01.105Z] Removing intermediate container 641615120f05 [2022-03-31T00:43:01.105Z] ---> c807eb629333 [2022-03-31T00:43:01.105Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-31T00:43:01.105Z] ---> Running in 0c74c6e7d737 [2022-03-31T00:43:01.683Z] Removing intermediate container 0c74c6e7d737 [2022-03-31T00:43:01.683Z] ---> ecdf664296f3 [2022-03-31T00:43:01.683Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-31T00:43:01.683Z] ---> Running in b5381c30781f [2022-03-31T00:43:01.945Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-31T00:43:02.892Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-31T00:43:03.154Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-31T00:43:03.416Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-31T00:43:03.417Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-31T00:43:03.417Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-31T00:43:03.680Z] Executing busybox-1.34.1-r3.trigger [2022-03-31T00:43:03.680Z] OK: 224 MiB in 56 packages [2022-03-31T00:43:03.941Z] Removing intermediate container b5381c30781f [2022-03-31T00:43:03.941Z] ---> 4ce9562d3e47 [2022-03-31T00:43:03.941Z] Step 8/12 : WORKDIR /device-rest-go [2022-03-31T00:43:04.202Z] ---> Running in d827f78bedeb [2022-03-31T00:43:04.202Z] Removing intermediate container d827f78bedeb [2022-03-31T00:43:04.202Z] ---> 74b7da1fc192 [2022-03-31T00:43:04.202Z] Step 9/12 : COPY go.mod vendor* ./ [2022-03-31T00:43:04.202Z] ---> 43ce385ccfa1 [2022-03-31T00:43:04.202Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-31T00:43:04.465Z] ---> Running in 5a6a618f0e09 [2022-03-31T00:43:04.579Z] Still waiting to schedule task [2022-03-31T00:43:04.579Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9527’ [2022-03-31T00:43:31.054Z] Removing intermediate container 5a6a618f0e09 [2022-03-31T00:43:31.055Z] ---> 9e90c2151aac [2022-03-31T00:43:31.055Z] Step 11/12 : COPY . . [2022-03-31T00:43:31.055Z] ---> 717bc2e06ec4 [2022-03-31T00:43:31.055Z] Step 12/12 : RUN $MAKE [2022-03-31T00:43:31.055Z] ---> Running in b0502bc507ac [2022-03-31T00:43:31.055Z] noop [2022-03-31T00:43:31.055Z] Removing intermediate container b0502bc507ac [2022-03-31T00:43:31.055Z] ---> d316f8303d3e [2022-03-31T00:43:31.055Z] Successfully built d316f8303d3e [2022-03-31T00:43:31.055Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-31T00:43:31.361Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-31T00:43:31.361Z] . [Pipeline] withDockerContainer [2022-03-31T00:43:31.442Z] prd-ubuntu20.04-docker-8c-8g-9530 does not seem to be running inside a container [2022-03-31T00:43:31.486Z] $ 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 [2022-03-31T00:43:31.894Z] $ docker top 7a013751bda79ac5907d11329c05b5ff7331c536c1c902c0095cb72b67ce7872 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-31T00:43:32.267Z] + go version [2022-03-31T00:43:32.267Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-31T00:43:32.288Z] $ docker stop --time=1 7a013751bda79ac5907d11329c05b5ff7331c536c1c902c0095cb72b67ce7872 [2022-03-31T00:43:33.608Z] $ docker rm -f 7a013751bda79ac5907d11329c05b5ff7331c536c1c902c0095cb72b67ce7872 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-31T00:43:34.027Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-31T00:43:34.027Z] . [Pipeline] withDockerContainer [2022-03-31T00:43:34.111Z] prd-ubuntu20.04-docker-8c-8g-9530 does not seem to be running inside a container [2022-03-31T00:43:34.154Z] $ 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 [2022-03-31T00:43:34.574Z] $ docker top 0359633b47eada0a3023c86b0f4113f149f87f2e94926e63b50d397bbd9f969e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-31T00:43:34.941Z] + make test [2022-03-31T00:43:34.941Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-03-31T00:43:35.203Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-03-31T00:43:43.492Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-03-31T00:43:43.492Z] ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 55.2% of statements [2022-03-31T00:43:50.085Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-31T00:43:52.630Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-31T00:43:52.630Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-31T00:43:52.630Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-31T00:43:52.908Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-31T00:43:52.928Z] $ docker stop --time=1 0359633b47eada0a3023c86b0f4113f149f87f2e94926e63b50d397bbd9f969e [2022-03-31T00:43:54.631Z] $ docker rm -f 0359633b47eada0a3023c86b0f4113f149f87f2e94926e63b50d397bbd9f969e [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-31T00:43:55.051Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-31T00:43:55.086Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-31T00:43:56.060Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-31T00:43:56.353Z] + ls -al . [2022-03-31T00:43:56.353Z] total 184 [2022-03-31T00:43:56.353Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 31 00:43 . [2022-03-31T00:43:56.353Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 00:42 .. [2022-03-31T00:43:56.353Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 31 00:42 .dockerignore [2022-03-31T00:43:56.353Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 00:42 .git [2022-03-31T00:43:56.353Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 00:42 .github [2022-03-31T00:43:56.353Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 31 00:42 .gitignore [2022-03-31T00:43:56.353Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 31 00:42 .golangci.yml [2022-03-31T00:43:56.353Z] drwx------ 3 jenkins jenkins 4096 Mar 31 00:42 .semver [2022-03-31T00:43:56.353Z] -rw-rw-r-- 1 jenkins jenkins 7192 Mar 31 00:42 Attribution.txt [2022-03-31T00:43:56.353Z] -rw-rw-r-- 1 jenkins jenkins 7459 Mar 31 00:42 CHANGELOG.md [2022-03-31T00:43:56.353Z] -rw-rw-r-- 1 jenkins jenkins 1672 Mar 31 00:42 Dockerfile [2022-03-31T00:43:56.353Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 00:42 GOVERNANCE.md [2022-03-31T00:43:56.353Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 31 00:42 Jenkinsfile [2022-03-31T00:43:56.353Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 31 00:42 LICENSE [2022-03-31T00:43:56.353Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 31 00:42 Makefile [2022-03-31T00:43:56.353Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 31 00:42 OWNERS.md [2022-03-31T00:43:56.353Z] -rw-rw-r-- 1 jenkins jenkins 8246 Mar 31 00:42 README.md [2022-03-31T00:43:56.353Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 00:42 VERSION [2022-03-31T00:43:56.353Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 00:42 bin [2022-03-31T00:43:56.353Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 00:42 cmd [2022-03-31T00:43:56.353Z] -rw-r--r-- 1 jenkins jenkins 9355 Mar 31 00:43 coverage.out [2022-03-31T00:43:56.353Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 00:42 driver [2022-03-31T00:43:56.353Z] -rw-rw-r-- 1 jenkins jenkins 2908 Mar 31 00:42 go.mod [2022-03-31T00:43:56.353Z] -rw-rw-r-- 1 jenkins jenkins 50572 Mar 31 00:42 go.sum [2022-03-31T00:43:56.353Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 00:42 snap [2022-03-31T00:43:56.353Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 31 00:42 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-31T00:43:56.656Z] + 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 . [2022-03-31T00:43:56.656Z] Sending build context to Docker daemon 10.56MB [2022-03-31T00:43:56.656Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-31T00:43:56.656Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-31T00:43:56.656Z] ---> d316f8303d3e [2022-03-31T00:43:56.656Z] Step 3/25 : ARG MAKE='make build' [2022-03-31T00:43:56.917Z] ---> Running in 999e9146813e [2022-03-31T00:43:56.917Z] Removing intermediate container 999e9146813e [2022-03-31T00:43:56.917Z] ---> bc1aa833904e [2022-03-31T00:43:56.917Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-31T00:43:56.917Z] ---> Running in 528e8a3d929a [2022-03-31T00:43:56.917Z] Removing intermediate container 528e8a3d929a [2022-03-31T00:43:56.917Z] ---> c1ad4f77e96a [2022-03-31T00:43:56.917Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-03-31T00:43:57.176Z] ---> Running in 423e729a80fb [2022-03-31T00:43:57.176Z] Removing intermediate container 423e729a80fb [2022-03-31T00:43:57.176Z] ---> fac0043d8505 [2022-03-31T00:43:57.176Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-31T00:43:57.176Z] ---> Running in 90641b543375 [2022-03-31T00:43:57.747Z] Removing intermediate container 90641b543375 [2022-03-31T00:43:57.747Z] ---> a3b78f4dc5c6 [2022-03-31T00:43:57.747Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-31T00:43:57.747Z] ---> Running in b06f2daee11a [2022-03-31T00:43:58.317Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-31T00:43:58.889Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-31T00:43:59.149Z] OK: 224 MiB in 56 packages [2022-03-31T00:43:59.720Z] Removing intermediate container b06f2daee11a [2022-03-31T00:43:59.720Z] ---> 7cac55df1adc [2022-03-31T00:43:59.720Z] Step 8/25 : WORKDIR /device-rest-go [2022-03-31T00:43:59.720Z] ---> Running in 05aa2e64460d [2022-03-31T00:43:59.720Z] Removing intermediate container 05aa2e64460d [2022-03-31T00:43:59.720Z] ---> b85c03fa723f [2022-03-31T00:43:59.720Z] Step 9/25 : COPY go.mod vendor* ./ [2022-03-31T00:43:59.980Z] ---> 53d427d196d8 [2022-03-31T00:43:59.980Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-31T00:43:59.980Z] ---> Running in 402ca0b703d0 [2022-03-31T00:44:00.552Z] Removing intermediate container 402ca0b703d0 [2022-03-31T00:44:00.552Z] ---> 52ea10fd77d3 [2022-03-31T00:44:00.552Z] Step 11/25 : COPY . . [2022-03-31T00:44:00.814Z] ---> 52915c386bd5 [2022-03-31T00:44:00.814Z] Step 12/25 : RUN $MAKE [2022-03-31T00:44:01.074Z] ---> Running in bfe74d95583b [2022-03-31T00:44:01.334Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2022-03-31T00:44:09.467Z] Removing intermediate container bfe74d95583b [2022-03-31T00:44:09.467Z] ---> 2bac19fe559e [2022-03-31T00:44:09.467Z] Step 13/25 : FROM alpine:3.14 [2022-03-31T00:44:09.731Z] 3.14: Pulling from library/alpine [2022-03-31T00:44:09.991Z] cfab2db72209: Pulling fs layer [2022-03-31T00:44:09.991Z] 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 [2022-03-31T00:44:10.384Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-31T00:44:10.384Z] [2022-03-31T00:44:10.384Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-31T00:44:10.691Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-31T00:44:10.691Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-31T00:44:10.691Z] 5eb5b503b376: Pulling fs layer [2022-03-31T00:44:10.691Z] 5c69ac0246d0: Pulling fs layer [2022-03-31T00:44:10.691Z] ec43610c2a17: Pulling fs layer [2022-03-31T00:44:10.691Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-31T00:44:10.691Z] 33b1e0a273af: Pulling fs layer [2022-03-31T00:44:10.691Z] 5d3b04190fa2: Pulling fs layer [2022-03-31T00:44:10.691Z] 2f39f015ded8: Pulling fs layer [2022-03-31T00:44:10.691Z] 2f39f015ded8: Waiting [2022-03-31T00:44:10.691Z] 5d3b04190fa2: Waiting [2022-03-31T00:44:10.691Z] 33b1e0a273af: Waiting [2022-03-31T00:44:10.691Z] 5c69ac0246d0: Download complete [2022-03-31T00:44:10.691Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-31T00:44:10.691Z] 3a2ae6a8a46f: Download complete [2022-03-31T00:44:10.691Z] 33b1e0a273af: Verifying Checksum [2022-03-31T00:44:10.691Z] 33b1e0a273af: Download complete [2022-03-31T00:44:10.954Z] 5d3b04190fa2: Verifying Checksum [2022-03-31T00:44:10.954Z] 5d3b04190fa2: Download complete [2022-03-31T00:44:10.954Z] ec43610c2a17: Verifying Checksum [2022-03-31T00:44:10.954Z] ec43610c2a17: Download complete [2022-03-31T00:44:10.954Z] 5eb5b503b376: Download complete [2022-03-31T00:44:11.525Z] 2f39f015ded8: Download complete [2022-03-31T00:44:12.464Z] 5eb5b503b376: Pull complete [2022-03-31T00:44:12.724Z] 5c69ac0246d0: Pull complete [2022-03-31T00:44:13.295Z] ec43610c2a17: Pull complete [2022-03-31T00:44:13.295Z] 3a2ae6a8a46f: Pull complete [2022-03-31T00:44:13.554Z] 33b1e0a273af: Pull complete [2022-03-31T00:44:13.554Z] 5d3b04190fa2: Pull complete [2022-03-31T00:44:18.840Z] 2f39f015ded8: Pull complete [2022-03-31T00:44:18.841Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-31T00:44:18.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-31T00:44:18.841Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-31T00:44:18.923Z] prd-ubuntu20.04-docker-8c-8g-9530 does not seem to be running inside a container [2022-03-31T00:44:18.962Z] $ 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 [2022-03-31T00:44:20.847Z] $ docker top d9b93ade820d5aae3e236da7734016e2ea378479acd79e7476525ab5e603c6e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-31T00:44:21.286Z] ---> job-cost.sh [2022-03-31T00:44:21.286Z] lf-activate-venv: SKIPPING [2022-03-31T00:44:21.286Z] INFO: No Stack... [2022-03-31T00:44:22.250Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-31T00:44:22.512Z] INFO: Archiving Costs [Pipeline] sh [2022-03-31T00:44:22.812Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-166/archives/cost.csv [2022-03-31T00:44:22.812Z] + cut -d, -f6 [Pipeline] lock [2022-03-31T00:44:22.828Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-166-2-stack-cost] [2022-03-31T00:44:22.834Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-166-2-stack-cost] did not exist. Created. [2022-03-31T00:44:22.834Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-166-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-31T00:44:23.143Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-31T00:44:23.182Z] Stashed 1 file(s) [Pipeline] } [2022-03-31T00:44:23.189Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-166-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-31T00:44:23.213Z] $ docker stop --time=1 d9b93ade820d5aae3e236da7734016e2ea378479acd79e7476525ab5e603c6e0 [2022-03-31T00:44:24.402Z] $ docker rm -f d9b93ade820d5aae3e236da7734016e2ea378479acd79e7476525ab5e603c6e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-31T00:44:24.519Z] Failed in branch amd64 [2022-03-31T00:46:40.246Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9531 in /w/workspace/gexfoundry_device-rest-go_PR-166 [Pipeline] { [Pipeline] ws [2022-03-31T00:46:40.258Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2022-03-31T00:46:40.528Z] The recommended git tool is: git [2022-03-31T00:46:48.708Z] using credential edgex-jenkins-ssh [2022-03-31T00:46:48.748Z] Cloning the remote Git repository [2022-03-31T00:46:48.880Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-03-31T00:46:48.999Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2022-03-31T00:46:49.167Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-03-31T00:46:49.168Z] > git --version # timeout=10 [2022-03-31T00:46:49.230Z] > git --version # 'git version 2.25.1' [2022-03-31T00:46:49.232Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-31T00:46:49.316Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-31T00:46:51.291Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-03-31T00:46:51.312Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-31T00:46:51.341Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-03-31T00:46:51.407Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-03-31T00:46:51.408Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-31T00:46:51.436Z] > 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 [2022-03-31T00:46:52.035Z] Merging remotes/origin/main commit ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 into PR head commit 747ebf972dbf71458de27d5ea00d8ae2a2c98e33 [2022-03-31T00:46:52.370Z] Merge succeeded, producing 747ebf972dbf71458de27d5ea00d8ae2a2c98e33 [2022-03-31T00:46:52.371Z] Checking out Revision 747ebf972dbf71458de27d5ea00d8ae2a2c98e33 (PR-166) [2022-03-31T00:46:52.065Z] > git config core.sparsecheckout # timeout=10 [2022-03-31T00:46:52.108Z] > git checkout -f 747ebf972dbf71458de27d5ea00d8ae2a2c98e33 # timeout=10 [2022-03-31T00:46:52.218Z] > git remote # timeout=10 [2022-03-31T00:46:52.261Z] > git config --get remote.origin.url # timeout=10 [2022-03-31T00:46:52.283Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-31T00:46:52.299Z] > git merge ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 [2022-03-31T00:46:52.343Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-31T00:46:52.390Z] > git config core.sparsecheckout # timeout=10 [2022-03-31T00:46:52.414Z] > git checkout -f 747ebf972dbf71458de27d5ea00d8ae2a2c98e33 # timeout=10 [2022-03-31T00:46:56.787Z] 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 [2022-03-31T00:46:57.770Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-31T00:46:57.770Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-31T00:46:57.770Z] Dload Upload Total Spent Left Speed [2022-03-31T00:46:57.770Z] 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 [2022-03-31T00:46:58.271Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-31T00:46:58.609Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-31T00:46:58.609Z] sudo tee /etc/docker/daemon.new [2022-03-31T00:46:58.609Z] { [2022-03-31T00:46:58.609Z] "registry-mirrors": [ [2022-03-31T00:46:58.609Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-31T00:46:58.609Z] ], [2022-03-31T00:46:58.609Z] "bip": "10.250.0.254/24", [2022-03-31T00:46:58.609Z] "hosts": [ [2022-03-31T00:46:58.609Z] "tcp://0.0.0.0:5555", [2022-03-31T00:46:58.609Z] "unix:///var/run/docker.sock" [2022-03-31T00:46:58.609Z] ], [2022-03-31T00:46:58.609Z] "mtu": 1458, [2022-03-31T00:46:58.609Z] "selinux-enabled": true, [2022-03-31T00:46:58.609Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-31T00:46:58.609Z] } [Pipeline] sh [2022-03-31T00:46:58.950Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-31T00:46:59.355Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-31T00:47:17.717Z] provisioning config files... [2022-03-31T00:47:17.740Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config9080050611122406565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-31T00:47:18.092Z] ---> docker-login.sh [2022-03-31T00:47:18.092Z] nexus3.edgexfoundry.org:10001 [2022-03-31T00:47:18.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T00:47:18.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T00:47:18.964Z] Configure a credential helper to remove this warning. See [2022-03-31T00:47:18.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T00:47:18.964Z] [2022-03-31T00:47:18.964Z] Login Succeeded [2022-03-31T00:47:18.964Z] nexus3.edgexfoundry.org:10002 [2022-03-31T00:47:19.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T00:47:19.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T00:47:19.235Z] Configure a credential helper to remove this warning. See [2022-03-31T00:47:19.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T00:47:19.235Z] [2022-03-31T00:47:19.235Z] Login Succeeded [2022-03-31T00:47:19.235Z] nexus3.edgexfoundry.org:10003 [2022-03-31T00:47:19.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T00:47:19.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T00:47:19.779Z] Configure a credential helper to remove this warning. See [2022-03-31T00:47:19.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T00:47:19.779Z] [2022-03-31T00:47:19.779Z] Login Succeeded [2022-03-31T00:47:19.779Z] nexus3.edgexfoundry.org:10004 [2022-03-31T00:47:20.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T00:47:20.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T00:47:20.053Z] Configure a credential helper to remove this warning. See [2022-03-31T00:47:20.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T00:47:20.053Z] [2022-03-31T00:47:20.053Z] Login Succeeded [2022-03-31T00:47:20.053Z] docker.io [2022-03-31T00:47:20.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T00:47:20.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T00:47:20.916Z] Configure a credential helper to remove this warning. See [2022-03-31T00:47:20.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T00:47:20.916Z] [2022-03-31T00:47:20.916Z] Login Succeeded [2022-03-31T00:47:20.916Z] ---> docker-login.sh ends [Pipeline] } [2022-03-31T00:47:20.932Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-31T00:47:21.426Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-31T00:47:21.443Z] ========================================================= [2022-03-31T00:47:21.443Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-31T00:47:21.443Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-31T00:47:21.803Z] + 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-03-31T00:47:21.803Z] Sending build context to Docker daemon 126kB [2022-03-31T00:47:22.075Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-31T00:47:22.076Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-31T00:47:22.351Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-31T00:47:22.351Z] 9b3977197b4f: Pulling fs layer [2022-03-31T00:47:22.351Z] 1a89e8eeedd5: Pulling fs layer [2022-03-31T00:47:22.351Z] 94645a83ff95: Pulling fs layer [2022-03-31T00:47:22.351Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-31T00:47:22.351Z] 0c92f367c5e7: Pulling fs layer [2022-03-31T00:47:22.351Z] f7c0051592d6: Pulling fs layer [2022-03-31T00:47:22.351Z] a227ed2f7395: Pulling fs layer [2022-03-31T00:47:22.351Z] 7b1c46037f91: Pulling fs layer [2022-03-31T00:47:22.351Z] 3f3a8bcf1eab: Waiting [2022-03-31T00:47:22.351Z] 0c92f367c5e7: Waiting [2022-03-31T00:47:22.351Z] f7c0051592d6: Waiting [2022-03-31T00:47:22.351Z] 7b1c46037f91: Waiting [2022-03-31T00:47:22.351Z] a227ed2f7395: Waiting [2022-03-31T00:47:22.351Z] 1a89e8eeedd5: Verifying Checksum [2022-03-31T00:47:22.351Z] 94645a83ff95: Verifying Checksum [2022-03-31T00:47:22.351Z] 94645a83ff95: Download complete [2022-03-31T00:47:22.351Z] 1a89e8eeedd5: Download complete [2022-03-31T00:47:22.351Z] 0c92f367c5e7: Verifying Checksum [2022-03-31T00:47:22.351Z] 0c92f367c5e7: Download complete [2022-03-31T00:47:22.351Z] f7c0051592d6: Download complete [2022-03-31T00:47:22.351Z] a227ed2f7395: Verifying Checksum [2022-03-31T00:47:22.351Z] a227ed2f7395: Download complete [2022-03-31T00:47:22.351Z] 9b3977197b4f: Verifying Checksum [2022-03-31T00:47:22.351Z] 9b3977197b4f: Download complete [2022-03-31T00:47:22.959Z] 9b3977197b4f: Pull complete [2022-03-31T00:47:23.566Z] 1a89e8eeedd5: Pull complete [2022-03-31T00:47:23.855Z] 94645a83ff95: Pull complete [2022-03-31T00:47:24.467Z] 7b1c46037f91: Verifying Checksum [2022-03-31T00:47:24.467Z] 7b1c46037f91: Download complete [2022-03-31T00:47:25.067Z] 3f3a8bcf1eab: Download complete [2022-03-31T00:47:37.564Z] 3f3a8bcf1eab: Pull complete [2022-03-31T00:47:37.564Z] 0c92f367c5e7: Pull complete [2022-03-31T00:47:37.564Z] f7c0051592d6: Pull complete [2022-03-31T00:47:37.564Z] a227ed2f7395: Pull complete [2022-03-31T00:47:44.282Z] 7b1c46037f91: Pull complete [2022-03-31T00:47:44.282Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-31T00:47:44.282Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-31T00:47:44.282Z] ---> f79e39bc4007 [2022-03-31T00:47:44.282Z] Step 3/12 : ARG MAKE='make build' [2022-03-31T00:47:44.880Z] ---> Running in 130d4e83de93 [2022-03-31T00:47:45.156Z] Removing intermediate container 130d4e83de93 [2022-03-31T00:47:45.156Z] ---> eadbeb84ed9d [2022-03-31T00:47:45.156Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-31T00:47:45.156Z] ---> Running in 79f07fe3697a [2022-03-31T00:47:45.448Z] Removing intermediate container 79f07fe3697a [2022-03-31T00:47:45.448Z] ---> 44aeaf71a157 [2022-03-31T00:47:45.448Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-31T00:47:45.728Z] ---> Running in 11d1aa65fab9 [2022-03-31T00:47:46.000Z] Removing intermediate container 11d1aa65fab9 [2022-03-31T00:47:46.000Z] ---> 06eb14e62ecd [2022-03-31T00:47:46.000Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-31T00:47:46.000Z] ---> Running in 5e2da084e7ea [2022-03-31T00:47:47.997Z] Removing intermediate container 5e2da084e7ea [2022-03-31T00:47:47.997Z] ---> 1fa75c0e9ab0 [2022-03-31T00:47:47.997Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-31T00:47:47.997Z] ---> Running in 6d107858d5b8 [2022-03-31T00:47:48.981Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-31T00:47:49.957Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-31T00:47:50.932Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-31T00:47:50.932Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-31T00:47:50.932Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-31T00:47:51.206Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-31T00:47:51.206Z] Executing busybox-1.34.1-r3.trigger [2022-03-31T00:47:51.206Z] OK: 224 MiB in 56 packages [2022-03-31T00:47:52.195Z] Removing intermediate container 6d107858d5b8 [2022-03-31T00:47:52.196Z] ---> 4f7234f63225 [2022-03-31T00:47:52.196Z] Step 8/12 : WORKDIR /device-rest-go [2022-03-31T00:47:52.196Z] ---> Running in 83f6c02c164e [2022-03-31T00:47:52.472Z] Removing intermediate container 83f6c02c164e [2022-03-31T00:47:52.472Z] ---> 00bedc4a3a73 [2022-03-31T00:47:52.472Z] Step 9/12 : COPY go.mod vendor* ./ [2022-03-31T00:47:53.081Z] ---> 087f202df0c6 [2022-03-31T00:47:53.081Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-31T00:47:53.081Z] ---> Running in 718bf3264b6c [2022-03-31T00:49:14.861Z] Removing intermediate container 718bf3264b6c [2022-03-31T00:49:14.861Z] ---> 848c0e6afa5b [2022-03-31T00:49:14.861Z] Step 11/12 : COPY . . [2022-03-31T00:49:14.861Z] ---> d126c0f7bcbd [2022-03-31T00:49:14.861Z] Step 12/12 : RUN $MAKE [2022-03-31T00:49:14.861Z] ---> Running in 0c609c62583c [2022-03-31T00:49:14.861Z] noop [2022-03-31T00:49:14.861Z] Removing intermediate container 0c609c62583c [2022-03-31T00:49:14.861Z] ---> 2a335528eaab [2022-03-31T00:49:14.861Z] Successfully built 2a335528eaab [2022-03-31T00:49:14.861Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-31T00:49:15.206Z] + docker inspect -f . ci-base-image-arm64 [2022-03-31T00:49:15.206Z] . [Pipeline] withDockerContainer [2022-03-31T00:49:15.426Z] prd-ubuntu20.04-docker-arm64-4c-16g-9531 does not seem to be running inside a container [2022-03-31T00:49:15.513Z] $ 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 [2022-03-31T00:49:16.807Z] $ docker top bd17391b4c20ea5090095bdb76d3da2eff2a598680b57b849b72ae01abfca3b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-31T00:49:17.736Z] + go version [2022-03-31T00:49:17.736Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-31T00:49:17.765Z] $ docker stop --time=1 bd17391b4c20ea5090095bdb76d3da2eff2a598680b57b849b72ae01abfca3b7 [2022-03-31T00:49:19.419Z] $ docker rm -f bd17391b4c20ea5090095bdb76d3da2eff2a598680b57b849b72ae01abfca3b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-31T00:49:20.069Z] + docker inspect -f . ci-base-image-arm64 [2022-03-31T00:49:20.069Z] . [Pipeline] withDockerContainer [2022-03-31T00:49:20.311Z] prd-ubuntu20.04-docker-arm64-4c-16g-9531 does not seem to be running inside a container [2022-03-31T00:49:20.404Z] $ 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 [2022-03-31T00:49:21.768Z] $ docker top 9fcac5a41e6e254168f5629a04d2496c071392ebb95d5d0e2af715876cf4948b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-31T00:49:22.750Z] + make test [2022-03-31T00:49:22.750Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-03-31T00:49:24.199Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-03-31T00:50:20.851Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-03-31T00:50:20.851Z] ok github.com/edgexfoundry/device-rest-go/driver 0.065s coverage: 55.2% of statements [2022-03-31T00:50:20.851Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-03-31T00:50:20.851Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-31T00:50:36.015Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-31T00:50:36.015Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-31T00:50:36.015Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-31T00:50:36.637Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-31T00:50:36.652Z] $ docker stop --time=1 9fcac5a41e6e254168f5629a04d2496c071392ebb95d5d0e2af715876cf4948b [2022-03-31T00:50:38.412Z] $ docker rm -f 9fcac5a41e6e254168f5629a04d2496c071392ebb95d5d0e2af715876cf4948b [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-31T00:50:39.256Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-31T00:50:39.289Z] Warning: overwriting stash ‘coverage-report’ [2022-03-31T00:50:39.802Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-31T00:50:40.193Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-31T00:50:40.538Z] + ls -al . [2022-03-31T00:50:40.538Z] total 180 [2022-03-31T00:50:40.538Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 00:50 . [2022-03-31T00:50:40.538Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 00:46 .. [2022-03-31T00:50:40.538Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 31 00:46 .dockerignore [2022-03-31T00:50:40.538Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 00:46 .git [2022-03-31T00:50:40.538Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 00:46 .github [2022-03-31T00:50:40.538Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 31 00:46 .gitignore [2022-03-31T00:50:40.538Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 31 00:46 .golangci.yml [2022-03-31T00:50:40.538Z] -rw-rw-r-- 1 jenkins jenkins 7192 Mar 31 00:46 Attribution.txt [2022-03-31T00:50:40.538Z] -rw-rw-r-- 1 jenkins jenkins 7459 Mar 31 00:46 CHANGELOG.md [2022-03-31T00:50:40.538Z] -rw-rw-r-- 1 jenkins jenkins 1672 Mar 31 00:46 Dockerfile [2022-03-31T00:50:40.538Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 00:46 GOVERNANCE.md [2022-03-31T00:50:40.538Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 31 00:46 Jenkinsfile [2022-03-31T00:50:40.538Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 31 00:46 LICENSE [2022-03-31T00:50:40.538Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 31 00:46 Makefile [2022-03-31T00:50:40.538Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 31 00:46 OWNERS.md [2022-03-31T00:50:40.538Z] -rw-rw-r-- 1 jenkins jenkins 8246 Mar 31 00:46 README.md [2022-03-31T00:50:40.538Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 00:42 VERSION [2022-03-31T00:50:40.538Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 00:46 bin [2022-03-31T00:50:40.538Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 00:46 cmd [2022-03-31T00:50:40.538Z] -rw-r--r-- 1 jenkins jenkins 9355 Mar 31 00:50 coverage.out [2022-03-31T00:50:40.538Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 00:46 driver [2022-03-31T00:50:40.538Z] -rw-rw-r-- 1 jenkins jenkins 2908 Mar 31 00:46 go.mod [2022-03-31T00:50:40.538Z] -rw-rw-r-- 1 jenkins jenkins 50572 Mar 31 00:46 go.sum [2022-03-31T00:50:40.538Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 00:46 snap [2022-03-31T00:50:40.538Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 31 00:46 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-31T00:50:40.888Z] + 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 . [2022-03-31T00:50:40.888Z] Sending build context to Docker daemon 136.2kB [2022-03-31T00:50:41.164Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-31T00:50:41.164Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-31T00:50:41.164Z] ---> 2a335528eaab [2022-03-31T00:50:41.164Z] Step 3/25 : ARG MAKE='make build' [2022-03-31T00:50:41.440Z] ---> Running in b0dd41ad93a5 [2022-03-31T00:50:41.720Z] Removing intermediate container b0dd41ad93a5 [2022-03-31T00:50:41.720Z] ---> 2c9c7a9894b4 [2022-03-31T00:50:41.720Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-31T00:50:41.720Z] ---> Running in 38921fdc3146 [2022-03-31T00:50:41.996Z] Removing intermediate container 38921fdc3146 [2022-03-31T00:50:41.996Z] ---> dce21a62c51b [2022-03-31T00:50:41.996Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-03-31T00:50:42.271Z] ---> Running in fb4dbd5d29f7 [2022-03-31T00:50:42.545Z] Removing intermediate container fb4dbd5d29f7 [2022-03-31T00:50:42.545Z] ---> 960a942ecace [2022-03-31T00:50:42.545Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-31T00:50:42.545Z] ---> Running in 99e94537ba75 [2022-03-31T00:50:44.537Z] Removing intermediate container 99e94537ba75 [2022-03-31T00:50:44.537Z] ---> 638f53c382c9 [2022-03-31T00:50:44.537Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-31T00:50:44.537Z] ---> Running in 12ce40879146 [2022-03-31T00:50:45.522Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-31T00:50:46.505Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-31T00:50:47.491Z] OK: 224 MiB in 56 packages [2022-03-31T00:50:48.094Z] Removing intermediate container 12ce40879146 [2022-03-31T00:50:48.095Z] ---> 58983512cac7 [2022-03-31T00:50:48.095Z] Step 8/25 : WORKDIR /device-rest-go [2022-03-31T00:50:48.095Z] ---> Running in 4c980a7df5b3 [2022-03-31T00:50:48.701Z] Removing intermediate container 4c980a7df5b3 [2022-03-31T00:50:48.701Z] ---> b65645c1c24d [2022-03-31T00:50:48.701Z] Step 9/25 : COPY go.mod vendor* ./ [2022-03-31T00:50:48.974Z] ---> 6b6aa111acc0 [2022-03-31T00:50:48.975Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-31T00:50:49.251Z] ---> Running in cc9ca237d888 [2022-03-31T00:50:51.234Z] Removing intermediate container cc9ca237d888 [2022-03-31T00:50:51.234Z] ---> f6c92bf65370 [2022-03-31T00:50:51.234Z] Step 11/25 : COPY . . [2022-03-31T00:50:51.839Z] ---> 7d7fd4af6262 [2022-03-31T00:50:51.839Z] Step 12/25 : RUN $MAKE [2022-03-31T00:50:51.839Z] ---> Running in bf62dd6af6da [2022-03-31T00:50:52.827Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2022-03-31T00:51:39.897Z] Removing intermediate container bf62dd6af6da [2022-03-31T00:51:39.897Z] ---> 1d7e2a59fd80 [2022-03-31T00:51:39.897Z] Step 13/25 : FROM alpine:3.14 [2022-03-31T00:51:39.897Z] 3.14: Pulling from library/alpine [2022-03-31T00:51:39.897Z] 810d54c7e01b: Pulling fs layer [2022-03-31T00:51:39.897Z] 810d54c7e01b: Verifying Checksum [2022-03-31T00:51:39.897Z] 810d54c7e01b: Download complete [2022-03-31T00:51:39.897Z] 810d54c7e01b: Pull complete [2022-03-31T00:51:39.897Z] Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da [2022-03-31T00:51:39.897Z] Status: Downloaded newer image for alpine:3.14 [2022-03-31T00:51:39.897Z] ---> cc3d11fa2d52 [2022-03-31T00:51:39.897Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-03-31T00:51:39.897Z] ---> Running in 0461410d8a72 [2022-03-31T00:51:39.897Z] Removing intermediate container 0461410d8a72 [2022-03-31T00:51:39.897Z] ---> 3b66d3c79aae [2022-03-31T00:51:39.897Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-03-31T00:51:39.897Z] ---> Running in 5bf1cd1d2660 [2022-03-31T00:51:40.175Z] Removing intermediate container 5bf1cd1d2660 [2022-03-31T00:51:40.175Z] ---> 475f1538ad96 [2022-03-31T00:51:40.175Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-03-31T00:51:40.175Z] ---> Running in 66ec54b4729d [2022-03-31T00:51:41.166Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-03-31T00:51:41.441Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-03-31T00:51:42.424Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-03-31T00:51:42.424Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-03-31T00:51:42.424Z] (3/6) Installing libsodium (1.0.18-r0) [2022-03-31T00:51:42.424Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-31T00:51:42.424Z] (5/6) Installing libzmq (4.3.4-r0) [2022-03-31T00:51:42.424Z] (6/6) Installing zeromq (4.3.4-r0) [2022-03-31T00:51:42.424Z] Executing busybox-1.33.1-r6.trigger [2022-03-31T00:51:42.700Z] OK: 8 MiB in 20 packages [2022-03-31T00:51:43.687Z] Removing intermediate container 66ec54b4729d [2022-03-31T00:51:43.687Z] ---> e016ae15df63 [2022-03-31T00:51:43.687Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-03-31T00:51:44.672Z] ---> e1535d2ee0da [2022-03-31T00:51:44.672Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-03-31T00:51:45.270Z] ---> 82d704ef0857 [2022-03-31T00:51:45.270Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-03-31T00:51:45.887Z] ---> bb4de672df1f [2022-03-31T00:51:45.887Z] Step 20/25 : EXPOSE 59986 [2022-03-31T00:51:45.887Z] ---> Running in 8b43c3882739 [2022-03-31T00:51:46.163Z] Removing intermediate container 8b43c3882739 [2022-03-31T00:51:46.164Z] ---> f2ef5d2ef582 [2022-03-31T00:51:46.164Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-03-31T00:51:46.164Z] ---> Running in fce9e0a25fb0 [2022-03-31T00:51:46.444Z] Removing intermediate container fce9e0a25fb0 [2022-03-31T00:51:46.444Z] ---> 86cc1198cf0d [2022-03-31T00:51:46.444Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-03-31T00:51:46.729Z] ---> Running in 5a3862fa62f3 [2022-03-31T00:51:47.007Z] Removing intermediate container 5a3862fa62f3 [2022-03-31T00:51:47.007Z] ---> f6aa0dd0b677 [2022-03-31T00:51:47.007Z] Step 23/25 : LABEL arch=arm64 [2022-03-31T00:51:47.007Z] ---> Running in 0cfcf0a9303b [2022-03-31T00:51:47.292Z] Removing intermediate container 0cfcf0a9303b [2022-03-31T00:51:47.292Z] ---> 464a0661704d [2022-03-31T00:51:47.292Z] Step 24/25 : LABEL git_sha=747ebf972dbf71458de27d5ea00d8ae2a2c98e33 [2022-03-31T00:51:47.569Z] ---> Running in 6820585e1b72 [2022-03-31T00:51:47.844Z] Removing intermediate container 6820585e1b72 [2022-03-31T00:51:47.844Z] ---> edb5ebda9676 [2022-03-31T00:51:47.844Z] Step 25/25 : LABEL version=0.0.0 [2022-03-31T00:51:47.844Z] ---> Running in 09ddd42ea89a [2022-03-31T00:51:48.118Z] Removing intermediate container 09ddd42ea89a [2022-03-31T00:51:48.118Z] ---> 6ea4d03198bb [2022-03-31T00:51:48.118Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-31T00:51:48.118Z] Successfully built 6ea4d03198bb [2022-03-31T00:51:48.118Z] 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 [2022-03-31T00:51:48.573Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-31T00:51:48.573Z] [2022-03-31T00:51:48.573Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-31T00:51:48.929Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-31T00:51:49.208Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-31T00:51:49.208Z] 8998bd30e6a1: Pulling fs layer [2022-03-31T00:51:49.208Z] 04944245beec: Pulling fs layer [2022-03-31T00:51:49.208Z] 699f458cf7ca: Pulling fs layer [2022-03-31T00:51:49.208Z] 765212b225bb: Pulling fs layer [2022-03-31T00:51:49.208Z] f23df028b6ca: Pulling fs layer [2022-03-31T00:51:49.208Z] d65c8cfc05b1: Pulling fs layer [2022-03-31T00:51:49.208Z] 2437ff75d9bd: Pulling fs layer [2022-03-31T00:51:49.208Z] f23df028b6ca: Waiting [2022-03-31T00:51:49.208Z] 2437ff75d9bd: Waiting [2022-03-31T00:51:49.208Z] d65c8cfc05b1: Waiting [2022-03-31T00:51:49.208Z] 765212b225bb: Waiting [2022-03-31T00:51:49.208Z] 04944245beec: Verifying Checksum [2022-03-31T00:51:49.208Z] 04944245beec: Download complete [2022-03-31T00:51:49.208Z] 765212b225bb: Verifying Checksum [2022-03-31T00:51:49.208Z] 765212b225bb: Download complete [2022-03-31T00:51:49.208Z] f23df028b6ca: Download complete [2022-03-31T00:51:49.208Z] d65c8cfc05b1: Verifying Checksum [2022-03-31T00:51:49.208Z] d65c8cfc05b1: Download complete [2022-03-31T00:51:49.491Z] 699f458cf7ca: Verifying Checksum [2022-03-31T00:51:49.491Z] 699f458cf7ca: Download complete [2022-03-31T00:51:49.767Z] 8998bd30e6a1: Download complete [2022-03-31T00:51:52.406Z] 2437ff75d9bd: Verifying Checksum [2022-03-31T00:51:52.406Z] 2437ff75d9bd: Download complete [2022-03-31T00:51:53.848Z] 8998bd30e6a1: Pull complete [2022-03-31T00:51:54.447Z] 04944245beec: Pull complete [2022-03-31T00:51:55.889Z] 699f458cf7ca: Pull complete [2022-03-31T00:51:56.162Z] 765212b225bb: Pull complete [2022-03-31T00:51:56.764Z] f23df028b6ca: Pull complete [2022-03-31T00:51:57.038Z] d65c8cfc05b1: Pull complete [2022-03-31T00:52:12.137Z] 2437ff75d9bd: Pull complete [2022-03-31T00:52:12.137Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-31T00:52:12.137Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-31T00:52:12.137Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-31T00:52:12.386Z] prd-ubuntu20.04-docker-arm64-4c-16g-9531 does not seem to be running inside a container [2022-03-31T00:52:12.479Z] $ 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 [2022-03-31T00:52:15.152Z] $ docker top 214416f69ecde35f0ba92b2120ce38ec5940885c322c3e0be3262a77d8ee65fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-31T00:52:16.118Z] ---> job-cost.sh [2022-03-31T00:52:16.118Z] lf-activate-venv: SKIPPING [2022-03-31T00:52:16.118Z] INFO: No Stack... [2022-03-31T00:52:16.391Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-31T00:52:17.374Z] INFO: Archiving Costs [Pipeline] sh [2022-03-31T00:52:18.050Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2022-03-31T00:52:18.050Z] + cut -d, -f6 [Pipeline] lock [2022-03-31T00:52:18.119Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-166-2-stack-cost] [2022-03-31T00:52:18.125Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-166-2-stack-cost] did not exist. Created. [2022-03-31T00:52:18.125Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-166-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-31T00:52:18.821Z] /w/workspace/device-rest-go/2@tmp/durable-4a60f0a9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-31T00:52:19.516Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-31T00:52:19.540Z] Warning: overwriting stash ‘stack-cost’ [2022-03-31T00:52:19.587Z] Stashed 1 file(s) [Pipeline] } [2022-03-31T00:52:19.596Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-166-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-31T00:52:19.620Z] $ docker stop --time=1 214416f69ecde35f0ba92b2120ce38ec5940885c322c3e0be3262a77d8ee65fa [2022-03-31T00:52:21.153Z] $ 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 [2022-03-31T00:52:22.174Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-166/archives ] [2022-03-31T00:52:22.174Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-166/archives [2022-03-31T00:52:22.174Z] total 16 [2022-03-31T00:52:22.174Z] drwxr-xr-x 3 root root 4096 Mar 31 00:44 . [2022-03-31T00:52:22.174Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 00:44 .. [2022-03-31T00:52:22.174Z] drwxr-xr-x 2 root root 4096 Mar 31 00:44 cost [2022-03-31T00:52:22.174Z] -rw-r--r-- 1 root root 85 Mar 31 00:44 cost.csv [2022-03-31T00:52:22.174Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-166/archives [2022-03-31T00:52:22.174Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-166/archives [2022-03-31T00:52:22.174Z] total 16 [2022-03-31T00:52:22.174Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 00:44 . [2022-03-31T00:52:22.174Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 00:44 .. [2022-03-31T00:52:22.174Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 31 00:44 cost [2022-03-31T00:52:22.174Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 31 00:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-31T00:52:22.477Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-31T00:52:23.345Z] ---> package-listing.sh [2022-03-31T00:52:23.345Z] ++ facter osfamily [2022-03-31T00:52:23.345Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-31T00:52:23.608Z] + OS_FAMILY=debian [2022-03-31T00:52:23.608Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-166 [2022-03-31T00:52:23.608Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-31T00:52:23.608Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-31T00:52:23.608Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-31T00:52:23.608Z] + PACKAGES=/tmp/packages_start.txt [2022-03-31T00:52:23.608Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-166 ']' [2022-03-31T00:52:23.608Z] + PACKAGES=/tmp/packages_end.txt [2022-03-31T00:52:23.608Z] + case "${OS_FAMILY}" in [2022-03-31T00:52:23.608Z] + dpkg -l [2022-03-31T00:52:23.608Z] + grep '^ii' [2022-03-31T00:52:23.608Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-31T00:52:23.608Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-31T00:52:23.608Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-31T00:52:23.608Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-166 ']' [2022-03-31T00:52:23.608Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-166/archives/ [2022-03-31T00:52:23.608Z] + 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 [2022-03-31T00:52:23.623Z] 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 [2022-03-31T00:52:23.909Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-31T00:52:24.466Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-31T00:52:24.466Z] . [Pipeline] withDockerContainer [2022-03-31T00:52:24.539Z] prd-ubuntu20.04-docker-8c-8g-9530 does not seem to be running inside a container [2022-03-31T00:52:24.578Z] $ 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 [2022-03-31T00:52:24.822Z] $ docker top 28e60c3907b5f27d887c1b59ff192781bd325a20a87d3d4494ec293cbd5b80c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-31T00:52:25.193Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-31T00:52:25.482Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-31T00:52:25.773Z] + ls /var/log/sa-host [2022-03-31T00:52:25.773Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-31T00:52:26.003Z] provisioning config files... [2022-03-31T00:52:26.013Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-166@tmp/config1472082451744620393tmp [Pipeline] { [Pipeline] echo [2022-03-31T00:52:26.030Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-31T00:52:26.317Z] ---> create-netrc.sh [Pipeline] } [2022-03-31T00:52:26.325Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-31T00:52:26.666Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-31T00:52:26.678Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-31T00:52:26.968Z] ---> sudo-logs.sh [2022-03-31T00:52:26.968Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-31T00:52:26.995Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-31T00:52:27.285Z] ---> job-cost.sh [2022-03-31T00:52:27.285Z] lf-activate-venv: SKIPPING [2022-03-31T00:52:27.285Z] DEBUG: total: 0.2199999988079071 [2022-03-31T00:52:27.285Z] INFO: Retrieving Stack Cost... [2022-03-31T00:52:27.546Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-31T00:52:28.117Z] INFO: Archiving Costs [Pipeline] echo [2022-03-31T00:52:28.132Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-31T00:52:28.421Z] ---> logs-deploy.sh [2022-03-31T00:52:28.421Z] lf-activate-venv: SKIPPING [2022-03-31T00:52:28.421Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-166/2 [2022-03-31T00:52:28.421Z] INFO: archiving workspace using pattern(s): [2022-03-31T00:52:29.366Z] Archives upload complete. [2022-03-31T00:52:29.627Z] INFO: archiving logs to Nexus