Pull request #1391 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 4a7b1eec00eb893451c7c72b5ce81c7f4041337f rather than 87dd5f7b833115ef2a3f786f10b7cb589abffcc9 Obtained Jenkinsfile from 4a7b1eec00eb893451c7c72b5ce81c7f4041337f 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-ssh16972258498497815857.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh14750280519089658904.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1391/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1391/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13891619088632633795.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9196450488943775673.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1391/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1391/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9053311313942020733.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 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-2578 in /w/workspace/gexfoundry_device-sdk-go_PR-1391 [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-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1391 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4a7b1eec00eb893451c7c72b5ce81c7f4041337f into PR head commit 87dd5f7b833115ef2a3f786f10b7cb589abffcc9 Merge succeeded, producing b8b3f7ece7c5732ff14d4d7aa65c61b1638470dd Checking out Revision b8b3f7ece7c5732ff14d4d7aa65c61b1638470dd (PR-1391) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1391/head:refs/remotes/origin/PR-1391 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 87dd5f7b833115ef2a3f786f10b7cb589abffcc9 # 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 4a7b1eec00eb893451c7c72b5ce81c7f4041337f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b8b3f7ece7c5732ff14d4d7aa65c61b1638470dd # timeout=10 Commit message: "Merge commit '4a7b1eec00eb893451c7c72b5ce81c7f4041337f' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-17T01:19:26.522Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-17T01:19:26.577Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-17T01:19:26.593Z] ========================================================= [2023-03-17T01:19:26.593Z] EdgeX Global Pipelines Version Info [2023-03-17T01:19:26.593Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 76e331eed2635426caf6d81e692c7af7ca22c81f # timeout=10 [2023-03-17T01:19:27.308Z] ------------------- [2023-03-17T01:19:27.308Z] stable info: [2023-03-17T01:19:27.308Z] ------------------- [2023-03-17T01:19:27.308Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-17T01:19:27.308Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-17T01:19:27.308Z] Message: update stable to v1.0.245 [2023-03-17T01:19:27.878Z] ------------------- [2023-03-17T01:19:27.878Z] experimental info: [2023-03-17T01:19:27.878Z] ------------------- [2023-03-17T01:19:27.878Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-17T01:19:27.878Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-17T01:19:27.878Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-17T01:19:28.057Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-17T01:19:28.065Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-17T01:19:28.073Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-17T01:19:28.081Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-17T01:19:28.089Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-17T01:19:28.096Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-17T01:19:28.105Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-17T01:19:28.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-17T01:19:28.130Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-17T01:19:28.144Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-17T01:19:28.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-17T01:19:28.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-17T01:19:28.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-17T01:19:28.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-17T01:19:28.219Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-17T01:19:28.230Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T01:19:28.241Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T01:19:28.252Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T01:19:28.265Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-17T01:19:28.276Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-17T01:19:28.287Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-17T01:19:28.305Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-17T01:19:28.321Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-17T01:19:28.337Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-17T01:19:28.353Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-17T01:19:28.368Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-17T01:19:28.385Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-17T01:19:28.403Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1391 [Pipeline] echo [2023-03-17T01:19:28.415Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1391 [Pipeline] echo [2023-03-17T01:19:28.426Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1391 [Pipeline] echo [2023-03-17T01:19:28.440Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b8b3f7ece7c5732ff14d4d7aa65c61b1638470dd [Pipeline] echo [2023-03-17T01:19:28.455Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b8b3f7e [Pipeline] echo [2023-03-17T01:19:28.473Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T01:19:28.515Z] provisioning config files... [2023-03-17T01:19:28.531Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/config2932878347068682635tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T01:19:28.835Z] ---> docker-login.sh [2023-03-17T01:19:28.835Z] nexus3.edgexfoundry.org:10001 [2023-03-17T01:19:29.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T01:19:29.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T01:19:29.354Z] Configure a credential helper to remove this warning. See [2023-03-17T01:19:29.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T01:19:29.354Z] [2023-03-17T01:19:29.354Z] Login Succeeded [2023-03-17T01:19:29.354Z] nexus3.edgexfoundry.org:10002 [2023-03-17T01:19:29.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T01:19:29.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T01:19:29.354Z] Configure a credential helper to remove this warning. See [2023-03-17T01:19:29.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T01:19:29.354Z] [2023-03-17T01:19:29.354Z] Login Succeeded [2023-03-17T01:19:29.354Z] nexus3.edgexfoundry.org:10003 [2023-03-17T01:19:29.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T01:19:29.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T01:19:29.354Z] Configure a credential helper to remove this warning. See [2023-03-17T01:19:29.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T01:19:29.354Z] [2023-03-17T01:19:29.354Z] Login Succeeded [2023-03-17T01:19:29.614Z] nexus3.edgexfoundry.org:10004 [2023-03-17T01:19:29.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T01:19:29.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T01:19:29.614Z] Configure a credential helper to remove this warning. See [2023-03-17T01:19:29.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T01:19:29.614Z] [2023-03-17T01:19:29.614Z] Login Succeeded [2023-03-17T01:19:29.614Z] docker.io [2023-03-17T01:19:29.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T01:19:29.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T01:19:29.874Z] Configure a credential helper to remove this warning. See [2023-03-17T01:19:29.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T01:19:29.874Z] [2023-03-17T01:19:29.874Z] Login Succeeded [2023-03-17T01:19:29.874Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T01:19:29.881Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-17T01:19:30.264Z] + git rev-list -1 --merges b8b3f7ece7c5732ff14d4d7aa65c61b1638470dd~1..b8b3f7ece7c5732ff14d4d7aa65c61b1638470dd [Pipeline] echo [2023-03-17T01:19:30.308Z] -----------> git rev-list -1 --merges b8b3f7ece7c5732ff14d4d7aa65c61b1638470dd~1..b8b3f7ece7c5732ff14d4d7aa65c61b1638470dd b8b3f7ece7c5732ff14d4d7aa65c61b1638470dd [2023-03-17T01:19:30.308Z] b8b3f7ece7c5732ff14d4d7aa65c61b1638470dd [false] [Pipeline] sh [2023-03-17T01:19:30.594Z] + git log --format=format:%s -1 b8b3f7ece7c5732ff14d4d7aa65c61b1638470dd [Pipeline] echo [2023-03-17T01:19:30.608Z] ========================================================= [2023-03-17T01:19:30.608Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-17T01:19:30.608Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T01:19:30.926Z] + git log --format=format:%s -1 b8b3f7ece7c5732ff14d4d7aa65c61b1638470dd [Pipeline] echo [2023-03-17T01:19:30.938Z] [semverPrep] GIT_COMMIT: b8b3f7ece7c5732ff14d4d7aa65c61b1638470dd, Commit Message: Merge commit '4a7b1eec00eb893451c7c72b5ce81c7f4041337f' into HEAD [Pipeline] echo [2023-03-17T01:19:30.945Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-17T01:19:31.311Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-17T01:19:31.311Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-17T01:19:31.311Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-17T01:19:31.311Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-17T01:19:31.311Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2023-03-17T01:19:31.311Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-17T01:19:31.311Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T01:19:31.714Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T01:19:31.714Z] [2023-03-17T01:19:31.714Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T01:19:32.014Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T01:19:32.014Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-17T01:19:32.014Z] b85a868b505f: Pulling fs layer [2023-03-17T01:19:32.014Z] e2be974225ed: Pulling fs layer [2023-03-17T01:19:32.014Z] 339a4e72a1f5: Pulling fs layer [2023-03-17T01:19:32.014Z] 988bab9f4d93: Pulling fs layer [2023-03-17T01:19:32.014Z] 1469e6f7b9e6: Pulling fs layer [2023-03-17T01:19:32.014Z] eaf3925da568: Pulling fs layer [2023-03-17T01:19:32.014Z] bab4dde63d76: Pulling fs layer [2023-03-17T01:19:32.014Z] bde34c3a00c8: Pulling fs layer [2023-03-17T01:19:32.014Z] b352a97aabf1: Pulling fs layer [2023-03-17T01:19:32.014Z] 4872d77fe225: Pulling fs layer [2023-03-17T01:19:32.014Z] 5851b861e8e6: Pulling fs layer [2023-03-17T01:19:32.014Z] bab4dde63d76: Waiting [2023-03-17T01:19:32.014Z] bde34c3a00c8: Waiting [2023-03-17T01:19:32.014Z] b352a97aabf1: Waiting [2023-03-17T01:19:32.014Z] 4872d77fe225: Waiting [2023-03-17T01:19:32.014Z] 5851b861e8e6: Waiting [2023-03-17T01:19:32.014Z] 988bab9f4d93: Waiting [2023-03-17T01:19:32.014Z] 1469e6f7b9e6: Waiting [2023-03-17T01:19:32.014Z] eaf3925da568: Waiting [2023-03-17T01:19:32.014Z] e2be974225ed: Download complete [2023-03-17T01:19:32.014Z] 988bab9f4d93: Verifying Checksum [2023-03-17T01:19:32.014Z] 988bab9f4d93: Download complete [2023-03-17T01:19:32.276Z] 1469e6f7b9e6: Verifying Checksum [2023-03-17T01:19:32.276Z] 1469e6f7b9e6: Download complete [2023-03-17T01:19:32.276Z] eaf3925da568: Verifying Checksum [2023-03-17T01:19:32.276Z] eaf3925da568: Download complete [2023-03-17T01:19:32.276Z] 339a4e72a1f5: Verifying Checksum [2023-03-17T01:19:32.276Z] 339a4e72a1f5: Download complete [2023-03-17T01:19:32.276Z] bde34c3a00c8: Verifying Checksum [2023-03-17T01:19:32.276Z] bde34c3a00c8: Download complete [2023-03-17T01:19:32.276Z] b352a97aabf1: Download complete [2023-03-17T01:19:32.276Z] 4872d77fe225: Verifying Checksum [2023-03-17T01:19:32.276Z] 4872d77fe225: Download complete [2023-03-17T01:19:32.535Z] 5851b861e8e6: Verifying Checksum [2023-03-17T01:19:32.535Z] 5851b861e8e6: Download complete [2023-03-17T01:19:32.535Z] b85a868b505f: Download complete [2023-03-17T01:19:32.795Z] bab4dde63d76: Verifying Checksum [2023-03-17T01:19:32.795Z] bab4dde63d76: Download complete [2023-03-17T01:19:33.784Z] b85a868b505f: Pull complete [2023-03-17T01:19:33.784Z] e2be974225ed: Pull complete [2023-03-17T01:19:34.349Z] 339a4e72a1f5: Pull complete [2023-03-17T01:19:34.349Z] 988bab9f4d93: Pull complete [2023-03-17T01:19:34.609Z] 1469e6f7b9e6: Pull complete [2023-03-17T01:19:34.609Z] eaf3925da568: Pull complete [2023-03-17T01:19:36.529Z] bab4dde63d76: Pull complete [2023-03-17T01:19:36.529Z] bde34c3a00c8: Pull complete [2023-03-17T01:19:36.789Z] b352a97aabf1: Pull complete [2023-03-17T01:19:36.789Z] 4872d77fe225: Pull complete [2023-03-17T01:19:36.789Z] 5851b861e8e6: Pull complete [2023-03-17T01:19:36.789Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-17T01:19:36.789Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T01:19:36.789Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T01:19:36.913Z] prd-ubuntu20.04-docker-8c-8g-2578 does not seem to be running inside a container [2023-03-17T01:19:36.943Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@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-devops/py-git-semver:0.1.4 cat [2023-03-17T01:19:39.437Z] $ docker top 4d0e9572336e5976f7e23ba62d4e7ba50ae69474807157c1e055de98c204b964 -eo pid,comm [2023-03-17T01:19:39.492Z] 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-03-17T01:19:39.492Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-17T01:19:39.528Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T01:19:39.528Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T01:19:39.638Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T01:19:39.640Z] $ docker exec 4d0e9572336e5976f7e23ba62d4e7ba50ae69474807157c1e055de98c204b964 ssh-agent [2023-03-17T01:19:39.754Z] SSH_AUTH_SOCK=/tmp/ssh-SboQC0NQIHoF/agent.33 [2023-03-17T01:19:39.754Z] SSH_AGENT_PID=39 [2023-03-17T01:19:39.759Z] Running ssh-add (command line suppressed) [2023-03-17T01:19:39.856Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/private_key_9752937274990016191.key (/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/private_key_9752937274990016191.key) [2023-03-17T01:19:39.872Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T01:19:40.158Z] + git tag --points-at HEAD [Pipeline] } [2023-03-17T01:19:40.174Z] $ docker exec --env ******** --env ******** 4d0e9572336e5976f7e23ba62d4e7ba50ae69474807157c1e055de98c204b964 ssh-agent -k [2023-03-17T01:19:40.270Z] unset SSH_AUTH_SOCK; [2023-03-17T01:19:40.270Z] unset SSH_AGENT_PID; [2023-03-17T01:19:40.271Z] echo Agent pid 39 killed; [2023-03-17T01:19:40.281Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-17T01:19:40.305Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T01:19:40.305Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T01:19:40.413Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T01:19:40.414Z] $ docker exec 4d0e9572336e5976f7e23ba62d4e7ba50ae69474807157c1e055de98c204b964 ssh-agent [2023-03-17T01:19:40.527Z] SSH_AUTH_SOCK=/tmp/ssh-jfGGfP81RHvb/agent.71 [2023-03-17T01:19:40.527Z] SSH_AGENT_PID=77 [2023-03-17T01:19:40.531Z] Running ssh-add (command line suppressed) [2023-03-17T01:19:40.632Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/private_key_17192034436005137516.key (/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/private_key_17192034436005137516.key) [2023-03-17T01:19:40.647Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T01:19:40.933Z] + git semver init [2023-03-17T01:19:41.193Z] 2023-03-17 01:19:41,104 [run_init] DEBUG init version:0.0.0 force:False [2023-03-17T01:19:41.193Z] 2023-03-17 01:19:41,105 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver [2023-03-17T01:19:41.193Z] 2023-03-17 01:19:41,106 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver [2023-03-17T01:19:41.193Z] 2023-03-17 01:19:41,106 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1391, universal_newlines=False, shell=None, istream=None) [2023-03-17T01:19:42.128Z] 2023-03-17 01:19:42,007 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391/.git/info/exclude [2023-03-17T01:19:42.128Z] 2023-03-17 01:19:42,007 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver/PR-1391 with force:False [2023-03-17T01:19:42.128Z] 2023-03-17 01:19:42,007 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver/PR-1391 [2023-03-17T01:19:42.128Z] 2023-03-17 01:19:42,010 [execute] INFO git cat-file --batch-check [2023-03-17T01:19:42.128Z] 2023-03-17 01:19:42,010 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver, universal_newlines=False, shell=None, istream=) [2023-03-17T01:19:42.128Z] 2023-03-17 01:19:42,017 [execute] INFO git cat-file --batch [2023-03-17T01:19:42.128Z] 2023-03-17 01:19:42,017 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver, universal_newlines=False, shell=None, istream=) [2023-03-17T01:19:42.128Z] 2023-03-17 01:19:42,020 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver/PR-1391 [2023-03-17T01:19:42.128Z] 0.0.0 [Pipeline] } [2023-03-17T01:19:42.136Z] $ docker exec --env ******** --env ******** 4d0e9572336e5976f7e23ba62d4e7ba50ae69474807157c1e055de98c204b964 ssh-agent -k [2023-03-17T01:19:42.219Z] unset SSH_AUTH_SOCK; [2023-03-17T01:19:42.219Z] unset SSH_AGENT_PID; [2023-03-17T01:19:42.220Z] echo Agent pid 77 killed; [2023-03-17T01:19:42.230Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-17T01:19:42.546Z] + git semver [Pipeline] } [2023-03-17T01:19:42.815Z] $ docker stop --time=1 4d0e9572336e5976f7e23ba62d4e7ba50ae69474807157c1e055de98c204b964 [2023-03-17T01:19:44.103Z] $ docker rm -f --volumes 4d0e9572336e5976f7e23ba62d4e7ba50ae69474807157c1e055de98c204b964 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T01:19:44.438Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-17T01:19:44.632Z] Stashed 1 file(s) [Pipeline] echo [2023-03-17T01:19:44.634Z] [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-03-17T01:19:44.743Z] provisioning config files... [2023-03-17T01:19:44.752Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/config7618626633413648872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T01:19:45.042Z] ---> docker-login.sh [2023-03-17T01:19:45.042Z] nexus3.edgexfoundry.org:10001 [2023-03-17T01:19:45.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T01:19:45.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T01:19:45.042Z] Configure a credential helper to remove this warning. See [2023-03-17T01:19:45.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T01:19:45.042Z] [2023-03-17T01:19:45.042Z] Login Succeeded [2023-03-17T01:19:45.042Z] nexus3.edgexfoundry.org:10002 [2023-03-17T01:19:45.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T01:19:45.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T01:19:45.042Z] Configure a credential helper to remove this warning. See [2023-03-17T01:19:45.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T01:19:45.042Z] [2023-03-17T01:19:45.042Z] Login Succeeded [2023-03-17T01:19:45.042Z] nexus3.edgexfoundry.org:10003 [2023-03-17T01:19:45.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T01:19:45.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T01:19:45.301Z] Configure a credential helper to remove this warning. See [2023-03-17T01:19:45.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T01:19:45.301Z] [2023-03-17T01:19:45.301Z] Login Succeeded [2023-03-17T01:19:45.301Z] nexus3.edgexfoundry.org:10004 [2023-03-17T01:19:45.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T01:19:45.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T01:19:45.301Z] Configure a credential helper to remove this warning. See [2023-03-17T01:19:45.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T01:19:45.301Z] [2023-03-17T01:19:45.301Z] Login Succeeded [2023-03-17T01:19:45.301Z] docker.io [2023-03-17T01:19:45.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T01:19:45.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T01:19:45.561Z] Configure a credential helper to remove this warning. See [2023-03-17T01:19:45.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T01:19:45.561Z] [2023-03-17T01:19:45.561Z] Login Succeeded [2023-03-17T01:19:45.561Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T01:19:45.568Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T01:19:45.624Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T01:19:45.636Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T01:19:45.642Z] ========================================================= [2023-03-17T01:19:45.642Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-17T01:19:45.642Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T01:19:45.955Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-17T01:19:45.956Z] Sending build context to Docker daemon 10.88MB [2023-03-17T01:19:45.956Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T01:19:45.956Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-17T01:19:45.956Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-17T01:19:45.956Z] 63b65145d645: Pulling fs layer [2023-03-17T01:19:45.956Z] a2d21d5440eb: Pulling fs layer [2023-03-17T01:19:45.956Z] 935e6c44a52c: Pulling fs layer [2023-03-17T01:19:45.956Z] 94cc34f8dd06: Pulling fs layer [2023-03-17T01:19:45.956Z] 30dea6a524f1: Pulling fs layer [2023-03-17T01:19:45.956Z] a2aff8979fd8: Pulling fs layer [2023-03-17T01:19:45.956Z] 6808be2612f2: Pulling fs layer [2023-03-17T01:19:45.956Z] f25807f1079a: Pulling fs layer [2023-03-17T01:19:45.956Z] 94cc34f8dd06: Waiting [2023-03-17T01:19:45.956Z] 30dea6a524f1: Waiting [2023-03-17T01:19:45.956Z] 6808be2612f2: Waiting [2023-03-17T01:19:45.956Z] f25807f1079a: Waiting [2023-03-17T01:19:46.218Z] a2d21d5440eb: Verifying Checksum [2023-03-17T01:19:46.218Z] 94cc34f8dd06: Download complete [2023-03-17T01:19:46.218Z] 30dea6a524f1: Download complete [2023-03-17T01:19:46.218Z] 63b65145d645: Verifying Checksum [2023-03-17T01:19:46.218Z] 63b65145d645: Download complete [2023-03-17T01:19:46.218Z] a2aff8979fd8: Verifying Checksum [2023-03-17T01:19:46.218Z] a2aff8979fd8: Download complete [2023-03-17T01:19:46.218Z] 63b65145d645: Pull complete [2023-03-17T01:19:46.490Z] a2d21d5440eb: Pull complete [2023-03-17T01:19:47.079Z] 935e6c44a52c: Download complete [2023-03-17T01:19:47.079Z] f25807f1079a: Verifying Checksum [2023-03-17T01:19:47.079Z] f25807f1079a: Download complete [2023-03-17T01:19:47.337Z] 6808be2612f2: Verifying Checksum [2023-03-17T01:19:47.337Z] 6808be2612f2: Download complete [2023-03-17T01:19:50.620Z] 935e6c44a52c: Pull complete [2023-03-17T01:19:50.620Z] 94cc34f8dd06: Pull complete [2023-03-17T01:19:50.620Z] 30dea6a524f1: Pull complete [2023-03-17T01:19:50.620Z] a2aff8979fd8: Pull complete [2023-03-17T01:19:52.533Z] 6808be2612f2: Pull complete [2023-03-17T01:19:53.468Z] f25807f1079a: Pull complete [2023-03-17T01:19:53.468Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-17T01:19:53.468Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-17T01:19:53.468Z] ---> 3b553350e43f [2023-03-17T01:19:53.468Z] Step 3/10 : ARG MAKE=make build [2023-03-17T01:19:56.773Z] ---> Running in 6f0b1d47395e [2023-03-17T01:19:56.773Z] Removing intermediate container 6f0b1d47395e [2023-03-17T01:19:56.773Z] ---> 081050326f2d [2023-03-17T01:19:56.773Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-17T01:19:56.773Z] ---> Running in 051dd2e3756f [2023-03-17T01:19:57.031Z] Removing intermediate container 051dd2e3756f [2023-03-17T01:19:57.031Z] ---> 5cacae8602dd [2023-03-17T01:19:57.031Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-17T01:19:57.031Z] ---> Running in 1d87e13b6cad [2023-03-17T01:19:57.031Z] Removing intermediate container 1d87e13b6cad [2023-03-17T01:19:57.031Z] ---> 0cda429b0f9a [2023-03-17T01:19:57.031Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-17T01:19:57.031Z] ---> Running in 341e6f57acf8 [2023-03-17T01:19:57.291Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T01:19:57.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T01:19:57.811Z] OK: 265 MiB in 53 packages [2023-03-17T01:19:58.381Z] Removing intermediate container 341e6f57acf8 [2023-03-17T01:19:58.381Z] ---> 0f9d74217aed [2023-03-17T01:19:58.381Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-17T01:19:58.381Z] ---> da092ab4af44 [2023-03-17T01:19:58.381Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T01:19:58.381Z] ---> Running in 8962527f790d [2023-03-17T01:19:59.709Z] Still waiting to schedule task [2023-03-17T01:19:59.709Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-17T01:20:25.129Z] Removing intermediate container 8962527f790d [2023-03-17T01:20:25.129Z] ---> 1806fb5db80b [2023-03-17T01:20:25.129Z] Step 9/10 : COPY . . [2023-03-17T01:20:25.129Z] ---> 6b52d5085d86 [2023-03-17T01:20:25.129Z] Step 10/10 : RUN ${MAKE} [2023-03-17T01:20:25.129Z] ---> Running in 65d34ad7bdfe [2023-03-17T01:20:25.387Z] noop [2023-03-17T01:20:25.649Z] Removing intermediate container 65d34ad7bdfe [2023-03-17T01:20:25.649Z] ---> e7a05f98073d [2023-03-17T01:20:25.649Z] Successfully built e7a05f98073d [2023-03-17T01:20:25.909Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T01:20:26.214Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T01:20:26.215Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T01:20:26.288Z] prd-ubuntu20.04-docker-8c-8g-2578 does not seem to be running inside a container [2023-03-17T01:20:26.318Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-17T01:20:26.644Z] $ docker top 04b08e77a4f379d3515810794a936223ac6a2dfc5ca7a7f724f1a138d08a0f7b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T01:20:26.982Z] + go version [2023-03-17T01:20:26.982Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-17T01:20:26.990Z] $ docker stop --time=1 04b08e77a4f379d3515810794a936223ac6a2dfc5ca7a7f724f1a138d08a0f7b [2023-03-17T01:20:28.240Z] $ docker rm -f --volumes 04b08e77a4f379d3515810794a936223ac6a2dfc5ca7a7f724f1a138d08a0f7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T01:20:28.645Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T01:20:28.645Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T01:20:28.716Z] prd-ubuntu20.04-docker-8c-8g-2578 does not seem to be running inside a container [2023-03-17T01:20:28.742Z] $ 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-sdk-go_PR-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-17T01:20:29.060Z] $ docker top df657bcb30c4b4e01b66525aad3b8bbb885cf93c96e695da7452c31d04bb6341 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T01:20:29.409Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1391 [Pipeline] fileExists [Pipeline] sh [2023-03-17T01:20:29.707Z] + make test [2023-03-17T01:20:29.707Z] go test -race -coverprofile=coverage.out ./... [2023-03-17T01:20:36.270Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-17T01:20:51.142Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-17T01:20:51.142Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-17T01:20:51.142Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-17T01:20:51.142Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-17T01:20:51.142Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-17T01:20:52.077Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.067s coverage: 27.6% of statements [2023-03-17T01:20:52.335Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.059s coverage: 78.9% of statements [2023-03-17T01:20:52.335Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-17T01:20:52.335Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-17T01:20:52.335Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.094s coverage: 86.0% of statements [2023-03-17T01:20:53.708Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-17T01:20:53.708Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-17T01:20:53.708Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.076s coverage: 77.6% of statements [2023-03-17T01:20:53.708Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-17T01:20:53.708Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-17T01:20:54.645Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-17T01:20:56.546Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.071s coverage: 14.9% of statements [2023-03-17T01:20:56.546Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.083s coverage: 65.7% of statements [2023-03-17T01:20:56.546Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.135s coverage: 89.2% of statements [2023-03-17T01:20:56.546Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.6% of statements [2023-03-17T01:21:18.484Z] GO111MODULE=on go vet ./... [2023-03-17T01:21:21.780Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-17T01:21:21.780Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-17T01:21:21.780Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-17T01:21:21.795Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-17T01:21:21.811Z] $ docker stop --time=1 df657bcb30c4b4e01b66525aad3b8bbb885cf93c96e695da7452c31d04bb6341 [2023-03-17T01:21:25.053Z] $ docker rm -f --volumes df657bcb30c4b4e01b66525aad3b8bbb885cf93c96e695da7452c31d04bb6341 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T01:21:25.570Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-17T01:21:25.633Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-17T01:21:26.147Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-17T01:21:26.431Z] + ls -al . [2023-03-17T01:21:26.431Z] total 276 [2023-03-17T01:21:26.431Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 01:20 . [2023-03-17T01:21:26.431Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 01:19 .. [2023-03-17T01:21:26.431Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 01:19 .dockerignore [2023-03-17T01:21:26.431Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 01:19 .git [2023-03-17T01:21:26.431Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 01:19 .github [2023-03-17T01:21:26.431Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 17 01:19 .gitignore [2023-03-17T01:21:26.431Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 01:19 .golangci.yml [2023-03-17T01:21:26.431Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 01:19 .semver [2023-03-17T01:21:26.431Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 17 01:19 CHANGELOG.md [2023-03-17T01:21:26.431Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 01:19 GOVERNANCE.md [2023-03-17T01:21:26.431Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 17 01:19 Jenkinsfile [2023-03-17T01:21:26.431Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 01:19 LICENSE [2023-03-17T01:21:26.431Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 17 01:19 Makefile [2023-03-17T01:21:26.431Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 17 01:19 OWNERS.md [2023-03-17T01:21:26.431Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 17 01:19 README.md [2023-03-17T01:21:26.431Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 01:19 VERSION [2023-03-17T01:21:26.431Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 01:19 bin [2023-03-17T01:21:26.431Z] -rw-r--r-- 1 jenkins jenkins 108767 Mar 17 01:20 coverage.out [2023-03-17T01:21:26.431Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 01:19 example [2023-03-17T01:21:26.431Z] -rw-rw-r-- 1 jenkins jenkins 3290 Mar 17 01:19 go.mod [2023-03-17T01:21:26.431Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 17 01:19 go.sum [2023-03-17T01:21:26.431Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 01:19 internal [2023-03-17T01:21:26.431Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 01:19 openapi [2023-03-17T01:21:26.431Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 17 01:19 pkg [2023-03-17T01:21:26.431Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 01:19 snap [2023-03-17T01:21:26.431Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 01:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T01:21:26.742Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=b8b3f7ece7c5732ff14d4d7aa65c61b1638470dd --label arch=amd64 --label version=0.0.0 . [2023-03-17T01:21:26.742Z] Sending build context to Docker daemon 10.99MB [2023-03-17T01:21:26.742Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T01:21:26.742Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-17T01:21:26.742Z] ---> e7a05f98073d [2023-03-17T01:21:26.742Z] Step 3/23 : ARG MAKE=make build [2023-03-17T01:21:27.001Z] ---> Running in 1982b01e574d [2023-03-17T01:21:27.001Z] Removing intermediate container 1982b01e574d [2023-03-17T01:21:27.001Z] ---> 930044b25341 [2023-03-17T01:21:27.001Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-17T01:21:27.001Z] ---> Running in 5c94f80541bd [2023-03-17T01:21:27.001Z] Removing intermediate container 5c94f80541bd [2023-03-17T01:21:27.001Z] ---> 13e47ed3a5c1 [2023-03-17T01:21:27.001Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-17T01:21:27.001Z] ---> Running in 0d7aa5e332d0 [2023-03-17T01:21:27.259Z] Removing intermediate container 0d7aa5e332d0 [2023-03-17T01:21:27.260Z] ---> df8d83e60c9f [2023-03-17T01:21:27.260Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-17T01:21:27.260Z] ---> Running in d35b2986b3b8 [2023-03-17T01:21:27.519Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T01:21:27.778Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T01:21:28.037Z] OK: 265 MiB in 53 packages [2023-03-17T01:21:28.297Z] Removing intermediate container d35b2986b3b8 [2023-03-17T01:21:28.297Z] ---> 80cc69386fbc [2023-03-17T01:21:28.297Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-17T01:21:28.557Z] ---> c3d1a358be0a [2023-03-17T01:21:28.557Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T01:21:28.557Z] ---> Running in ba55076333e2 [2023-03-17T01:21:29.499Z] Removing intermediate container ba55076333e2 [2023-03-17T01:21:29.499Z] ---> 04788c838816 [2023-03-17T01:21:29.499Z] Step 9/23 : COPY . . [2023-03-17T01:21:29.758Z] ---> 3efd386362c7 [2023-03-17T01:21:29.758Z] Step 10/23 : RUN ${MAKE} [2023-03-17T01:21:29.758Z] ---> Running in b0df25cecd1c [2023-03-17T01:21:30.016Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-17T01:21:51.949Z] Removing intermediate container b0df25cecd1c [2023-03-17T01:21:51.949Z] ---> 2349a0ce12ce [2023-03-17T01:21:51.949Z] Step 11/23 : FROM alpine:3.17 [2023-03-17T01:21:51.949Z] 3.17: Pulling from library/alpine [2023-03-17T01:21:51.949Z] 63b65145d645: Already exists [2023-03-17T01:21:51.949Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-17T01:21:51.949Z] Status: Downloaded newer image for alpine:3.17 [2023-03-17T01:21:51.949Z] ---> b2aa39c304c2 [2023-03-17T01:21:51.949Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-17T01:21:51.949Z] ---> Running in 9712dd4cb887 [2023-03-17T01:21:51.949Z] Removing intermediate container 9712dd4cb887 [2023-03-17T01:21:51.949Z] ---> e026f9d917a3 [2023-03-17T01:21:51.949Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-17T01:21:51.949Z] ---> Running in e9e01b3501c6 [2023-03-17T01:21:51.949Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T01:21:51.949Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T01:21:51.949Z] OK: 7 MiB in 15 packages [2023-03-17T01:21:51.949Z] Removing intermediate container e9e01b3501c6 [2023-03-17T01:21:51.949Z] ---> 99d9335affd6 [2023-03-17T01:21:51.949Z] Step 14/23 : WORKDIR / [2023-03-17T01:21:51.949Z] ---> Running in 0ac221ce906c [2023-03-17T01:21:51.949Z] Removing intermediate container 0ac221ce906c [2023-03-17T01:21:51.949Z] ---> f09ad805bd4a [2023-03-17T01:21:51.949Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-17T01:21:51.949Z] ---> 3afc09ec3916 [2023-03-17T01:21:51.949Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-17T01:21:51.949Z] ---> 67f300a65158 [2023-03-17T01:21:51.949Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-17T01:21:51.949Z] ---> 90b053b62639 [2023-03-17T01:21:51.949Z] Step 18/23 : EXPOSE 59999 [2023-03-17T01:21:51.949Z] ---> Running in 702af14065ac [2023-03-17T01:21:51.949Z] Removing intermediate container 702af14065ac [2023-03-17T01:21:51.949Z] ---> f0569b644f33 [2023-03-17T01:21:51.949Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-17T01:21:51.949Z] ---> Running in 0f6773616004 [2023-03-17T01:21:52.208Z] Removing intermediate container 0f6773616004 [2023-03-17T01:21:52.208Z] ---> ee889e11e876 [2023-03-17T01:21:52.208Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-17T01:21:52.208Z] ---> Running in 25841aae8133 [2023-03-17T01:21:52.208Z] Removing intermediate container 25841aae8133 [2023-03-17T01:21:52.208Z] ---> 04e9d67ac985 [2023-03-17T01:21:52.208Z] Step 21/23 : LABEL arch=amd64 [2023-03-17T01:21:52.208Z] ---> Running in 08a2d6e51960 [2023-03-17T01:21:52.208Z] Removing intermediate container 08a2d6e51960 [2023-03-17T01:21:52.208Z] ---> e34ec404ca86 [2023-03-17T01:21:52.208Z] Step 22/23 : LABEL git_sha=b8b3f7ece7c5732ff14d4d7aa65c61b1638470dd [2023-03-17T01:21:52.208Z] ---> Running in 782c025d0562 [2023-03-17T01:21:52.466Z] Removing intermediate container 782c025d0562 [2023-03-17T01:21:52.466Z] ---> 14d0a8f508ca [2023-03-17T01:21:52.466Z] Step 23/23 : LABEL version=0.0.0 [2023-03-17T01:21:52.466Z] ---> Running in 957f98199521 [2023-03-17T01:21:52.466Z] Removing intermediate container 957f98199521 [2023-03-17T01:21:52.466Z] ---> 52a7c304dfe9 [2023-03-17T01:21:52.466Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-17T01:21:52.466Z] Successfully built 52a7c304dfe9 [2023-03-17T01:21:52.466Z] Successfully tagged device-sdk-simple: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-03-17T01:21:52.890Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T01:21:52.890Z] [2023-03-17T01:21:52.890Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T01:21:53.187Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T01:21:53.187Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-17T01:21:53.187Z] 5eb5b503b376: Pulling fs layer [2023-03-17T01:21:53.187Z] 5c69ac0246d0: Pulling fs layer [2023-03-17T01:21:53.187Z] ec43610c2a17: Pulling fs layer [2023-03-17T01:21:53.187Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-17T01:21:53.187Z] 33b1e0a273af: Pulling fs layer [2023-03-17T01:21:53.187Z] 5d3b04190fa2: Pulling fs layer [2023-03-17T01:21:53.187Z] 2f39f015ded8: Pulling fs layer [2023-03-17T01:21:53.187Z] 3a2ae6a8a46f: Waiting [2023-03-17T01:21:53.187Z] 33b1e0a273af: Waiting [2023-03-17T01:21:53.187Z] 2f39f015ded8: Waiting [2023-03-17T01:21:53.187Z] 5d3b04190fa2: Waiting [2023-03-17T01:21:53.187Z] 5c69ac0246d0: Verifying Checksum [2023-03-17T01:21:53.187Z] 5c69ac0246d0: Download complete [2023-03-17T01:21:53.187Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-17T01:21:53.187Z] 3a2ae6a8a46f: Download complete [2023-03-17T01:21:53.448Z] 33b1e0a273af: Verifying Checksum [2023-03-17T01:21:53.448Z] 33b1e0a273af: Download complete [2023-03-17T01:21:53.448Z] 5d3b04190fa2: Download complete [2023-03-17T01:21:53.448Z] ec43610c2a17: Verifying Checksum [2023-03-17T01:21:53.448Z] ec43610c2a17: Download complete [2023-03-17T01:21:53.448Z] 5eb5b503b376: Verifying Checksum [2023-03-17T01:21:53.448Z] 5eb5b503b376: Download complete [2023-03-17T01:21:54.017Z] 2f39f015ded8: Download complete [2023-03-17T01:21:54.983Z] 5eb5b503b376: Pull complete [2023-03-17T01:21:54.983Z] 5c69ac0246d0: Pull complete [2023-03-17T01:21:55.550Z] ec43610c2a17: Pull complete [2023-03-17T01:21:55.550Z] 3a2ae6a8a46f: Pull complete [2023-03-17T01:21:55.550Z] 33b1e0a273af: Pull complete [2023-03-17T01:21:55.809Z] 5d3b04190fa2: Pull complete [2023-03-17T01:21:59.994Z] 2f39f015ded8: Pull complete [2023-03-17T01:21:59.994Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-17T01:21:59.994Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T01:21:59.994Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T01:22:00.064Z] prd-ubuntu20.04-docker-8c-8g-2578 does not seem to be running inside a container [2023-03-17T01:22:00.087Z] $ 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-sdk-go_PR-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-17T01:22:03.124Z] $ docker top 5593d82a17a9c34b57dd10587144bee61da7eceaeeff0d652748f93640016a23 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T01:22:03.510Z] ---> job-cost.sh [2023-03-17T01:22:03.510Z] lf-activate-venv: SKIPPING [2023-03-17T01:22:03.510Z] INFO: No Stack... [2023-03-17T01:22:03.770Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T01:22:04.029Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T01:22:04.316Z] + cut -d, -f6 [2023-03-17T01:22:04.316Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives/cost.csv [Pipeline] lock [2023-03-17T01:22:04.327Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1391-4-stack-cost] [2023-03-17T01:22:04.332Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1391-4-stack-cost] did not exist. Created. [2023-03-17T01:22:04.332Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1391-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T01:22:04.630Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-17T01:22:04.659Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T01:22:04.665Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1391-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T01:22:04.678Z] $ docker stop --time=1 5593d82a17a9c34b57dd10587144bee61da7eceaeeff0d652748f93640016a23 [2023-03-17T01:22:05.840Z] $ docker rm -f --volumes 5593d82a17a9c34b57dd10587144bee61da7eceaeeff0d652748f93640016a23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-17T01:23:39.251Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2579 in /w/workspace/gexfoundry_device-sdk-go_PR-1391 [Pipeline] { [Pipeline] ws [2023-03-17T01:23:39.262Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2023-03-17T01:23:39.295Z] The recommended git tool is: git [2023-03-17T01:23:45.978Z] using credential edgex-jenkins-ssh [2023-03-17T01:23:46.060Z] Cloning the remote Git repository [2023-03-17T01:23:46.130Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-17T01:23:46.280Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2023-03-17T01:23:46.504Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-17T01:23:46.506Z] > git --version # timeout=10 [2023-03-17T01:23:46.538Z] > git --version # 'git version 2.25.1' [2023-03-17T01:23:46.541Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T01:23:46.997Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T01:23:48.835Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-17T01:23:48.867Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T01:23:50.584Z] Merging remotes/origin/main commit 4a7b1eec00eb893451c7c72b5ce81c7f4041337f into PR head commit 87dd5f7b833115ef2a3f786f10b7cb589abffcc9 [2023-03-17T01:23:49.804Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-17T01:23:49.857Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-17T01:23:49.858Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T01:23:49.881Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1391/head:refs/remotes/origin/PR-1391 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-17T01:23:50.606Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T01:23:50.692Z] > git checkout -f 87dd5f7b833115ef2a3f786f10b7cb589abffcc9 # timeout=10 [2023-03-17T01:23:50.822Z] > git remote # timeout=10 [2023-03-17T01:23:50.842Z] > git config --get remote.origin.url # timeout=10 [2023-03-17T01:23:50.859Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T01:23:50.877Z] > git merge 4a7b1eec00eb893451c7c72b5ce81c7f4041337f # timeout=10 [2023-03-17T01:23:50.990Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-17T01:23:51.016Z] Merge succeeded, producing 2d8d84015b175593146689a482e4bfc213295593 [2023-03-17T01:23:51.016Z] Checking out Revision 2d8d84015b175593146689a482e4bfc213295593 (PR-1391) [2023-03-17T01:23:51.022Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T01:23:51.043Z] > git checkout -f 2d8d84015b175593146689a482e4bfc213295593 # timeout=10 [2023-03-17T01:23:54.634Z] Commit message: "Merge commit '4a7b1eec00eb893451c7c72b5ce81c7f4041337f' into HEAD" [2023-03-17T01:23:54.673Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T01:23:55.636Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-17T01:23:55.636Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-17T01:23:55.636Z] Dload Upload Total Spent Left Speed [2023-03-17T01:23:55.636Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98844 [2023-03-17T01:23:54.644Z] > git rev-list --no-walk 76e331eed2635426caf6d81e692c7af7ca22c81f # timeout=10 [Pipeline] sh [2023-03-17T01:23:56.405Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-17T01:23:56.739Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-17T01:23:56.739Z] sudo tee /etc/docker/daemon.new [2023-03-17T01:23:56.739Z] { [2023-03-17T01:23:56.739Z] "registry-mirrors": [ [2023-03-17T01:23:56.739Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-17T01:23:56.739Z] ], [2023-03-17T01:23:56.739Z] "bip": "10.250.0.254/24", [2023-03-17T01:23:56.739Z] "hosts": [ [2023-03-17T01:23:56.739Z] "tcp://0.0.0.0:5555", [2023-03-17T01:23:56.739Z] "unix:///var/run/docker.sock" [2023-03-17T01:23:56.739Z] ], [2023-03-17T01:23:56.739Z] "mtu": 1458, [2023-03-17T01:23:56.739Z] "selinux-enabled": true, [2023-03-17T01:23:56.739Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-17T01:23:56.739Z] } [Pipeline] sh [2023-03-17T01:23:57.088Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-17T01:23:57.437Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T01:24:19.602Z] provisioning config files... [2023-03-17T01:24:19.634Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config1325620535923372918tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T01:24:20.008Z] ---> docker-login.sh [2023-03-17T01:24:20.008Z] nexus3.edgexfoundry.org:10001 [2023-03-17T01:24:20.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T01:24:20.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T01:24:20.605Z] Configure a credential helper to remove this warning. See [2023-03-17T01:24:20.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T01:24:20.605Z] [2023-03-17T01:24:20.605Z] Login Succeeded [2023-03-17T01:24:20.884Z] nexus3.edgexfoundry.org:10002 [2023-03-17T01:24:21.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T01:24:21.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T01:24:21.157Z] Configure a credential helper to remove this warning. See [2023-03-17T01:24:21.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T01:24:21.157Z] [2023-03-17T01:24:21.157Z] Login Succeeded [2023-03-17T01:24:21.157Z] nexus3.edgexfoundry.org:10003 [2023-03-17T01:24:21.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T01:24:21.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T01:24:21.428Z] Configure a credential helper to remove this warning. See [2023-03-17T01:24:21.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T01:24:21.428Z] [2023-03-17T01:24:21.428Z] Login Succeeded [2023-03-17T01:24:21.428Z] nexus3.edgexfoundry.org:10004 [2023-03-17T01:24:21.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T01:24:21.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T01:24:21.986Z] Configure a credential helper to remove this warning. See [2023-03-17T01:24:21.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T01:24:21.987Z] [2023-03-17T01:24:21.987Z] Login Succeeded [2023-03-17T01:24:21.987Z] docker.io [2023-03-17T01:24:22.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T01:24:22.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T01:24:22.525Z] Configure a credential helper to remove this warning. See [2023-03-17T01:24:22.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T01:24:22.525Z] [2023-03-17T01:24:22.525Z] Login Succeeded [2023-03-17T01:24:22.525Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T01:24:22.540Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T01:24:22.833Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T01:24:22.853Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T01:24:22.865Z] ========================================================= [2023-03-17T01:24:22.865Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-17T01:24:22.865Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T01:24:23.221Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-17T01:24:23.825Z] Sending build context to Docker daemon 5.863MB [2023-03-17T01:24:23.825Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T01:24:23.825Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-17T01:24:24.106Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-17T01:24:24.106Z] af6eaf76a39c: Pulling fs layer [2023-03-17T01:24:24.106Z] 55522c791124: Pulling fs layer [2023-03-17T01:24:24.106Z] ce5c4a1c91eb: Pulling fs layer [2023-03-17T01:24:24.106Z] 169dfbe0d373: Pulling fs layer [2023-03-17T01:24:24.106Z] e1ff8fa3b103: Pulling fs layer [2023-03-17T01:24:24.106Z] 52ebb69f0ebf: Pulling fs layer [2023-03-17T01:24:24.106Z] 5abe8eddf0d5: Pulling fs layer [2023-03-17T01:24:24.106Z] e1ff8fa3b103: Waiting [2023-03-17T01:24:24.106Z] 52ebb69f0ebf: Waiting [2023-03-17T01:24:24.106Z] 169dfbe0d373: Waiting [2023-03-17T01:24:24.106Z] 5abe8eddf0d5: Waiting [2023-03-17T01:24:24.106Z] 55522c791124: Verifying Checksum [2023-03-17T01:24:24.106Z] 55522c791124: Download complete [2023-03-17T01:24:24.106Z] 169dfbe0d373: Verifying Checksum [2023-03-17T01:24:24.106Z] 169dfbe0d373: Download complete [2023-03-17T01:24:24.106Z] e1ff8fa3b103: Download complete [2023-03-17T01:24:24.106Z] af6eaf76a39c: Download complete [2023-03-17T01:24:25.553Z] af6eaf76a39c: Pull complete [2023-03-17T01:24:25.553Z] 5abe8eddf0d5: Verifying Checksum [2023-03-17T01:24:25.553Z] 5abe8eddf0d5: Download complete [2023-03-17T01:24:25.830Z] 55522c791124: Pull complete [2023-03-17T01:24:26.807Z] ce5c4a1c91eb: Verifying Checksum [2023-03-17T01:24:26.807Z] ce5c4a1c91eb: Download complete [2023-03-17T01:24:26.807Z] 52ebb69f0ebf: Verifying Checksum [2023-03-17T01:24:26.807Z] 52ebb69f0ebf: Download complete [2023-03-17T01:24:39.158Z] ce5c4a1c91eb: Pull complete [2023-03-17T01:24:39.158Z] 169dfbe0d373: Pull complete [2023-03-17T01:24:39.158Z] e1ff8fa3b103: Pull complete [2023-03-17T01:24:45.833Z] 52ebb69f0ebf: Pull complete [2023-03-17T01:24:47.805Z] 5abe8eddf0d5: Pull complete [2023-03-17T01:24:47.805Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-17T01:24:47.805Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-17T01:24:47.805Z] ---> 6cb57ee374ae [2023-03-17T01:24:47.805Z] Step 3/10 : ARG MAKE=make build [2023-03-17T01:24:48.788Z] ---> Running in b1e6f18b6792 [2023-03-17T01:24:49.057Z] Removing intermediate container b1e6f18b6792 [2023-03-17T01:24:49.057Z] ---> 5db3b2bc4541 [2023-03-17T01:24:49.057Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-17T01:24:49.057Z] ---> Running in cc8be7d10488 [2023-03-17T01:24:49.326Z] Removing intermediate container cc8be7d10488 [2023-03-17T01:24:49.326Z] ---> 3b77d0157ae2 [2023-03-17T01:24:49.326Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-17T01:24:49.595Z] ---> Running in 3b0723ccec14 [2023-03-17T01:24:49.866Z] Removing intermediate container 3b0723ccec14 [2023-03-17T01:24:49.866Z] ---> c98496986782 [2023-03-17T01:24:49.866Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-17T01:24:49.866Z] ---> Running in 33c07f9a7173 [2023-03-17T01:24:51.289Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-17T01:24:51.878Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-17T01:24:53.303Z] OK: 263 MiB in 53 packages [2023-03-17T01:24:54.279Z] Removing intermediate container 33c07f9a7173 [2023-03-17T01:24:54.279Z] ---> a438bf5049b4 [2023-03-17T01:24:54.279Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-17T01:24:56.877Z] ---> 824384c04434 [2023-03-17T01:24:56.877Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T01:24:56.877Z] ---> Running in da0593d7e6a8 [2023-03-17T01:26:04.809Z] Removing intermediate container da0593d7e6a8 [2023-03-17T01:26:04.809Z] ---> 495b738701f4 [2023-03-17T01:26:04.809Z] Step 9/10 : COPY . . [2023-03-17T01:26:04.809Z] ---> 2aa26908f83a [2023-03-17T01:26:04.809Z] Step 10/10 : RUN ${MAKE} [2023-03-17T01:26:04.809Z] ---> Running in faaca72e6f0e [2023-03-17T01:26:04.809Z] noop [2023-03-17T01:26:04.809Z] Removing intermediate container faaca72e6f0e [2023-03-17T01:26:04.809Z] ---> db69a01c2b70 [2023-03-17T01:26:04.809Z] Successfully built db69a01c2b70 [2023-03-17T01:26:04.809Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T01:26:05.184Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T01:26:05.184Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T01:26:05.426Z] prd-ubuntu20.04-docker-arm64-4c-16g-2579 does not seem to be running inside a container [2023-03-17T01:26:05.499Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-17T01:26:06.800Z] $ docker top bdeccf5283e3ee7ab3c5f25d3d8c1869871102419b04028435ff2e247b0d4ffd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T01:26:07.653Z] + go version [2023-03-17T01:26:07.653Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-17T01:26:07.670Z] $ docker stop --time=1 bdeccf5283e3ee7ab3c5f25d3d8c1869871102419b04028435ff2e247b0d4ffd [2023-03-17T01:26:09.305Z] $ docker rm -f --volumes bdeccf5283e3ee7ab3c5f25d3d8c1869871102419b04028435ff2e247b0d4ffd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T01:26:09.863Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T01:26:09.863Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T01:26:10.038Z] prd-ubuntu20.04-docker-arm64-4c-16g-2579 does not seem to be running inside a container [2023-03-17T01:26:10.103Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-17T01:26:11.273Z] $ docker top 8f075d2631ad186de9b1f7ccd24fa0667dd3b52156868d799df540a528e04938 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T01:26:12.142Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh [2023-03-17T01:26:12.794Z] + make test [2023-03-17T01:26:12.794Z] go test -race -coverprofile=coverage.out ./... [2023-03-17T01:26:59.635Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-17T01:29:21.368Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-17T01:29:21.368Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-17T01:29:21.368Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-17T01:29:21.368Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-17T01:29:21.368Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-17T01:29:31.473Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.245s coverage: 27.6% of statements [2023-03-17T01:29:32.059Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.297s coverage: 78.9% of statements [2023-03-17T01:29:42.146Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-17T01:29:42.146Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-17T01:29:42.747Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.405s coverage: 86.0% of statements [2023-03-17T01:29:48.102Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-17T01:29:48.102Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-17T01:29:48.692Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.562s coverage: 77.6% of statements [2023-03-17T01:29:52.037Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.281s coverage: 14.9% of statements [2023-03-17T01:29:54.622Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-17T01:29:54.622Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-17T01:29:54.890Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.540s coverage: 65.7% of statements [2023-03-17T01:29:57.006Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.484s coverage: 89.2% of statements [2023-03-17T01:30:00.393Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-17T01:30:00.393Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.290s coverage: 5.6% of statements [2023-03-17T01:30:01.354Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-17T01:30:01.354Z] GO111MODULE=on go vet ./... [2023-03-17T01:32:38.128Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-17T01:32:38.128Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-17T01:32:38.128Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-17T01:32:38.147Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-17T01:32:38.155Z] $ docker stop --time=1 8f075d2631ad186de9b1f7ccd24fa0667dd3b52156868d799df540a528e04938 [2023-03-17T01:32:40.064Z] $ docker rm -f --volumes 8f075d2631ad186de9b1f7ccd24fa0667dd3b52156868d799df540a528e04938 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T01:32:41.755Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-17T01:32:41.777Z] Warning: overwriting stash ‘coverage-report’ [2023-03-17T01:32:42.419Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T01:32:42.804Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-17T01:32:43.124Z] + ls -al . [2023-03-17T01:32:43.124Z] total 272 [2023-03-17T01:32:43.124Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 01:26 . [2023-03-17T01:32:43.124Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 01:23 .. [2023-03-17T01:32:43.124Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 01:23 .dockerignore [2023-03-17T01:32:43.124Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 01:23 .git [2023-03-17T01:32:43.124Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 01:23 .github [2023-03-17T01:32:43.124Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 17 01:23 .gitignore [2023-03-17T01:32:43.124Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 01:23 .golangci.yml [2023-03-17T01:32:43.124Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 17 01:23 CHANGELOG.md [2023-03-17T01:32:43.124Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 01:23 GOVERNANCE.md [2023-03-17T01:32:43.124Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 17 01:23 Jenkinsfile [2023-03-17T01:32:43.124Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 01:23 LICENSE [2023-03-17T01:32:43.124Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 17 01:23 Makefile [2023-03-17T01:32:43.124Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 17 01:23 OWNERS.md [2023-03-17T01:32:43.124Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 17 01:23 README.md [2023-03-17T01:32:43.124Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 01:19 VERSION [2023-03-17T01:32:43.124Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 01:23 bin [2023-03-17T01:32:43.124Z] -rw-r--r-- 1 jenkins jenkins 108767 Mar 17 01:30 coverage.out [2023-03-17T01:32:43.124Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 01:23 example [2023-03-17T01:32:43.124Z] -rw-rw-r-- 1 jenkins jenkins 3290 Mar 17 01:23 go.mod [2023-03-17T01:32:43.124Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 17 01:23 go.sum [2023-03-17T01:32:43.124Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 01:23 internal [2023-03-17T01:32:43.124Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 01:23 openapi [2023-03-17T01:32:43.124Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 17 01:23 pkg [2023-03-17T01:32:43.124Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 01:23 snap [2023-03-17T01:32:43.124Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 01:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T01:32:43.464Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2d8d84015b175593146689a482e4bfc213295593 --label arch=arm64 --label version=0.0.0 . [2023-03-17T01:32:44.049Z] Sending build context to Docker daemon 5.972MB [2023-03-17T01:32:44.049Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T01:32:44.049Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-17T01:32:44.049Z] ---> db69a01c2b70 [2023-03-17T01:32:44.049Z] Step 3/23 : ARG MAKE=make build [2023-03-17T01:32:44.633Z] ---> Running in 30aa46746dbc [2023-03-17T01:32:44.903Z] Removing intermediate container 30aa46746dbc [2023-03-17T01:32:44.903Z] ---> 027e1c60f66d [2023-03-17T01:32:44.903Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-17T01:32:45.181Z] ---> Running in 34868a57cd3b [2023-03-17T01:32:45.452Z] Removing intermediate container 34868a57cd3b [2023-03-17T01:32:45.452Z] ---> 529c8947b3ba [2023-03-17T01:32:45.452Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-17T01:32:45.452Z] ---> Running in 05c90bab95ad [2023-03-17T01:32:45.726Z] Removing intermediate container 05c90bab95ad [2023-03-17T01:32:45.726Z] ---> a848762dac33 [2023-03-17T01:32:45.726Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-17T01:32:45.995Z] ---> Running in 5d44b94bb781 [2023-03-17T01:32:46.957Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-17T01:32:47.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-17T01:32:48.960Z] OK: 263 MiB in 53 packages [2023-03-17T01:32:49.544Z] Removing intermediate container 5d44b94bb781 [2023-03-17T01:32:49.544Z] ---> ace1d5890355 [2023-03-17T01:32:49.544Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-17T01:32:50.128Z] ---> 1ae18610d31c [2023-03-17T01:32:50.128Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T01:32:50.128Z] ---> Running in b253f204263d [2023-03-17T01:32:52.719Z] Removing intermediate container b253f204263d [2023-03-17T01:32:52.719Z] ---> fa010157365c [2023-03-17T01:32:52.719Z] Step 9/23 : COPY . . [2023-03-17T01:32:54.135Z] ---> 44f4d233a260 [2023-03-17T01:32:54.135Z] Step 10/23 : RUN ${MAKE} [2023-03-17T01:32:54.405Z] ---> Running in c2a44f67d72e [2023-03-17T01:32:55.382Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-17T01:35:32.114Z] Removing intermediate container c2a44f67d72e [2023-03-17T01:35:32.114Z] ---> f3c7cbcb0a4d [2023-03-17T01:35:32.114Z] Step 11/23 : FROM alpine:3.17 [2023-03-17T01:35:32.114Z] 3.17: Pulling from library/alpine [2023-03-17T01:35:32.114Z] af6eaf76a39c: Already exists [2023-03-17T01:35:32.114Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-17T01:35:32.114Z] Status: Downloaded newer image for alpine:3.17 [2023-03-17T01:35:32.114Z] ---> d74e625d9115 [2023-03-17T01:35:32.114Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-17T01:35:32.114Z] ---> Running in 77c98aa6a9cf [2023-03-17T01:35:32.114Z] Removing intermediate container 77c98aa6a9cf [2023-03-17T01:35:32.114Z] ---> 09941c15333f [2023-03-17T01:35:32.114Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-17T01:35:32.114Z] ---> Running in 12c5a6e043e3 [2023-03-17T01:35:32.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-17T01:35:32.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-17T01:35:32.114Z] OK: 7 MiB in 15 packages [2023-03-17T01:35:32.114Z] Removing intermediate container 12c5a6e043e3 [2023-03-17T01:35:32.114Z] ---> e59ce21ca19a [2023-03-17T01:35:32.114Z] Step 14/23 : WORKDIR / [2023-03-17T01:35:32.114Z] ---> Running in 029d9b2c2f8f [2023-03-17T01:35:32.114Z] Removing intermediate container 029d9b2c2f8f [2023-03-17T01:35:32.114Z] ---> 4e37f61ffaed [2023-03-17T01:35:32.114Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-17T01:35:32.114Z] ---> 5d2f3d337166 [2023-03-17T01:35:32.114Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-17T01:35:32.114Z] ---> 4db2705a0565 [2023-03-17T01:35:32.114Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-17T01:35:32.114Z] ---> 16e89f9068d0 [2023-03-17T01:35:32.114Z] Step 18/23 : EXPOSE 59999 [2023-03-17T01:35:32.114Z] ---> Running in a9195427cfd6 [2023-03-17T01:35:32.114Z] Removing intermediate container a9195427cfd6 [2023-03-17T01:35:32.114Z] ---> 7623f21b13ce [2023-03-17T01:35:32.114Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-17T01:35:32.114Z] ---> Running in 66b0999af3bc [2023-03-17T01:35:32.114Z] Removing intermediate container 66b0999af3bc [2023-03-17T01:35:32.114Z] ---> 075addfd022a [2023-03-17T01:35:32.114Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-17T01:35:32.114Z] ---> Running in c31e5bf0a8eb [2023-03-17T01:35:32.114Z] Removing intermediate container c31e5bf0a8eb [2023-03-17T01:35:32.114Z] ---> 0c873c4da352 [2023-03-17T01:35:32.114Z] Step 21/23 : LABEL arch=arm64 [2023-03-17T01:35:32.114Z] ---> Running in 66508f660a21 [2023-03-17T01:35:32.114Z] Removing intermediate container 66508f660a21 [2023-03-17T01:35:32.114Z] ---> e1a313b5c6a0 [2023-03-17T01:35:32.114Z] Step 22/23 : LABEL git_sha=2d8d84015b175593146689a482e4bfc213295593 [2023-03-17T01:35:32.114Z] ---> Running in 0f9b3e4d4288 [2023-03-17T01:35:32.114Z] Removing intermediate container 0f9b3e4d4288 [2023-03-17T01:35:32.114Z] ---> aaa2e4f1d9f0 [2023-03-17T01:35:32.114Z] Step 23/23 : LABEL version=0.0.0 [2023-03-17T01:35:32.114Z] ---> Running in c200ec2600ca [2023-03-17T01:35:32.114Z] Removing intermediate container c200ec2600ca [2023-03-17T01:35:32.114Z] ---> 5537a3d0ee7a [2023-03-17T01:35:32.114Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-17T01:35:32.114Z] Successfully built 5537a3d0ee7a [2023-03-17T01:35:32.114Z] Successfully tagged device-sdk-simple-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-03-17T01:35:32.543Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T01:35:32.543Z] [2023-03-17T01:35:32.543Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T01:35:32.873Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T01:35:32.873Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-17T01:35:32.873Z] 8998bd30e6a1: Pulling fs layer [2023-03-17T01:35:32.873Z] 04944245beec: Pulling fs layer [2023-03-17T01:35:32.873Z] 699f458cf7ca: Pulling fs layer [2023-03-17T01:35:32.873Z] 765212b225bb: Pulling fs layer [2023-03-17T01:35:32.873Z] f23df028b6ca: Pulling fs layer [2023-03-17T01:35:32.873Z] d65c8cfc05b1: Pulling fs layer [2023-03-17T01:35:32.873Z] 2437ff75d9bd: Pulling fs layer [2023-03-17T01:35:32.873Z] 765212b225bb: Waiting [2023-03-17T01:35:32.873Z] f23df028b6ca: Waiting [2023-03-17T01:35:32.873Z] d65c8cfc05b1: Waiting [2023-03-17T01:35:32.873Z] 2437ff75d9bd: Waiting [2023-03-17T01:35:33.144Z] 04944245beec: Verifying Checksum [2023-03-17T01:35:33.144Z] 04944245beec: Download complete [2023-03-17T01:35:33.144Z] 765212b225bb: Download complete [2023-03-17T01:35:33.144Z] f23df028b6ca: Verifying Checksum [2023-03-17T01:35:33.144Z] f23df028b6ca: Download complete [2023-03-17T01:35:33.144Z] d65c8cfc05b1: Download complete [2023-03-17T01:35:33.413Z] 699f458cf7ca: Verifying Checksum [2023-03-17T01:35:33.414Z] 699f458cf7ca: Download complete [2023-03-17T01:35:33.680Z] 8998bd30e6a1: Verifying Checksum [2023-03-17T01:35:36.271Z] 2437ff75d9bd: Verifying Checksum [2023-03-17T01:35:36.271Z] 2437ff75d9bd: Download complete [2023-03-17T01:35:38.218Z] 8998bd30e6a1: Pull complete [2023-03-17T01:35:38.485Z] 04944245beec: Pull complete [2023-03-17T01:35:39.894Z] 699f458cf7ca: Pull complete [2023-03-17T01:35:40.163Z] 765212b225bb: Pull complete [2023-03-17T01:35:41.127Z] f23df028b6ca: Pull complete [2023-03-17T01:35:41.395Z] d65c8cfc05b1: Pull complete [2023-03-17T01:35:56.435Z] 2437ff75d9bd: Pull complete [2023-03-17T01:35:56.435Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-17T01:35:56.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T01:35:56.435Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T01:35:56.639Z] prd-ubuntu20.04-docker-arm64-4c-16g-2579 does not seem to be running inside a container [2023-03-17T01:35:56.700Z] $ 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-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-17T01:36:02.304Z] $ docker top 487c728ca5aebe3fa3047a3696c13a16ba37e0e4b0458699f26a71c630b6bccf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T01:36:03.196Z] ---> job-cost.sh [2023-03-17T01:36:03.196Z] lf-activate-venv: SKIPPING [2023-03-17T01:36:03.196Z] INFO: No Stack... [2023-03-17T01:36:03.781Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-17T01:36:04.744Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T01:36:05.391Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2023-03-17T01:36:05.391Z] + cut -d, -f6 [Pipeline] lock [2023-03-17T01:36:05.455Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1391-4-stack-cost] [2023-03-17T01:36:05.462Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1391-4-stack-cost] did not exist. Created. [2023-03-17T01:36:05.462Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1391-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T01:36:06.121Z] /w/workspace/device-sdk-go/4@tmp/durable-ad04f876/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-17T01:36:06.775Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-17T01:36:06.799Z] Warning: overwriting stash ‘stack-cost’ [2023-03-17T01:36:06.866Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T01:36:06.873Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1391-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T01:36:06.885Z] $ docker stop --time=1 487c728ca5aebe3fa3047a3696c13a16ba37e0e4b0458699f26a71c630b6bccf [2023-03-17T01:36:08.406Z] $ docker rm -f --volumes 487c728ca5aebe3fa3047a3696c13a16ba37e0e4b0458699f26a71c630b6bccf [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-03-17T01:36:08.834Z] provisioning config files... [2023-03-17T01:36:08.841Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/config4431562207895280467tmp [Pipeline] { [Pipeline] sh [2023-03-17T01:36:09.137Z] + set +x [2023-03-17T01:36:09.137Z] + curl -s https://codecov.io/bash [2023-03-17T01:36:09.137Z] + bash -s -- [2023-03-17T01:36:09.137Z] [2023-03-17T01:36:09.137Z] _____ _ [2023-03-17T01:36:09.137Z] / ____| | | [2023-03-17T01:36:09.137Z] | | ___ __| | ___ ___ _____ __ [2023-03-17T01:36:09.137Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-17T01:36:09.137Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-17T01:36:09.137Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-17T01:36:09.137Z] Bash-1.0.6 [2023-03-17T01:36:09.137Z] [2023-03-17T01:36:09.137Z] [2023-03-17T01:36:09.137Z] ==> git version 2.25.1 found [2023-03-17T01:36:09.137Z] ==> 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-03-17T01:36:09.137Z] Release-Date: 2020-01-08 [2023-03-17T01:36:09.137Z] 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-03-17T01:36:09.137Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-17T01:36:09.137Z] ==> Jenkins CI detected. [2023-03-17T01:36:09.137Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1391 [2023-03-17T01:36:09.137Z] project root: . [2023-03-17T01:36:09.137Z] --> token set from env [2023-03-17T01:36:09.137Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-17T01:36:09.137Z] ==> Running gcov in . (disable via -X gcov) [2023-03-17T01:36:09.137Z] ==> Python coveragepy not found [2023-03-17T01:36:09.137Z] ==> Searching for coverage reports in: [2023-03-17T01:36:09.137Z] + . [2023-03-17T01:36:09.137Z] -> Found 1 reports [2023-03-17T01:36:09.137Z] ==> Detecting git/mercurial file structure [2023-03-17T01:36:09.137Z] ==> Reading reports [2023-03-17T01:36:09.137Z] + ./coverage.out bytes=108767 [2023-03-17T01:36:09.137Z] ==> Appending adjustments [2023-03-17T01:36:09.137Z] https://docs.codecov.io/docs/fixing-reports [2023-03-17T01:36:09.396Z] + Found adjustments [2023-03-17T01:36:09.396Z] ==> Gzipping contents [2023-03-17T01:36:09.396Z] 16K /tmp/codecov.OEKLbl.gz [2023-03-17T01:36:09.396Z] ==> Uploading reports [2023-03-17T01:36:09.396Z] url: https://codecov.io [2023-03-17T01:36:09.396Z] query: branch=PR-1391&commit=b8b3f7ece7c5732ff14d4d7aa65c61b1638470dd&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1391%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1391&job=&cmd_args= [2023-03-17T01:36:09.396Z] -> Pinging Codecov [2023-03-17T01:36:09.396Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1391&commit=b8b3f7ece7c5732ff14d4d7aa65c61b1638470dd&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1391%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1391&job=&cmd_args= [2023-03-17T01:36:09.655Z] -> Uploading to [2023-03-17T01:36:09.655Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-17/7E55EF52A471D76F132DFD9A03CDDE97/b8b3f7ece7c5732ff14d4d7aa65c61b1638470dd/0fbbeee7-2af1-4a65-bcf5-f91553784553.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230317T013609Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7a49197c09946310e47f2c45853b8fbbc09ecd6fecfed0f8cb8a3b11879bbf65 [2023-03-17T01:36:09.655Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-17T01:36:09.655Z] Dload Upload Total Spent Left Speed [2023-03-17T01:36:09.915Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15093 0 0 100 15093 0 54684 --:--:-- --:--:-- --:--:-- 54487 [2023-03-17T01:36:09.915Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/b8b3f7ece7c5732ff14d4d7aa65c61b1638470dd [Pipeline] } [2023-03-17T01:36:09.924Z] 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-03-17T01:36:10.644Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives ] [2023-03-17T01:36:10.644Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives [2023-03-17T01:36:10.644Z] total 16 [2023-03-17T01:36:10.644Z] drwxr-xr-x 3 root root 4096 Mar 17 01:22 . [2023-03-17T01:36:10.644Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 01:22 .. [2023-03-17T01:36:10.644Z] drwxr-xr-x 2 root root 4096 Mar 17 01:22 cost [2023-03-17T01:36:10.644Z] -rw-r--r-- 1 root root 86 Mar 17 01:22 cost.csv [2023-03-17T01:36:10.644Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives [2023-03-17T01:36:10.644Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives [2023-03-17T01:36:10.644Z] total 16 [2023-03-17T01:36:10.644Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 01:22 . [2023-03-17T01:36:10.644Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 01:22 .. [2023-03-17T01:36:10.644Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 01:22 cost [2023-03-17T01:36:10.644Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 17 01:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-17T01:36:10.939Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T01:36:11.798Z] ---> package-listing.sh [2023-03-17T01:36:11.798Z] ++ facter osfamily [2023-03-17T01:36:11.798Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-17T01:36:12.057Z] + OS_FAMILY=debian [2023-03-17T01:36:12.057Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1391 [2023-03-17T01:36:12.057Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-17T01:36:12.057Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-17T01:36:12.057Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-17T01:36:12.057Z] + PACKAGES=/tmp/packages_start.txt [2023-03-17T01:36:12.057Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1391 ']' [2023-03-17T01:36:12.057Z] + PACKAGES=/tmp/packages_end.txt [2023-03-17T01:36:12.057Z] + case "${OS_FAMILY}" in [2023-03-17T01:36:12.057Z] + dpkg -l [2023-03-17T01:36:12.057Z] + grep '^ii' [2023-03-17T01:36:12.057Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-17T01:36:12.057Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-17T01:36:12.057Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-17T01:36:12.057Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1391 ']' [2023-03-17T01:36:12.057Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives/ [2023-03-17T01:36:12.057Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives/ [Pipeline] echo [2023-03-17T01:36:12.067Z] 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-sdk-go_PR-1391/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-17T01:36:12.343Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T01:36:12.901Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T01:36:12.901Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T01:36:12.970Z] prd-ubuntu20.04-docker-8c-8g-2578 does not seem to be running inside a container [2023-03-17T01:36:12.996Z] $ 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-sdk-go_PR-1391/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-sdk-go_PR-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-17T01:36:13.227Z] $ docker top b60b421a500880219d0ea385b952a9253479f29e85d3e27ef9c415b2d0990e44 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T01:36:13.575Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-17T01:36:13.861Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-17T01:36:14.145Z] + ls /var/log/sa-host [2023-03-17T01:36:14.145Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T01:36:14.291Z] provisioning config files... [2023-03-17T01:36:14.299Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/config3183358348464076768tmp [Pipeline] { [Pipeline] echo [2023-03-17T01:36:14.309Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T01:36:14.589Z] ---> create-netrc.sh [Pipeline] } [2023-03-17T01:36:14.596Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-17T01:36:14.915Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-17T01:36:14.922Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T01:36:15.205Z] ---> sudo-logs.sh [2023-03-17T01:36:15.205Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-17T01:36:15.235Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T01:36:15.518Z] ---> job-cost.sh [2023-03-17T01:36:15.518Z] lf-activate-venv: SKIPPING [2023-03-17T01:36:15.518Z] DEBUG: total: 0.2199999988079071 [2023-03-17T01:36:15.518Z] INFO: Retrieving Stack Cost... [2023-03-17T01:36:15.776Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T01:36:16.343Z] INFO: Archiving Costs [Pipeline] echo [2023-03-17T01:36:16.355Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T01:36:16.640Z] ---> logs-deploy.sh [2023-03-17T01:36:16.640Z] lf-activate-venv: SKIPPING [2023-03-17T01:36:16.640Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1391/4 [2023-03-17T01:36:16.640Z] INFO: archiving workspace using pattern(s): [2023-03-17T01:36:17.575Z] Archives upload complete. [2023-03-17T01:36:17.834Z] INFO: archiving logs to Nexus