Pull request #215 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from 386f6e7f2e1d98450377e280e116a910c56d5839+dc8d969f038542ea1d23af15e4cc3257ac4ed5fa (7802e46b3580c7c1b480e6130642054d47c91956) 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-ssh5663748009827637907.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh6854652466559896139.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-215/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-215/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13625780609843521895.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-215/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14616393021035956136.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh13385139917219685914.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-215/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-215/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7523409314131920809.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1366’ Running on prd-ubuntu20.04-docker-8c-8g-1368 in /w/workspace/gexfoundry_device-rest-go_PR-215 [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-215 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit dc8d969f038542ea1d23af15e4cc3257ac4ed5fa into PR head commit 386f6e7f2e1d98450377e280e116a910c56d5839 > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/215/head:refs/remotes/origin/PR-215 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing 386f6e7f2e1d98450377e280e116a910c56d5839 Checking out Revision 386f6e7f2e1d98450377e280e116a910c56d5839 (PR-215) > git config core.sparsecheckout # timeout=10 > git checkout -f 386f6e7f2e1d98450377e280e116a910c56d5839 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge dc8d969f038542ea1d23af15e4cc3257ac4ed5fa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 386f6e7f2e1d98450377e280e116a910c56d5839 # timeout=10 Commit message: "fix: add device service key in CommandRequestTopic" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-27T16:21:44.984Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-27T16:21:45.148Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-27T16:21:45.250Z] ========================================================= [2022-09-27T16:21:45.250Z] EdgeX Global Pipelines Version Info [2022-09-27T16:21:45.250Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-27T16:21:46.002Z] ------------------- [2022-09-27T16:21:46.002Z] stable info: [2022-09-27T16:21:46.002Z] ------------------- [2022-09-27T16:21:46.002Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-27T16:21:46.002Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T16:21:46.002Z] Message: update stable to v1.0.239 [2022-09-27T16:21:46.573Z] ------------------- [2022-09-27T16:21:46.573Z] experimental info: [2022-09-27T16:21:46.573Z] ------------------- [2022-09-27T16:21:46.573Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-27T16:21:46.573Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T16:21:46.573Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-27T16:21:46.855Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-09-27T16:21:46.894Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-09-27T16:21:46.941Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-27T16:21:46.983Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-27T16:21:47.037Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-27T16:21:47.081Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-27T16:21:47.123Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-27T16:21:47.159Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-27T16:21:47.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-27T16:21:47.240Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-27T16:21:47.277Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-27T16:21:47.319Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-09-27T16:21:47.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-27T16:21:47.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-27T16:21:47.447Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T16:21:47.488Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T16:21:47.527Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T16:21:47.569Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T16:21:47.610Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-27T16:21:47.652Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-27T16:21:47.697Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-27T16:21:47.740Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-27T16:21:47.782Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-27T16:21:47.826Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-27T16:21:47.867Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-27T16:21:47.907Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-27T16:21:47.953Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-27T16:21:47.994Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-215 [Pipeline] echo [2022-09-27T16:21:48.031Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-215 [Pipeline] echo [2022-09-27T16:21:48.071Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-215 [Pipeline] echo [2022-09-27T16:21:48.110Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 386f6e7f2e1d98450377e280e116a910c56d5839 [Pipeline] echo [2022-09-27T16:21:48.150Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 386f6e7 [Pipeline] echo [2022-09-27T16:21:48.194Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T16:21:48.306Z] provisioning config files... [2022-09-27T16:21:48.322Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-215@tmp/config16456764149626279563tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T16:21:48.663Z] ---> docker-login.sh [2022-09-27T16:21:48.663Z] nexus3.edgexfoundry.org:10001 [2022-09-27T16:21:48.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T16:21:48.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T16:21:48.928Z] Configure a credential helper to remove this warning. See [2022-09-27T16:21:48.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T16:21:48.928Z] [2022-09-27T16:21:48.928Z] Login Succeeded [2022-09-27T16:21:48.928Z] nexus3.edgexfoundry.org:10002 [2022-09-27T16:21:48.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T16:21:48.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T16:21:48.928Z] Configure a credential helper to remove this warning. See [2022-09-27T16:21:48.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T16:21:48.928Z] [2022-09-27T16:21:48.928Z] Login Succeeded [2022-09-27T16:21:48.928Z] nexus3.edgexfoundry.org:10003 [2022-09-27T16:21:49.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T16:21:49.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T16:21:49.197Z] Configure a credential helper to remove this warning. See [2022-09-27T16:21:49.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T16:21:49.197Z] [2022-09-27T16:21:49.197Z] Login Succeeded [2022-09-27T16:21:49.197Z] nexus3.edgexfoundry.org:10004 [2022-09-27T16:21:49.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T16:21:49.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T16:21:49.197Z] Configure a credential helper to remove this warning. See [2022-09-27T16:21:49.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T16:21:49.197Z] [2022-09-27T16:21:49.197Z] Login Succeeded [2022-09-27T16:21:49.197Z] docker.io [2022-09-27T16:21:49.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T16:21:49.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T16:21:49.720Z] Configure a credential helper to remove this warning. See [2022-09-27T16:21:49.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T16:21:49.720Z] [2022-09-27T16:21:49.720Z] Login Succeeded [2022-09-27T16:21:49.720Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T16:21:49.747Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-27T16:21:50.405Z] + git rev-list -1 --merges 386f6e7f2e1d98450377e280e116a910c56d5839~1..386f6e7f2e1d98450377e280e116a910c56d5839 [Pipeline] echo [2022-09-27T16:21:50.453Z] -----------> git rev-list -1 --merges 386f6e7f2e1d98450377e280e116a910c56d5839~1..386f6e7f2e1d98450377e280e116a910c56d5839 386f6e7f2e1d98450377e280e116a910c56d5839 [false] [Pipeline] sh [2022-09-27T16:21:50.765Z] + git log --format=format:%s -1 386f6e7f2e1d98450377e280e116a910c56d5839 [Pipeline] echo [2022-09-27T16:21:50.798Z] ========================================================= [2022-09-27T16:21:50.798Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-27T16:21:50.798Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T16:21:51.218Z] + git log --format=format:%s -1 386f6e7f2e1d98450377e280e116a910c56d5839 [Pipeline] echo [2022-09-27T16:21:51.253Z] [semverPrep] GIT_COMMIT: 386f6e7f2e1d98450377e280e116a910c56d5839, Commit Message: fix: add device service key in CommandRequestTopic [Pipeline] echo [2022-09-27T16:21:51.282Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-27T16:21:51.657Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-27T16:21:51.657Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-27T16:21:51.657Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-27T16:21:51.657Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-27T16:21:51.657Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-27T16:21:51.657Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-27T16:21:51.657Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T16:21:52.076Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T16:21:52.077Z] [2022-09-27T16:21:52.077Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T16:21:52.479Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T16:21:52.479Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-27T16:21:52.479Z] b85a868b505f: Pulling fs layer [2022-09-27T16:21:52.479Z] e2be974225ed: Pulling fs layer [2022-09-27T16:21:52.479Z] 339a4e72a1f5: Pulling fs layer [2022-09-27T16:21:52.479Z] 988bab9f4d93: Pulling fs layer [2022-09-27T16:21:52.479Z] 1469e6f7b9e6: Pulling fs layer [2022-09-27T16:21:52.479Z] eaf3925da568: Pulling fs layer [2022-09-27T16:21:52.479Z] bab4dde63d76: Pulling fs layer [2022-09-27T16:21:52.479Z] bde34c3a00c8: Pulling fs layer [2022-09-27T16:21:52.479Z] b352a97aabf1: Pulling fs layer [2022-09-27T16:21:52.479Z] 4872d77fe225: Pulling fs layer [2022-09-27T16:21:52.479Z] 5851b861e8e6: Pulling fs layer [2022-09-27T16:21:52.479Z] bab4dde63d76: Waiting [2022-09-27T16:21:52.479Z] 4872d77fe225: Waiting [2022-09-27T16:21:52.479Z] bde34c3a00c8: Waiting [2022-09-27T16:21:52.479Z] 988bab9f4d93: Waiting [2022-09-27T16:21:52.479Z] 5851b861e8e6: Waiting [2022-09-27T16:21:52.479Z] b352a97aabf1: Waiting [2022-09-27T16:21:52.479Z] 1469e6f7b9e6: Waiting [2022-09-27T16:21:52.479Z] eaf3925da568: Waiting [2022-09-27T16:21:52.479Z] e2be974225ed: Verifying Checksum [2022-09-27T16:21:52.479Z] e2be974225ed: Download complete [2022-09-27T16:21:52.479Z] 988bab9f4d93: Verifying Checksum [2022-09-27T16:21:52.479Z] 988bab9f4d93: Download complete [2022-09-27T16:21:52.769Z] 1469e6f7b9e6: Verifying Checksum [2022-09-27T16:21:52.769Z] 1469e6f7b9e6: Download complete [2022-09-27T16:21:52.769Z] 339a4e72a1f5: Verifying Checksum [2022-09-27T16:21:52.769Z] 339a4e72a1f5: Download complete [2022-09-27T16:21:52.769Z] eaf3925da568: Download complete [2022-09-27T16:21:52.769Z] bde34c3a00c8: Verifying Checksum [2022-09-27T16:21:52.769Z] bde34c3a00c8: Download complete [2022-09-27T16:21:52.769Z] b352a97aabf1: Download complete [2022-09-27T16:21:52.769Z] 4872d77fe225: Verifying Checksum [2022-09-27T16:21:52.769Z] 4872d77fe225: Download complete [2022-09-27T16:21:52.769Z] 5851b861e8e6: Download complete [2022-09-27T16:21:52.769Z] b85a868b505f: Verifying Checksum [2022-09-27T16:21:52.769Z] b85a868b505f: Download complete [2022-09-27T16:21:53.035Z] bab4dde63d76: Verifying Checksum [2022-09-27T16:21:53.035Z] bab4dde63d76: Download complete [2022-09-27T16:21:53.971Z] b85a868b505f: Pull complete [2022-09-27T16:21:54.230Z] e2be974225ed: Pull complete [2022-09-27T16:21:54.799Z] 339a4e72a1f5: Pull complete [2022-09-27T16:21:54.799Z] 988bab9f4d93: Pull complete [2022-09-27T16:21:55.058Z] 1469e6f7b9e6: Pull complete [2022-09-27T16:21:55.058Z] eaf3925da568: Pull complete [2022-09-27T16:21:56.961Z] bab4dde63d76: Pull complete [2022-09-27T16:21:56.961Z] bde34c3a00c8: Pull complete [2022-09-27T16:21:57.220Z] b352a97aabf1: Pull complete [2022-09-27T16:21:57.220Z] 4872d77fe225: Pull complete [2022-09-27T16:21:57.220Z] 5851b861e8e6: Pull complete [2022-09-27T16:21:57.220Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-27T16:21:57.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T16:21:57.220Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T16:21:57.436Z] prd-ubuntu20.04-docker-8c-8g-1368 does not seem to be running inside a container [2022-09-27T16:21:57.472Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-215 -v /w/workspace/gexfoundry_device-rest-go_PR-215:/w/workspace/gexfoundry_device-rest-go_PR-215:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-215@tmp:/w/workspace/gexfoundry_device-rest-go_PR-215@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-27T16:21:58.676Z] $ docker top 19abf9afeb1e549286221cc93a6a9c91cb7872c207f283f877a627c0aff8a2c7 -eo pid,comm [2022-09-27T16:21:58.728Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-27T16:21:58.728Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-27T16:21:58.840Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T16:21:58.840Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T16:21:58.960Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T16:21:58.966Z] $ docker exec 19abf9afeb1e549286221cc93a6a9c91cb7872c207f283f877a627c0aff8a2c7 ssh-agent [2022-09-27T16:21:59.089Z] SSH_AUTH_SOCK=/tmp/ssh-mti8E32jwqeF/agent.32 [2022-09-27T16:21:59.089Z] SSH_AGENT_PID=38 [2022-09-27T16:21:59.097Z] Running ssh-add (command line suppressed) [2022-09-27T16:21:59.202Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-215@tmp/private_key_13679119902700780912.key (/w/workspace/gexfoundry_device-rest-go_PR-215@tmp/private_key_13679119902700780912.key) [2022-09-27T16:21:59.213Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T16:21:59.553Z] + git tag --points-at HEAD [Pipeline] } [2022-09-27T16:21:59.585Z] $ docker exec --env ******** --env ******** 19abf9afeb1e549286221cc93a6a9c91cb7872c207f283f877a627c0aff8a2c7 ssh-agent -k [2022-09-27T16:21:59.693Z] unset SSH_AUTH_SOCK; [2022-09-27T16:21:59.694Z] unset SSH_AGENT_PID; [2022-09-27T16:21:59.694Z] echo Agent pid 38 killed; [2022-09-27T16:21:59.702Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-27T16:21:59.785Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T16:21:59.785Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T16:21:59.904Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T16:21:59.911Z] $ docker exec 19abf9afeb1e549286221cc93a6a9c91cb7872c207f283f877a627c0aff8a2c7 ssh-agent [2022-09-27T16:22:00.042Z] SSH_AUTH_SOCK=/tmp/ssh-gF4gQ73YzN3j/agent.70 [2022-09-27T16:22:00.042Z] SSH_AGENT_PID=76 [2022-09-27T16:22:00.048Z] Running ssh-add (command line suppressed) [2022-09-27T16:22:00.149Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-215@tmp/private_key_4225689232566942049.key (/w/workspace/gexfoundry_device-rest-go_PR-215@tmp/private_key_4225689232566942049.key) [2022-09-27T16:22:00.159Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T16:22:00.487Z] + git semver init [2022-09-27T16:22:00.746Z] 2022-09-27 16:22:00,696 [run_init] DEBUG init version:0.0.0 force:False [2022-09-27T16:22:00.746Z] 2022-09-27 16:22:00,697 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-215/.semver [2022-09-27T16:22:00.746Z] 2022-09-27 16:22:00,697 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-215/.semver [2022-09-27T16:22:00.746Z] 2022-09-27 16:22:00,697 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-215/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-215, universal_newlines=False, shell=None, istream=None) [2022-09-27T16:22:02.130Z] 2022-09-27 16:22:01,727 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-215/.git/info/exclude [2022-09-27T16:22:02.130Z] 2022-09-27 16:22:01,727 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-215/.semver/PR-215 with force:False [2022-09-27T16:22:02.130Z] 2022-09-27 16:22:01,728 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-215/.semver/PR-215 [2022-09-27T16:22:02.130Z] 2022-09-27 16:22:01,732 [execute] INFO git cat-file --batch-check [2022-09-27T16:22:02.130Z] 2022-09-27 16:22:01,732 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-215/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T16:22:02.130Z] 2022-09-27 16:22:01,739 [execute] INFO git cat-file --batch [2022-09-27T16:22:02.130Z] 2022-09-27 16:22:01,739 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-215/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T16:22:02.130Z] 2022-09-27 16:22:01,745 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-215/.semver/PR-215 [2022-09-27T16:22:02.130Z] 0.0.0 [Pipeline] } [2022-09-27T16:22:02.156Z] $ docker exec --env ******** --env ******** 19abf9afeb1e549286221cc93a6a9c91cb7872c207f283f877a627c0aff8a2c7 ssh-agent -k [2022-09-27T16:22:02.268Z] unset SSH_AUTH_SOCK; [2022-09-27T16:22:02.268Z] unset SSH_AGENT_PID; [2022-09-27T16:22:02.269Z] echo Agent pid 76 killed; [2022-09-27T16:22:02.278Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-27T16:22:02.695Z] + git semver [Pipeline] } [2022-09-27T16:22:02.984Z] $ docker stop --time=1 19abf9afeb1e549286221cc93a6a9c91cb7872c207f283f877a627c0aff8a2c7 [2022-09-27T16:22:04.285Z] $ docker rm -f 19abf9afeb1e549286221cc93a6a9c91cb7872c207f283f877a627c0aff8a2c7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T16:22:04.688Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-27T16:22:04.932Z] Stashed 1 file(s) [Pipeline] echo [2022-09-27T16:22:04.948Z] [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-09-27T16:22:05.515Z] provisioning config files... [2022-09-27T16:22:05.526Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-215@tmp/config10001365655125646068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T16:22:05.861Z] ---> docker-login.sh [2022-09-27T16:22:05.861Z] nexus3.edgexfoundry.org:10001 [2022-09-27T16:22:05.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T16:22:05.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T16:22:05.861Z] Configure a credential helper to remove this warning. See [2022-09-27T16:22:05.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T16:22:05.861Z] [2022-09-27T16:22:05.861Z] Login Succeeded [2022-09-27T16:22:05.861Z] nexus3.edgexfoundry.org:10002 [2022-09-27T16:22:05.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T16:22:05.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T16:22:05.861Z] Configure a credential helper to remove this warning. See [2022-09-27T16:22:05.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T16:22:05.861Z] [2022-09-27T16:22:05.861Z] Login Succeeded [2022-09-27T16:22:05.861Z] nexus3.edgexfoundry.org:10003 [2022-09-27T16:22:06.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T16:22:06.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T16:22:06.119Z] Configure a credential helper to remove this warning. See [2022-09-27T16:22:06.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T16:22:06.119Z] [2022-09-27T16:22:06.119Z] Login Succeeded [2022-09-27T16:22:06.119Z] nexus3.edgexfoundry.org:10004 [2022-09-27T16:22:06.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T16:22:06.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T16:22:06.119Z] Configure a credential helper to remove this warning. See [2022-09-27T16:22:06.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T16:22:06.119Z] [2022-09-27T16:22:06.119Z] Login Succeeded [2022-09-27T16:22:06.119Z] docker.io [2022-09-27T16:22:06.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T16:22:06.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T16:22:06.646Z] Configure a credential helper to remove this warning. See [2022-09-27T16:22:06.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T16:22:06.646Z] [2022-09-27T16:22:06.646Z] Login Succeeded [2022-09-27T16:22:06.646Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T16:22:06.678Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T16:22:06.883Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T16:22:06.916Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T16:22:06.941Z] ========================================================= [2022-09-27T16:22:06.941Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-27T16:22:06.941Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T16:22:07.387Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-27T16:22:07.387Z] Sending build context to Docker daemon 10.71MB [2022-09-27T16:22:07.387Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T16:22:07.387Z] Step 2/12 : FROM ${BASE} AS builder [2022-09-27T16:22:07.649Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-27T16:22:07.649Z] 2408cc74d12b: Pulling fs layer [2022-09-27T16:22:07.649Z] ea60b727a1ce: Pulling fs layer [2022-09-27T16:22:07.649Z] 30c4a7721957: Pulling fs layer [2022-09-27T16:22:07.649Z] 370296b7ddb6: Pulling fs layer [2022-09-27T16:22:07.649Z] 7c6cee850709: Pulling fs layer [2022-09-27T16:22:07.649Z] 39a5fcdaea64: Pulling fs layer [2022-09-27T16:22:07.649Z] d94ebbe4e438: Pulling fs layer [2022-09-27T16:22:07.649Z] bcfd1f05c69d: Pulling fs layer [2022-09-27T16:22:07.649Z] 59ccb84bbe0f: Pulling fs layer [2022-09-27T16:22:07.649Z] 39a5fcdaea64: Waiting [2022-09-27T16:22:07.649Z] d94ebbe4e438: Waiting [2022-09-27T16:22:07.649Z] bcfd1f05c69d: Waiting [2022-09-27T16:22:07.649Z] 59ccb84bbe0f: Waiting [2022-09-27T16:22:07.649Z] 370296b7ddb6: Waiting [2022-09-27T16:22:07.649Z] 30c4a7721957: Verifying Checksum [2022-09-27T16:22:07.649Z] 30c4a7721957: Download complete [2022-09-27T16:22:07.649Z] ea60b727a1ce: Download complete [2022-09-27T16:22:07.649Z] 7c6cee850709: Download complete [2022-09-27T16:22:07.649Z] 39a5fcdaea64: Verifying Checksum [2022-09-27T16:22:07.649Z] 39a5fcdaea64: Download complete [2022-09-27T16:22:07.649Z] 2408cc74d12b: Verifying Checksum [2022-09-27T16:22:07.649Z] 2408cc74d12b: Download complete [2022-09-27T16:22:07.649Z] d94ebbe4e438: Verifying Checksum [2022-09-27T16:22:07.649Z] d94ebbe4e438: Download complete [2022-09-27T16:22:07.649Z] 2408cc74d12b: Pull complete [2022-09-27T16:22:07.913Z] ea60b727a1ce: Pull complete [2022-09-27T16:22:07.913Z] 30c4a7721957: Pull complete [2022-09-27T16:22:08.174Z] bcfd1f05c69d: Verifying Checksum [2022-09-27T16:22:08.174Z] bcfd1f05c69d: Download complete [2022-09-27T16:22:08.433Z] 59ccb84bbe0f: Verifying Checksum [2022-09-27T16:22:08.433Z] 59ccb84bbe0f: Download complete [2022-09-27T16:22:08.433Z] 370296b7ddb6: Verifying Checksum [2022-09-27T16:22:08.433Z] 370296b7ddb6: Download complete [2022-09-27T16:22:12.618Z] 370296b7ddb6: Pull complete [2022-09-27T16:22:12.618Z] 7c6cee850709: Pull complete [2022-09-27T16:22:12.618Z] 39a5fcdaea64: Pull complete [2022-09-27T16:22:12.618Z] d94ebbe4e438: Pull complete [2022-09-27T16:22:14.515Z] bcfd1f05c69d: Pull complete [2022-09-27T16:22:15.449Z] 59ccb84bbe0f: Pull complete [2022-09-27T16:22:15.449Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-27T16:22:15.449Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-27T16:22:15.449Z] ---> a4fb48ad2a94 [2022-09-27T16:22:15.449Z] Step 3/12 : ARG MAKE='make build' [2022-09-27T16:22:16.834Z] ---> Running in 7bead72a67cd [2022-09-27T16:22:16.834Z] Removing intermediate container 7bead72a67cd [2022-09-27T16:22:16.834Z] ---> c5f2157b81e2 [2022-09-27T16:22:16.834Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T16:22:16.834Z] ---> Running in 0b6075e08033 [2022-09-27T16:22:16.834Z] Removing intermediate container 0b6075e08033 [2022-09-27T16:22:16.834Z] ---> 4b2a8f5f31db [2022-09-27T16:22:16.834Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T16:22:17.093Z] ---> Running in a60e3e710765 [2022-09-27T16:22:17.093Z] Removing intermediate container a60e3e710765 [2022-09-27T16:22:17.093Z] ---> 9f92ffa1f018 [2022-09-27T16:22:17.093Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T16:22:17.093Z] ---> Running in 3cd3dfa8657b [2022-09-27T16:22:17.660Z] Removing intermediate container 3cd3dfa8657b [2022-09-27T16:22:17.660Z] ---> 86e53b54a4da [2022-09-27T16:22:17.660Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T16:22:17.660Z] ---> Running in 852ae2ffe1c1 [2022-09-27T16:22:17.919Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T16:22:18.856Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T16:22:19.121Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-27T16:22:19.379Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-27T16:22:19.380Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-27T16:22:19.380Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-27T16:22:19.638Z] Executing busybox-1.35.0-r13.trigger [2022-09-27T16:22:19.638Z] OK: 216 MiB in 55 packages [2022-09-27T16:22:19.897Z] Removing intermediate container 852ae2ffe1c1 [2022-09-27T16:22:19.897Z] ---> 89a5515827cc [2022-09-27T16:22:19.897Z] Step 8/12 : WORKDIR /device-rest-go [2022-09-27T16:22:20.159Z] ---> Running in 3d54a8b5843b [2022-09-27T16:22:20.159Z] Removing intermediate container 3d54a8b5843b [2022-09-27T16:22:20.159Z] ---> fc87e1f38288 [2022-09-27T16:22:20.159Z] Step 9/12 : COPY go.mod vendor* ./ [2022-09-27T16:22:20.159Z] ---> 46314ab2c479 [2022-09-27T16:22:20.160Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T16:22:20.342Z] Still waiting to schedule task [2022-09-27T16:22:20.342Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1367’ [2022-09-27T16:22:20.418Z] ---> Running in 29db0c68fb0f [2022-09-27T16:22:42.358Z] Removing intermediate container 29db0c68fb0f [2022-09-27T16:22:42.358Z] ---> f1c46ec3b5e4 [2022-09-27T16:22:42.358Z] Step 11/12 : COPY . . [2022-09-27T16:22:42.358Z] ---> c4ac658de726 [2022-09-27T16:22:42.358Z] Step 12/12 : RUN $MAKE [2022-09-27T16:22:42.358Z] ---> Running in 89da804cdaf8 [2022-09-27T16:22:42.358Z] noop [2022-09-27T16:22:42.358Z] Removing intermediate container 89da804cdaf8 [2022-09-27T16:22:42.358Z] ---> ba08ca1ccd06 [2022-09-27T16:22:42.358Z] Successfully built ba08ca1ccd06 [2022-09-27T16:22:42.358Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T16:22:42.807Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T16:22:42.807Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T16:22:42.951Z] prd-ubuntu20.04-docker-8c-8g-1368 does not seem to be running inside a container [2022-09-27T16:22:42.985Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-215 -v /w/workspace/gexfoundry_device-rest-go_PR-215:/w/workspace/gexfoundry_device-rest-go_PR-215:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-215@tmp:/w/workspace/gexfoundry_device-rest-go_PR-215@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-27T16:22:43.355Z] $ docker top 688dce8bed4fd701aeabf7cde33e99ba77d3bb516af8f113325c16d51a6f1137 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T16:22:43.751Z] + go version [2022-09-27T16:22:43.751Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-27T16:22:43.781Z] $ docker stop --time=1 688dce8bed4fd701aeabf7cde33e99ba77d3bb516af8f113325c16d51a6f1137 [2022-09-27T16:22:45.056Z] $ docker rm -f 688dce8bed4fd701aeabf7cde33e99ba77d3bb516af8f113325c16d51a6f1137 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T16:22:45.757Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T16:22:45.757Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T16:22:45.900Z] prd-ubuntu20.04-docker-8c-8g-1368 does not seem to be running inside a container [2022-09-27T16:22:45.932Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-215 -v /w/workspace/gexfoundry_device-rest-go_PR-215:/w/workspace/gexfoundry_device-rest-go_PR-215:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-215@tmp:/w/workspace/gexfoundry_device-rest-go_PR-215@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-27T16:22:46.302Z] $ docker top aedf7403b337ae0e21ab98d4c7fa31f5e4a861390c8ff51c2454e31d7d68fd73 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T16:22:46.696Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-215 [Pipeline] fileExists [Pipeline] sh [2022-09-27T16:22:47.058Z] + make test [2022-09-27T16:22:47.058Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-27T16:22:47.317Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-09-27T16:22:59.523Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-09-27T16:22:59.523Z] ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements [2022-09-27T16:23:06.092Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-27T16:23:06.092Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-27T16:23:10.277Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T16:23:10.277Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T16:23:10.277Z] ./bin/test-attribution-txt.sh [2022-09-27T16:23:10.277Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-27T16:23:10.277Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-27T16:23:10.277Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-27T16:23:10.318Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T16:23:10.347Z] $ docker stop --time=1 aedf7403b337ae0e21ab98d4c7fa31f5e4a861390c8ff51c2454e31d7d68fd73 [2022-09-27T16:23:12.334Z] $ docker rm -f aedf7403b337ae0e21ab98d4c7fa31f5e4a861390c8ff51c2454e31d7d68fd73 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T16:23:12.845Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T16:23:12.905Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-27T16:23:13.473Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T16:23:13.783Z] + ls -al . [2022-09-27T16:23:13.783Z] total 176 [2022-09-27T16:23:13.783Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 16:22 . [2022-09-27T16:23:13.783Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 16:21 .. [2022-09-27T16:23:13.783Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 27 16:21 .dockerignore [2022-09-27T16:23:13.783Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 16:22 .git [2022-09-27T16:23:13.783Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 16:21 .github [2022-09-27T16:23:13.783Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 27 16:21 .gitignore [2022-09-27T16:23:13.783Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 16:21 .golangci.yml [2022-09-27T16:23:13.784Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 16:22 .semver [2022-09-27T16:23:13.784Z] -rw-rw-r-- 1 jenkins jenkins 8724 Sep 27 16:21 Attribution.txt [2022-09-27T16:23:13.784Z] -rw-rw-r-- 1 jenkins jenkins 11736 Sep 27 16:21 CHANGELOG.md [2022-09-27T16:23:13.784Z] -rw-rw-r-- 1 jenkins jenkins 1674 Sep 27 16:21 Dockerfile [2022-09-27T16:23:13.784Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 16:21 GOVERNANCE.md [2022-09-27T16:23:13.784Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 16:21 Jenkinsfile [2022-09-27T16:23:13.784Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 16:21 LICENSE [2022-09-27T16:23:13.784Z] -rw-rw-r-- 1 jenkins jenkins 1964 Sep 27 16:21 Makefile [2022-09-27T16:23:13.784Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 16:21 OWNERS.md [2022-09-27T16:23:13.784Z] -rw-rw-r-- 1 jenkins jenkins 8003 Sep 27 16:21 README.md [2022-09-27T16:23:13.784Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 16:22 VERSION [2022-09-27T16:23:13.784Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 16:21 bin [2022-09-27T16:23:13.784Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 16:21 cmd [2022-09-27T16:23:13.784Z] -rw-r--r-- 1 jenkins jenkins 9355 Sep 27 16:22 coverage.out [2022-09-27T16:23:13.784Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 16:21 driver [2022-09-27T16:23:13.784Z] -rw-rw-r-- 1 jenkins jenkins 3547 Sep 27 16:21 go.mod [2022-09-27T16:23:13.784Z] -rw-rw-r-- 1 jenkins jenkins 37946 Sep 27 16:21 go.sum [2022-09-27T16:23:13.784Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 16:21 snap [2022-09-27T16:23:13.784Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 27 16:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T16:23:14.168Z] + 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=386f6e7f2e1d98450377e280e116a910c56d5839 --label arch=amd64 --label version=0.0.0 . [2022-09-27T16:23:14.169Z] Sending build context to Docker daemon 10.72MB [2022-09-27T16:23:14.169Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T16:23:14.169Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-27T16:23:14.169Z] ---> ba08ca1ccd06 [2022-09-27T16:23:14.169Z] Step 3/25 : ARG MAKE='make build' [2022-09-27T16:23:14.169Z] ---> Running in 0e41d86c2478 [2022-09-27T16:23:14.428Z] Removing intermediate container 0e41d86c2478 [2022-09-27T16:23:14.428Z] ---> 3a406ff084d3 [2022-09-27T16:23:14.428Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T16:23:14.428Z] ---> Running in 3bfe32a10ce5 [2022-09-27T16:23:14.428Z] Removing intermediate container 3bfe32a10ce5 [2022-09-27T16:23:14.428Z] ---> eb55a9e12da1 [2022-09-27T16:23:14.428Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T16:23:14.428Z] ---> Running in 0ed2779f51c8 [2022-09-27T16:23:14.688Z] Removing intermediate container 0ed2779f51c8 [2022-09-27T16:23:14.688Z] ---> 9291e5f1350e [2022-09-27T16:23:14.688Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T16:23:14.688Z] ---> Running in baab8793464f [2022-09-27T16:23:15.255Z] Removing intermediate container baab8793464f [2022-09-27T16:23:15.255Z] ---> aa9f5b7807c5 [2022-09-27T16:23:15.255Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T16:23:15.255Z] ---> Running in 20aad815292b [2022-09-27T16:23:15.514Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T16:23:16.451Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T16:23:16.710Z] OK: 216 MiB in 55 packages [2022-09-27T16:23:16.969Z] Removing intermediate container 20aad815292b [2022-09-27T16:23:16.969Z] ---> ad3290dc2b4a [2022-09-27T16:23:16.969Z] Step 8/25 : WORKDIR /device-rest-go [2022-09-27T16:23:16.969Z] ---> Running in 927df6809ae1 [2022-09-27T16:23:17.227Z] Removing intermediate container 927df6809ae1 [2022-09-27T16:23:17.227Z] ---> 9c3faefa555e [2022-09-27T16:23:17.228Z] Step 9/25 : COPY go.mod vendor* ./ [2022-09-27T16:23:17.228Z] ---> 271452fd4fb1 [2022-09-27T16:23:17.228Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T16:23:17.228Z] ---> Running in e769a1216c57 [2022-09-27T16:23:18.203Z] Removing intermediate container e769a1216c57 [2022-09-27T16:23:18.203Z] ---> 2687f8f088a3 [2022-09-27T16:23:18.203Z] Step 11/25 : COPY . . [2022-09-27T16:23:18.471Z] ---> a8dfaecaa562 [2022-09-27T16:23:18.471Z] Step 12/25 : RUN $MAKE [2022-09-27T16:23:18.471Z] ---> Running in 3c25d08f19e2 [2022-09-27T16:23:18.730Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-09-27T16:23:40.664Z] Removing intermediate container 3c25d08f19e2 [2022-09-27T16:23:40.664Z] ---> ace672ecd55f [2022-09-27T16:23:40.664Z] Step 13/25 : FROM alpine:3.16 [2022-09-27T16:23:40.664Z] 3.16: Pulling from library/alpine [2022-09-27T16:23:40.922Z] 213ec9aee27d: Pulling fs layer [2022-09-27T16:23:40.922Z] 213ec9aee27d: Verifying Checksum [2022-09-27T16:23:40.922Z] 213ec9aee27d: Download complete [2022-09-27T16:23:41.180Z] 213ec9aee27d: Pull complete [2022-09-27T16:23:41.180Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T16:23:41.181Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T16:23:41.181Z] ---> 9c6f07244728 [2022-09-27T16:23:41.181Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T16:23:41.181Z] ---> Running in 5968eab6329f [2022-09-27T16:23:41.439Z] Removing intermediate container 5968eab6329f [2022-09-27T16:23:41.439Z] ---> 7762ac44dda8 [2022-09-27T16:23:41.439Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-09-27T16:23:41.439Z] ---> Running in c1dc48fd4c28 [2022-09-27T16:23:41.439Z] Removing intermediate container c1dc48fd4c28 [2022-09-27T16:23:41.439Z] ---> ce5280898719 [2022-09-27T16:23:41.439Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-27T16:23:41.439Z] ---> Running in 7db5c2dd7ffc [2022-09-27T16:23:41.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T16:23:41.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T16:23:41.957Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-27T16:23:41.957Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T16:23:41.957Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-27T16:23:41.957Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T16:23:42.216Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-27T16:23:42.216Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-27T16:23:42.216Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T16:23:42.216Z] OK: 8 MiB in 20 packages [2022-09-27T16:23:42.475Z] Removing intermediate container 7db5c2dd7ffc [2022-09-27T16:23:42.475Z] ---> af581026b604 [2022-09-27T16:23:42.475Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-09-27T16:23:43.049Z] ---> df1609bc81c9 [2022-09-27T16:23:43.049Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-09-27T16:23:43.309Z] ---> 111ac8517d87 [2022-09-27T16:23:43.309Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-09-27T16:23:43.309Z] ---> 2ff025d19a27 [2022-09-27T16:23:43.309Z] Step 20/25 : EXPOSE 59986 [2022-09-27T16:23:43.570Z] ---> Running in f150d8a939e9 [2022-09-27T16:23:43.570Z] Removing intermediate container f150d8a939e9 [2022-09-27T16:23:43.570Z] ---> 695592f0210c [2022-09-27T16:23:43.570Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-09-27T16:23:43.570Z] ---> Running in 4ceb66b21c42 [2022-09-27T16:23:43.570Z] Removing intermediate container 4ceb66b21c42 [2022-09-27T16:23:43.570Z] ---> 29092d9bdb5f [2022-09-27T16:23:43.570Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-09-27T16:23:43.846Z] ---> Running in 5391e71ef271 [2022-09-27T16:23:43.846Z] Removing intermediate container 5391e71ef271 [2022-09-27T16:23:43.846Z] ---> c8c4d356559d [2022-09-27T16:23:43.846Z] Step 23/25 : LABEL arch=amd64 [2022-09-27T16:23:43.846Z] ---> Running in 5e5ee72604a4 [2022-09-27T16:23:43.846Z] Removing intermediate container 5e5ee72604a4 [2022-09-27T16:23:43.846Z] ---> 86267cf48e1a [2022-09-27T16:23:43.846Z] Step 24/25 : LABEL git_sha=386f6e7f2e1d98450377e280e116a910c56d5839 [2022-09-27T16:23:44.116Z] ---> Running in 24dd7d908c55 [2022-09-27T16:23:44.116Z] Removing intermediate container 24dd7d908c55 [2022-09-27T16:23:44.116Z] ---> 940b0e098e62 [2022-09-27T16:23:44.116Z] Step 25/25 : LABEL version=0.0.0 [2022-09-27T16:23:44.116Z] ---> Running in 16acaddaa742 [2022-09-27T16:23:44.116Z] Removing intermediate container 16acaddaa742 [2022-09-27T16:23:44.116Z] ---> a41d654cd926 [2022-09-27T16:23:44.116Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T16:23:44.116Z] Successfully built a41d654cd926 [2022-09-27T16:23:44.116Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T16:23:44.937Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T16:23:44.938Z] [2022-09-27T16:23:44.938Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T16:23:45.321Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T16:23:45.322Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-27T16:23:45.322Z] 5eb5b503b376: Pulling fs layer [2022-09-27T16:23:45.322Z] 5c69ac0246d0: Pulling fs layer [2022-09-27T16:23:45.322Z] ec43610c2a17: Pulling fs layer [2022-09-27T16:23:45.322Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-27T16:23:45.322Z] 33b1e0a273af: Pulling fs layer [2022-09-27T16:23:45.322Z] 5d3b04190fa2: Pulling fs layer [2022-09-27T16:23:45.322Z] 2f39f015ded8: Pulling fs layer [2022-09-27T16:23:45.322Z] 33b1e0a273af: Waiting [2022-09-27T16:23:45.322Z] 2f39f015ded8: Waiting [2022-09-27T16:23:45.322Z] 5d3b04190fa2: Waiting [2022-09-27T16:23:45.322Z] 3a2ae6a8a46f: Waiting [2022-09-27T16:23:45.322Z] 5c69ac0246d0: Download complete [2022-09-27T16:23:45.322Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-27T16:23:45.322Z] 3a2ae6a8a46f: Download complete [2022-09-27T16:23:45.322Z] 33b1e0a273af: Verifying Checksum [2022-09-27T16:23:45.322Z] 33b1e0a273af: Download complete [2022-09-27T16:23:45.322Z] 5d3b04190fa2: Download complete [2022-09-27T16:23:45.582Z] ec43610c2a17: Verifying Checksum [2022-09-27T16:23:45.582Z] ec43610c2a17: Download complete [2022-09-27T16:23:45.582Z] 5eb5b503b376: Verifying Checksum [2022-09-27T16:23:45.582Z] 5eb5b503b376: Download complete [2022-09-27T16:23:46.158Z] 2f39f015ded8: Download complete [2022-09-27T16:23:47.093Z] 5eb5b503b376: Pull complete [2022-09-27T16:23:47.093Z] 5c69ac0246d0: Pull complete [2022-09-27T16:23:47.700Z] ec43610c2a17: Pull complete [2022-09-27T16:23:47.700Z] 3a2ae6a8a46f: Pull complete [2022-09-27T16:23:47.959Z] 33b1e0a273af: Pull complete [2022-09-27T16:23:47.959Z] 5d3b04190fa2: Pull complete [2022-09-27T16:23:53.222Z] 2f39f015ded8: Pull complete [2022-09-27T16:23:53.222Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-27T16:23:53.223Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T16:23:53.223Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T16:23:53.436Z] prd-ubuntu20.04-docker-8c-8g-1368 does not seem to be running inside a container [2022-09-27T16:23:53.469Z] $ 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-215 -v /w/workspace/gexfoundry_device-rest-go_PR-215:/w/workspace/gexfoundry_device-rest-go_PR-215:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-215@tmp:/w/workspace/gexfoundry_device-rest-go_PR-215@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-27T16:23:55.487Z] $ docker top 33c7ffbcfeacc11cade68ae27bf5bd6e77c935f21b2515298f711b17235bc9cb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T16:23:55.911Z] ---> job-cost.sh [2022-09-27T16:23:55.912Z] lf-activate-venv: SKIPPING [2022-09-27T16:23:55.912Z] INFO: No Stack... [2022-09-27T16:23:56.170Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T16:23:56.737Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T16:23:57.055Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-215/archives/cost.csv [2022-09-27T16:23:57.055Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T16:23:57.092Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-215-1-stack-cost] [2022-09-27T16:23:57.096Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-215-1-stack-cost] did not exist. Created. [2022-09-27T16:23:57.096Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-215-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T16:23:57.478Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-27T16:23:57.527Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T16:23:57.557Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-215-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T16:23:57.635Z] $ docker stop --time=1 33c7ffbcfeacc11cade68ae27bf5bd6e77c935f21b2515298f711b17235bc9cb [2022-09-27T16:23:58.774Z] $ docker rm -f 33c7ffbcfeacc11cade68ae27bf5bd6e77c935f21b2515298f711b17235bc9cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-27T16:25:44.252Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1369 in /w/workspace/gexfoundry_device-rest-go_PR-215 [Pipeline] { [Pipeline] ws [2022-09-27T16:25:44.292Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-09-27T16:25:44.370Z] The recommended git tool is: git [2022-09-27T16:25:50.013Z] using credential edgex-jenkins-ssh [2022-09-27T16:25:50.028Z] Cloning the remote Git repository [2022-09-27T16:25:50.071Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-09-27T16:25:50.154Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-09-27T16:25:50.305Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-09-27T16:25:50.306Z] > git --version # timeout=10 [2022-09-27T16:25:50.329Z] > git --version # 'git version 2.25.1' [2022-09-27T16:25:50.331Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T16:25:50.377Z] Verifying host key using known hosts file [2022-09-27T16:25:50.563Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T16:25:50.576Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T16:25:52.722Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-09-27T16:25:52.743Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T16:25:54.276Z] Merging remotes/origin/main commit dc8d969f038542ea1d23af15e4cc3257ac4ed5fa into PR head commit 386f6e7f2e1d98450377e280e116a910c56d5839 [2022-09-27T16:25:54.509Z] Merge succeeded, producing 386f6e7f2e1d98450377e280e116a910c56d5839 [2022-09-27T16:25:54.510Z] Checking out Revision 386f6e7f2e1d98450377e280e116a910c56d5839 (PR-215) [2022-09-27T16:25:53.593Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-09-27T16:25:53.636Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-09-27T16:25:53.637Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T16:25:53.642Z] Verifying host key using known hosts file [2022-09-27T16:25:53.650Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T16:25:53.662Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/215/head:refs/remotes/origin/PR-215 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-27T16:25:54.290Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T16:25:54.316Z] > git checkout -f 386f6e7f2e1d98450377e280e116a910c56d5839 # timeout=10 [2022-09-27T16:25:54.399Z] > git remote # timeout=10 [2022-09-27T16:25:54.419Z] > git config --get remote.origin.url # timeout=10 [2022-09-27T16:25:54.442Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T16:25:54.448Z] Verifying host key using known hosts file [2022-09-27T16:25:54.452Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T16:25:54.462Z] > git merge dc8d969f038542ea1d23af15e4cc3257ac4ed5fa # timeout=10 [2022-09-27T16:25:54.488Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-27T16:25:54.510Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T16:25:54.523Z] > git checkout -f 386f6e7f2e1d98450377e280e116a910c56d5839 # timeout=10 [2022-09-27T16:25:58.022Z] Commit message: "fix: add device service key in CommandRequestTopic" [2022-09-27T16:25:58.079Z] > git --version # timeout=10 [2022-09-27T16:25:58.093Z] > git --version # 'git version 2.25.1' [2022-09-27T16:25:58.114Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T16:25:59.287Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-27T16:25:59.287Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T16:25:59.287Z] Dload Upload Total Spent Left Speed [2022-09-27T16:25:59.287Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 80267 0 --:--:-- --:--:-- --:--:-- 80782 [Pipeline] sh [2022-09-27T16:26:00.008Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-27T16:26:00.361Z] + sudo tee /etc/docker/daemon.new [2022-09-27T16:26:00.361Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-27T16:26:00.362Z] { [2022-09-27T16:26:00.362Z] "registry-mirrors": [ [2022-09-27T16:26:00.362Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-27T16:26:00.362Z] ], [2022-09-27T16:26:00.362Z] "bip": "10.250.0.254/24", [2022-09-27T16:26:00.362Z] "hosts": [ [2022-09-27T16:26:00.362Z] "tcp://0.0.0.0:5555", [2022-09-27T16:26:00.362Z] "unix:///var/run/docker.sock" [2022-09-27T16:26:00.362Z] ], [2022-09-27T16:26:00.362Z] "mtu": 1458, [2022-09-27T16:26:00.362Z] "selinux-enabled": true, [2022-09-27T16:26:00.362Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-27T16:26:00.362Z] } [Pipeline] sh [2022-09-27T16:26:00.702Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-27T16:26:01.044Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T16:26:19.370Z] provisioning config files... [2022-09-27T16:26:19.399Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5410444935481995853tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T16:26:19.796Z] ---> docker-login.sh [2022-09-27T16:26:19.796Z] nexus3.edgexfoundry.org:10001 [2022-09-27T16:26:20.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T16:26:20.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T16:26:20.334Z] Configure a credential helper to remove this warning. See [2022-09-27T16:26:20.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T16:26:20.334Z] [2022-09-27T16:26:20.334Z] Login Succeeded [2022-09-27T16:26:20.334Z] nexus3.edgexfoundry.org:10002 [2022-09-27T16:26:20.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T16:26:20.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T16:26:20.602Z] Configure a credential helper to remove this warning. See [2022-09-27T16:26:20.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T16:26:20.602Z] [2022-09-27T16:26:20.602Z] Login Succeeded [2022-09-27T16:26:20.602Z] nexus3.edgexfoundry.org:10003 [2022-09-27T16:26:20.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T16:26:21.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T16:26:21.139Z] Configure a credential helper to remove this warning. See [2022-09-27T16:26:21.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T16:26:21.139Z] [2022-09-27T16:26:21.139Z] Login Succeeded [2022-09-27T16:26:21.139Z] nexus3.edgexfoundry.org:10004 [2022-09-27T16:26:21.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T16:26:21.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T16:26:21.410Z] Configure a credential helper to remove this warning. See [2022-09-27T16:26:21.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T16:26:21.410Z] [2022-09-27T16:26:21.410Z] Login Succeeded [2022-09-27T16:26:21.410Z] docker.io [2022-09-27T16:26:21.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T16:26:21.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T16:26:21.946Z] Configure a credential helper to remove this warning. See [2022-09-27T16:26:21.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T16:26:21.946Z] [2022-09-27T16:26:21.946Z] Login Succeeded [2022-09-27T16:26:21.946Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T16:26:21.975Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T16:26:22.253Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T16:26:22.289Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T16:26:22.320Z] ========================================================= [2022-09-27T16:26:22.320Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-27T16:26:22.320Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T16:26:22.814Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-27T16:26:22.814Z] Sending build context to Docker daemon 126kB [2022-09-27T16:26:23.085Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T16:26:23.086Z] Step 2/12 : FROM ${BASE} AS builder [2022-09-27T16:26:23.086Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-27T16:26:23.086Z] b3c136eddcbf: Pulling fs layer [2022-09-27T16:26:23.086Z] c0a3192eca97: Pulling fs layer [2022-09-27T16:26:23.086Z] a050256f5b6f: Pulling fs layer [2022-09-27T16:26:23.086Z] 656be50a0ddc: Pulling fs layer [2022-09-27T16:26:23.086Z] 2bbca73fdf42: Pulling fs layer [2022-09-27T16:26:23.086Z] 46d945488cbd: Pulling fs layer [2022-09-27T16:26:23.086Z] 8a5474983e97: Pulling fs layer [2022-09-27T16:26:23.086Z] 329c88fbcd65: Pulling fs layer [2022-09-27T16:26:23.086Z] 2bbca73fdf42: Waiting [2022-09-27T16:26:23.086Z] 46d945488cbd: Waiting [2022-09-27T16:26:23.086Z] 8a5474983e97: Waiting [2022-09-27T16:26:23.086Z] 656be50a0ddc: Waiting [2022-09-27T16:26:23.086Z] 329c88fbcd65: Waiting [2022-09-27T16:26:23.360Z] a050256f5b6f: Verifying Checksum [2022-09-27T16:26:23.360Z] a050256f5b6f: Download complete [2022-09-27T16:26:23.360Z] c0a3192eca97: Verifying Checksum [2022-09-27T16:26:23.360Z] c0a3192eca97: Download complete [2022-09-27T16:26:23.360Z] 2bbca73fdf42: Verifying Checksum [2022-09-27T16:26:23.360Z] 2bbca73fdf42: Download complete [2022-09-27T16:26:23.360Z] 46d945488cbd: Verifying Checksum [2022-09-27T16:26:23.360Z] 46d945488cbd: Download complete [2022-09-27T16:26:23.360Z] b3c136eddcbf: Verifying Checksum [2022-09-27T16:26:23.360Z] b3c136eddcbf: Download complete [2022-09-27T16:26:24.333Z] b3c136eddcbf: Pull complete [2022-09-27T16:26:24.333Z] 329c88fbcd65: Verifying Checksum [2022-09-27T16:26:24.946Z] c0a3192eca97: Pull complete [2022-09-27T16:26:25.217Z] a050256f5b6f: Pull complete [2022-09-27T16:26:25.487Z] 8a5474983e97: Verifying Checksum [2022-09-27T16:26:25.487Z] 8a5474983e97: Download complete [2022-09-27T16:26:26.075Z] 656be50a0ddc: Verifying Checksum [2022-09-27T16:26:26.075Z] 656be50a0ddc: Download complete [2022-09-27T16:26:38.407Z] 656be50a0ddc: Pull complete [2022-09-27T16:26:38.674Z] 2bbca73fdf42: Pull complete [2022-09-27T16:26:38.941Z] 46d945488cbd: Pull complete [2022-09-27T16:26:45.601Z] 8a5474983e97: Pull complete [2022-09-27T16:26:46.562Z] 329c88fbcd65: Pull complete [2022-09-27T16:26:46.562Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-27T16:26:46.562Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-27T16:26:46.562Z] ---> ff4287adb874 [2022-09-27T16:26:46.562Z] Step 3/12 : ARG MAKE='make build' [2022-09-27T16:26:48.521Z] ---> Running in ba192761359a [2022-09-27T16:26:49.104Z] Removing intermediate container ba192761359a [2022-09-27T16:26:49.104Z] ---> 902c7081355c [2022-09-27T16:26:49.104Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T16:26:49.104Z] ---> Running in 0d9624b7839f [2022-09-27T16:26:49.372Z] Removing intermediate container 0d9624b7839f [2022-09-27T16:26:49.372Z] ---> c58b2d33a63c [2022-09-27T16:26:49.372Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T16:26:49.372Z] ---> Running in a0144c535e74 [2022-09-27T16:26:49.640Z] Removing intermediate container a0144c535e74 [2022-09-27T16:26:49.640Z] ---> 28e3c5c4b5e4 [2022-09-27T16:26:49.640Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T16:26:49.907Z] ---> Running in 99f4343b5e2c [2022-09-27T16:26:51.853Z] Removing intermediate container 99f4343b5e2c [2022-09-27T16:26:51.853Z] ---> 10226123515c [2022-09-27T16:26:51.853Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T16:26:51.853Z] ---> Running in bdcbc1b5a570 [2022-09-27T16:26:52.826Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T16:26:53.784Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T16:26:54.740Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-27T16:26:54.740Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-27T16:26:54.740Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-27T16:26:55.008Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-27T16:26:55.008Z] Executing busybox-1.35.0-r13.trigger [2022-09-27T16:26:55.008Z] OK: 226 MiB in 55 packages [2022-09-27T16:26:55.982Z] Removing intermediate container bdcbc1b5a570 [2022-09-27T16:26:55.982Z] ---> dfa89300e7f7 [2022-09-27T16:26:55.982Z] Step 8/12 : WORKDIR /device-rest-go [2022-09-27T16:26:55.982Z] ---> Running in 1c05d576a7e8 [2022-09-27T16:26:56.567Z] Removing intermediate container 1c05d576a7e8 [2022-09-27T16:26:56.567Z] ---> 8272e30010e7 [2022-09-27T16:26:56.567Z] Step 9/12 : COPY go.mod vendor* ./ [2022-09-27T16:26:56.857Z] ---> 18e070787132 [2022-09-27T16:26:56.857Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T16:26:56.857Z] ---> Running in 242c0c4aa121 [2022-09-27T16:27:53.293Z] Removing intermediate container 242c0c4aa121 [2022-09-27T16:27:53.293Z] ---> f83d38f717ec [2022-09-27T16:27:53.293Z] Step 11/12 : COPY . . [2022-09-27T16:27:53.293Z] ---> 7a6b57457bf5 [2022-09-27T16:27:53.293Z] Step 12/12 : RUN $MAKE [2022-09-27T16:27:53.293Z] ---> Running in 4dd382ee2771 [2022-09-27T16:27:53.293Z] noop [2022-09-27T16:27:53.293Z] Removing intermediate container 4dd382ee2771 [2022-09-27T16:27:53.293Z] ---> 30893f071557 [2022-09-27T16:27:53.293Z] Successfully built 30893f071557 [2022-09-27T16:27:53.294Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T16:27:53.753Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T16:27:53.753Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T16:27:53.987Z] prd-ubuntu20.04-docker-arm64-4c-16g-1369 does not seem to be running inside a container [2022-09-27T16:27:54.053Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-27T16:27:55.248Z] $ docker top 46ae9ab4b4e0382cf0fbe5c04e599aa1ebe04833dc70e725a050619dac17849a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T16:27:56.122Z] + go version [2022-09-27T16:27:56.122Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-27T16:27:56.159Z] $ docker stop --time=1 46ae9ab4b4e0382cf0fbe5c04e599aa1ebe04833dc70e725a050619dac17849a [2022-09-27T16:27:57.776Z] $ docker rm -f 46ae9ab4b4e0382cf0fbe5c04e599aa1ebe04833dc70e725a050619dac17849a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T16:27:58.614Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T16:27:58.614Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T16:27:58.862Z] prd-ubuntu20.04-docker-arm64-4c-16g-1369 does not seem to be running inside a container [2022-09-27T16:27:58.924Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-27T16:28:00.114Z] $ docker top 44cd810b39047afafc3fa02c93d79d6937a11c196388e56a700edea4e79a21d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T16:28:00.680Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2022-09-27T16:28:01.067Z] + make test [2022-09-27T16:28:01.344Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-27T16:28:02.772Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-09-27T16:29:24.445Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-09-27T16:29:24.445Z] ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 55.2% of statements [2022-09-27T16:29:24.445Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-27T16:29:24.445Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-27T16:29:46.506Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T16:29:46.506Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T16:29:46.506Z] ./bin/test-attribution-txt.sh [2022-09-27T16:29:46.506Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-27T16:29:46.506Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-27T16:29:46.506Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-27T16:29:46.544Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T16:29:46.575Z] $ docker stop --time=1 44cd810b39047afafc3fa02c93d79d6937a11c196388e56a700edea4e79a21d0 [2022-09-27T16:29:48.327Z] $ docker rm -f 44cd810b39047afafc3fa02c93d79d6937a11c196388e56a700edea4e79a21d0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T16:29:49.261Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T16:29:49.295Z] Warning: overwriting stash ‘coverage-report’ [2022-09-27T16:29:49.647Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T16:29:50.218Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T16:29:50.552Z] + ls -al . [2022-09-27T16:29:50.552Z] total 172 [2022-09-27T16:29:50.552Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 16:28 . [2022-09-27T16:29:50.552Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 16:25 .. [2022-09-27T16:29:50.552Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 27 16:25 .dockerignore [2022-09-27T16:29:50.552Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 16:25 .git [2022-09-27T16:29:50.552Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 16:25 .github [2022-09-27T16:29:50.552Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 27 16:25 .gitignore [2022-09-27T16:29:50.552Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 16:25 .golangci.yml [2022-09-27T16:29:50.552Z] -rw-rw-r-- 1 jenkins jenkins 8724 Sep 27 16:25 Attribution.txt [2022-09-27T16:29:50.552Z] -rw-rw-r-- 1 jenkins jenkins 11736 Sep 27 16:25 CHANGELOG.md [2022-09-27T16:29:50.552Z] -rw-rw-r-- 1 jenkins jenkins 1674 Sep 27 16:25 Dockerfile [2022-09-27T16:29:50.552Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 16:25 GOVERNANCE.md [2022-09-27T16:29:50.552Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 16:25 Jenkinsfile [2022-09-27T16:29:50.552Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 16:25 LICENSE [2022-09-27T16:29:50.552Z] -rw-rw-r-- 1 jenkins jenkins 1964 Sep 27 16:25 Makefile [2022-09-27T16:29:50.552Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 16:25 OWNERS.md [2022-09-27T16:29:50.552Z] -rw-rw-r-- 1 jenkins jenkins 8003 Sep 27 16:25 README.md [2022-09-27T16:29:50.552Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 16:22 VERSION [2022-09-27T16:29:50.552Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 16:25 bin [2022-09-27T16:29:50.552Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 16:25 cmd [2022-09-27T16:29:50.553Z] -rw-r--r-- 1 jenkins jenkins 9355 Sep 27 16:29 coverage.out [2022-09-27T16:29:50.553Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 16:25 driver [2022-09-27T16:29:50.553Z] -rw-rw-r-- 1 jenkins jenkins 3547 Sep 27 16:25 go.mod [2022-09-27T16:29:50.553Z] -rw-rw-r-- 1 jenkins jenkins 37946 Sep 27 16:25 go.sum [2022-09-27T16:29:50.553Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 16:25 snap [2022-09-27T16:29:50.553Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 27 16:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T16:29:50.961Z] + 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=386f6e7f2e1d98450377e280e116a910c56d5839 --label arch=arm64 --label version=0.0.0 . [2022-09-27T16:29:50.961Z] Sending build context to Docker daemon 136.2kB [2022-09-27T16:29:51.228Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T16:29:51.228Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-27T16:29:51.228Z] ---> 30893f071557 [2022-09-27T16:29:51.228Z] Step 3/25 : ARG MAKE='make build' [2022-09-27T16:29:51.228Z] ---> Running in 728c133ec452 [2022-09-27T16:29:51.495Z] Removing intermediate container 728c133ec452 [2022-09-27T16:29:51.495Z] ---> 21bb654d072d [2022-09-27T16:29:51.495Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T16:29:51.495Z] ---> Running in c2405285da9d [2022-09-27T16:29:52.077Z] Removing intermediate container c2405285da9d [2022-09-27T16:29:52.077Z] ---> 2a43445dc136 [2022-09-27T16:29:52.077Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T16:29:52.077Z] ---> Running in 5f19fa52d4fa [2022-09-27T16:29:52.344Z] Removing intermediate container 5f19fa52d4fa [2022-09-27T16:29:52.344Z] ---> 89466df68eb8 [2022-09-27T16:29:52.344Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T16:29:52.344Z] ---> Running in cba49442513b [2022-09-27T16:29:53.757Z] Removing intermediate container cba49442513b [2022-09-27T16:29:53.757Z] ---> f6093d4eeccd [2022-09-27T16:29:53.757Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T16:29:54.026Z] ---> Running in 69118f037851 [2022-09-27T16:29:54.983Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T16:29:55.953Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T16:29:56.539Z] OK: 226 MiB in 55 packages [2022-09-27T16:29:57.505Z] Removing intermediate container 69118f037851 [2022-09-27T16:29:57.505Z] ---> ee732e167df9 [2022-09-27T16:29:57.505Z] Step 8/25 : WORKDIR /device-rest-go [2022-09-27T16:29:57.505Z] ---> Running in 1b5d33fc44b2 [2022-09-27T16:29:57.773Z] Removing intermediate container 1b5d33fc44b2 [2022-09-27T16:29:57.773Z] ---> 75c6fe6d3d72 [2022-09-27T16:29:57.773Z] Step 9/25 : COPY go.mod vendor* ./ [2022-09-27T16:29:58.378Z] ---> f30700766338 [2022-09-27T16:29:58.378Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T16:29:58.378Z] ---> Running in b89b298de489 [2022-09-27T16:30:00.335Z] Removing intermediate container b89b298de489 [2022-09-27T16:30:00.335Z] ---> c82fa8bfa986 [2022-09-27T16:30:00.335Z] Step 11/25 : COPY . . [2022-09-27T16:30:00.920Z] ---> d875f2109226 [2022-09-27T16:30:00.920Z] Step 12/25 : RUN $MAKE [2022-09-27T16:30:01.187Z] ---> Running in 3a3e3b930a7f [2022-09-27T16:30:02.299Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-09-27T16:32:24.116Z] Removing intermediate container 3a3e3b930a7f [2022-09-27T16:32:24.116Z] ---> 7cbc2bcd616c [2022-09-27T16:32:24.116Z] Step 13/25 : FROM alpine:3.16 [2022-09-27T16:32:24.116Z] 3.16: Pulling from library/alpine [2022-09-27T16:32:24.116Z] 9b18e9b68314: Pulling fs layer [2022-09-27T16:32:24.116Z] 9b18e9b68314: Verifying Checksum [2022-09-27T16:32:24.116Z] 9b18e9b68314: Download complete [2022-09-27T16:32:24.116Z] 9b18e9b68314: Pull complete [2022-09-27T16:32:24.116Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T16:32:24.116Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T16:32:24.116Z] ---> a6215f271958 [2022-09-27T16:32:24.116Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T16:32:24.116Z] ---> Running in 6cc9b20642bd [2022-09-27T16:32:24.116Z] Removing intermediate container 6cc9b20642bd [2022-09-27T16:32:24.116Z] ---> 64af25997290 [2022-09-27T16:32:24.116Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-09-27T16:32:24.116Z] ---> Running in 5a7bc56c946c [2022-09-27T16:32:24.116Z] Removing intermediate container 5a7bc56c946c [2022-09-27T16:32:24.116Z] ---> 32a257c05f2e [2022-09-27T16:32:24.116Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-27T16:32:24.116Z] ---> Running in 114c0e14c04b [2022-09-27T16:32:24.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T16:32:24.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T16:32:24.116Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-27T16:32:24.116Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T16:32:24.116Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-27T16:32:24.116Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T16:32:24.116Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-27T16:32:24.116Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-27T16:32:24.116Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T16:32:24.116Z] OK: 8 MiB in 20 packages [2022-09-27T16:32:24.116Z] Removing intermediate container 114c0e14c04b [2022-09-27T16:32:24.116Z] ---> 327ff30efa12 [2022-09-27T16:32:24.116Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-09-27T16:32:24.116Z] ---> ab7006ed9c53 [2022-09-27T16:32:24.116Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-09-27T16:32:24.116Z] ---> 66cb0b45270b [2022-09-27T16:32:24.116Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-09-27T16:32:24.709Z] ---> 28695b686562 [2022-09-27T16:32:24.709Z] Step 20/25 : EXPOSE 59986 [2022-09-27T16:32:24.709Z] ---> Running in 261d9f4e32cb [2022-09-27T16:32:24.977Z] Removing intermediate container 261d9f4e32cb [2022-09-27T16:32:24.977Z] ---> 12cf68f3488f [2022-09-27T16:32:24.977Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-09-27T16:32:24.977Z] ---> Running in 7a56ac7905dc [2022-09-27T16:32:25.251Z] Removing intermediate container 7a56ac7905dc [2022-09-27T16:32:25.251Z] ---> b510152d4b6f [2022-09-27T16:32:25.251Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-09-27T16:32:25.522Z] ---> Running in e65fd3f3f517 [2022-09-27T16:32:25.790Z] Removing intermediate container e65fd3f3f517 [2022-09-27T16:32:25.790Z] ---> 2c3e19fddbfd [2022-09-27T16:32:25.790Z] Step 23/25 : LABEL arch=arm64 [2022-09-27T16:32:25.790Z] ---> Running in d6beebd2da8b [2022-09-27T16:32:26.064Z] Removing intermediate container d6beebd2da8b [2022-09-27T16:32:26.064Z] ---> 807a4357173b [2022-09-27T16:32:26.064Z] Step 24/25 : LABEL git_sha=386f6e7f2e1d98450377e280e116a910c56d5839 [2022-09-27T16:32:26.337Z] ---> Running in 8468d48933d4 [2022-09-27T16:32:26.603Z] Removing intermediate container 8468d48933d4 [2022-09-27T16:32:26.603Z] ---> 96d43159d71e [2022-09-27T16:32:26.603Z] Step 25/25 : LABEL version=0.0.0 [2022-09-27T16:32:26.603Z] ---> Running in 7d54f91a0ea3 [2022-09-27T16:32:26.870Z] Removing intermediate container 7d54f91a0ea3 [2022-09-27T16:32:26.871Z] ---> 38fe2b8bd184 [2022-09-27T16:32:26.871Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T16:32:26.871Z] Successfully built 38fe2b8bd184 [2022-09-27T16:32:26.871Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T16:32:27.668Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T16:32:27.668Z] [2022-09-27T16:32:27.668Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T16:32:28.070Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T16:32:28.070Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-27T16:32:28.070Z] 8998bd30e6a1: Pulling fs layer [2022-09-27T16:32:28.070Z] 04944245beec: Pulling fs layer [2022-09-27T16:32:28.070Z] 699f458cf7ca: Pulling fs layer [2022-09-27T16:32:28.070Z] 765212b225bb: Pulling fs layer [2022-09-27T16:32:28.070Z] f23df028b6ca: Pulling fs layer [2022-09-27T16:32:28.070Z] d65c8cfc05b1: Pulling fs layer [2022-09-27T16:32:28.070Z] 2437ff75d9bd: Pulling fs layer [2022-09-27T16:32:28.070Z] 2437ff75d9bd: Waiting [2022-09-27T16:32:28.070Z] f23df028b6ca: Waiting [2022-09-27T16:32:28.070Z] 765212b225bb: Waiting [2022-09-27T16:32:28.070Z] d65c8cfc05b1: Waiting [2022-09-27T16:32:28.340Z] 04944245beec: Verifying Checksum [2022-09-27T16:32:28.340Z] 04944245beec: Download complete [2022-09-27T16:32:28.340Z] 765212b225bb: Verifying Checksum [2022-09-27T16:32:28.340Z] 765212b225bb: Download complete [2022-09-27T16:32:28.340Z] f23df028b6ca: Verifying Checksum [2022-09-27T16:32:28.340Z] f23df028b6ca: Download complete [2022-09-27T16:32:28.340Z] d65c8cfc05b1: Verifying Checksum [2022-09-27T16:32:28.340Z] d65c8cfc05b1: Download complete [2022-09-27T16:32:28.611Z] 699f458cf7ca: Verifying Checksum [2022-09-27T16:32:28.611Z] 699f458cf7ca: Download complete [2022-09-27T16:32:28.879Z] 8998bd30e6a1: Verifying Checksum [2022-09-27T16:32:28.879Z] 8998bd30e6a1: Download complete [2022-09-27T16:32:31.467Z] 2437ff75d9bd: Verifying Checksum [2022-09-27T16:32:31.467Z] 2437ff75d9bd: Download complete [2022-09-27T16:32:32.879Z] 8998bd30e6a1: Pull complete [2022-09-27T16:32:33.463Z] 04944245beec: Pull complete [2022-09-27T16:32:34.871Z] 699f458cf7ca: Pull complete [2022-09-27T16:32:34.871Z] 765212b225bb: Pull complete [2022-09-27T16:32:35.831Z] f23df028b6ca: Pull complete [2022-09-27T16:32:35.831Z] d65c8cfc05b1: Pull complete [2022-09-27T16:32:50.827Z] 2437ff75d9bd: Pull complete [2022-09-27T16:32:50.827Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-27T16:32:50.827Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T16:32:50.827Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T16:32:51.118Z] prd-ubuntu20.04-docker-arm64-4c-16g-1369 does not seem to be running inside a container [2022-09-27T16:32:51.184Z] $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-27T16:32:53.575Z] $ docker top 4ce163afa845d2c850de4574be98b92985fefa80ab28c578f96b7e877b730a77 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T16:32:54.122Z] ---> job-cost.sh [2022-09-27T16:32:54.389Z] lf-activate-venv: SKIPPING [2022-09-27T16:32:54.389Z] INFO: No Stack... [2022-09-27T16:32:54.656Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-27T16:32:55.608Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T16:32:55.950Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-09-27T16:32:55.950Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T16:32:56.026Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-215-1-stack-cost] [2022-09-27T16:32:56.031Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-215-1-stack-cost] did not exist. Created. [2022-09-27T16:32:56.031Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-215-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T16:32:56.432Z] /w/workspace/device-rest-go/1@tmp/durable-6cb2fa50/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-27T16:32:56.779Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-27T16:32:56.816Z] Warning: overwriting stash ‘stack-cost’ [2022-09-27T16:32:56.855Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T16:32:56.868Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-215-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T16:32:56.945Z] $ docker stop --time=1 4ce163afa845d2c850de4574be98b92985fefa80ab28c578f96b7e877b730a77 [2022-09-27T16:32:58.382Z] $ docker rm -f 4ce163afa845d2c850de4574be98b92985fefa80ab28c578f96b7e877b730a77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-09-27T16:32:59.276Z] provisioning config files... [2022-09-27T16:32:59.284Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-215@tmp/config15593657280547847038tmp [Pipeline] { [Pipeline] sh [2022-09-27T16:32:59.621Z] + set +x [2022-09-27T16:32:59.621Z] + curl -s https://codecov.io/bash [2022-09-27T16:32:59.621Z] + bash -s -- [2022-09-27T16:32:59.621Z] [2022-09-27T16:32:59.621Z] _____ _ [2022-09-27T16:32:59.621Z] / ____| | | [2022-09-27T16:32:59.621Z] | | ___ __| | ___ ___ _____ __ [2022-09-27T16:32:59.621Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-27T16:32:59.621Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-27T16:32:59.621Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-27T16:32:59.621Z] Bash-1.0.6 [2022-09-27T16:32:59.621Z] [2022-09-27T16:32:59.621Z] [2022-09-27T16:32:59.621Z] ==> git version 2.25.1 found [2022-09-27T16:32:59.621Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-09-27T16:32:59.621Z] Release-Date: 2020-01-08 [2022-09-27T16:32:59.621Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-27T16:32:59.621Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-27T16:32:59.621Z] ==> Jenkins CI detected. [2022-09-27T16:32:59.621Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-215 [2022-09-27T16:32:59.621Z] project root: . [2022-09-27T16:32:59.621Z] --> token set from env [2022-09-27T16:32:59.621Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-27T16:32:59.621Z] ==> Running gcov in . (disable via -X gcov) [2022-09-27T16:32:59.621Z] ==> Python coveragepy not found [2022-09-27T16:32:59.621Z] ==> Searching for coverage reports in: [2022-09-27T16:32:59.621Z] + . [2022-09-27T16:32:59.621Z] -> Found 1 reports [2022-09-27T16:32:59.621Z] ==> Detecting git/mercurial file structure [2022-09-27T16:32:59.621Z] ==> Reading reports [2022-09-27T16:32:59.621Z] + ./coverage.out bytes=9355 [2022-09-27T16:32:59.621Z] ==> Appending adjustments [2022-09-27T16:32:59.621Z] https://docs.codecov.io/docs/fixing-reports [2022-09-27T16:32:59.882Z] + Found adjustments [2022-09-27T16:32:59.882Z] ==> Gzipping contents [2022-09-27T16:32:59.882Z] 4.0K /tmp/codecov.VhwfDJ.gz [2022-09-27T16:32:59.882Z] ==> Uploading reports [2022-09-27T16:32:59.882Z] url: https://codecov.io [2022-09-27T16:32:59.882Z] query: branch=PR-215&commit=386f6e7f2e1d98450377e280e116a910c56d5839&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-215%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=215&job=&cmd_args= [2022-09-27T16:32:59.882Z] -> Pinging Codecov [2022-09-27T16:32:59.882Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-215&commit=386f6e7f2e1d98450377e280e116a910c56d5839&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-215%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=215&job=&cmd_args= [2022-09-27T16:33:00.142Z] -> Uploading to [2022-09-27T16:33:00.142Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-27/4E5D53B4F1F92C436F7061BF334D961C/386f6e7f2e1d98450377e280e116a910c56d5839/c2a25476-f4db-4ba7-9aec-09bad2653029.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T163259Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c9bfc948891a449d0904147c9a8141cefce94937f11150b3fb4922a2887fff4a [2022-09-27T16:33:00.142Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T16:33:00.142Z] Dload Upload Total Spent Left Speed [2022-09-27T16:33:00.143Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7211 --:--:-- --:--:-- --:--:-- 7211 [2022-09-27T16:33:00.403Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/386f6e7f2e1d98450377e280e116a910c56d5839 [Pipeline] } [2022-09-27T16:33:00.433Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-09-27T16:33:02.099Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-215/archives ] [2022-09-27T16:33:02.100Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-215/archives [2022-09-27T16:33:02.100Z] total 16 [2022-09-27T16:33:02.100Z] drwxr-xr-x 3 root root 4096 Sep 27 16:23 . [2022-09-27T16:33:02.100Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 16:23 .. [2022-09-27T16:33:02.100Z] drwxr-xr-x 2 root root 4096 Sep 27 16:23 cost [2022-09-27T16:33:02.100Z] -rw-r--r-- 1 root root 86 Sep 27 16:23 cost.csv [2022-09-27T16:33:02.100Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-215/archives [2022-09-27T16:33:02.100Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-215/archives [2022-09-27T16:33:02.100Z] total 16 [2022-09-27T16:33:02.100Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 16:23 . [2022-09-27T16:33:02.100Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 16:23 .. [2022-09-27T16:33:02.100Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 16:23 cost [2022-09-27T16:33:02.100Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 27 16:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-27T16:33:02.424Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T16:33:03.310Z] ---> package-listing.sh [2022-09-27T16:33:03.310Z] ++ facter osfamily [2022-09-27T16:33:03.310Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-27T16:33:03.570Z] + OS_FAMILY=debian [2022-09-27T16:33:03.570Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-215 [2022-09-27T16:33:03.570Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-27T16:33:03.570Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-27T16:33:03.570Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-27T16:33:03.570Z] + PACKAGES=/tmp/packages_start.txt [2022-09-27T16:33:03.570Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-215 ']' [2022-09-27T16:33:03.570Z] + PACKAGES=/tmp/packages_end.txt [2022-09-27T16:33:03.570Z] + case "${OS_FAMILY}" in [2022-09-27T16:33:03.570Z] + dpkg -l [2022-09-27T16:33:03.570Z] + grep '^ii' [2022-09-27T16:33:03.570Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-27T16:33:03.570Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-27T16:33:03.570Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-27T16:33:03.570Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-215 ']' [2022-09-27T16:33:03.570Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-215/archives/ [2022-09-27T16:33:03.570Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-215/archives/ [Pipeline] echo [2022-09-27T16:33:03.603Z] 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-215/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-27T16:33:03.896Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T16:33:04.527Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T16:33:04.527Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T16:33:04.666Z] prd-ubuntu20.04-docker-8c-8g-1368 does not seem to be running inside a container [2022-09-27T16:33:04.700Z] $ 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-215/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-215 -v /w/workspace/gexfoundry_device-rest-go_PR-215:/w/workspace/gexfoundry_device-rest-go_PR-215:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-215@tmp:/w/workspace/gexfoundry_device-rest-go_PR-215@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-27T16:33:04.888Z] $ docker top baf4a88443b908ebd8dc7a21c7d09b5f3a212217567670b1f04d6f10629c32db -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T16:33:05.277Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-27T16:33:05.589Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-27T16:33:05.906Z] + ls /var/log/sa-host [2022-09-27T16:33:05.906Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T16:33:06.044Z] provisioning config files... [2022-09-27T16:33:06.055Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-215@tmp/config449737642373649107tmp [Pipeline] { [Pipeline] echo [2022-09-27T16:33:06.109Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T16:33:06.417Z] ---> create-netrc.sh [Pipeline] } [2022-09-27T16:33:06.446Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-27T16:33:06.837Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-27T16:33:06.870Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T16:33:07.181Z] ---> sudo-logs.sh [2022-09-27T16:33:07.181Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-27T16:33:07.263Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T16:33:07.571Z] ---> job-cost.sh [2022-09-27T16:33:07.571Z] lf-activate-venv: SKIPPING [2022-09-27T16:33:07.571Z] DEBUG: total: 0.2199999988079071 [2022-09-27T16:33:07.571Z] INFO: Retrieving Stack Cost... [2022-09-27T16:33:07.830Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T16:33:08.399Z] INFO: Archiving Costs [Pipeline] echo [2022-09-27T16:33:08.430Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T16:33:08.745Z] ---> logs-deploy.sh [2022-09-27T16:33:08.745Z] lf-activate-venv: SKIPPING [2022-09-27T16:33:08.745Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-215/1 [2022-09-27T16:33:08.745Z] INFO: archiving workspace using pattern(s): [2022-09-27T16:33:09.684Z] Archives upload complete. [2022-09-27T16:33:09.684Z] INFO: archiving logs to Nexus