Pull request #340 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c+0bc3f30d539332995b04e4270d58f382a711f8a9 (a36734a71a50d967b4a87adce1621479baa6cec9) 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-ssh9996798593629346489.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh13769328509411442420.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-340/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-340/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1595197990565260327.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-340/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16054723162695666465.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh220314055794847329.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-340/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-340/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8551856178106057420.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 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-6007 in /w/workspace/gexfoundry_device-rest-go_PR-340 [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-340 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 0bc3f30d539332995b04e4270d58f382a711f8a9 into PR head commit c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c Merge succeeded, producing c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c Checking out Revision c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c (PR-340) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/340/head:refs/remotes/origin/PR-340 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0bc3f30d539332995b04e4270d58f382a711f8a9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c # timeout=10 Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-12T21:47:51.844Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-12T21:47:52.024Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-12T21:47:52.129Z] ========================================================= [2023-09-12T21:47:52.129Z] EdgeX Global Pipelines Version Info [2023-09-12T21:47:52.129Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:47:52.876Z] ------------------- [2023-09-12T21:47:52.876Z] stable info: [2023-09-12T21:47:52.876Z] ------------------- [2023-09-12T21:47:52.876Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-12T21:47:52.876Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T21:47:52.876Z] Message: update stable to v1.0.254 [2023-09-12T21:47:53.445Z] ------------------- [2023-09-12T21:47:53.445Z] experimental info: [2023-09-12T21:47:53.445Z] ------------------- [2023-09-12T21:47:53.445Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-12T21:47:53.445Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T21:47:53.445Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-12T21:47:53.742Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-09-12T21:47:53.782Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-09-12T21:47:53.823Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-12T21:47:53.860Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-12T21:47:53.896Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-12T21:47:53.932Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-12T21:47:53.970Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-12T21:47:54.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-12T21:47:54.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-12T21:47:54.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-12T21:47:54.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-12T21:47:54.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-09-12T21:47:54.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-12T21:47:54.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-12T21:47:54.306Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T21:47:54.349Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T21:47:54.393Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T21:47:54.437Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T21:47:54.481Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-12T21:47:54.526Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-12T21:47:54.573Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-12T21:47:54.612Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-12T21:47:54.650Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-12T21:47:54.687Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-12T21:47:54.727Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-12T21:47:54.770Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-12T21:47:54.814Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-12T21:47:54.859Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-340 [Pipeline] echo [2023-09-12T21:47:54.904Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-340 [Pipeline] echo [2023-09-12T21:47:54.944Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-340 [Pipeline] echo [2023-09-12T21:47:55.059Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c [Pipeline] echo [2023-09-12T21:47:55.102Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c656c96 [Pipeline] echo [2023-09-12T21:47:55.143Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T21:47:55.261Z] provisioning config files... [2023-09-12T21:47:55.275Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-340@tmp/config11531602625788160895tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:47:55.616Z] ---> docker-login.sh [2023-09-12T21:47:55.616Z] nexus3.edgexfoundry.org:10001 [2023-09-12T21:47:56.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:47:56.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:47:56.554Z] Configure a credential helper to remove this warning. See [2023-09-12T21:47:56.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:47:56.554Z] [2023-09-12T21:47:56.554Z] Login Succeeded [2023-09-12T21:47:56.554Z] nexus3.edgexfoundry.org:10002 [2023-09-12T21:47:56.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:47:56.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:47:56.814Z] Configure a credential helper to remove this warning. See [2023-09-12T21:47:56.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:47:56.814Z] [2023-09-12T21:47:56.814Z] Login Succeeded [2023-09-12T21:47:56.814Z] nexus3.edgexfoundry.org:10003 [2023-09-12T21:47:56.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:47:56.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:47:56.814Z] Configure a credential helper to remove this warning. See [2023-09-12T21:47:56.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:47:56.814Z] [2023-09-12T21:47:56.814Z] Login Succeeded [2023-09-12T21:47:56.815Z] nexus3.edgexfoundry.org:10004 [2023-09-12T21:47:56.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:47:57.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:47:57.074Z] Configure a credential helper to remove this warning. See [2023-09-12T21:47:57.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:47:57.074Z] [2023-09-12T21:47:57.074Z] Login Succeeded [2023-09-12T21:47:57.074Z] docker.io [2023-09-12T21:47:57.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:47:57.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:47:57.336Z] Configure a credential helper to remove this warning. See [2023-09-12T21:47:57.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:47:57.336Z] [2023-09-12T21:47:57.336Z] Login Succeeded [2023-09-12T21:47:57.336Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T21:47:57.363Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-12T21:47:57.991Z] + git rev-list -1 --merges c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c~1..c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c [Pipeline] echo [2023-09-12T21:47:58.050Z] -----------> git rev-list -1 --merges c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c~1..c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c [false] [Pipeline] sh [2023-09-12T21:47:58.357Z] + git log --format=format:%s -1 c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c [Pipeline] echo [2023-09-12T21:47:58.390Z] ========================================================= [2023-09-12T21:47:58.390Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-12T21:47:58.390Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T21:47:58.824Z] + git log --format=format:%s -1 c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c [Pipeline] echo [2023-09-12T21:47:58.864Z] [semverPrep] GIT_COMMIT: c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c, Commit Message: build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 [Pipeline] echo [2023-09-12T21:47:58.893Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-12T21:47:59.262Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T21:47:59.262Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-12T21:47:59.262Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-12T21:47:59.262Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-12T21:47:59.262Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-12T21:47:59.262Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-12T21:47:59.262Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:47:59.748Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T21:47:59.748Z] [2023-09-12T21:47:59.748Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:48:00.121Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T21:48:00.121Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-12T21:48:00.121Z] b85a868b505f: Pulling fs layer [2023-09-12T21:48:00.121Z] e2be974225ed: Pulling fs layer [2023-09-12T21:48:00.121Z] 339a4e72a1f5: Pulling fs layer [2023-09-12T21:48:00.121Z] 988bab9f4d93: Pulling fs layer [2023-09-12T21:48:00.121Z] 1469e6f7b9e6: Pulling fs layer [2023-09-12T21:48:00.121Z] eaf3925da568: Pulling fs layer [2023-09-12T21:48:00.121Z] bab4dde63d76: Pulling fs layer [2023-09-12T21:48:00.121Z] bde34c3a00c8: Pulling fs layer [2023-09-12T21:48:00.121Z] b352a97aabf1: Pulling fs layer [2023-09-12T21:48:00.121Z] 4872d77fe225: Pulling fs layer [2023-09-12T21:48:00.121Z] 5851b861e8e6: Pulling fs layer [2023-09-12T21:48:00.121Z] bde34c3a00c8: Waiting [2023-09-12T21:48:00.121Z] b352a97aabf1: Waiting [2023-09-12T21:48:00.121Z] 988bab9f4d93: Waiting [2023-09-12T21:48:00.121Z] 4872d77fe225: Waiting [2023-09-12T21:48:00.121Z] 5851b861e8e6: Waiting [2023-09-12T21:48:00.121Z] 1469e6f7b9e6: Waiting [2023-09-12T21:48:00.121Z] eaf3925da568: Waiting [2023-09-12T21:48:00.121Z] bab4dde63d76: Waiting [2023-09-12T21:48:00.121Z] e2be974225ed: Verifying Checksum [2023-09-12T21:48:00.121Z] e2be974225ed: Download complete [2023-09-12T21:48:00.121Z] 988bab9f4d93: Download complete [2023-09-12T21:48:00.121Z] 1469e6f7b9e6: Verifying Checksum [2023-09-12T21:48:00.121Z] 1469e6f7b9e6: Download complete [2023-09-12T21:48:00.380Z] 339a4e72a1f5: Verifying Checksum [2023-09-12T21:48:00.380Z] 339a4e72a1f5: Download complete [2023-09-12T21:48:00.380Z] eaf3925da568: Download complete [2023-09-12T21:48:00.380Z] bde34c3a00c8: Verifying Checksum [2023-09-12T21:48:00.380Z] bde34c3a00c8: Download complete [2023-09-12T21:48:00.380Z] b352a97aabf1: Verifying Checksum [2023-09-12T21:48:00.380Z] b352a97aabf1: Download complete [2023-09-12T21:48:00.380Z] 4872d77fe225: Download complete [2023-09-12T21:48:00.380Z] 5851b861e8e6: Verifying Checksum [2023-09-12T21:48:00.380Z] 5851b861e8e6: Download complete [2023-09-12T21:48:00.380Z] b85a868b505f: Verifying Checksum [2023-09-12T21:48:00.380Z] b85a868b505f: Download complete [2023-09-12T21:48:00.638Z] bab4dde63d76: Verifying Checksum [2023-09-12T21:48:00.639Z] bab4dde63d76: Download complete [2023-09-12T21:48:02.023Z] b85a868b505f: Pull complete [2023-09-12T21:48:02.023Z] e2be974225ed: Pull complete [2023-09-12T21:48:02.285Z] 339a4e72a1f5: Pull complete [2023-09-12T21:48:02.545Z] 988bab9f4d93: Pull complete [2023-09-12T21:48:02.803Z] 1469e6f7b9e6: Pull complete [2023-09-12T21:48:02.803Z] eaf3925da568: Pull complete [2023-09-12T21:48:04.713Z] bab4dde63d76: Pull complete [2023-09-12T21:48:04.713Z] bde34c3a00c8: Pull complete [2023-09-12T21:48:04.713Z] b352a97aabf1: Pull complete [2023-09-12T21:48:04.713Z] 4872d77fe225: Pull complete [2023-09-12T21:48:04.973Z] 5851b861e8e6: Pull complete [2023-09-12T21:48:04.973Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-12T21:48:04.973Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T21:48:04.973Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:48:05.215Z] prd-ubuntu20.04-docker-8c-8g-6007 does not seem to be running inside a container [2023-09-12T21:48:05.246Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-340 -v /w/workspace/gexfoundry_device-rest-go_PR-340:/w/workspace/gexfoundry_device-rest-go_PR-340:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-340@tmp:/w/workspace/gexfoundry_device-rest-go_PR-340@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-12T21:48:08.237Z] $ docker top f0a46ce6976c9ff490b127660a00499b30c1692ef225c9d96087aeaaa0cb560c -eo pid,comm [2023-09-12T21:48:08.302Z] 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). [2023-09-12T21:48:08.302Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T21:48:08.428Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T21:48:08.428Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T21:48:08.548Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T21:48:08.549Z] $ docker exec f0a46ce6976c9ff490b127660a00499b30c1692ef225c9d96087aeaaa0cb560c ssh-agent [2023-09-12T21:48:08.653Z] SSH_AUTH_SOCK=/tmp/ssh-3HXGjtXTpk5z/agent.32 [2023-09-12T21:48:08.653Z] SSH_AGENT_PID=38 [2023-09-12T21:48:08.661Z] Running ssh-add (command line suppressed) [2023-09-12T21:48:08.766Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-340@tmp/private_key_4646811510643654262.key (/w/workspace/gexfoundry_device-rest-go_PR-340@tmp/private_key_4646811510643654262.key) [2023-09-12T21:48:08.784Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T21:48:09.118Z] + git tag --points-at HEAD [Pipeline] } [2023-09-12T21:48:09.142Z] $ docker exec --env ******** --env ******** f0a46ce6976c9ff490b127660a00499b30c1692ef225c9d96087aeaaa0cb560c ssh-agent -k [2023-09-12T21:48:09.252Z] unset SSH_AUTH_SOCK; [2023-09-12T21:48:09.252Z] unset SSH_AGENT_PID; [2023-09-12T21:48:09.252Z] echo Agent pid 38 killed; [2023-09-12T21:48:09.265Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-12T21:48:09.347Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T21:48:09.347Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T21:48:09.464Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T21:48:09.466Z] $ docker exec f0a46ce6976c9ff490b127660a00499b30c1692ef225c9d96087aeaaa0cb560c ssh-agent [2023-09-12T21:48:09.583Z] SSH_AUTH_SOCK=/tmp/ssh-0fPGvrhbCsyz/agent.70 [2023-09-12T21:48:09.583Z] SSH_AGENT_PID=77 [2023-09-12T21:48:09.587Z] Running ssh-add (command line suppressed) [2023-09-12T21:48:09.693Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-340@tmp/private_key_5016149646045859407.key (/w/workspace/gexfoundry_device-rest-go_PR-340@tmp/private_key_5016149646045859407.key) [2023-09-12T21:48:09.714Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T21:48:10.053Z] + git semver init [2023-09-12T21:48:10.313Z] 2023-09-12 21:48:10,253 [run_init] DEBUG init version:0.0.0 force:False [2023-09-12T21:48:10.313Z] 2023-09-12 21:48:10,254 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-340/.semver [2023-09-12T21:48:10.313Z] 2023-09-12 21:48:10,255 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-340/.semver [2023-09-12T21:48:10.313Z] 2023-09-12 21:48:10,255 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-340/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-340, universal_newlines=False, shell=None, istream=None) [2023-09-12T21:48:11.697Z] 2023-09-12 21:48:11,305 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-340/.git/info/exclude [2023-09-12T21:48:11.697Z] 2023-09-12 21:48:11,305 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-340/.semver/PR-340 with force:False [2023-09-12T21:48:11.697Z] 2023-09-12 21:48:11,305 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-340/.semver/PR-340 [2023-09-12T21:48:11.697Z] 2023-09-12 21:48:11,310 [execute] INFO git cat-file --batch-check [2023-09-12T21:48:11.697Z] 2023-09-12 21:48:11,310 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-340/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T21:48:11.697Z] 2023-09-12 21:48:11,316 [execute] INFO git cat-file --batch [2023-09-12T21:48:11.697Z] 2023-09-12 21:48:11,317 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-340/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T21:48:11.697Z] 2023-09-12 21:48:11,322 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-340/.semver/PR-340 [2023-09-12T21:48:11.697Z] 0.0.0 [Pipeline] } [2023-09-12T21:48:11.724Z] $ docker exec --env ******** --env ******** f0a46ce6976c9ff490b127660a00499b30c1692ef225c9d96087aeaaa0cb560c ssh-agent -k [2023-09-12T21:48:11.813Z] unset SSH_AUTH_SOCK; [2023-09-12T21:48:11.814Z] unset SSH_AGENT_PID; [2023-09-12T21:48:11.814Z] echo Agent pid 77 killed; [2023-09-12T21:48:11.824Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T21:48:12.240Z] + git semver [Pipeline] } [2023-09-12T21:48:12.524Z] $ docker stop --time=1 f0a46ce6976c9ff490b127660a00499b30c1692ef225c9d96087aeaaa0cb560c [2023-09-12T21:48:13.841Z] $ docker rm -f --volumes f0a46ce6976c9ff490b127660a00499b30c1692ef225c9d96087aeaaa0cb560c [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T21:48:14.246Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-12T21:48:14.522Z] Stashed 1 file(s) [Pipeline] echo [2023-09-12T21:48:14.541Z] [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 [2023-09-12T21:48:15.125Z] provisioning config files... [2023-09-12T21:48:15.134Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-340@tmp/config2112068467332831516tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:48:15.483Z] ---> docker-login.sh [2023-09-12T21:48:15.483Z] nexus3.edgexfoundry.org:10001 [2023-09-12T21:48:15.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:48:15.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:48:15.483Z] Configure a credential helper to remove this warning. See [2023-09-12T21:48:15.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:48:15.483Z] [2023-09-12T21:48:15.483Z] Login Succeeded [2023-09-12T21:48:15.483Z] nexus3.edgexfoundry.org:10002 [2023-09-12T21:48:15.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:48:15.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:48:15.483Z] Configure a credential helper to remove this warning. See [2023-09-12T21:48:15.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:48:15.483Z] [2023-09-12T21:48:15.483Z] Login Succeeded [2023-09-12T21:48:15.483Z] nexus3.edgexfoundry.org:10003 [2023-09-12T21:48:15.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:48:15.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:48:15.746Z] Configure a credential helper to remove this warning. See [2023-09-12T21:48:15.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:48:15.746Z] [2023-09-12T21:48:15.746Z] Login Succeeded [2023-09-12T21:48:15.746Z] nexus3.edgexfoundry.org:10004 [2023-09-12T21:48:15.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:48:15.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:48:15.746Z] Configure a credential helper to remove this warning. See [2023-09-12T21:48:15.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:48:15.746Z] [2023-09-12T21:48:15.746Z] Login Succeeded [2023-09-12T21:48:15.746Z] docker.io [2023-09-12T21:48:16.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:48:16.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:48:16.006Z] Configure a credential helper to remove this warning. See [2023-09-12T21:48:16.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:48:16.006Z] [2023-09-12T21:48:16.006Z] Login Succeeded [2023-09-12T21:48:16.006Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T21:48:16.041Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T21:48:16.239Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T21:48:16.272Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T21:48:16.307Z] ========================================================= [2023-09-12T21:48:16.307Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-12T21:48:16.307Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:48:16.768Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-12T21:48:16.768Z] Sending build context to Docker daemon 10.94MB [2023-09-12T21:48:16.768Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T21:48:16.768Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-12T21:48:16.768Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-12T21:48:16.768Z] 7264a8db6415: Pulling fs layer [2023-09-12T21:48:16.768Z] c4d48a809fc2: Pulling fs layer [2023-09-12T21:48:16.768Z] 4f1c88b9dad5: Pulling fs layer [2023-09-12T21:48:16.768Z] ad3a456e5733: Pulling fs layer [2023-09-12T21:48:16.768Z] 9e4f439ed901: Pulling fs layer [2023-09-12T21:48:16.768Z] feaf6a47b606: Pulling fs layer [2023-09-12T21:48:16.768Z] 5e8b037d7d82: Pulling fs layer [2023-09-12T21:48:16.768Z] 8ac70367396e: Pulling fs layer [2023-09-12T21:48:16.768Z] 6db16350a2e2: Pulling fs layer [2023-09-12T21:48:16.768Z] 9250d5d63582: Pulling fs layer [2023-09-12T21:48:16.768Z] ad3a456e5733: Waiting [2023-09-12T21:48:16.768Z] 6db16350a2e2: Waiting [2023-09-12T21:48:16.768Z] 5e8b037d7d82: Waiting [2023-09-12T21:48:16.768Z] 9250d5d63582: Waiting [2023-09-12T21:48:16.768Z] 8ac70367396e: Waiting [2023-09-12T21:48:16.768Z] 9e4f439ed901: Waiting [2023-09-12T21:48:16.768Z] feaf6a47b606: Waiting [2023-09-12T21:48:16.768Z] c4d48a809fc2: Verifying Checksum [2023-09-12T21:48:16.768Z] c4d48a809fc2: Download complete [2023-09-12T21:48:16.768Z] ad3a456e5733: Verifying Checksum [2023-09-12T21:48:16.768Z] ad3a456e5733: Download complete [2023-09-12T21:48:17.027Z] 9e4f439ed901: Verifying Checksum [2023-09-12T21:48:17.027Z] 9e4f439ed901: Download complete [2023-09-12T21:48:17.027Z] 7264a8db6415: Verifying Checksum [2023-09-12T21:48:17.027Z] 7264a8db6415: Download complete [2023-09-12T21:48:17.027Z] feaf6a47b606: Verifying Checksum [2023-09-12T21:48:17.027Z] feaf6a47b606: Download complete [2023-09-12T21:48:17.027Z] 7264a8db6415: Pull complete [2023-09-12T21:48:17.286Z] 8ac70367396e: Verifying Checksum [2023-09-12T21:48:17.286Z] 8ac70367396e: Download complete [2023-09-12T21:48:17.286Z] c4d48a809fc2: Pull complete [2023-09-12T21:48:17.286Z] 4f1c88b9dad5: Verifying Checksum [2023-09-12T21:48:17.286Z] 4f1c88b9dad5: Download complete [2023-09-12T21:48:17.544Z] 6db16350a2e2: Verifying Checksum [2023-09-12T21:48:17.544Z] 6db16350a2e2: Download complete [2023-09-12T21:48:17.544Z] 9250d5d63582: Verifying Checksum [2023-09-12T21:48:17.544Z] 9250d5d63582: Download complete [2023-09-12T21:48:17.802Z] 5e8b037d7d82: Verifying Checksum [2023-09-12T21:48:17.802Z] 5e8b037d7d82: Download complete [2023-09-12T21:48:21.086Z] 4f1c88b9dad5: Pull complete [2023-09-12T21:48:21.086Z] ad3a456e5733: Pull complete [2023-09-12T21:48:21.086Z] 9e4f439ed901: Pull complete [2023-09-12T21:48:21.086Z] feaf6a47b606: Pull complete [2023-09-12T21:48:23.615Z] 5e8b037d7d82: Pull complete [2023-09-12T21:48:24.182Z] 8ac70367396e: Pull complete [2023-09-12T21:48:24.749Z] 6db16350a2e2: Pull complete [2023-09-12T21:48:25.333Z] 9250d5d63582: Pull complete [2023-09-12T21:48:25.333Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-12T21:48:25.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-12T21:48:25.333Z] ---> fa269f55d9b9 [2023-09-12T21:48:25.333Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-12T21:48:29.946Z] Still waiting to schedule task [2023-09-12T21:48:29.946Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-12T21:48:30.864Z] ---> Running in 7baf709ee2c6 [2023-09-12T21:48:30.865Z] Removing intermediate container 7baf709ee2c6 [2023-09-12T21:48:30.865Z] ---> 39ab2404ce34 [2023-09-12T21:48:30.865Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T21:48:30.865Z] ---> Running in f8cd9de73969 [2023-09-12T21:48:30.865Z] Removing intermediate container f8cd9de73969 [2023-09-12T21:48:30.865Z] ---> ae2dae8e9feb [2023-09-12T21:48:30.865Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T21:48:30.865Z] ---> Running in 00df24cde4de [2023-09-12T21:48:30.865Z] Removing intermediate container 00df24cde4de [2023-09-12T21:48:30.865Z] ---> e00cc0fa4ae6 [2023-09-12T21:48:30.865Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T21:48:30.865Z] ---> Running in 656eb8167727 [2023-09-12T21:48:30.865Z] Removing intermediate container 656eb8167727 [2023-09-12T21:48:30.865Z] ---> d7852d0f5197 [2023-09-12T21:48:30.865Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T21:48:30.865Z] ---> Running in 4f55b6c4feb1 [2023-09-12T21:48:30.865Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T21:48:30.865Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T21:48:31.430Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-12T21:48:31.430Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-12T21:48:31.430Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-12T21:48:31.430Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-12T21:48:31.430Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T21:48:31.430Z] OK: 270 MiB in 60 packages [2023-09-12T21:48:31.997Z] Removing intermediate container 4f55b6c4feb1 [2023-09-12T21:48:31.997Z] ---> 22b3e11dd19a [2023-09-12T21:48:31.997Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-12T21:48:31.997Z] ---> Running in b4aace7a5587 [2023-09-12T21:48:31.997Z] Removing intermediate container b4aace7a5587 [2023-09-12T21:48:31.997Z] ---> cc0ae63cdb13 [2023-09-12T21:48:31.997Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-12T21:48:31.997Z] ---> de832cdf2257 [2023-09-12T21:48:31.997Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T21:48:31.997Z] ---> Running in 65852d9226a7 [2023-09-12T21:49:14.512Z] Removing intermediate container 65852d9226a7 [2023-09-12T21:49:14.512Z] ---> 8fc87d648d5a [2023-09-12T21:49:14.512Z] Step 11/12 : COPY . . [2023-09-12T21:49:14.512Z] ---> eafa8fdaf1c6 [2023-09-12T21:49:14.512Z] Step 12/12 : RUN $MAKE [2023-09-12T21:49:14.512Z] ---> Running in 609fb2d212c3 [2023-09-12T21:49:14.512Z] noop [2023-09-12T21:49:14.512Z] Removing intermediate container 609fb2d212c3 [2023-09-12T21:49:14.512Z] ---> b9af947651b4 [2023-09-12T21:49:14.512Z] Successfully built b9af947651b4 [2023-09-12T21:49:14.512Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:49:14.967Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T21:49:14.967Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:49:15.127Z] prd-ubuntu20.04-docker-8c-8g-6007 does not seem to be running inside a container [2023-09-12T21:49:15.160Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-340 -v /w/workspace/gexfoundry_device-rest-go_PR-340:/w/workspace/gexfoundry_device-rest-go_PR-340:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-340@tmp:/w/workspace/gexfoundry_device-rest-go_PR-340@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-12T21:49:15.590Z] $ docker top ed4801813aa3806746762b4bb450e03a97c4c01db96e7545703a2087bdee3b3d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T21:49:16.000Z] + go version [2023-09-12T21:49:16.000Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-12T21:49:16.034Z] $ docker stop --time=1 ed4801813aa3806746762b4bb450e03a97c4c01db96e7545703a2087bdee3b3d [2023-09-12T21:49:17.295Z] $ docker rm -f --volumes ed4801813aa3806746762b4bb450e03a97c4c01db96e7545703a2087bdee3b3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:49:17.979Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T21:49:17.979Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:49:18.138Z] prd-ubuntu20.04-docker-8c-8g-6007 does not seem to be running inside a container [2023-09-12T21:49:18.171Z] $ 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-340 -v /w/workspace/gexfoundry_device-rest-go_PR-340:/w/workspace/gexfoundry_device-rest-go_PR-340:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-340@tmp:/w/workspace/gexfoundry_device-rest-go_PR-340@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-12T21:49:18.488Z] $ docker top 22adad0c5d11ca53485f9a9db28e6d6e8f579907ca5ed55174c484897389795b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T21:49:18.892Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-340 [Pipeline] fileExists [Pipeline] sh [2023-09-12T21:49:19.252Z] + make test [2023-09-12T21:49:19.252Z] go test ./... -coverprofile=coverage.out ./... [2023-09-12T21:49:20.630Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-12T21:49:32.381Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-12T21:49:32.381Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.2% of statements [2023-09-12T21:49:38.936Z] go vet ./... [2023-09-12T21:49:41.459Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T21:49:41.459Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T21:49:41.459Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T21:49:41.499Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T21:49:41.529Z] $ docker stop --time=1 22adad0c5d11ca53485f9a9db28e6d6e8f579907ca5ed55174c484897389795b [2023-09-12T21:49:46.683Z] $ docker rm -f --volumes 22adad0c5d11ca53485f9a9db28e6d6e8f579907ca5ed55174c484897389795b [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T21:49:47.250Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T21:49:47.321Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-12T21:49:47.937Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T21:49:48.252Z] + ls -al . [2023-09-12T21:49:48.252Z] total 188 [2023-09-12T21:49:48.252Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 21:49 . [2023-09-12T21:49:48.252Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:47 .. [2023-09-12T21:49:48.252Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 12 21:47 .dockerignore [2023-09-12T21:49:48.252Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 21:49 .git [2023-09-12T21:49:48.252Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:47 .github [2023-09-12T21:49:48.252Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 12 21:47 .gitignore [2023-09-12T21:49:48.252Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 21:47 .golangci.yml [2023-09-12T21:49:48.252Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 21:48 .semver [2023-09-12T21:49:48.252Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 12 21:47 Attribution.txt [2023-09-12T21:49:48.252Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 12 21:47 CHANGELOG.md [2023-09-12T21:49:48.252Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 12 21:47 Dockerfile [2023-09-12T21:49:48.252Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 21:47 GOVERNANCE.md [2023-09-12T21:49:48.252Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 12 21:47 Jenkinsfile [2023-09-12T21:49:48.252Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 21:47 LICENSE [2023-09-12T21:49:48.252Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 12 21:47 Makefile [2023-09-12T21:49:48.252Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 12 21:47 OWNERS.md [2023-09-12T21:49:48.252Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 12 21:47 README.md [2023-09-12T21:49:48.252Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 21:48 VERSION [2023-09-12T21:49:48.252Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:47 bin [2023-09-12T21:49:48.252Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:47 cmd [2023-09-12T21:49:48.252Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 12 21:49 coverage.out [2023-09-12T21:49:48.252Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:47 driver [2023-09-12T21:49:48.252Z] -rw-rw-r-- 1 jenkins jenkins 3889 Sep 12 21:47 go.mod [2023-09-12T21:49:48.252Z] -rw-rw-r-- 1 jenkins jenkins 34092 Sep 12 21:47 go.sum [2023-09-12T21:49:48.252Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:47 snap [2023-09-12T21:49:48.252Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 12 21:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:49:48.651Z] + 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=c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c --label arch=amd64 --label version=0.0.0 . [2023-09-12T21:49:48.651Z] Sending build context to Docker daemon 10.95MB [2023-09-12T21:49:48.651Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T21:49:48.651Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-12T21:49:48.651Z] ---> b9af947651b4 [2023-09-12T21:49:48.651Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-12T21:49:48.910Z] ---> Running in f3cc137b74fe [2023-09-12T21:49:48.910Z] Removing intermediate container f3cc137b74fe [2023-09-12T21:49:48.910Z] ---> 60accf86b26d [2023-09-12T21:49:48.910Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T21:49:49.170Z] ---> Running in b6f47a80e638 [2023-09-12T21:49:49.170Z] Removing intermediate container b6f47a80e638 [2023-09-12T21:49:49.170Z] ---> 729744c62884 [2023-09-12T21:49:49.170Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T21:49:49.170Z] ---> Running in edc38d8d5b79 [2023-09-12T21:49:49.170Z] Removing intermediate container edc38d8d5b79 [2023-09-12T21:49:49.170Z] ---> 840d01c9f076 [2023-09-12T21:49:49.170Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T21:49:49.170Z] ---> Running in 85aab3e81007 [2023-09-12T21:49:49.428Z] Removing intermediate container 85aab3e81007 [2023-09-12T21:49:49.428Z] ---> a2f82c862326 [2023-09-12T21:49:49.428Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T21:49:49.428Z] ---> Running in 7ad14c2cf22f [2023-09-12T21:49:49.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T21:49:49.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T21:49:49.949Z] OK: 270 MiB in 60 packages [2023-09-12T21:49:50.208Z] Removing intermediate container 7ad14c2cf22f [2023-09-12T21:49:50.208Z] ---> 79af44d5a36a [2023-09-12T21:49:50.208Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-12T21:49:50.465Z] ---> Running in 73a0d80648f4 [2023-09-12T21:49:50.465Z] Removing intermediate container 73a0d80648f4 [2023-09-12T21:49:50.465Z] ---> a146025fe3ae [2023-09-12T21:49:50.465Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-12T21:49:50.465Z] ---> 1fe632183f99 [2023-09-12T21:49:50.465Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T21:49:50.465Z] ---> Running in de84bda61c67 [2023-09-12T21:49:51.399Z] Removing intermediate container de84bda61c67 [2023-09-12T21:49:51.399Z] ---> 1927696e6eea [2023-09-12T21:49:51.399Z] Step 11/25 : COPY . . [2023-09-12T21:49:51.667Z] ---> e0416a6dc707 [2023-09-12T21:49:51.667Z] Step 12/25 : RUN $MAKE [2023-09-12T21:49:51.927Z] ---> Running in a2fb23753949 [2023-09-12T21:49:52.191Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-12T21:50:14.156Z] Removing intermediate container a2fb23753949 [2023-09-12T21:50:14.156Z] ---> 8d17d3ccb599 [2023-09-12T21:50:14.156Z] Step 13/25 : FROM alpine:3.18 [2023-09-12T21:50:14.156Z] 3.18: Pulling from library/alpine [2023-09-12T21:50:14.156Z] 7264a8db6415: Already exists [2023-09-12T21:50:14.156Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T21:50:14.156Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T21:50:14.156Z] ---> 7e01a0d0a1dc [2023-09-12T21:50:14.156Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T21:50:14.156Z] ---> Running in 2479c5c0146e [2023-09-12T21:50:14.156Z] Removing intermediate container 2479c5c0146e [2023-09-12T21:50:14.156Z] ---> 412076f9adab [2023-09-12T21:50:14.156Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-12T21:50:14.156Z] ---> Running in bafa2e676a99 [2023-09-12T21:50:14.156Z] Removing intermediate container bafa2e676a99 [2023-09-12T21:50:14.156Z] ---> f36269fb7357 [2023-09-12T21:50:14.156Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-12T21:50:14.156Z] ---> Running in db96ddbe5f79 [2023-09-12T21:50:14.156Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T21:50:14.156Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T21:50:14.156Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-12T21:50:14.156Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T21:50:14.156Z] OK: 7 MiB in 16 packages [2023-09-12T21:50:14.156Z] Removing intermediate container db96ddbe5f79 [2023-09-12T21:50:14.156Z] ---> 1279ecf9e7fb [2023-09-12T21:50:14.156Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-12T21:50:15.186Z] ---> 84f88f362d55 [2023-09-12T21:50:15.186Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-12T21:50:15.186Z] ---> 747ba8211a82 [2023-09-12T21:50:15.186Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-12T21:50:15.444Z] ---> 3fa86e0563aa [2023-09-12T21:50:15.444Z] Step 20/25 : EXPOSE 59986 [2023-09-12T21:50:15.444Z] ---> Running in ac4d843101af [2023-09-12T21:50:15.444Z] Removing intermediate container ac4d843101af [2023-09-12T21:50:15.444Z] ---> 47abac94e35e [2023-09-12T21:50:15.444Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-12T21:50:15.444Z] ---> Running in 04bdefcecd4b [2023-09-12T21:50:15.444Z] Removing intermediate container 04bdefcecd4b [2023-09-12T21:50:15.444Z] ---> 11ff1a616b40 [2023-09-12T21:50:15.444Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-12T21:50:15.444Z] ---> Running in 215bc61052cb [2023-09-12T21:50:15.703Z] Removing intermediate container 215bc61052cb [2023-09-12T21:50:15.703Z] ---> cdfdd373e586 [2023-09-12T21:50:15.703Z] Step 23/25 : LABEL arch=amd64 [2023-09-12T21:50:15.703Z] ---> Running in b4f305bc7f71 [2023-09-12T21:50:15.703Z] Removing intermediate container b4f305bc7f71 [2023-09-12T21:50:15.703Z] ---> dc52d080c865 [2023-09-12T21:50:15.703Z] Step 24/25 : LABEL git_sha=c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c [2023-09-12T21:50:15.703Z] ---> Running in d28b9daa0a0d [2023-09-12T21:50:15.963Z] Removing intermediate container d28b9daa0a0d [2023-09-12T21:50:15.963Z] ---> 270a1da6a38a [2023-09-12T21:50:15.963Z] Step 25/25 : LABEL version=0.0.0 [2023-09-12T21:50:15.963Z] ---> Running in ac1ce8ba7942 [2023-09-12T21:50:15.963Z] Removing intermediate container ac1ce8ba7942 [2023-09-12T21:50:15.963Z] ---> e4f5dc6272cd [2023-09-12T21:50:15.963Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T21:50:15.963Z] Successfully built e4f5dc6272cd [2023-09-12T21:50:15.963Z] 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 [2023-09-12T21:50:16.832Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T21:50:16.832Z] [2023-09-12T21:50:16.832Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:50:17.206Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T21:50:17.206Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-12T21:50:17.206Z] 5eb5b503b376: Pulling fs layer [2023-09-12T21:50:17.206Z] 5c69ac0246d0: Pulling fs layer [2023-09-12T21:50:17.206Z] ec43610c2a17: Pulling fs layer [2023-09-12T21:50:17.206Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-12T21:50:17.206Z] 33b1e0a273af: Pulling fs layer [2023-09-12T21:50:17.206Z] 5d3b04190fa2: Pulling fs layer [2023-09-12T21:50:17.206Z] 2f39f015ded8: Pulling fs layer [2023-09-12T21:50:17.206Z] 33b1e0a273af: Waiting [2023-09-12T21:50:17.206Z] 5d3b04190fa2: Waiting [2023-09-12T21:50:17.206Z] 2f39f015ded8: Waiting [2023-09-12T21:50:17.206Z] 3a2ae6a8a46f: Waiting [2023-09-12T21:50:17.206Z] 5c69ac0246d0: Download complete [2023-09-12T21:50:17.206Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-12T21:50:17.206Z] 3a2ae6a8a46f: Download complete [2023-09-12T21:50:17.206Z] 33b1e0a273af: Verifying Checksum [2023-09-12T21:50:17.206Z] 33b1e0a273af: Download complete [2023-09-12T21:50:17.206Z] 5d3b04190fa2: Verifying Checksum [2023-09-12T21:50:17.206Z] 5d3b04190fa2: Download complete [2023-09-12T21:50:17.206Z] ec43610c2a17: Verifying Checksum [2023-09-12T21:50:17.206Z] ec43610c2a17: Download complete [2023-09-12T21:50:17.464Z] 5eb5b503b376: Verifying Checksum [2023-09-12T21:50:17.464Z] 5eb5b503b376: Download complete [2023-09-12T21:50:18.032Z] 2f39f015ded8: Download complete [2023-09-12T21:50:18.600Z] 5eb5b503b376: Pull complete [2023-09-12T21:50:18.860Z] 5c69ac0246d0: Pull complete [2023-09-12T21:50:19.426Z] ec43610c2a17: Pull complete [2023-09-12T21:50:19.426Z] 3a2ae6a8a46f: Pull complete [2023-09-12T21:50:19.687Z] 33b1e0a273af: Pull complete [2023-09-12T21:50:19.687Z] 5d3b04190fa2: Pull complete [2023-09-12T21:50:24.950Z] 2f39f015ded8: Pull complete [2023-09-12T21:50:24.950Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-12T21:50:24.951Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T21:50:24.951Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:50:25.208Z] prd-ubuntu20.04-docker-8c-8g-6007 does not seem to be running inside a container [2023-09-12T21:50:25.261Z] $ 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-340 -v /w/workspace/gexfoundry_device-rest-go_PR-340:/w/workspace/gexfoundry_device-rest-go_PR-340:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-340@tmp:/w/workspace/gexfoundry_device-rest-go_PR-340@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-12T21:50:29.320Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6013 in /w/workspace/gexfoundry_device-rest-go_PR-340 [2023-09-12T21:50:29.734Z] $ docker top 1a3bcf1c94c4918ae904ae38ad5e0e1d7b113c3a2d67908855767d30a540a8cf -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2023-09-12T21:50:29.981Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-09-12T21:50:30.073Z] The recommended git tool is: git [2023-09-12T21:50:30.217Z] ---> job-cost.sh [2023-09-12T21:50:30.217Z] lf-activate-venv: SKIPPING [2023-09-12T21:50:30.217Z] INFO: No Stack... [2023-09-12T21:50:30.476Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T21:50:31.044Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T21:50:31.356Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-340/archives/cost.csv [2023-09-12T21:50:31.356Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T21:50:31.398Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-340-1-stack-cost] [2023-09-12T21:50:31.402Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-340-1-stack-cost] did not exist. Created. [2023-09-12T21:50:31.403Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-340-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T21:50:31.892Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-12T21:50:31.946Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T21:50:31.975Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-340-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T21:50:32.053Z] $ docker stop --time=1 1a3bcf1c94c4918ae904ae38ad5e0e1d7b113c3a2d67908855767d30a540a8cf [2023-09-12T21:50:33.219Z] $ docker rm -f --volumes 1a3bcf1c94c4918ae904ae38ad5e0e1d7b113c3a2d67908855767d30a540a8cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-12T21:50:35.915Z] using credential edgex-jenkins-ssh [2023-09-12T21:50:35.937Z] Cloning the remote Git repository [2023-09-12T21:50:35.963Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-09-12T21:50:36.051Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-09-12T21:50:36.193Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-12T21:50:36.194Z] > git --version # timeout=10 [2023-09-12T21:50:36.229Z] > git --version # 'git version 2.25.1' [2023-09-12T21:50:36.232Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T21:50:36.377Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T21:50:38.299Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-12T21:50:38.335Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T21:50:39.963Z] Merging remotes/origin/main commit 0bc3f30d539332995b04e4270d58f382a711f8a9 into PR head commit c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c [2023-09-12T21:50:39.198Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-12T21:50:39.235Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-12T21:50:39.237Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T21:50:39.252Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/340/head:refs/remotes/origin/PR-340 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-12T21:50:39.975Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T21:50:40.057Z] > git checkout -f c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c # timeout=10 [2023-09-12T21:50:40.141Z] > git remote # timeout=10 [2023-09-12T21:50:40.159Z] > git config --get remote.origin.url # timeout=10 [2023-09-12T21:50:40.187Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T21:50:40.202Z] > git merge 0bc3f30d539332995b04e4270d58f382a711f8a9 # timeout=10 [2023-09-12T21:50:40.229Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-12T21:50:40.253Z] Merge succeeded, producing c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c [2023-09-12T21:50:40.254Z] Checking out Revision c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c (PR-340) [2023-09-12T21:50:40.252Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T21:50:40.269Z] > git checkout -f c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c # timeout=10 [2023-09-12T21:50:43.793Z] Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18" [2023-09-12T21:50:43.852Z] > git --version # timeout=10 [2023-09-12T21:50:43.872Z] > git --version # 'git version 2.25.1' [2023-09-12T21:50:43.887Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T21:50:45.032Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-12T21:50:45.032Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T21:50:45.032Z] Dload Upload Total Spent Left Speed [2023-09-12T21:50:45.032Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh [2023-09-12T21:50:45.807Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-12T21:50:46.168Z] + sudo tee /etc/docker/daemon.new [2023-09-12T21:50:46.168Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-12T21:50:46.168Z] { [2023-09-12T21:50:46.168Z] "registry-mirrors": [ [2023-09-12T21:50:46.168Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-12T21:50:46.168Z] ], [2023-09-12T21:50:46.168Z] "bip": "10.250.0.254/24", [2023-09-12T21:50:46.168Z] "hosts": [ [2023-09-12T21:50:46.168Z] "tcp://0.0.0.0:5555", [2023-09-12T21:50:46.168Z] "unix:///var/run/docker.sock" [2023-09-12T21:50:46.168Z] ], [2023-09-12T21:50:46.168Z] "mtu": 1458, [2023-09-12T21:50:46.168Z] "selinux-enabled": true, [2023-09-12T21:50:46.168Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-12T21:50:46.168Z] } [Pipeline] sh [2023-09-12T21:50:46.540Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-12T21:50:46.916Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T21:51:09.145Z] provisioning config files... [2023-09-12T21:51:09.178Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config6274474709056276311tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:51:09.579Z] ---> docker-login.sh [2023-09-12T21:51:09.580Z] nexus3.edgexfoundry.org:10001 [2023-09-12T21:51:10.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:51:10.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:51:10.175Z] Configure a credential helper to remove this warning. See [2023-09-12T21:51:10.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:51:10.175Z] [2023-09-12T21:51:10.175Z] Login Succeeded [2023-09-12T21:51:10.175Z] nexus3.edgexfoundry.org:10002 [2023-09-12T21:51:10.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:51:10.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:51:10.722Z] Configure a credential helper to remove this warning. See [2023-09-12T21:51:10.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:51:10.722Z] [2023-09-12T21:51:10.722Z] Login Succeeded [2023-09-12T21:51:10.722Z] nexus3.edgexfoundry.org:10003 [2023-09-12T21:51:10.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:51:10.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:51:10.997Z] Configure a credential helper to remove this warning. See [2023-09-12T21:51:10.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:51:10.997Z] [2023-09-12T21:51:10.997Z] Login Succeeded [2023-09-12T21:51:10.997Z] nexus3.edgexfoundry.org:10004 [2023-09-12T21:51:11.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:51:11.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:51:11.646Z] Configure a credential helper to remove this warning. See [2023-09-12T21:51:11.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:51:11.646Z] [2023-09-12T21:51:11.646Z] Login Succeeded [2023-09-12T21:51:11.646Z] docker.io [2023-09-12T21:51:11.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:51:11.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:51:11.920Z] Configure a credential helper to remove this warning. See [2023-09-12T21:51:11.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:51:11.920Z] [2023-09-12T21:51:11.920Z] Login Succeeded [2023-09-12T21:51:11.920Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T21:51:12.164Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T21:51:12.570Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T21:51:12.609Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T21:51:12.644Z] ========================================================= [2023-09-12T21:51:12.645Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-12T21:51:12.645Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:51:13.153Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-12T21:51:13.153Z] Sending build context to Docker daemon 143.4kB [2023-09-12T21:51:13.423Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T21:51:13.423Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-12T21:51:13.706Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-12T21:51:13.706Z] 9fda8d8052c6: Pulling fs layer [2023-09-12T21:51:13.706Z] 5d54e960e981: Pulling fs layer [2023-09-12T21:51:13.706Z] c4a7e357bf2a: Pulling fs layer [2023-09-12T21:51:13.706Z] f0e02332f6b5: Pulling fs layer [2023-09-12T21:51:13.706Z] 66412af1f25a: Pulling fs layer [2023-09-12T21:51:13.706Z] 1baf3a5c0e64: Pulling fs layer [2023-09-12T21:51:13.706Z] 9a37bb91b891: Pulling fs layer [2023-09-12T21:51:13.706Z] a29adfc67d43: Pulling fs layer [2023-09-12T21:51:13.706Z] d5de9f91c1a4: Pulling fs layer [2023-09-12T21:51:13.706Z] 1baf3a5c0e64: Waiting [2023-09-12T21:51:13.706Z] 9a37bb91b891: Waiting [2023-09-12T21:51:13.706Z] a29adfc67d43: Waiting [2023-09-12T21:51:13.706Z] f0e02332f6b5: Waiting [2023-09-12T21:51:13.706Z] d5de9f91c1a4: Waiting [2023-09-12T21:51:13.706Z] 66412af1f25a: Waiting [2023-09-12T21:51:13.706Z] 5d54e960e981: Verifying Checksum [2023-09-12T21:51:13.706Z] 5d54e960e981: Download complete [2023-09-12T21:51:13.706Z] f0e02332f6b5: Verifying Checksum [2023-09-12T21:51:13.706Z] f0e02332f6b5: Download complete [2023-09-12T21:51:13.706Z] 66412af1f25a: Verifying Checksum [2023-09-12T21:51:13.706Z] 66412af1f25a: Download complete [2023-09-12T21:51:13.706Z] 9fda8d8052c6: Download complete [2023-09-12T21:51:13.977Z] 9a37bb91b891: Verifying Checksum [2023-09-12T21:51:13.977Z] 9a37bb91b891: Download complete [2023-09-12T21:51:14.574Z] a29adfc67d43: Download complete [2023-09-12T21:51:14.851Z] 9fda8d8052c6: Pull complete [2023-09-12T21:51:15.451Z] 5d54e960e981: Pull complete [2023-09-12T21:51:15.451Z] d5de9f91c1a4: Verifying Checksum [2023-09-12T21:51:15.451Z] d5de9f91c1a4: Download complete [2023-09-12T21:51:15.723Z] c4a7e357bf2a: Verifying Checksum [2023-09-12T21:51:15.723Z] c4a7e357bf2a: Download complete [2023-09-12T21:51:16.698Z] 1baf3a5c0e64: Download complete [2023-09-12T21:51:26.813Z] c4a7e357bf2a: Pull complete [2023-09-12T21:51:26.813Z] f0e02332f6b5: Pull complete [2023-09-12T21:51:27.406Z] 66412af1f25a: Pull complete [2023-09-12T21:51:35.663Z] 1baf3a5c0e64: Pull complete [2023-09-12T21:51:35.932Z] 9a37bb91b891: Pull complete [2023-09-12T21:51:37.362Z] a29adfc67d43: Pull complete [2023-09-12T21:51:39.322Z] d5de9f91c1a4: Pull complete [2023-09-12T21:51:39.322Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-12T21:51:39.322Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-12T21:51:39.322Z] ---> 746ca1b523b5 [2023-09-12T21:51:39.322Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-12T21:51:41.297Z] ---> Running in ea1afcdc2ff7 [2023-09-12T21:51:41.568Z] Removing intermediate container ea1afcdc2ff7 [2023-09-12T21:51:41.568Z] ---> 8686fc3b7537 [2023-09-12T21:51:41.568Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T21:51:41.568Z] ---> Running in 421e51aa3ca9 [2023-09-12T21:51:42.164Z] Removing intermediate container 421e51aa3ca9 [2023-09-12T21:51:42.164Z] ---> 254d0defed31 [2023-09-12T21:51:42.164Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T21:51:42.164Z] ---> Running in 714b5473268a [2023-09-12T21:51:42.436Z] Removing intermediate container 714b5473268a [2023-09-12T21:51:42.436Z] ---> f696edb37974 [2023-09-12T21:51:42.436Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T21:51:42.710Z] ---> Running in 67119a64af45 [2023-09-12T21:51:42.985Z] Removing intermediate container 67119a64af45 [2023-09-12T21:51:42.985Z] ---> a8fd139d071f [2023-09-12T21:51:42.985Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T21:51:42.985Z] ---> Running in d44b94f209ce [2023-09-12T21:51:44.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T21:51:44.667Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T21:51:46.081Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-12T21:51:46.081Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-12T21:51:46.081Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-12T21:51:46.081Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-12T21:51:46.081Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T21:51:46.081Z] OK: 272 MiB in 60 packages [2023-09-12T21:51:47.495Z] Removing intermediate container d44b94f209ce [2023-09-12T21:51:47.495Z] ---> 8ee450be0280 [2023-09-12T21:51:47.495Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-12T21:51:47.766Z] ---> Running in 8e3e21914baf [2023-09-12T21:51:48.044Z] Removing intermediate container 8e3e21914baf [2023-09-12T21:51:48.044Z] ---> 709726d0236f [2023-09-12T21:51:48.044Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-12T21:51:48.633Z] ---> 0f779930a761 [2023-09-12T21:51:48.633Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T21:51:48.633Z] ---> Running in ccc8f519dd52 [2023-09-12T21:53:10.336Z] Removing intermediate container ccc8f519dd52 [2023-09-12T21:53:10.336Z] ---> d5a2f04f0385 [2023-09-12T21:53:10.336Z] Step 11/12 : COPY . . [2023-09-12T21:53:10.336Z] ---> f3108cc66d7e [2023-09-12T21:53:10.336Z] Step 12/12 : RUN $MAKE [2023-09-12T21:53:10.336Z] ---> Running in bb7dc51c5e6d [2023-09-12T21:53:10.336Z] noop [2023-09-12T21:53:10.336Z] Removing intermediate container bb7dc51c5e6d [2023-09-12T21:53:10.336Z] ---> 61b08b4bb88e [2023-09-12T21:53:10.336Z] Successfully built 61b08b4bb88e [2023-09-12T21:53:10.336Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:53:10.826Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T21:53:10.827Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:53:11.132Z] prd-ubuntu20.04-docker-arm64-4c-16g-6013 does not seem to be running inside a container [2023-09-12T21:53:11.224Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-12T21:53:12.554Z] $ docker top 2539262d1e0333162d30741448138cd562f9a8e73de795ff2b089e1b8028aa0a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T21:53:13.458Z] + go version [2023-09-12T21:53:13.458Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-12T21:53:13.511Z] $ docker stop --time=1 2539262d1e0333162d30741448138cd562f9a8e73de795ff2b089e1b8028aa0a [2023-09-12T21:53:15.162Z] $ docker rm -f --volumes 2539262d1e0333162d30741448138cd562f9a8e73de795ff2b089e1b8028aa0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:53:16.041Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T21:53:16.041Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:53:16.303Z] prd-ubuntu20.04-docker-arm64-4c-16g-6013 does not seem to be running inside a container [2023-09-12T21:53:16.393Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-12T21:53:17.608Z] $ docker top 80905e82e3d2312a958a29b1bb61311a8dbd5c81180e3d77bd4d1191733ebda7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T21:53:18.506Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-12T21:53:19.231Z] + make test [2023-09-12T21:53:19.231Z] go test ./... -coverprofile=coverage.out ./... [2023-09-12T21:53:23.515Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-12T21:55:30.263Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-12T21:55:30.263Z] ok github.com/edgexfoundry/device-rest-go/driver 0.135s coverage: 33.2% of statements [2023-09-12T21:55:30.263Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-12T21:55:30.263Z] go vet ./... [2023-09-12T21:55:56.983Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T21:55:56.983Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T21:55:56.983Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T21:55:57.025Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T21:55:57.079Z] $ docker stop --time=1 80905e82e3d2312a958a29b1bb61311a8dbd5c81180e3d77bd4d1191733ebda7 [2023-09-12T21:55:59.159Z] $ docker rm -f --volumes 80905e82e3d2312a958a29b1bb61311a8dbd5c81180e3d77bd4d1191733ebda7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T21:56:00.526Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T21:56:00.563Z] Warning: overwriting stash ‘coverage-report’ [2023-09-12T21:56:01.190Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T21:56:01.801Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T21:56:02.150Z] + ls -al . [2023-09-12T21:56:02.150Z] total 184 [2023-09-12T21:56:02.150Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 21:53 . [2023-09-12T21:56:02.150Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:50 .. [2023-09-12T21:56:02.150Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 12 21:50 .dockerignore [2023-09-12T21:56:02.150Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 21:50 .git [2023-09-12T21:56:02.150Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:50 .github [2023-09-12T21:56:02.150Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 12 21:50 .gitignore [2023-09-12T21:56:02.150Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 21:50 .golangci.yml [2023-09-12T21:56:02.150Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 12 21:50 Attribution.txt [2023-09-12T21:56:02.150Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 12 21:50 CHANGELOG.md [2023-09-12T21:56:02.150Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 12 21:50 Dockerfile [2023-09-12T21:56:02.150Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 21:50 GOVERNANCE.md [2023-09-12T21:56:02.150Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 12 21:50 Jenkinsfile [2023-09-12T21:56:02.150Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 21:50 LICENSE [2023-09-12T21:56:02.150Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 12 21:50 Makefile [2023-09-12T21:56:02.150Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 12 21:50 OWNERS.md [2023-09-12T21:56:02.150Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 12 21:50 README.md [2023-09-12T21:56:02.150Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 21:48 VERSION [2023-09-12T21:56:02.150Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:50 bin [2023-09-12T21:56:02.150Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:50 cmd [2023-09-12T21:56:02.150Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 12 21:55 coverage.out [2023-09-12T21:56:02.150Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:50 driver [2023-09-12T21:56:02.150Z] -rw-rw-r-- 1 jenkins jenkins 3889 Sep 12 21:50 go.mod [2023-09-12T21:56:02.150Z] -rw-rw-r-- 1 jenkins jenkins 34092 Sep 12 21:50 go.sum [2023-09-12T21:56:02.150Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:50 snap [2023-09-12T21:56:02.150Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 12 21:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:56:02.556Z] + 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=c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c --label arch=arm64 --label version=0.0.0 . [2023-09-12T21:56:02.556Z] Sending build context to Docker daemon 158.7kB [2023-09-12T21:56:02.825Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T21:56:02.825Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-12T21:56:02.825Z] ---> 61b08b4bb88e [2023-09-12T21:56:02.825Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-12T21:56:03.093Z] ---> Running in 0e86cda3af11 [2023-09-12T21:56:03.360Z] Removing intermediate container 0e86cda3af11 [2023-09-12T21:56:03.360Z] ---> fb42238e9cba [2023-09-12T21:56:03.360Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T21:56:03.360Z] ---> Running in b22d5549a167 [2023-09-12T21:56:03.628Z] Removing intermediate container b22d5549a167 [2023-09-12T21:56:03.628Z] ---> 2edc993ccdce [2023-09-12T21:56:03.628Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T21:56:03.628Z] ---> Running in 4ebf65f4e1fe [2023-09-12T21:56:04.225Z] Removing intermediate container 4ebf65f4e1fe [2023-09-12T21:56:04.225Z] ---> 92a8c735a5e6 [2023-09-12T21:56:04.225Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T21:56:04.225Z] ---> Running in b3c1803e5c24 [2023-09-12T21:56:04.499Z] Removing intermediate container b3c1803e5c24 [2023-09-12T21:56:04.499Z] ---> e4d4c46f203a [2023-09-12T21:56:04.499Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T21:56:04.499Z] ---> Running in b4c59dbc7158 [2023-09-12T21:56:05.911Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T21:56:06.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T21:56:07.598Z] OK: 272 MiB in 60 packages [2023-09-12T21:56:08.567Z] Removing intermediate container b4c59dbc7158 [2023-09-12T21:56:08.567Z] ---> b043afa2eb08 [2023-09-12T21:56:08.567Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-12T21:56:08.567Z] ---> Running in 87705b0d1fa2 [2023-09-12T21:56:08.836Z] Removing intermediate container 87705b0d1fa2 [2023-09-12T21:56:08.836Z] ---> 417a28af77eb [2023-09-12T21:56:08.836Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-12T21:56:09.422Z] ---> e844e12a662a [2023-09-12T21:56:09.422Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T21:56:09.422Z] ---> Running in 8b894d6c8a50 [2023-09-12T21:56:12.010Z] Removing intermediate container 8b894d6c8a50 [2023-09-12T21:56:12.010Z] ---> 44a26c4a980d [2023-09-12T21:56:12.010Z] Step 11/25 : COPY . . [2023-09-12T21:56:12.598Z] ---> 0e5547da3d2d [2023-09-12T21:56:12.598Z] Step 12/25 : RUN $MAKE [2023-09-12T21:56:12.598Z] ---> Running in 6b67dd85a4f8 [2023-09-12T21:56:13.563Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-12T21:58:20.604Z] Removing intermediate container 6b67dd85a4f8 [2023-09-12T21:58:20.604Z] ---> b20b3fe7007f [2023-09-12T21:58:20.604Z] Step 13/25 : FROM alpine:3.18 [2023-09-12T21:58:23.220Z] 3.18: Pulling from library/alpine [2023-09-12T21:58:23.220Z] 9fda8d8052c6: Already exists [2023-09-12T21:58:23.220Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T21:58:23.220Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T21:58:23.220Z] ---> f6648c04cd6c [2023-09-12T21:58:23.220Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T21:58:23.220Z] ---> Running in 2093656cef27 [2023-09-12T21:58:23.490Z] Removing intermediate container 2093656cef27 [2023-09-12T21:58:23.490Z] ---> ae90541b47f4 [2023-09-12T21:58:23.490Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-12T21:58:23.490Z] ---> Running in 8edfee4a0c77 [2023-09-12T21:58:23.763Z] Removing intermediate container 8edfee4a0c77 [2023-09-12T21:58:23.763Z] ---> 158e63324e39 [2023-09-12T21:58:23.763Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-12T21:58:24.035Z] ---> Running in e5151fd2a188 [2023-09-12T21:58:24.992Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T21:58:25.261Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T21:58:26.672Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-12T21:58:26.673Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T21:58:26.673Z] OK: 8 MiB in 16 packages [2023-09-12T21:58:27.628Z] Removing intermediate container e5151fd2a188 [2023-09-12T21:58:27.628Z] ---> b103d7bef0b5 [2023-09-12T21:58:27.628Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-12T21:58:29.036Z] ---> 52e67624bc9a [2023-09-12T21:58:29.036Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-12T21:58:29.305Z] ---> a311e01adb23 [2023-09-12T21:58:29.305Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-12T21:58:29.891Z] ---> c7a2249eb8c9 [2023-09-12T21:58:29.891Z] Step 20/25 : EXPOSE 59986 [2023-09-12T21:58:29.891Z] ---> Running in 66820d0d9a16 [2023-09-12T21:58:30.165Z] Removing intermediate container 66820d0d9a16 [2023-09-12T21:58:30.165Z] ---> f7d51c843c65 [2023-09-12T21:58:30.165Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-12T21:58:30.435Z] ---> Running in 8da986edf6ed [2023-09-12T21:58:30.704Z] Removing intermediate container 8da986edf6ed [2023-09-12T21:58:30.704Z] ---> 8cf6e6a54ce0 [2023-09-12T21:58:30.704Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-12T21:58:30.704Z] ---> Running in 55eda2cc5c4f [2023-09-12T21:58:30.974Z] Removing intermediate container 55eda2cc5c4f [2023-09-12T21:58:30.974Z] ---> 9d991b25affd [2023-09-12T21:58:30.974Z] Step 23/25 : LABEL arch=arm64 [2023-09-12T21:58:30.974Z] ---> Running in b8342ea6e750 [2023-09-12T21:58:31.560Z] Removing intermediate container b8342ea6e750 [2023-09-12T21:58:31.560Z] ---> 3b89e9af9a00 [2023-09-12T21:58:31.560Z] Step 24/25 : LABEL git_sha=c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c [2023-09-12T21:58:31.560Z] ---> Running in 69a181bd2e19 [2023-09-12T21:58:31.830Z] Removing intermediate container 69a181bd2e19 [2023-09-12T21:58:31.830Z] ---> e0f349d58af1 [2023-09-12T21:58:31.830Z] Step 25/25 : LABEL version=0.0.0 [2023-09-12T21:58:31.830Z] ---> Running in 494bc109fb2c [2023-09-12T21:58:32.097Z] Removing intermediate container 494bc109fb2c [2023-09-12T21:58:32.097Z] ---> 02995d62733e [2023-09-12T21:58:32.097Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T21:58:32.097Z] Successfully built 02995d62733e [2023-09-12T21:58:32.097Z] 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 [2023-09-12T21:58:32.925Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T21:58:32.925Z] [2023-09-12T21:58:32.925Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:58:33.339Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T21:58:33.339Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-12T21:58:33.339Z] 8998bd30e6a1: Pulling fs layer [2023-09-12T21:58:33.339Z] 04944245beec: Pulling fs layer [2023-09-12T21:58:33.339Z] 699f458cf7ca: Pulling fs layer [2023-09-12T21:58:33.339Z] 765212b225bb: Pulling fs layer [2023-09-12T21:58:33.339Z] f23df028b6ca: Pulling fs layer [2023-09-12T21:58:33.339Z] d65c8cfc05b1: Pulling fs layer [2023-09-12T21:58:33.339Z] 2437ff75d9bd: Pulling fs layer [2023-09-12T21:58:33.339Z] f23df028b6ca: Waiting [2023-09-12T21:58:33.339Z] d65c8cfc05b1: Waiting [2023-09-12T21:58:33.339Z] 2437ff75d9bd: Waiting [2023-09-12T21:58:33.339Z] 765212b225bb: Waiting [2023-09-12T21:58:33.610Z] 04944245beec: Verifying Checksum [2023-09-12T21:58:33.610Z] 04944245beec: Download complete [2023-09-12T21:58:33.610Z] 765212b225bb: Verifying Checksum [2023-09-12T21:58:33.610Z] 765212b225bb: Download complete [2023-09-12T21:58:33.610Z] f23df028b6ca: Verifying Checksum [2023-09-12T21:58:33.610Z] f23df028b6ca: Download complete [2023-09-12T21:58:33.610Z] d65c8cfc05b1: Verifying Checksum [2023-09-12T21:58:33.610Z] d65c8cfc05b1: Download complete [2023-09-12T21:58:33.881Z] 699f458cf7ca: Verifying Checksum [2023-09-12T21:58:33.881Z] 699f458cf7ca: Download complete [2023-09-12T21:58:34.150Z] 8998bd30e6a1: Download complete [2023-09-12T21:58:36.736Z] 2437ff75d9bd: Verifying Checksum [2023-09-12T21:58:36.736Z] 2437ff75d9bd: Download complete [2023-09-12T21:58:38.148Z] 8998bd30e6a1: Pull complete [2023-09-12T21:58:38.738Z] 04944245beec: Pull complete [2023-09-12T21:58:40.157Z] 699f458cf7ca: Pull complete [2023-09-12T21:58:40.157Z] 765212b225bb: Pull complete [2023-09-12T21:58:41.122Z] f23df028b6ca: Pull complete [2023-09-12T21:58:41.122Z] d65c8cfc05b1: Pull complete [2023-09-12T21:58:56.146Z] 2437ff75d9bd: Pull complete [2023-09-12T21:58:56.147Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-12T21:58:56.147Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T21:58:56.147Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:58:56.469Z] prd-ubuntu20.04-docker-arm64-4c-16g-6013 does not seem to be running inside a container [2023-09-12T21:58:56.550Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-12T21:58:59.318Z] $ docker top 4878f5486333fcf6a57138f164cd64f8e3d70e71303f40e0d7821e6b40b1a6eb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:59:00.233Z] ---> job-cost.sh [2023-09-12T21:59:00.233Z] lf-activate-venv: SKIPPING [2023-09-12T21:59:00.233Z] INFO: No Stack... [2023-09-12T21:59:00.817Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-12T21:59:01.404Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T21:59:02.069Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-09-12T21:59:02.069Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T21:59:02.154Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-340-1-stack-cost] [2023-09-12T21:59:02.160Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-340-1-stack-cost] did not exist. Created. [2023-09-12T21:59:02.160Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-340-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T21:59:02.907Z] /w/workspace/device-rest-go/1@tmp/durable-c3b5aced/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-12T21:59:03.583Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-12T21:59:03.630Z] Warning: overwriting stash ‘stack-cost’ [2023-09-12T21:59:03.689Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T21:59:03.704Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-340-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T21:59:03.802Z] $ docker stop --time=1 4878f5486333fcf6a57138f164cd64f8e3d70e71303f40e0d7821e6b40b1a6eb [2023-09-12T21:59:05.366Z] $ docker rm -f --volumes 4878f5486333fcf6a57138f164cd64f8e3d70e71303f40e0d7821e6b40b1a6eb [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 [2023-09-12T21:59:06.341Z] provisioning config files... [2023-09-12T21:59:06.349Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-340@tmp/config12402851047542696049tmp [Pipeline] { [Pipeline] sh [2023-09-12T21:59:06.682Z] + set +x [2023-09-12T21:59:06.682Z] + curl -s https://codecov.io/bash [2023-09-12T21:59:06.682Z] + bash -s -- [2023-09-12T21:59:06.682Z] [2023-09-12T21:59:06.682Z] _____ _ [2023-09-12T21:59:06.682Z] / ____| | | [2023-09-12T21:59:06.682Z] | | ___ __| | ___ ___ _____ __ [2023-09-12T21:59:06.682Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-12T21:59:06.682Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-12T21:59:06.682Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-12T21:59:06.682Z] Bash-1.0.6 [2023-09-12T21:59:06.682Z] [2023-09-12T21:59:06.682Z] [2023-09-12T21:59:06.682Z] ==> git version 2.25.1 found [2023-09-12T21:59:06.682Z] ==> 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 [2023-09-12T21:59:06.682Z] Release-Date: 2020-01-08 [2023-09-12T21:59:06.682Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-12T21:59:06.682Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-12T21:59:06.682Z] ==> Jenkins CI detected. [2023-09-12T21:59:06.682Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-340 [2023-09-12T21:59:06.682Z] project root: . [2023-09-12T21:59:06.682Z] --> token set from env [2023-09-12T21:59:06.682Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-12T21:59:06.682Z] ==> Running gcov in . (disable via -X gcov) [2023-09-12T21:59:06.682Z] ==> Python coveragepy not found [2023-09-12T21:59:06.682Z] ==> Searching for coverage reports in: [2023-09-12T21:59:06.682Z] + . [2023-09-12T21:59:06.682Z] -> Found 1 reports [2023-09-12T21:59:06.682Z] ==> Detecting git/mercurial file structure [2023-09-12T21:59:06.682Z] ==> Reading reports [2023-09-12T21:59:06.682Z] + ./coverage.out bytes=14499 [2023-09-12T21:59:06.682Z] ==> Appending adjustments [2023-09-12T21:59:06.682Z] https://docs.codecov.io/docs/fixing-reports [2023-09-12T21:59:06.941Z] + Found adjustments [2023-09-12T21:59:06.941Z] ==> Gzipping contents [2023-09-12T21:59:06.941Z] 4.0K /tmp/codecov.6iRQNn.gz [2023-09-12T21:59:06.941Z] ==> Uploading reports [2023-09-12T21:59:06.941Z] url: https://codecov.io [2023-09-12T21:59:06.941Z] query: branch=PR-340&commit=c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-340%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=340&job=&cmd_args= [2023-09-12T21:59:06.941Z] -> Pinging Codecov [2023-09-12T21:59:06.941Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-340&commit=c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-340%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=340&job=&cmd_args= [2023-09-12T21:59:06.941Z] -> Uploading to [2023-09-12T21:59:06.941Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-12/4E5D53B4F1F92C436F7061BF334D961C/c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c/9400f28f-0f7d-4419-ab76-0ab785647b7b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T215906Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d82eb700258bfd4e608f8acf28cb22fee990b4c251690973b71e99d2266dba21 [2023-09-12T21:59:06.941Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T21:59:06.941Z] Dload Upload Total Spent Left Speed [2023-09-12T21:59:07.202Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 12654 --:--:-- --:--:-- --:--:-- 12654 [2023-09-12T21:59:07.202Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/c656c96d5fb4fab0c3e9f2ec4d7040b27cbd8f4c [Pipeline] } [2023-09-12T21:59:07.232Z] 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 [2023-09-12T21:59:09.029Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-340/archives ] [2023-09-12T21:59:09.029Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-340/archives [2023-09-12T21:59:09.029Z] total 16 [2023-09-12T21:59:09.029Z] drwxr-xr-x 3 root root 4096 Sep 12 21:50 . [2023-09-12T21:59:09.029Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 21:50 .. [2023-09-12T21:59:09.029Z] drwxr-xr-x 2 root root 4096 Sep 12 21:50 cost [2023-09-12T21:59:09.029Z] -rw-r--r-- 1 root root 86 Sep 12 21:50 cost.csv [2023-09-12T21:59:09.029Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-340/archives [2023-09-12T21:59:09.029Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-340/archives [2023-09-12T21:59:09.029Z] total 16 [2023-09-12T21:59:09.029Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 21:50 . [2023-09-12T21:59:09.029Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 21:50 .. [2023-09-12T21:59:09.029Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 21:50 cost [2023-09-12T21:59:09.029Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 12 21:50 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:59:09.352Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:59:10.245Z] ---> package-listing.sh [2023-09-12T21:59:10.245Z] ++ facter osfamily [2023-09-12T21:59:10.245Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-12T21:59:10.506Z] + OS_FAMILY=debian [2023-09-12T21:59:10.506Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-340 [2023-09-12T21:59:10.506Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-12T21:59:10.506Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-12T21:59:10.506Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-12T21:59:10.506Z] + PACKAGES=/tmp/packages_start.txt [2023-09-12T21:59:10.506Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-340 ']' [2023-09-12T21:59:10.506Z] + PACKAGES=/tmp/packages_end.txt [2023-09-12T21:59:10.506Z] + case "${OS_FAMILY}" in [2023-09-12T21:59:10.506Z] + dpkg -l [2023-09-12T21:59:10.506Z] + grep '^ii' [2023-09-12T21:59:10.506Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-12T21:59:10.506Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-12T21:59:10.506Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-12T21:59:10.506Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-340 ']' [2023-09-12T21:59:10.506Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-340/archives/ [2023-09-12T21:59:10.506Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-340/archives/ [Pipeline] echo [2023-09-12T21:59:10.536Z] 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-340/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-12T21:59:10.829Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:59:11.449Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T21:59:11.449Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:59:11.593Z] prd-ubuntu20.04-docker-8c-8g-6007 does not seem to be running inside a container [2023-09-12T21:59:11.616Z] $ 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-340/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-340 -v /w/workspace/gexfoundry_device-rest-go_PR-340:/w/workspace/gexfoundry_device-rest-go_PR-340:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-340@tmp:/w/workspace/gexfoundry_device-rest-go_PR-340@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-12T21:59:11.800Z] $ docker top 6adda4f08182d43ad63ad10b81b236ce6c868cbc00b99821137e707ae4d0d954 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T21:59:12.183Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-12T21:59:12.492Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-12T21:59:12.799Z] + ls /var/log/sa-host [2023-09-12T21:59:12.799Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T21:59:12.930Z] provisioning config files... [2023-09-12T21:59:12.939Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-340@tmp/config444000393499109892tmp [Pipeline] { [Pipeline] echo [2023-09-12T21:59:13.061Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:59:13.373Z] ---> create-netrc.sh [Pipeline] } [2023-09-12T21:59:13.408Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:59:13.802Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-12T21:59:13.834Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:59:14.146Z] ---> sudo-logs.sh [2023-09-12T21:59:14.146Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-12T21:59:14.230Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:59:14.545Z] ---> job-cost.sh [2023-09-12T21:59:14.545Z] lf-activate-venv: SKIPPING [2023-09-12T21:59:14.545Z] DEBUG: total: 0.2199999988079071 [2023-09-12T21:59:14.545Z] INFO: Retrieving Stack Cost... [2023-09-12T21:59:15.125Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T21:59:15.384Z] INFO: Archiving Costs [Pipeline] echo [2023-09-12T21:59:15.417Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:59:15.725Z] ---> logs-deploy.sh [2023-09-12T21:59:15.725Z] lf-activate-venv: SKIPPING [2023-09-12T21:59:15.725Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-340/1 [2023-09-12T21:59:15.725Z] INFO: archiving workspace using pattern(s): [2023-09-12T21:59:16.664Z] Archives upload complete. [2023-09-12T21:59:16.664Z] INFO: archiving logs to Nexus