Pull request #224 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-rest-go Loading trusted files from base branch main at 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 rather than 34f8305dfa7c0ac56c7d35b7422da216194c6e4c Obtained Jenkinsfile from 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 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-ssh14978474710298550216.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh12498821069577192268.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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-224/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-224/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12407729412557679913.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh12813010125097306014.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-224/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-224/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11418245433234856046.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 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 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-117259 in /w/workspace/gexfoundry_device-rest-go_PR-224 [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-224 # 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 > 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/224/head:refs/remotes/origin/PR-224 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 into PR head commit 34f8305dfa7c0ac56c7d35b7422da216194c6e4c Merge succeeded, producing 34f8305dfa7c0ac56c7d35b7422da216194c6e4c Checking out Revision 34f8305dfa7c0ac56c7d35b7422da216194c6e4c (PR-224) > git config core.sparsecheckout # timeout=10 > git checkout -f 34f8305dfa7c0ac56c7d35b7422da216194c6e4c # 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 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 34f8305dfa7c0ac56c7d35b7422da216194c6e4c # timeout=10 Commit message: "build: Latest go-mods, config and Dockerfile fix" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T19:36:19.108Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T19:36:19.174Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T19:36:19.190Z] ========================================================= [2022-10-26T19:36:19.190Z] EdgeX Global Pipelines Version Info [2022-10-26T19:36:19.190Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 56c6f4d812e3d536ebc9df51416ee586a9718bc1 # timeout=10 [2022-10-26T19:36:19.903Z] ------------------- [2022-10-26T19:36:19.903Z] stable info: [2022-10-26T19:36:19.903Z] ------------------- [2022-10-26T19:36:19.903Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T19:36:19.903Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T19:36:19.903Z] Message: update stable to v1.0.243 [2022-10-26T19:36:20.472Z] ------------------- [2022-10-26T19:36:20.472Z] experimental info: [2022-10-26T19:36:20.472Z] ------------------- [2022-10-26T19:36:20.472Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T19:36:20.472Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T19:36:20.472Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T19:36:20.626Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-10-26T19:36:20.637Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-10-26T19:36:20.649Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T19:36:20.660Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T19:36:20.679Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T19:36:20.687Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T19:36:20.701Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T19:36:20.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-26T19:36:20.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T19:36:20.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T19:36:20.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T19:36:20.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-10-26T19:36:20.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T19:36:20.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T19:36:20.789Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T19:36:20.800Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T19:36:20.813Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T19:36:20.827Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T19:36:20.841Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T19:36:20.852Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T19:36:20.861Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-26T19:36:20.872Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-26T19:36:20.890Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T19:36:20.906Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T19:36:20.918Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T19:36:20.931Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T19:36:20.945Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T19:36:20.955Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-224 [Pipeline] echo [2022-10-26T19:36:20.964Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-224 [Pipeline] echo [2022-10-26T19:36:20.976Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-224 [Pipeline] echo [2022-10-26T19:36:20.988Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 34f8305dfa7c0ac56c7d35b7422da216194c6e4c [Pipeline] echo [2022-10-26T19:36:20.997Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 34f8305 [Pipeline] echo [2022-10-26T19:36:21.010Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T19:36:21.052Z] provisioning config files... [2022-10-26T19:36:21.066Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-224@tmp/config6675058427086116521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:36:21.369Z] ---> docker-login.sh [2022-10-26T19:36:21.369Z] nexus3.edgexfoundry.org:10001 [2022-10-26T19:36:21.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:21.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:21.889Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:21.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:21.889Z] [2022-10-26T19:36:21.889Z] Login Succeeded [2022-10-26T19:36:21.889Z] nexus3.edgexfoundry.org:10002 [2022-10-26T19:36:21.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:21.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:21.889Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:21.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:21.889Z] [2022-10-26T19:36:21.889Z] Login Succeeded [2022-10-26T19:36:21.889Z] nexus3.edgexfoundry.org:10003 [2022-10-26T19:36:21.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:21.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:21.889Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:21.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:21.889Z] [2022-10-26T19:36:21.889Z] Login Succeeded [2022-10-26T19:36:21.889Z] nexus3.edgexfoundry.org:10004 [2022-10-26T19:36:22.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:22.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:22.150Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:22.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:22.150Z] [2022-10-26T19:36:22.150Z] Login Succeeded [2022-10-26T19:36:22.150Z] docker.io [2022-10-26T19:36:22.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:22.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:22.409Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:22.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:22.409Z] [2022-10-26T19:36:22.409Z] Login Succeeded [2022-10-26T19:36:22.409Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T19:36:22.417Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T19:36:22.792Z] + git rev-list -1 --merges 34f8305dfa7c0ac56c7d35b7422da216194c6e4c~1..34f8305dfa7c0ac56c7d35b7422da216194c6e4c [Pipeline] echo [2022-10-26T19:36:22.827Z] -----------> git rev-list -1 --merges 34f8305dfa7c0ac56c7d35b7422da216194c6e4c~1..34f8305dfa7c0ac56c7d35b7422da216194c6e4c 34f8305dfa7c0ac56c7d35b7422da216194c6e4c [false] [Pipeline] sh [2022-10-26T19:36:23.114Z] + git log --format=format:%s -1 34f8305dfa7c0ac56c7d35b7422da216194c6e4c [Pipeline] echo [2022-10-26T19:36:23.131Z] ========================================================= [2022-10-26T19:36:23.131Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T19:36:23.131Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T19:36:23.459Z] + git log --format=format:%s -1 34f8305dfa7c0ac56c7d35b7422da216194c6e4c [Pipeline] echo [2022-10-26T19:36:23.472Z] [semverPrep] GIT_COMMIT: 34f8305dfa7c0ac56c7d35b7422da216194c6e4c, Commit Message: build: Latest go-mods, config and Dockerfile fix [Pipeline] echo [2022-10-26T19:36:23.483Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T19:36:23.869Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T19:36:23.870Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T19:36:23.870Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T19:36:23.870Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T19:36:23.870Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2022-10-26T19:36:23.870Z] -a /etc/ssh/ssh_known_hosts [2022-10-26T19:36:23.870Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:36:24.308Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T19:36:24.308Z] [2022-10-26T19:36:24.308Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:36:24.635Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T19:36:24.635Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T19:36:24.635Z] b85a868b505f: Pulling fs layer [2022-10-26T19:36:24.635Z] e2be974225ed: Pulling fs layer [2022-10-26T19:36:24.635Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T19:36:24.635Z] 988bab9f4d93: Pulling fs layer [2022-10-26T19:36:24.635Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T19:36:24.635Z] eaf3925da568: Pulling fs layer [2022-10-26T19:36:24.635Z] bab4dde63d76: Pulling fs layer [2022-10-26T19:36:24.635Z] bde34c3a00c8: Pulling fs layer [2022-10-26T19:36:24.635Z] b352a97aabf1: Pulling fs layer [2022-10-26T19:36:24.635Z] 4872d77fe225: Pulling fs layer [2022-10-26T19:36:24.635Z] 5851b861e8e6: Pulling fs layer [2022-10-26T19:36:24.635Z] bde34c3a00c8: Waiting [2022-10-26T19:36:24.635Z] b352a97aabf1: Waiting [2022-10-26T19:36:24.635Z] 4872d77fe225: Waiting [2022-10-26T19:36:24.635Z] eaf3925da568: Waiting [2022-10-26T19:36:24.635Z] 988bab9f4d93: Waiting [2022-10-26T19:36:24.635Z] 1469e6f7b9e6: Waiting [2022-10-26T19:36:24.635Z] 5851b861e8e6: Waiting [2022-10-26T19:36:24.635Z] bab4dde63d76: Waiting [2022-10-26T19:36:24.635Z] e2be974225ed: Download complete [2022-10-26T19:36:24.635Z] 988bab9f4d93: Verifying Checksum [2022-10-26T19:36:24.635Z] 988bab9f4d93: Download complete [2022-10-26T19:36:24.910Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T19:36:24.910Z] eaf3925da568: Verifying Checksum [2022-10-26T19:36:24.910Z] eaf3925da568: Download complete [2022-10-26T19:36:24.910Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T19:36:24.910Z] 339a4e72a1f5: Download complete [2022-10-26T19:36:25.183Z] bde34c3a00c8: Verifying Checksum [2022-10-26T19:36:25.183Z] bde34c3a00c8: Download complete [2022-10-26T19:36:25.183Z] b352a97aabf1: Download complete [2022-10-26T19:36:25.183Z] 4872d77fe225: Verifying Checksum [2022-10-26T19:36:25.183Z] 4872d77fe225: Download complete [2022-10-26T19:36:25.183Z] 5851b861e8e6: Verifying Checksum [2022-10-26T19:36:25.183Z] 5851b861e8e6: Download complete [2022-10-26T19:36:25.463Z] b85a868b505f: Verifying Checksum [2022-10-26T19:36:25.464Z] b85a868b505f: Download complete [2022-10-26T19:36:26.074Z] bab4dde63d76: Verifying Checksum [2022-10-26T19:36:26.074Z] bab4dde63d76: Download complete [2022-10-26T19:36:26.642Z] b85a868b505f: Pull complete [2022-10-26T19:36:26.901Z] e2be974225ed: Pull complete [2022-10-26T19:36:27.474Z] 339a4e72a1f5: Pull complete [2022-10-26T19:36:27.474Z] 988bab9f4d93: Pull complete [2022-10-26T19:36:27.758Z] 1469e6f7b9e6: Pull complete [2022-10-26T19:36:28.020Z] eaf3925da568: Pull complete [2022-10-26T19:36:29.932Z] bab4dde63d76: Pull complete [2022-10-26T19:36:29.932Z] bde34c3a00c8: Pull complete [2022-10-26T19:36:29.932Z] b352a97aabf1: Pull complete [2022-10-26T19:36:29.932Z] 4872d77fe225: Pull complete [2022-10-26T19:36:30.197Z] 5851b861e8e6: Pull complete [2022-10-26T19:36:30.197Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T19:36:30.197Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T19:36:30.197Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:36:30.282Z] prd-ubuntu20.04-docker-8c-8g-117259 does not seem to be running inside a container [2022-10-26T19:36:30.311Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-224 -v /w/workspace/gexfoundry_device-rest-go_PR-224:/w/workspace/gexfoundry_device-rest-go_PR-224:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-224@tmp:/w/workspace/gexfoundry_device-rest-go_PR-224@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-devops/py-git-semver:0.1.4 cat [2022-10-26T19:36:32.363Z] $ docker top 5af08fccaf9282eda9ba5f991d62b500c0c0f9f141576c25548c21902fc43471 -eo pid,comm [2022-10-26T19:36:32.422Z] 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-10-26T19:36:32.422Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T19:36:32.461Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T19:36:32.461Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T19:36:32.578Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T19:36:32.581Z] $ docker exec 5af08fccaf9282eda9ba5f991d62b500c0c0f9f141576c25548c21902fc43471 ssh-agent [2022-10-26T19:36:32.705Z] SSH_AUTH_SOCK=/tmp/ssh-hEKoJW9rGZU4/agent.33 [2022-10-26T19:36:32.705Z] SSH_AGENT_PID=39 [2022-10-26T19:36:32.711Z] Running ssh-add (command line suppressed) [2022-10-26T19:36:32.814Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-224@tmp/private_key_7750337611637826571.key (/w/workspace/gexfoundry_device-rest-go_PR-224@tmp/private_key_7750337611637826571.key) [2022-10-26T19:36:32.830Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T19:36:33.115Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T19:36:33.127Z] $ docker exec --env ******** --env ******** 5af08fccaf9282eda9ba5f991d62b500c0c0f9f141576c25548c21902fc43471 ssh-agent -k [2022-10-26T19:36:33.226Z] unset SSH_AUTH_SOCK; [2022-10-26T19:36:33.227Z] unset SSH_AGENT_PID; [2022-10-26T19:36:33.227Z] echo Agent pid 39 killed; [2022-10-26T19:36:33.237Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T19:36:33.267Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T19:36:33.267Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T19:36:33.370Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T19:36:33.372Z] $ docker exec 5af08fccaf9282eda9ba5f991d62b500c0c0f9f141576c25548c21902fc43471 ssh-agent [2022-10-26T19:36:33.484Z] SSH_AUTH_SOCK=/tmp/ssh-BPHjonLpADXj/agent.70 [2022-10-26T19:36:33.484Z] SSH_AGENT_PID=76 [2022-10-26T19:36:33.489Z] Running ssh-add (command line suppressed) [2022-10-26T19:36:33.598Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-224@tmp/private_key_8903659599235318724.key (/w/workspace/gexfoundry_device-rest-go_PR-224@tmp/private_key_8903659599235318724.key) [2022-10-26T19:36:33.615Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T19:36:33.900Z] + git semver init [2022-10-26T19:36:34.167Z] 2022-10-26 19:36:34,144 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T19:36:34.167Z] 2022-10-26 19:36:34,145 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-224/.semver [2022-10-26T19:36:34.167Z] 2022-10-26 19:36:34,145 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-224/.semver [2022-10-26T19:36:34.167Z] 2022-10-26 19:36:34,146 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-224/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-224, universal_newlines=False, shell=None, istream=None) [2022-10-26T19:36:35.580Z] 2022-10-26 19:36:35,281 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-224/.git/info/exclude [2022-10-26T19:36:35.580Z] 2022-10-26 19:36:35,282 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-224/.semver/PR-224 with force:False [2022-10-26T19:36:35.580Z] 2022-10-26 19:36:35,282 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-224/.semver/PR-224 [2022-10-26T19:36:35.580Z] 2022-10-26 19:36:35,284 [execute] INFO git cat-file --batch-check [2022-10-26T19:36:35.580Z] 2022-10-26 19:36:35,284 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-224/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T19:36:35.580Z] 2022-10-26 19:36:35,290 [execute] INFO git cat-file --batch [2022-10-26T19:36:35.580Z] 2022-10-26 19:36:35,291 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-224/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T19:36:35.580Z] 2022-10-26 19:36:35,295 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-224/.semver/PR-224 [2022-10-26T19:36:35.580Z] 0.0.0 [Pipeline] } [2022-10-26T19:36:35.610Z] $ docker exec --env ******** --env ******** 5af08fccaf9282eda9ba5f991d62b500c0c0f9f141576c25548c21902fc43471 ssh-agent -k [2022-10-26T19:36:35.711Z] unset SSH_AUTH_SOCK; [2022-10-26T19:36:35.711Z] unset SSH_AGENT_PID; [2022-10-26T19:36:35.711Z] echo Agent pid 76 killed; [2022-10-26T19:36:35.739Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T19:36:36.055Z] + git semver [Pipeline] } [2022-10-26T19:36:36.327Z] $ docker stop --time=1 5af08fccaf9282eda9ba5f991d62b500c0c0f9f141576c25548c21902fc43471 [2022-10-26T19:36:37.647Z] $ docker rm -f 5af08fccaf9282eda9ba5f991d62b500c0c0f9f141576c25548c21902fc43471 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T19:36:37.979Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T19:36:38.160Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T19:36:38.162Z] [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-10-26T19:36:38.301Z] provisioning config files... [2022-10-26T19:36:38.310Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-224@tmp/config17213660603481892681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:36:38.607Z] ---> docker-login.sh [2022-10-26T19:36:38.607Z] nexus3.edgexfoundry.org:10001 [2022-10-26T19:36:38.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:38.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:38.607Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:38.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:38.607Z] [2022-10-26T19:36:38.607Z] Login Succeeded [2022-10-26T19:36:38.607Z] nexus3.edgexfoundry.org:10002 [2022-10-26T19:36:38.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:38.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:38.607Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:38.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:38.607Z] [2022-10-26T19:36:38.607Z] Login Succeeded [2022-10-26T19:36:38.607Z] nexus3.edgexfoundry.org:10003 [2022-10-26T19:36:38.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:38.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:38.867Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:38.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:38.867Z] [2022-10-26T19:36:38.867Z] Login Succeeded [2022-10-26T19:36:38.867Z] nexus3.edgexfoundry.org:10004 [2022-10-26T19:36:38.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:38.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:38.867Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:38.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:38.867Z] [2022-10-26T19:36:38.867Z] Login Succeeded [2022-10-26T19:36:38.867Z] docker.io [2022-10-26T19:36:39.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:39.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:39.386Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:39.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:39.386Z] [2022-10-26T19:36:39.386Z] Login Succeeded [2022-10-26T19:36:39.386Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T19:36:39.396Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T19:36:39.462Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:36:39.474Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:36:39.482Z] ========================================================= [2022-10-26T19:36:39.482Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T19:36:39.482Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:36:39.808Z] + 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-10-26T19:36:39.808Z] Sending build context to Docker daemon 10.75MB [2022-10-26T19:36:39.808Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:36:39.808Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-26T19:36:40.096Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T19:36:40.096Z] 213ec9aee27d: Pulling fs layer [2022-10-26T19:36:40.096Z] 4583459ba037: Pulling fs layer [2022-10-26T19:36:40.096Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T19:36:40.096Z] 53926ce57604: Pulling fs layer [2022-10-26T19:36:40.096Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T19:36:40.096Z] 30f14e443154: Pulling fs layer [2022-10-26T19:36:40.096Z] 801331c1e519: Pulling fs layer [2022-10-26T19:36:40.096Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T19:36:40.096Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T19:36:40.096Z] 30f14e443154: Waiting [2022-10-26T19:36:40.096Z] 801331c1e519: Waiting [2022-10-26T19:36:40.096Z] 99cc6dd402b0: Waiting [2022-10-26T19:36:40.096Z] 7d9ed39f4882: Waiting [2022-10-26T19:36:40.096Z] 53926ce57604: Waiting [2022-10-26T19:36:40.096Z] 21b2b0c7a3f4: Waiting [2022-10-26T19:36:40.096Z] 93c1e223e6f2: Verifying Checksum [2022-10-26T19:36:40.096Z] 93c1e223e6f2: Download complete [2022-10-26T19:36:40.096Z] 4583459ba037: Download complete [2022-10-26T19:36:40.096Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-26T19:36:40.096Z] 21b2b0c7a3f4: Download complete [2022-10-26T19:36:40.096Z] 30f14e443154: Verifying Checksum [2022-10-26T19:36:40.096Z] 30f14e443154: Download complete [2022-10-26T19:36:40.393Z] 213ec9aee27d: Download complete [2022-10-26T19:36:40.674Z] 801331c1e519: Verifying Checksum [2022-10-26T19:36:40.674Z] 801331c1e519: Download complete [2022-10-26T19:36:40.674Z] 213ec9aee27d: Pull complete [2022-10-26T19:36:40.956Z] 4583459ba037: Pull complete [2022-10-26T19:36:40.956Z] 93c1e223e6f2: Pull complete [2022-10-26T19:36:41.958Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T19:36:41.958Z] 99cc6dd402b0: Download complete [2022-10-26T19:36:41.958Z] 7d9ed39f4882: Verifying Checksum [2022-10-26T19:36:41.958Z] 7d9ed39f4882: Download complete [2022-10-26T19:36:42.219Z] 53926ce57604: Verifying Checksum [2022-10-26T19:36:42.219Z] 53926ce57604: Download complete [2022-10-26T19:36:46.422Z] 53926ce57604: Pull complete [2022-10-26T19:36:46.422Z] 21b2b0c7a3f4: Pull complete [2022-10-26T19:36:46.422Z] 30f14e443154: Pull complete [2022-10-26T19:36:46.422Z] 801331c1e519: Pull complete [2022-10-26T19:36:49.007Z] 99cc6dd402b0: Pull complete [2022-10-26T19:36:49.603Z] 7d9ed39f4882: Pull complete [2022-10-26T19:36:49.603Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T19:36:49.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T19:36:49.603Z] ---> 1dedd983c030 [2022-10-26T19:36:49.603Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:36:51.519Z] ---> Running in 85028a7df007 [2022-10-26T19:36:51.519Z] Removing intermediate container 85028a7df007 [2022-10-26T19:36:51.519Z] ---> a7f1d8407071 [2022-10-26T19:36:51.519Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:36:51.519Z] ---> Running in 5a73ac60445f [2022-10-26T19:36:51.519Z] Removing intermediate container 5a73ac60445f [2022-10-26T19:36:51.519Z] ---> d64327346370 [2022-10-26T19:36:51.519Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T19:36:51.519Z] ---> Running in 4596a58054e8 [2022-10-26T19:36:51.778Z] Removing intermediate container 4596a58054e8 [2022-10-26T19:36:51.778Z] ---> 95d4391c866a [2022-10-26T19:36:51.778Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T19:36:51.778Z] ---> Running in e183bffe0b58 [2022-10-26T19:36:51.778Z] Removing intermediate container e183bffe0b58 [2022-10-26T19:36:51.778Z] ---> b3f89d7832b8 [2022-10-26T19:36:51.778Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T19:36:51.778Z] ---> Running in 74544b260271 [2022-10-26T19:36:52.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T19:36:52.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T19:36:52.607Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T19:36:52.607Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-26T19:36:52.607Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T19:36:52.607Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T19:36:52.607Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T19:36:52.607Z] OK: 216 MiB in 55 packages [2022-10-26T19:36:53.178Z] Removing intermediate container 74544b260271 [2022-10-26T19:36:53.178Z] ---> b328f3c9b9d9 [2022-10-26T19:36:53.178Z] Step 8/12 : WORKDIR /device-rest-go [2022-10-26T19:36:53.261Z] Still waiting to schedule task [2022-10-26T19:36:53.261Z] ‘prd-ubuntu20.04-docker-8c-8g-117268’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T19:36:53.261Z] ‘prd-ubuntu20.04-docker-8c-8g-117269’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T19:36:53.261Z] ‘prd-ubuntu20.04-docker-8c-8g-117270’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T19:36:53.261Z] ‘prd-ubuntu20.04-docker-8c-8g-117271’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T19:36:53.261Z] ‘prd-ubuntu20.04-docker-8c-8g-117272’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T19:36:53.262Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117262’ is offline [2022-10-26T19:36:53.262Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117263’ is offline [2022-10-26T19:36:53.262Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117264’ is offline [2022-10-26T19:36:53.262Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117265’ is offline [2022-10-26T19:36:53.262Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117266’ is offline [2022-10-26T19:36:53.262Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117267’ is offline [2022-10-26T19:36:53.437Z] ---> Running in 4c64168a2759 [2022-10-26T19:36:53.695Z] Removing intermediate container 4c64168a2759 [2022-10-26T19:36:53.695Z] ---> 5b7e10c69bcb [2022-10-26T19:36:53.695Z] Step 9/12 : COPY go.mod vendor* ./ [2022-10-26T19:36:53.961Z] ---> 733dbbf4ca4d [2022-10-26T19:36:53.961Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:36:53.961Z] ---> Running in 5c4721e93006 [2022-10-26T19:37:15.930Z] Removing intermediate container 5c4721e93006 [2022-10-26T19:37:15.930Z] ---> 855076e53ff3 [2022-10-26T19:37:15.930Z] Step 11/12 : COPY . . [2022-10-26T19:37:15.930Z] ---> a2ec5ce70aa5 [2022-10-26T19:37:15.931Z] Step 12/12 : RUN $MAKE [2022-10-26T19:37:15.931Z] ---> Running in 9ca5d006c81f [2022-10-26T19:37:15.931Z] noop [2022-10-26T19:37:15.931Z] Removing intermediate container 9ca5d006c81f [2022-10-26T19:37:15.931Z] ---> 66c0cf15ef17 [2022-10-26T19:37:15.931Z] Successfully built 66c0cf15ef17 [2022-10-26T19:37:15.931Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:37:16.235Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T19:37:16.235Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:37:16.302Z] prd-ubuntu20.04-docker-8c-8g-117259 does not seem to be running inside a container [2022-10-26T19:37:16.336Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-224 -v /w/workspace/gexfoundry_device-rest-go_PR-224:/w/workspace/gexfoundry_device-rest-go_PR-224:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-224@tmp:/w/workspace/gexfoundry_device-rest-go_PR-224@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T19:37:16.704Z] $ docker top 642f749657cb24668a4edc16bf6abb802f4a108f5fd4f8c13f13d27680b04208 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:37:17.048Z] + go version [2022-10-26T19:37:17.048Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T19:37:17.060Z] $ docker stop --time=1 642f749657cb24668a4edc16bf6abb802f4a108f5fd4f8c13f13d27680b04208 [2022-10-26T19:37:18.348Z] $ docker rm -f 642f749657cb24668a4edc16bf6abb802f4a108f5fd4f8c13f13d27680b04208 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:37:18.751Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T19:37:18.751Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:37:18.833Z] prd-ubuntu20.04-docker-8c-8g-117259 does not seem to be running inside a container [2022-10-26T19:37:18.866Z] $ 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-224 -v /w/workspace/gexfoundry_device-rest-go_PR-224:/w/workspace/gexfoundry_device-rest-go_PR-224:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-224@tmp:/w/workspace/gexfoundry_device-rest-go_PR-224@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T19:37:19.397Z] $ docker top 3869ef088e953c14f014b2cf9de16ab7314d937d49ff6e6a321d2f697454386a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:37:19.734Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-224 [Pipeline] fileExists [Pipeline] sh [2022-10-26T19:37:20.030Z] + make test [2022-10-26T19:37:20.030Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T19:37:20.288Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-26T19:37:30.252Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-26T19:37:30.252Z] ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 55.2% of statements [2022-10-26T19:37:36.801Z] 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-10-26T19:37:36.801Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T19:37:39.325Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T19:37:39.325Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T19:37:39.325Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T19:37:39.339Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T19:37:39.351Z] $ docker stop --time=1 3869ef088e953c14f014b2cf9de16ab7314d937d49ff6e6a321d2f697454386a [2022-10-26T19:37:41.328Z] $ docker rm -f 3869ef088e953c14f014b2cf9de16ab7314d937d49ff6e6a321d2f697454386a [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T19:37:41.785Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T19:37:41.830Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T19:37:42.250Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T19:37:42.532Z] + ls -al . [2022-10-26T19:37:42.532Z] total 184 [2022-10-26T19:37:42.532Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 19:37 . [2022-10-26T19:37:42.532Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:36 .. [2022-10-26T19:37:42.532Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 26 19:36 .dockerignore [2022-10-26T19:37:42.532Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 19:37 .git [2022-10-26T19:37:42.532Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:36 .github [2022-10-26T19:37:42.532Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 26 19:36 .gitignore [2022-10-26T19:37:42.532Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 19:36 .golangci.yml [2022-10-26T19:37:42.532Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 19:36 .semver [2022-10-26T19:37:42.532Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 26 19:36 Attribution.txt [2022-10-26T19:37:42.532Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 26 19:36 CHANGELOG.md [2022-10-26T19:37:42.532Z] -rw-rw-r-- 1 jenkins jenkins 1641 Oct 26 19:36 Dockerfile [2022-10-26T19:37:42.532Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 19:36 GOVERNANCE.md [2022-10-26T19:37:42.532Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 19:36 Jenkinsfile [2022-10-26T19:37:42.532Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 19:36 LICENSE [2022-10-26T19:37:42.532Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 26 19:36 Makefile [2022-10-26T19:37:42.532Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 19:36 OWNERS.md [2022-10-26T19:37:42.532Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 26 19:36 README.md [2022-10-26T19:37:42.532Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 19:36 VERSION [2022-10-26T19:37:42.532Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 19:36 bin [2022-10-26T19:37:42.532Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:36 cmd [2022-10-26T19:37:42.532Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 26 19:37 coverage.out [2022-10-26T19:37:42.532Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 19:36 driver [2022-10-26T19:37:42.532Z] -rw-rw-r-- 1 jenkins jenkins 3536 Oct 26 19:36 go.mod [2022-10-26T19:37:42.532Z] -rw-rw-r-- 1 jenkins jenkins 44967 Oct 26 19:36 go.sum [2022-10-26T19:37:42.532Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:36 snap [2022-10-26T19:37:42.532Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 26 19:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:37:42.835Z] + 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=34f8305dfa7c0ac56c7d35b7422da216194c6e4c --label arch=amd64 --label version=0.0.0 . [2022-10-26T19:37:42.835Z] Sending build context to Docker daemon 10.76MB [2022-10-26T19:37:42.835Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:37:42.835Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-26T19:37:42.835Z] ---> 66c0cf15ef17 [2022-10-26T19:37:42.835Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:37:42.835Z] ---> Running in 4a3e076ca6ec [2022-10-26T19:37:43.093Z] Removing intermediate container 4a3e076ca6ec [2022-10-26T19:37:43.093Z] ---> 49c5e25bcba4 [2022-10-26T19:37:43.093Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:37:43.093Z] ---> Running in f6693ba8ae7c [2022-10-26T19:37:43.093Z] Removing intermediate container f6693ba8ae7c [2022-10-26T19:37:43.093Z] ---> 111ec38201a1 [2022-10-26T19:37:43.093Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T19:37:43.093Z] ---> Running in 171e66af63b3 [2022-10-26T19:37:43.351Z] Removing intermediate container 171e66af63b3 [2022-10-26T19:37:43.351Z] ---> 8797e5df1934 [2022-10-26T19:37:43.351Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T19:37:43.351Z] ---> Running in 70ff440e32f1 [2022-10-26T19:37:43.610Z] Removing intermediate container 70ff440e32f1 [2022-10-26T19:37:43.610Z] ---> f3451234410e [2022-10-26T19:37:43.610Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T19:37:43.610Z] ---> Running in ea2cd08cc274 [2022-10-26T19:37:43.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T19:37:44.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T19:37:44.389Z] OK: 216 MiB in 55 packages [2022-10-26T19:37:44.654Z] Removing intermediate container ea2cd08cc274 [2022-10-26T19:37:44.654Z] ---> 1b47e0ad63c6 [2022-10-26T19:37:44.654Z] Step 8/25 : WORKDIR /device-rest-go [2022-10-26T19:37:44.913Z] ---> Running in 5272600ceb46 [2022-10-26T19:37:44.913Z] Removing intermediate container 5272600ceb46 [2022-10-26T19:37:44.913Z] ---> e9127af09d08 [2022-10-26T19:37:44.913Z] Step 9/25 : COPY go.mod vendor* ./ [2022-10-26T19:37:44.913Z] ---> fe074836cba3 [2022-10-26T19:37:44.913Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:37:45.173Z] ---> Running in 9bf4fd968cdf [2022-10-26T19:37:45.740Z] Removing intermediate container 9bf4fd968cdf [2022-10-26T19:37:45.740Z] ---> f0c02ff4c35b [2022-10-26T19:37:45.740Z] Step 11/25 : COPY . . [2022-10-26T19:37:46.000Z] ---> be5db73c2cd4 [2022-10-26T19:37:46.000Z] Step 12/25 : RUN $MAKE [2022-10-26T19:37:46.000Z] ---> Running in 5ab6644430c3 [2022-10-26T19:37:46.259Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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-10-26T19:38:08.185Z] Removing intermediate container 5ab6644430c3 [2022-10-26T19:38:08.185Z] ---> 11ed96733514 [2022-10-26T19:38:08.185Z] Step 13/25 : FROM alpine:3.16 [2022-10-26T19:38:08.185Z] 3.16: Pulling from library/alpine [2022-10-26T19:38:08.185Z] 213ec9aee27d: Already exists [2022-10-26T19:38:08.185Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T19:38:08.185Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T19:38:08.185Z] ---> 9c6f07244728 [2022-10-26T19:38:08.185Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T19:38:08.185Z] ---> Running in 1251c183431c [2022-10-26T19:38:08.185Z] Removing intermediate container 1251c183431c [2022-10-26T19:38:08.185Z] ---> 92996e87fc7b [2022-10-26T19:38:08.185Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-26T19:38:08.185Z] ---> Running in 9fd8b5e6145e [2022-10-26T19:38:08.185Z] Removing intermediate container 9fd8b5e6145e [2022-10-26T19:38:08.185Z] ---> 52ec754d9b11 [2022-10-26T19:38:08.185Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T19:38:08.185Z] ---> Running in e1fbadfeae6c [2022-10-26T19:38:08.185Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T19:38:08.185Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T19:38:08.185Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T19:38:08.185Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T19:38:08.185Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T19:38:08.185Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T19:38:08.185Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T19:38:08.185Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T19:38:08.185Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T19:38:08.185Z] OK: 8 MiB in 20 packages [2022-10-26T19:38:08.185Z] Removing intermediate container e1fbadfeae6c [2022-10-26T19:38:08.185Z] ---> ab3084004f63 [2022-10-26T19:38:08.185Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-10-26T19:38:08.185Z] ---> 0c372d63c594 [2022-10-26T19:38:08.185Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-26T19:38:08.444Z] ---> bd899fddb152 [2022-10-26T19:38:08.444Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-26T19:38:08.444Z] ---> 5b2521f74a9c [2022-10-26T19:38:08.444Z] Step 20/25 : EXPOSE 59986 [2022-10-26T19:38:08.444Z] ---> Running in 653702c6386c [2022-10-26T19:38:08.705Z] Removing intermediate container 653702c6386c [2022-10-26T19:38:08.705Z] ---> 54773c4f8de0 [2022-10-26T19:38:08.705Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-10-26T19:38:08.705Z] ---> Running in 75213079011d [2022-10-26T19:38:08.705Z] Removing intermediate container 75213079011d [2022-10-26T19:38:08.705Z] ---> eb7789d93455 [2022-10-26T19:38:08.705Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-26T19:38:08.705Z] ---> Running in 593b5e2a5832 [2022-10-26T19:38:08.972Z] Removing intermediate container 593b5e2a5832 [2022-10-26T19:38:08.972Z] ---> afdd0c457d50 [2022-10-26T19:38:08.972Z] Step 23/25 : LABEL arch=amd64 [2022-10-26T19:38:08.972Z] ---> Running in 519510d02f6b [2022-10-26T19:38:08.972Z] Removing intermediate container 519510d02f6b [2022-10-26T19:38:08.972Z] ---> 4288a4ebb8b7 [2022-10-26T19:38:08.972Z] Step 24/25 : LABEL git_sha=34f8305dfa7c0ac56c7d35b7422da216194c6e4c [2022-10-26T19:38:08.972Z] ---> Running in b76e88656a3e [2022-10-26T19:38:09.229Z] Removing intermediate container b76e88656a3e [2022-10-26T19:38:09.229Z] ---> 03e9310c89b6 [2022-10-26T19:38:09.229Z] Step 25/25 : LABEL version=0.0.0 [2022-10-26T19:38:09.229Z] ---> Running in 01372fa2ac2f [2022-10-26T19:38:09.229Z] Removing intermediate container 01372fa2ac2f [2022-10-26T19:38:09.229Z] ---> 47fd99277331 [2022-10-26T19:38:09.229Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T19:38:09.229Z] Successfully built 47fd99277331 [2022-10-26T19:38:09.229Z] 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-10-26T19:38:09.667Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:38:09.667Z] [2022-10-26T19:38:09.667Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:38:09.975Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:38:09.975Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T19:38:09.975Z] 5eb5b503b376: Pulling fs layer [2022-10-26T19:38:09.975Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T19:38:09.975Z] ec43610c2a17: Pulling fs layer [2022-10-26T19:38:09.975Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T19:38:09.975Z] 33b1e0a273af: Pulling fs layer [2022-10-26T19:38:09.975Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T19:38:09.975Z] 2f39f015ded8: Pulling fs layer [2022-10-26T19:38:09.975Z] 3a2ae6a8a46f: Waiting [2022-10-26T19:38:09.975Z] 33b1e0a273af: Waiting [2022-10-26T19:38:09.975Z] 5d3b04190fa2: Waiting [2022-10-26T19:38:09.975Z] 2f39f015ded8: Waiting [2022-10-26T19:38:09.975Z] 5c69ac0246d0: Verifying Checksum [2022-10-26T19:38:09.975Z] 5c69ac0246d0: Download complete [2022-10-26T19:38:09.975Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-26T19:38:09.975Z] 3a2ae6a8a46f: Download complete [2022-10-26T19:38:10.241Z] 33b1e0a273af: Verifying Checksum [2022-10-26T19:38:10.241Z] 33b1e0a273af: Download complete [2022-10-26T19:38:10.241Z] 5d3b04190fa2: Verifying Checksum [2022-10-26T19:38:10.241Z] 5d3b04190fa2: Download complete [2022-10-26T19:38:10.241Z] ec43610c2a17: Verifying Checksum [2022-10-26T19:38:10.241Z] ec43610c2a17: Download complete [2022-10-26T19:38:10.503Z] 5eb5b503b376: Verifying Checksum [2022-10-26T19:38:10.503Z] 5eb5b503b376: Download complete [2022-10-26T19:38:11.078Z] 2f39f015ded8: Download complete [2022-10-26T19:38:11.643Z] 5eb5b503b376: Pull complete [2022-10-26T19:38:11.643Z] 5c69ac0246d0: Pull complete [2022-10-26T19:38:12.208Z] ec43610c2a17: Pull complete [2022-10-26T19:38:12.209Z] 3a2ae6a8a46f: Pull complete [2022-10-26T19:38:12.466Z] 33b1e0a273af: Pull complete [2022-10-26T19:38:12.466Z] 5d3b04190fa2: Pull complete [2022-10-26T19:38:16.696Z] 2f39f015ded8: Pull complete [2022-10-26T19:38:16.696Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T19:38:16.696Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:38:16.696Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:38:16.919Z] prd-ubuntu20.04-docker-8c-8g-117259 does not seem to be running inside a container [2022-10-26T19:38:17.129Z] $ 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-224 -v /w/workspace/gexfoundry_device-rest-go_PR-224:/w/workspace/gexfoundry_device-rest-go_PR-224:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-224@tmp:/w/workspace/gexfoundry_device-rest-go_PR-224@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T19:38:18.834Z] $ docker top 8001bb9f0302b04daf4a9ce229fb905f6a944513601e9dad1795eee81a8b05b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:38:19.208Z] ---> job-cost.sh [2022-10-26T19:38:19.208Z] lf-activate-venv: SKIPPING [2022-10-26T19:38:19.208Z] INFO: No Stack... [2022-10-26T19:38:19.470Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T19:38:19.730Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T19:38:20.017Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-224/archives/cost.csv [2022-10-26T19:38:20.017Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T19:38:20.030Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-224-5-stack-cost] [2022-10-26T19:38:20.035Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-224-5-stack-cost] did not exist. Created. [2022-10-26T19:38:20.035Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-224-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T19:38:20.335Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T19:38:20.363Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T19:38:20.369Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-224-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T19:38:20.388Z] $ docker stop --time=1 8001bb9f0302b04daf4a9ce229fb905f6a944513601e9dad1795eee81a8b05b6 [2022-10-26T19:38:21.585Z] $ docker rm -f 8001bb9f0302b04daf4a9ce229fb905f6a944513601e9dad1795eee81a8b05b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T19:51:02.101Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117277 in /w/workspace/gexfoundry_device-rest-go_PR-224 [Pipeline] { [Pipeline] ws [2022-10-26T19:51:02.115Z] Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout [2022-10-26T19:51:02.155Z] The recommended git tool is: git [2022-10-26T19:51:09.925Z] using credential edgex-jenkins-ssh [2022-10-26T19:51:09.952Z] Cloning the remote Git repository [2022-10-26T19:51:10.024Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-10-26T19:51:10.131Z] > git init /w/workspace/device-rest-go/5 # timeout=10 [2022-10-26T19:51:10.330Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-26T19:51:10.331Z] > git --version # timeout=10 [2022-10-26T19:51:10.367Z] > git --version # 'git version 2.25.1' [2022-10-26T19:51:10.370Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T19:51:10.438Z] Verifying host key using known hosts file [2022-10-26T19:51:10.754Z] 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-10-26T19:51:10.771Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T19:51:12.837Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-26T19:51:12.864Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T19:51:14.934Z] Merging remotes/origin/main commit 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 into PR head commit 34f8305dfa7c0ac56c7d35b7422da216194c6e4c [2022-10-26T19:51:15.221Z] Merge succeeded, producing 34f8305dfa7c0ac56c7d35b7422da216194c6e4c [2022-10-26T19:51:15.222Z] Checking out Revision 34f8305dfa7c0ac56c7d35b7422da216194c6e4c (PR-224) [2022-10-26T19:51:14.156Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-26T19:51:14.220Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-26T19:51:14.222Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T19:51:14.230Z] Verifying host key using known hosts file [2022-10-26T19:51:14.239Z] 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-10-26T19:51:14.258Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/224/head:refs/remotes/origin/PR-224 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-26T19:51:14.959Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T19:51:14.982Z] > git checkout -f 34f8305dfa7c0ac56c7d35b7422da216194c6e4c # timeout=10 [2022-10-26T19:51:15.097Z] > git remote # timeout=10 [2022-10-26T19:51:15.121Z] > git config --get remote.origin.url # timeout=10 [2022-10-26T19:51:15.141Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T19:51:15.148Z] Verifying host key using known hosts file [2022-10-26T19:51:15.153Z] 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-10-26T19:51:15.166Z] > git merge 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 # timeout=10 [2022-10-26T19:51:15.198Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-26T19:51:15.229Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T19:51:15.249Z] > git checkout -f 34f8305dfa7c0ac56c7d35b7422da216194c6e4c # timeout=10 [2022-10-26T19:51:18.938Z] Commit message: "build: Latest go-mods, config and Dockerfile fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T19:51:19.839Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T19:51:19.839Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T19:51:19.839Z] Dload Upload Total Spent Left Speed [2022-10-26T19:51:19.839Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 178k 0 --:--:-- --:--:-- --:--:-- 178k [Pipeline] sh [2022-10-26T19:51:20.701Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T19:51:21.048Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T19:51:21.048Z] + sudo tee /etc/docker/daemon.new [2022-10-26T19:51:21.048Z] { [2022-10-26T19:51:21.048Z] "registry-mirrors": [ [2022-10-26T19:51:21.048Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T19:51:21.048Z] ], [2022-10-26T19:51:21.048Z] "bip": "10.250.0.254/24", [2022-10-26T19:51:21.048Z] "hosts": [ [2022-10-26T19:51:21.048Z] "tcp://0.0.0.0:5555", [2022-10-26T19:51:21.048Z] "unix:///var/run/docker.sock" [2022-10-26T19:51:21.048Z] ], [2022-10-26T19:51:21.048Z] "mtu": 1458, [2022-10-26T19:51:21.048Z] "selinux-enabled": true, [2022-10-26T19:51:21.048Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T19:51:21.048Z] } [Pipeline] sh [2022-10-26T19:51:21.394Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T19:51:21.736Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T19:51:40.061Z] provisioning config files... [2022-10-26T19:51:40.113Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config6714347933686987400tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:51:40.502Z] ---> docker-login.sh [2022-10-26T19:51:40.502Z] nexus3.edgexfoundry.org:10001 [2022-10-26T19:51:41.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:51:41.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:51:41.374Z] Configure a credential helper to remove this warning. See [2022-10-26T19:51:41.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:51:41.374Z] [2022-10-26T19:51:41.374Z] Login Succeeded [2022-10-26T19:51:41.374Z] nexus3.edgexfoundry.org:10002 [2022-10-26T19:51:41.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:51:41.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:51:41.647Z] Configure a credential helper to remove this warning. See [2022-10-26T19:51:41.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:51:41.647Z] [2022-10-26T19:51:41.647Z] Login Succeeded [2022-10-26T19:51:41.647Z] nexus3.edgexfoundry.org:10003 [2022-10-26T19:51:41.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:51:42.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:51:42.199Z] Configure a credential helper to remove this warning. See [2022-10-26T19:51:42.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:51:42.199Z] [2022-10-26T19:51:42.199Z] Login Succeeded [2022-10-26T19:51:42.199Z] nexus3.edgexfoundry.org:10004 [2022-10-26T19:51:42.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:51:42.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:51:42.478Z] Configure a credential helper to remove this warning. See [2022-10-26T19:51:42.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:51:42.478Z] [2022-10-26T19:51:42.478Z] Login Succeeded [2022-10-26T19:51:42.479Z] docker.io [2022-10-26T19:51:42.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:51:43.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:51:43.347Z] Configure a credential helper to remove this warning. See [2022-10-26T19:51:43.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:51:43.347Z] [2022-10-26T19:51:43.347Z] Login Succeeded [2022-10-26T19:51:43.347Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T19:51:43.366Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T19:51:43.579Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:51:43.590Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:51:43.597Z] ========================================================= [2022-10-26T19:51:43.597Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T19:51:43.597Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:51:43.971Z] + 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-10-26T19:51:43.971Z] Sending build context to Docker daemon 128kB [2022-10-26T19:51:44.247Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:51:44.247Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-26T19:51:44.527Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T19:51:44.527Z] 9b18e9b68314: Pulling fs layer [2022-10-26T19:51:44.527Z] d32db5db7311: Pulling fs layer [2022-10-26T19:51:44.527Z] d0c4b47475fc: Pulling fs layer [2022-10-26T19:51:44.527Z] 5831b945b038: Pulling fs layer [2022-10-26T19:51:44.527Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T19:51:44.527Z] e10730c5d714: Pulling fs layer [2022-10-26T19:51:44.527Z] 5dd5c2283517: Pulling fs layer [2022-10-26T19:51:44.527Z] d5ac0230b979: Pulling fs layer [2022-10-26T19:51:44.527Z] 86bbec2aaacd: Waiting [2022-10-26T19:51:44.527Z] e10730c5d714: Waiting [2022-10-26T19:51:44.527Z] 5dd5c2283517: Waiting [2022-10-26T19:51:44.527Z] d5ac0230b979: Waiting [2022-10-26T19:51:44.527Z] d0c4b47475fc: Verifying Checksum [2022-10-26T19:51:44.527Z] d0c4b47475fc: Download complete [2022-10-26T19:51:44.527Z] d32db5db7311: Verifying Checksum [2022-10-26T19:51:44.527Z] d32db5db7311: Download complete [2022-10-26T19:51:44.527Z] 86bbec2aaacd: Verifying Checksum [2022-10-26T19:51:44.527Z] 86bbec2aaacd: Download complete [2022-10-26T19:51:44.527Z] e10730c5d714: Download complete [2022-10-26T19:51:44.810Z] 9b18e9b68314: Verifying Checksum [2022-10-26T19:51:44.810Z] 9b18e9b68314: Download complete [2022-10-26T19:51:45.421Z] 9b18e9b68314: Pull complete [2022-10-26T19:51:46.029Z] d32db5db7311: Pull complete [2022-10-26T19:51:46.641Z] d0c4b47475fc: Pull complete [2022-10-26T19:51:46.641Z] d5ac0230b979: Verifying Checksum [2022-10-26T19:51:46.641Z] d5ac0230b979: Download complete [2022-10-26T19:51:47.634Z] 5dd5c2283517: Verifying Checksum [2022-10-26T19:51:47.634Z] 5dd5c2283517: Download complete [2022-10-26T19:51:48.610Z] 5831b945b038: Verifying Checksum [2022-10-26T19:51:48.610Z] 5831b945b038: Download complete [2022-10-26T19:52:03.700Z] 5831b945b038: Pull complete [2022-10-26T19:52:03.700Z] 86bbec2aaacd: Pull complete [2022-10-26T19:52:03.700Z] e10730c5d714: Pull complete [2022-10-26T19:52:08.013Z] 5dd5c2283517: Pull complete [2022-10-26T19:52:09.987Z] d5ac0230b979: Pull complete [2022-10-26T19:52:09.987Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T19:52:09.987Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T19:52:09.987Z] ---> 59b3b1a385d4 [2022-10-26T19:52:09.987Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:52:12.606Z] ---> Running in 8025cd4b9468 [2022-10-26T19:52:12.606Z] Removing intermediate container 8025cd4b9468 [2022-10-26T19:52:12.606Z] ---> 33420c641503 [2022-10-26T19:52:12.606Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:52:12.879Z] ---> Running in 77bbd29bb1a0 [2022-10-26T19:52:13.158Z] Removing intermediate container 77bbd29bb1a0 [2022-10-26T19:52:13.158Z] ---> b89d665ae1b0 [2022-10-26T19:52:13.158Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T19:52:13.429Z] ---> Running in 74790922f7da [2022-10-26T19:52:13.703Z] Removing intermediate container 74790922f7da [2022-10-26T19:52:13.703Z] ---> 28570bed0c6b [2022-10-26T19:52:13.703Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T19:52:13.980Z] ---> Running in 5240785b71f6 [2022-10-26T19:52:14.252Z] Removing intermediate container 5240785b71f6 [2022-10-26T19:52:14.253Z] ---> 36e815929242 [2022-10-26T19:52:14.253Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T19:52:14.525Z] ---> Running in caedaf477f39 [2022-10-26T19:52:15.961Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T19:52:16.235Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T19:52:17.216Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T19:52:17.495Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-26T19:52:17.495Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T19:52:17.495Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T19:52:17.495Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T19:52:17.495Z] OK: 226 MiB in 55 packages [2022-10-26T19:52:18.933Z] Removing intermediate container caedaf477f39 [2022-10-26T19:52:18.933Z] ---> 8f1b5094ad7a [2022-10-26T19:52:18.933Z] Step 8/12 : WORKDIR /device-rest-go [2022-10-26T19:52:18.933Z] ---> Running in 55188cf5c7f6 [2022-10-26T19:52:19.525Z] Removing intermediate container 55188cf5c7f6 [2022-10-26T19:52:19.525Z] ---> b6ba744cf643 [2022-10-26T19:52:19.525Z] Step 9/12 : COPY go.mod vendor* ./ [2022-10-26T19:52:20.117Z] ---> dd9a894bb04c [2022-10-26T19:52:20.117Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:52:20.117Z] ---> Running in d8c9ee13cad4 [2022-10-26T19:53:16.890Z] Removing intermediate container d8c9ee13cad4 [2022-10-26T19:53:16.890Z] ---> b2bf7015655e [2022-10-26T19:53:16.890Z] Step 11/12 : COPY . . [2022-10-26T19:53:16.890Z] ---> 2624e0d108a2 [2022-10-26T19:53:16.890Z] Step 12/12 : RUN $MAKE [2022-10-26T19:53:16.890Z] ---> Running in 11df59952634 [2022-10-26T19:53:16.890Z] noop [2022-10-26T19:53:17.476Z] Removing intermediate container 11df59952634 [2022-10-26T19:53:17.476Z] ---> 056c1ad68f0c [2022-10-26T19:53:17.476Z] Successfully built 056c1ad68f0c [2022-10-26T19:53:17.476Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:53:17.839Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T19:53:17.839Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:53:18.055Z] prd-ubuntu20.04-docker-arm64-4c-16g-117277 does not seem to be running inside a container [2022-10-26T19:53:18.142Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T19:53:19.447Z] $ docker top c7e973883d38a86ddf33429cb4ea9152a14f98cafa3a6ecabbc31a9b1fc60ddc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:53:20.296Z] + go version [2022-10-26T19:53:20.297Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T19:53:20.324Z] $ docker stop --time=1 c7e973883d38a86ddf33429cb4ea9152a14f98cafa3a6ecabbc31a9b1fc60ddc [2022-10-26T19:53:22.042Z] $ docker rm -f c7e973883d38a86ddf33429cb4ea9152a14f98cafa3a6ecabbc31a9b1fc60ddc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:53:22.580Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T19:53:22.580Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:53:22.758Z] prd-ubuntu20.04-docker-arm64-4c-16g-117277 does not seem to be running inside a container [2022-10-26T19:53:22.840Z] $ 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/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T19:53:24.161Z] $ docker top 2e7fbac911237f1cfb24aa9d9e8129d3aea97d7926498f80fc78ddc6f6b7e71d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:53:25.021Z] + git config --global --add safe.directory /w/workspace/device-rest-go/5 [Pipeline] fileExists [Pipeline] sh [2022-10-26T19:53:25.679Z] + make test [2022-10-26T19:53:25.679Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T19:53:27.652Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-26T19:55:19.411Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-26T19:55:19.411Z] ok github.com/edgexfoundry/device-rest-go/driver 0.076s coverage: 55.2% of statements [2022-10-26T19:55:19.411Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T19:55:19.411Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T19:55:51.753Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T19:55:51.753Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T19:55:51.753Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T19:55:51.773Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T19:55:51.799Z] $ docker stop --time=1 2e7fbac911237f1cfb24aa9d9e8129d3aea97d7926498f80fc78ddc6f6b7e71d [2022-10-26T19:55:53.940Z] $ docker rm -f 2e7fbac911237f1cfb24aa9d9e8129d3aea97d7926498f80fc78ddc6f6b7e71d [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T19:55:55.081Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T19:55:55.117Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T19:55:55.614Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T19:55:56.049Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T19:55:56.423Z] + ls -al . [2022-10-26T19:55:56.423Z] total 180 [2022-10-26T19:55:56.423Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 19:53 . [2022-10-26T19:55:56.423Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:51 .. [2022-10-26T19:55:56.423Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 26 19:51 .dockerignore [2022-10-26T19:55:56.423Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 19:51 .git [2022-10-26T19:55:56.423Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:51 .github [2022-10-26T19:55:56.423Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 26 19:51 .gitignore [2022-10-26T19:55:56.423Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 19:51 .golangci.yml [2022-10-26T19:55:56.423Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 26 19:51 Attribution.txt [2022-10-26T19:55:56.423Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 26 19:51 CHANGELOG.md [2022-10-26T19:55:56.423Z] -rw-rw-r-- 1 jenkins jenkins 1641 Oct 26 19:51 Dockerfile [2022-10-26T19:55:56.423Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 19:51 GOVERNANCE.md [2022-10-26T19:55:56.423Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 19:51 Jenkinsfile [2022-10-26T19:55:56.423Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 19:51 LICENSE [2022-10-26T19:55:56.423Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 26 19:51 Makefile [2022-10-26T19:55:56.423Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 19:51 OWNERS.md [2022-10-26T19:55:56.423Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 26 19:51 README.md [2022-10-26T19:55:56.423Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 19:36 VERSION [2022-10-26T19:55:56.423Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 19:51 bin [2022-10-26T19:55:56.423Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:51 cmd [2022-10-26T19:55:56.423Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 26 19:55 coverage.out [2022-10-26T19:55:56.423Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 19:51 driver [2022-10-26T19:55:56.423Z] -rw-rw-r-- 1 jenkins jenkins 3536 Oct 26 19:51 go.mod [2022-10-26T19:55:56.423Z] -rw-rw-r-- 1 jenkins jenkins 44967 Oct 26 19:51 go.sum [2022-10-26T19:55:56.423Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:51 snap [2022-10-26T19:55:56.423Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 26 19:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:55:56.823Z] + 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=34f8305dfa7c0ac56c7d35b7422da216194c6e4c --label arch=arm64 --label version=0.0.0 . [2022-10-26T19:55:56.823Z] Sending build context to Docker daemon 138.2kB [2022-10-26T19:55:57.414Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:55:57.414Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-26T19:55:57.414Z] ---> 056c1ad68f0c [2022-10-26T19:55:57.414Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:55:57.414Z] ---> Running in 6ec81d4656ec [2022-10-26T19:55:58.003Z] Removing intermediate container 6ec81d4656ec [2022-10-26T19:55:58.003Z] ---> 72dab2d8d2fb [2022-10-26T19:55:58.003Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:55:58.003Z] ---> Running in 8b0fe8d0a9b1 [2022-10-26T19:55:58.276Z] Removing intermediate container 8b0fe8d0a9b1 [2022-10-26T19:55:58.276Z] ---> 87c3ca470acc [2022-10-26T19:55:58.276Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T19:55:58.548Z] ---> Running in 93a6fbfca2be [2022-10-26T19:55:58.819Z] Removing intermediate container 93a6fbfca2be [2022-10-26T19:55:58.819Z] ---> 6e439ac1f0e5 [2022-10-26T19:55:58.819Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T19:55:58.819Z] ---> Running in 94ad720e92d1 [2022-10-26T19:55:59.413Z] Removing intermediate container 94ad720e92d1 [2022-10-26T19:55:59.413Z] ---> 151e16905728 [2022-10-26T19:55:59.413Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T19:55:59.413Z] ---> Running in b36b28975b92 [2022-10-26T19:56:00.840Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T19:56:00.840Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T19:56:01.825Z] OK: 226 MiB in 55 packages [2022-10-26T19:56:03.257Z] Removing intermediate container b36b28975b92 [2022-10-26T19:56:03.257Z] ---> ecf742e80926 [2022-10-26T19:56:03.257Z] Step 8/25 : WORKDIR /device-rest-go [2022-10-26T19:56:03.257Z] ---> Running in 1dfad006c00e [2022-10-26T19:56:03.848Z] Removing intermediate container 1dfad006c00e [2022-10-26T19:56:03.848Z] ---> 28729527f0cd [2022-10-26T19:56:03.848Z] Step 9/25 : COPY go.mod vendor* ./ [2022-10-26T19:56:04.470Z] ---> 59c25b2c0e59 [2022-10-26T19:56:04.470Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:56:04.470Z] ---> Running in f08ed35d1756 [2022-10-26T19:56:07.065Z] Removing intermediate container f08ed35d1756 [2022-10-26T19:56:07.065Z] ---> 0fa68e5d6aa4 [2022-10-26T19:56:07.065Z] Step 11/25 : COPY . . [2022-10-26T19:56:07.740Z] ---> 179bfb0c401e [2022-10-26T19:56:07.740Z] Step 12/25 : RUN $MAKE [2022-10-26T19:56:07.740Z] ---> Running in b3d7c7deb22e [2022-10-26T19:56:09.255Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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-10-26T19:59:01.142Z] Removing intermediate container b3d7c7deb22e [2022-10-26T19:59:01.142Z] ---> dbbf822a452a [2022-10-26T19:59:01.142Z] Step 13/25 : FROM alpine:3.16 [2022-10-26T19:59:01.142Z] 3.16: Pulling from library/alpine [2022-10-26T19:59:01.142Z] 9b18e9b68314: Already exists [2022-10-26T19:59:01.142Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T19:59:01.142Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T19:59:01.142Z] ---> a6215f271958 [2022-10-26T19:59:01.142Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T19:59:01.142Z] ---> Running in d8ade283b19e [2022-10-26T19:59:01.142Z] Removing intermediate container d8ade283b19e [2022-10-26T19:59:01.142Z] ---> aabfe089bd32 [2022-10-26T19:59:01.142Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-26T19:59:01.142Z] ---> Running in 2086986fac12 [2022-10-26T19:59:01.142Z] Removing intermediate container 2086986fac12 [2022-10-26T19:59:01.142Z] ---> 5a1116a025ea [2022-10-26T19:59:01.142Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T19:59:01.142Z] ---> Running in 3b3b381e979f [2022-10-26T19:59:01.142Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T19:59:01.142Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T19:59:01.142Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T19:59:01.142Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T19:59:01.142Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T19:59:01.142Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T19:59:01.142Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T19:59:01.142Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T19:59:01.142Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T19:59:01.142Z] OK: 8 MiB in 20 packages [2022-10-26T19:59:01.142Z] Removing intermediate container 3b3b381e979f [2022-10-26T19:59:01.142Z] ---> a0e69beb9cae [2022-10-26T19:59:01.142Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-10-26T19:59:01.142Z] ---> c02d95a6c83a [2022-10-26T19:59:01.142Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-26T19:59:01.142Z] ---> d195af173a3c [2022-10-26T19:59:01.142Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-26T19:59:01.142Z] ---> 81bfe7b451e1 [2022-10-26T19:59:01.142Z] Step 20/25 : EXPOSE 59986 [2022-10-26T19:59:01.142Z] ---> Running in a16722459a70 [2022-10-26T19:59:01.142Z] Removing intermediate container a16722459a70 [2022-10-26T19:59:01.142Z] ---> 796cf3fbe0c9 [2022-10-26T19:59:01.142Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-10-26T19:59:01.142Z] ---> Running in 06135783fda1 [2022-10-26T19:59:01.142Z] Removing intermediate container 06135783fda1 [2022-10-26T19:59:01.142Z] ---> 691e1feb1d54 [2022-10-26T19:59:01.142Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-26T19:59:01.142Z] ---> Running in d5fdf206bfb7 [2022-10-26T19:59:01.142Z] Removing intermediate container d5fdf206bfb7 [2022-10-26T19:59:01.142Z] ---> e4fa63ccd017 [2022-10-26T19:59:01.142Z] Step 23/25 : LABEL arch=arm64 [2022-10-26T19:59:01.142Z] ---> Running in 0fba60387ba2 [2022-10-26T19:59:01.142Z] Removing intermediate container 0fba60387ba2 [2022-10-26T19:59:01.142Z] ---> f44405eedd2f [2022-10-26T19:59:01.142Z] Step 24/25 : LABEL git_sha=34f8305dfa7c0ac56c7d35b7422da216194c6e4c [2022-10-26T19:59:01.142Z] ---> Running in 12dbb4fe924b [2022-10-26T19:59:01.142Z] Removing intermediate container 12dbb4fe924b [2022-10-26T19:59:01.142Z] ---> 8d4241b2e4ed [2022-10-26T19:59:01.142Z] Step 25/25 : LABEL version=0.0.0 [2022-10-26T19:59:01.142Z] ---> Running in 3ccbdc088839 [2022-10-26T19:59:01.142Z] Removing intermediate container 3ccbdc088839 [2022-10-26T19:59:01.142Z] ---> 296f22603c13 [2022-10-26T19:59:01.142Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T19:59:01.142Z] Successfully built 296f22603c13 [2022-10-26T19:59:01.142Z] 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-10-26T19:59:01.593Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T19:59:01.593Z] [2022-10-26T19:59:01.593Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:59:01.934Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T19:59:02.204Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T19:59:02.204Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T19:59:02.204Z] 04944245beec: Pulling fs layer [2022-10-26T19:59:02.204Z] 699f458cf7ca: Pulling fs layer [2022-10-26T19:59:02.204Z] 765212b225bb: Pulling fs layer [2022-10-26T19:59:02.204Z] f23df028b6ca: Pulling fs layer [2022-10-26T19:59:02.204Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T19:59:02.204Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T19:59:02.204Z] 765212b225bb: Waiting [2022-10-26T19:59:02.204Z] f23df028b6ca: Waiting [2022-10-26T19:59:02.204Z] d65c8cfc05b1: Waiting [2022-10-26T19:59:02.204Z] 2437ff75d9bd: Waiting [2022-10-26T19:59:02.204Z] 04944245beec: Verifying Checksum [2022-10-26T19:59:02.204Z] 04944245beec: Download complete [2022-10-26T19:59:02.204Z] 765212b225bb: Verifying Checksum [2022-10-26T19:59:02.204Z] 765212b225bb: Download complete [2022-10-26T19:59:02.204Z] f23df028b6ca: Verifying Checksum [2022-10-26T19:59:02.204Z] f23df028b6ca: Download complete [2022-10-26T19:59:02.477Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T19:59:02.477Z] d65c8cfc05b1: Download complete [2022-10-26T19:59:02.477Z] 699f458cf7ca: Verifying Checksum [2022-10-26T19:59:02.477Z] 699f458cf7ca: Download complete [2022-10-26T19:59:03.067Z] 8998bd30e6a1: Verifying Checksum [2022-10-26T19:59:03.067Z] 8998bd30e6a1: Download complete [2022-10-26T19:59:05.656Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T19:59:05.656Z] 2437ff75d9bd: Download complete [2022-10-26T19:59:07.070Z] 8998bd30e6a1: Pull complete [2022-10-26T19:59:07.655Z] 04944245beec: Pull complete [2022-10-26T19:59:09.068Z] 699f458cf7ca: Pull complete [2022-10-26T19:59:09.068Z] 765212b225bb: Pull complete [2022-10-26T19:59:10.033Z] f23df028b6ca: Pull complete [2022-10-26T19:59:10.303Z] d65c8cfc05b1: Pull complete [2022-10-26T19:59:25.316Z] 2437ff75d9bd: Pull complete [2022-10-26T19:59:25.316Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T19:59:25.316Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T19:59:25.316Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:59:25.537Z] prd-ubuntu20.04-docker-arm64-4c-16g-117277 does not seem to be running inside a container [2022-10-26T19:59:25.627Z] $ 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/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-26T19:59:28.507Z] $ docker top f8ed39576559c9619e4cdcbf6d88015b93beb792ee30a68870dfa94d48f8a676 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:59:29.373Z] ---> job-cost.sh [2022-10-26T19:59:29.373Z] lf-activate-venv: SKIPPING [2022-10-26T19:59:29.373Z] INFO: No Stack... [2022-10-26T19:59:29.641Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T19:59:30.603Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T19:59:31.244Z] + cat /w/workspace/device-rest-go/5/archives/cost.csv [2022-10-26T19:59:31.244Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T19:59:31.311Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-224-5-stack-cost] [2022-10-26T19:59:31.318Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-224-5-stack-cost] did not exist. Created. [2022-10-26T19:59:31.318Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-224-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T19:59:31.975Z] /w/workspace/device-rest-go/5@tmp/durable-25d2fee2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T19:59:32.634Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T19:59:32.652Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T19:59:32.725Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T19:59:32.735Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-224-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T19:59:32.761Z] $ docker stop --time=1 f8ed39576559c9619e4cdcbf6d88015b93beb792ee30a68870dfa94d48f8a676 [2022-10-26T19:59:34.328Z] $ docker rm -f f8ed39576559c9619e4cdcbf6d88015b93beb792ee30a68870dfa94d48f8a676 [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-10-26T19:59:34.672Z] provisioning config files... [2022-10-26T19:59:34.679Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-224@tmp/config4553334449077514232tmp [Pipeline] { [Pipeline] sh [2022-10-26T19:59:34.968Z] + set +x [2022-10-26T19:59:34.968Z] + curl -s https://codecov.io/bash [2022-10-26T19:59:34.968Z] + bash -s -- [2022-10-26T19:59:34.968Z] [2022-10-26T19:59:34.968Z] _____ _ [2022-10-26T19:59:34.968Z] / ____| | | [2022-10-26T19:59:34.968Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T19:59:34.968Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T19:59:34.968Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T19:59:34.968Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T19:59:34.968Z] Bash-1.0.6 [2022-10-26T19:59:34.968Z] [2022-10-26T19:59:34.968Z] [2022-10-26T19:59:34.968Z] ==> git version 2.25.1 found [2022-10-26T19:59:34.968Z] ==> 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-10-26T19:59:34.968Z] Release-Date: 2020-01-08 [2022-10-26T19:59:34.968Z] 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-10-26T19:59:34.968Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T19:59:34.968Z] ==> Jenkins CI detected. [2022-10-26T19:59:34.968Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-224 [2022-10-26T19:59:34.968Z] project root: . [2022-10-26T19:59:34.968Z] --> token set from env [2022-10-26T19:59:34.968Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T19:59:34.968Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T19:59:34.968Z] ==> Python coveragepy not found [2022-10-26T19:59:34.968Z] ==> Searching for coverage reports in: [2022-10-26T19:59:34.968Z] + . [2022-10-26T19:59:34.968Z] -> Found 1 reports [2022-10-26T19:59:34.968Z] ==> Detecting git/mercurial file structure [2022-10-26T19:59:34.968Z] ==> Reading reports [2022-10-26T19:59:34.968Z] + ./coverage.out bytes=9355 [2022-10-26T19:59:34.968Z] ==> Appending adjustments [2022-10-26T19:59:34.968Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T19:59:35.234Z] + Found adjustments [2022-10-26T19:59:35.234Z] ==> Gzipping contents [2022-10-26T19:59:35.234Z] 4.0K /tmp/codecov.yNTgJI.gz [2022-10-26T19:59:35.234Z] ==> Uploading reports [2022-10-26T19:59:35.234Z] url: https://codecov.io [2022-10-26T19:59:35.234Z] query: branch=PR-224&commit=34f8305dfa7c0ac56c7d35b7422da216194c6e4c&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-224%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=224&job=&cmd_args= [2022-10-26T19:59:35.234Z] -> Pinging Codecov [2022-10-26T19:59:35.234Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-224&commit=34f8305dfa7c0ac56c7d35b7422da216194c6e4c&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-224%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=224&job=&cmd_args= [2022-10-26T19:59:35.492Z] -> Uploading to [2022-10-26T19:59:35.492Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/4E5D53B4F1F92C436F7061BF334D961C/34f8305dfa7c0ac56c7d35b7422da216194c6e4c/3f136e90-9f6e-4d7f-9674-2acd2e387250.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T195935Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6596f74a1a4f826b969b22d175aa1d1c24f20e5ef79979d24e54e7b6aa4ac7d1 [2022-10-26T19:59:35.492Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T19:59:35.492Z] Dload Upload Total Spent Left Speed [2022-10-26T19:59:35.750Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7622 --:--:-- --:--:-- --:--:-- 7589 100 1738 0 0 100 1738 0 6815 --:--:-- --:--:-- --:--:-- 6789 [2022-10-26T19:59:35.750Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/34f8305dfa7c0ac56c7d35b7422da216194c6e4c [Pipeline] } [2022-10-26T19:59:35.757Z] 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-10-26T19:59:36.426Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-224/archives ] [2022-10-26T19:59:36.426Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-224/archives [2022-10-26T19:59:36.426Z] total 16 [2022-10-26T19:59:36.426Z] drwxr-xr-x 3 root root 4096 Oct 26 19:38 . [2022-10-26T19:59:36.426Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 19:38 .. [2022-10-26T19:59:36.426Z] drwxr-xr-x 2 root root 4096 Oct 26 19:38 cost [2022-10-26T19:59:36.426Z] -rw-r--r-- 1 root root 86 Oct 26 19:38 cost.csv [2022-10-26T19:59:36.426Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-224/archives [2022-10-26T19:59:36.426Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-224/archives [2022-10-26T19:59:36.426Z] total 16 [2022-10-26T19:59:36.426Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 19:38 . [2022-10-26T19:59:36.426Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 19:38 .. [2022-10-26T19:59:36.426Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 19:38 cost [2022-10-26T19:59:36.426Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 26 19:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:59:36.712Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:59:37.564Z] ---> package-listing.sh [2022-10-26T19:59:37.564Z] ++ facter osfamily [2022-10-26T19:59:37.564Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T19:59:37.822Z] + OS_FAMILY=debian [2022-10-26T19:59:37.822Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-224 [2022-10-26T19:59:37.822Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T19:59:37.822Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T19:59:37.822Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T19:59:37.822Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T19:59:37.822Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-224 ']' [2022-10-26T19:59:37.822Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T19:59:37.822Z] + case "${OS_FAMILY}" in [2022-10-26T19:59:37.822Z] + dpkg -l [2022-10-26T19:59:37.822Z] + grep '^ii' [2022-10-26T19:59:37.822Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T19:59:37.822Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T19:59:37.822Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T19:59:37.822Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-224 ']' [2022-10-26T19:59:37.822Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-224/archives/ [2022-10-26T19:59:37.822Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-224/archives/ [Pipeline] echo [2022-10-26T19:59:37.832Z] 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-224/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-26T19:59:38.109Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:59:38.666Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:59:38.666Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:59:38.731Z] prd-ubuntu20.04-docker-8c-8g-117259 does not seem to be running inside a container [2022-10-26T19:59:38.762Z] $ 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-224/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-224 -v /w/workspace/gexfoundry_device-rest-go_PR-224:/w/workspace/gexfoundry_device-rest-go_PR-224:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-224@tmp:/w/workspace/gexfoundry_device-rest-go_PR-224@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T19:59:38.983Z] $ docker top 9d38bb173bafe2d6558a2207cbd1b2c28cc534da3c1bddee3936004df4b1aa6e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:59:39.320Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T19:59:39.602Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T19:59:39.882Z] + ls /var/log/sa-host [2022-10-26T19:59:39.883Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T19:59:39.941Z] provisioning config files... [2022-10-26T19:59:39.949Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-224@tmp/config1987123580205151552tmp [Pipeline] { [Pipeline] echo [2022-10-26T19:59:39.961Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:59:40.241Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T19:59:40.248Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:59:40.564Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T19:59:40.572Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:59:40.856Z] ---> sudo-logs.sh [2022-10-26T19:59:40.856Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T19:59:40.887Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:59:41.171Z] ---> job-cost.sh [2022-10-26T19:59:41.171Z] lf-activate-venv: SKIPPING [2022-10-26T19:59:41.171Z] DEBUG: total: 0.2199999988079071 [2022-10-26T19:59:41.171Z] INFO: Retrieving Stack Cost... [2022-10-26T19:59:41.738Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T19:59:42.305Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T19:59:42.317Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:59:42.600Z] ---> logs-deploy.sh [2022-10-26T19:59:42.601Z] lf-activate-venv: SKIPPING [2022-10-26T19:59:42.601Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-224/5 [2022-10-26T19:59:42.601Z] INFO: archiving workspace using pattern(s): [2022-10-26T19:59:43.537Z] Archives upload complete. [2022-10-26T19:59:43.537Z] INFO: archiving logs to Nexus