Pull request #1434 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 87389bdebb11d4655f183884612f3f0d4c970364 rather than cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a Obtained Jenkinsfile from 87389bdebb11d4655f183884612f3f0d4c970364 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-ssh10498411057061247214.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh12003776424037162773.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1434/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1434/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6431090666041208818.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1434/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8509921875378342862.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6070856839624404786.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1434/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1434/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4112384558554842816.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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 ‘prd-ubuntu20.04-docker-8c-8g-10811’ Running on prd-ubuntu20.04-docker-8c-8g-10813 in /w/workspace/gexfoundry_device-sdk-go_PR-1434 [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-1434 # 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 > 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/1434/head:refs/remotes/origin/PR-1434 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 87389bdebb11d4655f183884612f3f0d4c970364 into PR head commit cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a Merge succeeded, producing cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a Checking out Revision cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a (PR-1434) > git config core.sparsecheckout # timeout=10 > git checkout -f cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a # 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 87389bdebb11d4655f183884612f3f0d4c970364 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a # timeout=10 Commit message: "feat!: Using url.PathUnescape for decoding API path" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-25T11:29:35.933Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-25T11:29:36.117Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-25T11:29:36.216Z] ========================================================= [2023-04-25T11:29:36.216Z] EdgeX Global Pipelines Version Info [2023-04-25T11:29:36.216Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-25T11:29:36.974Z] ------------------- [2023-04-25T11:29:36.974Z] stable info: [2023-04-25T11:29:36.974Z] ------------------- [2023-04-25T11:29:36.974Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-25T11:29:36.974Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-25T11:29:36.974Z] Message: update stable to v1.0.248 [2023-04-25T11:29:37.546Z] ------------------- [2023-04-25T11:29:37.546Z] experimental info: [2023-04-25T11:29:37.546Z] ------------------- [2023-04-25T11:29:37.546Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-25T11:29:37.546Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-25T11:29:37.546Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-25T11:29:37.839Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-04-25T11:29:37.883Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-04-25T11:29:37.931Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-25T11:29:37.980Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-25T11:29:38.025Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-25T11:29:38.073Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-25T11:29:38.126Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-25T11:29:38.166Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-04-25T11:29:38.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-25T11:29:38.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-25T11:29:38.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-25T11:29:38.347Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-04-25T11:29:38.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-25T11:29:38.427Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-25T11:29:38.473Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-25T11:29:38.518Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-04-25T11:29:38.555Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-25T11:29:38.598Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-25T11:29:38.643Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-25T11:29:38.681Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-25T11:29:38.719Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-25T11:29:38.763Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-04-25T11:29:38.804Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-25T11:29:38.845Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-25T11:29:38.944Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-25T11:29:38.983Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-25T11:29:39.026Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-25T11:29:39.062Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1434 [Pipeline] echo [2023-04-25T11:29:39.106Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1434 [Pipeline] echo [2023-04-25T11:29:39.149Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1434 [Pipeline] echo [2023-04-25T11:29:39.191Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a [Pipeline] echo [2023-04-25T11:29:39.235Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cdd8b0f [Pipeline] echo [2023-04-25T11:29:39.279Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-25T11:29:39.401Z] provisioning config files... [2023-04-25T11:29:39.416Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp/config8383952045796952691tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T11:29:39.761Z] ---> docker-login.sh [2023-04-25T11:29:39.761Z] nexus3.edgexfoundry.org:10001 [2023-04-25T11:29:40.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T11:29:40.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T11:29:40.280Z] Configure a credential helper to remove this warning. See [2023-04-25T11:29:40.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T11:29:40.281Z] [2023-04-25T11:29:40.281Z] Login Succeeded [2023-04-25T11:29:40.281Z] nexus3.edgexfoundry.org:10002 [2023-04-25T11:29:40.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T11:29:40.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T11:29:40.281Z] Configure a credential helper to remove this warning. See [2023-04-25T11:29:40.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T11:29:40.281Z] [2023-04-25T11:29:40.281Z] Login Succeeded [2023-04-25T11:29:40.281Z] nexus3.edgexfoundry.org:10003 [2023-04-25T11:29:40.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T11:29:40.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T11:29:40.281Z] Configure a credential helper to remove this warning. See [2023-04-25T11:29:40.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T11:29:40.281Z] [2023-04-25T11:29:40.281Z] Login Succeeded [2023-04-25T11:29:40.281Z] nexus3.edgexfoundry.org:10004 [2023-04-25T11:29:40.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T11:29:40.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T11:29:40.541Z] Configure a credential helper to remove this warning. See [2023-04-25T11:29:40.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T11:29:40.541Z] [2023-04-25T11:29:40.541Z] Login Succeeded [2023-04-25T11:29:40.541Z] docker.io [2023-04-25T11:29:40.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T11:29:40.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T11:29:40.799Z] Configure a credential helper to remove this warning. See [2023-04-25T11:29:40.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T11:29:40.799Z] [2023-04-25T11:29:40.799Z] Login Succeeded [2023-04-25T11:29:40.799Z] ---> docker-login.sh ends [Pipeline] } [2023-04-25T11:29:40.822Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-25T11:29:41.444Z] + git rev-list -1 --merges cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a~1..cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a [Pipeline] echo [2023-04-25T11:29:41.508Z] -----------> git rev-list -1 --merges cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a~1..cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a [false] [Pipeline] sh [2023-04-25T11:29:41.819Z] + git log --format=format:%s -1 cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a [Pipeline] echo [2023-04-25T11:29:41.854Z] ========================================================= [2023-04-25T11:29:41.854Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-25T11:29:41.854Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-25T11:29:42.320Z] + git log --format=format:%s -1 cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a [Pipeline] echo [2023-04-25T11:29:42.352Z] [semverPrep] GIT_COMMIT: cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a, Commit Message: feat!: Using url.PathUnescape for decoding API path [Pipeline] echo [2023-04-25T11:29:42.384Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-25T11:29:42.762Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-25T11:29:42.762Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-25T11:29:42.762Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-25T11:29:42.762Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-25T11:29:42.762Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-25T11:29:42.762Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-25T11:29:42.762Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T11:29:43.188Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-25T11:29:43.188Z] [2023-04-25T11:29:43.188Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T11:29:43.561Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-25T11:29:43.561Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-25T11:29:43.561Z] b85a868b505f: Pulling fs layer [2023-04-25T11:29:43.561Z] e2be974225ed: Pulling fs layer [2023-04-25T11:29:43.561Z] 339a4e72a1f5: Pulling fs layer [2023-04-25T11:29:43.561Z] 988bab9f4d93: Pulling fs layer [2023-04-25T11:29:43.561Z] 1469e6f7b9e6: Pulling fs layer [2023-04-25T11:29:43.561Z] eaf3925da568: Pulling fs layer [2023-04-25T11:29:43.561Z] bab4dde63d76: Pulling fs layer [2023-04-25T11:29:43.561Z] bde34c3a00c8: Pulling fs layer [2023-04-25T11:29:43.561Z] b352a97aabf1: Pulling fs layer [2023-04-25T11:29:43.561Z] 4872d77fe225: Pulling fs layer [2023-04-25T11:29:43.561Z] 5851b861e8e6: Pulling fs layer [2023-04-25T11:29:43.561Z] bab4dde63d76: Waiting [2023-04-25T11:29:43.561Z] 988bab9f4d93: Waiting [2023-04-25T11:29:43.561Z] bde34c3a00c8: Waiting [2023-04-25T11:29:43.561Z] b352a97aabf1: Waiting [2023-04-25T11:29:43.561Z] 4872d77fe225: Waiting [2023-04-25T11:29:43.561Z] 1469e6f7b9e6: Waiting [2023-04-25T11:29:43.561Z] 5851b861e8e6: Waiting [2023-04-25T11:29:43.561Z] eaf3925da568: Waiting [2023-04-25T11:29:43.561Z] e2be974225ed: Verifying Checksum [2023-04-25T11:29:43.561Z] e2be974225ed: Download complete [2023-04-25T11:29:43.561Z] 988bab9f4d93: Verifying Checksum [2023-04-25T11:29:43.561Z] 988bab9f4d93: Download complete [2023-04-25T11:29:43.561Z] 1469e6f7b9e6: Verifying Checksum [2023-04-25T11:29:43.561Z] 1469e6f7b9e6: Download complete [2023-04-25T11:29:43.561Z] 339a4e72a1f5: Verifying Checksum [2023-04-25T11:29:43.561Z] 339a4e72a1f5: Download complete [2023-04-25T11:29:43.561Z] eaf3925da568: Verifying Checksum [2023-04-25T11:29:43.561Z] eaf3925da568: Download complete [2023-04-25T11:29:43.822Z] bde34c3a00c8: Download complete [2023-04-25T11:29:43.822Z] b352a97aabf1: Download complete [2023-04-25T11:29:43.822Z] 4872d77fe225: Verifying Checksum [2023-04-25T11:29:43.822Z] 4872d77fe225: Download complete [2023-04-25T11:29:43.822Z] 5851b861e8e6: Verifying Checksum [2023-04-25T11:29:43.822Z] 5851b861e8e6: Download complete [2023-04-25T11:29:43.822Z] b85a868b505f: Download complete [2023-04-25T11:29:44.081Z] bab4dde63d76: Verifying Checksum [2023-04-25T11:29:44.081Z] bab4dde63d76: Download complete [2023-04-25T11:29:45.017Z] b85a868b505f: Pull complete [2023-04-25T11:29:45.275Z] e2be974225ed: Pull complete [2023-04-25T11:29:45.844Z] 339a4e72a1f5: Pull complete [2023-04-25T11:29:45.844Z] 988bab9f4d93: Pull complete [2023-04-25T11:29:46.103Z] 1469e6f7b9e6: Pull complete [2023-04-25T11:29:46.364Z] eaf3925da568: Pull complete [2023-04-25T11:29:48.269Z] bab4dde63d76: Pull complete [2023-04-25T11:29:48.269Z] bde34c3a00c8: Pull complete [2023-04-25T11:29:48.269Z] b352a97aabf1: Pull complete [2023-04-25T11:29:48.269Z] 4872d77fe225: Pull complete [2023-04-25T11:29:48.528Z] 5851b861e8e6: Pull complete [2023-04-25T11:29:48.528Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-25T11:29:48.528Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-25T11:29:48.528Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T11:29:48.766Z] prd-ubuntu20.04-docker-8c-8g-10813 does not seem to be running inside a container [2023-04-25T11:29:48.799Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1434 -v /w/workspace/gexfoundry_device-sdk-go_PR-1434:/w/workspace/gexfoundry_device-sdk-go_PR-1434:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1434@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-25T11:29:52.141Z] $ docker top 165675b56f410d009af50b733655faae6ed7313078b55ab8b0355f962cec6f03 -eo pid,comm [2023-04-25T11:29:52.215Z] 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-04-25T11:29:52.215Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-25T11:29:52.336Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-25T11:29:52.336Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-25T11:29:52.444Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-25T11:29:52.450Z] $ docker exec 165675b56f410d009af50b733655faae6ed7313078b55ab8b0355f962cec6f03 ssh-agent [2023-04-25T11:29:52.553Z] SSH_AUTH_SOCK=/tmp/ssh-G3sGvdXI6y9V/agent.32 [2023-04-25T11:29:52.554Z] SSH_AGENT_PID=38 [2023-04-25T11:29:52.562Z] Running ssh-add (command line suppressed) [2023-04-25T11:29:52.669Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp/private_key_17791954321573543946.key (/w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp/private_key_17791954321573543946.key) [2023-04-25T11:29:52.683Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-25T11:29:53.010Z] + git tag --points-at HEAD [Pipeline] } [2023-04-25T11:29:53.038Z] $ docker exec --env ******** --env ******** 165675b56f410d009af50b733655faae6ed7313078b55ab8b0355f962cec6f03 ssh-agent -k [2023-04-25T11:29:53.139Z] unset SSH_AUTH_SOCK; [2023-04-25T11:29:53.140Z] unset SSH_AGENT_PID; [2023-04-25T11:29:53.140Z] echo Agent pid 38 killed; [2023-04-25T11:29:53.147Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-25T11:29:53.246Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-25T11:29:53.246Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-25T11:29:53.356Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-25T11:29:53.362Z] $ docker exec 165675b56f410d009af50b733655faae6ed7313078b55ab8b0355f962cec6f03 ssh-agent [2023-04-25T11:29:53.463Z] SSH_AUTH_SOCK=/tmp/ssh-R5aYE12MYHCb/agent.70 [2023-04-25T11:29:53.463Z] SSH_AGENT_PID=76 [2023-04-25T11:29:53.468Z] Running ssh-add (command line suppressed) [2023-04-25T11:29:53.583Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp/private_key_8027309108333398110.key (/w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp/private_key_8027309108333398110.key) [2023-04-25T11:29:53.595Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-25T11:29:53.923Z] + git semver init [2023-04-25T11:29:54.193Z] 2023-04-25 11:29:54,154 [run_init] DEBUG init version:0.0.0 force:False [2023-04-25T11:29:54.194Z] 2023-04-25 11:29:54,155 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1434/.semver [2023-04-25T11:29:54.194Z] 2023-04-25 11:29:54,156 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1434/.semver [2023-04-25T11:29:54.194Z] 2023-04-25 11:29:54,156 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1434/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1434, universal_newlines=False, shell=None, istream=None) [2023-04-25T11:29:55.131Z] 2023-04-25 11:29:55,034 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1434/.git/info/exclude [2023-04-25T11:29:55.131Z] 2023-04-25 11:29:55,035 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1434/.semver/PR-1434 with force:False [2023-04-25T11:29:55.131Z] 2023-04-25 11:29:55,035 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1434/.semver/PR-1434 [2023-04-25T11:29:55.131Z] 2023-04-25 11:29:55,040 [execute] INFO git cat-file --batch-check [2023-04-25T11:29:55.131Z] 2023-04-25 11:29:55,040 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1434/.semver, universal_newlines=False, shell=None, istream=) [2023-04-25T11:29:55.131Z] 2023-04-25 11:29:55,047 [execute] INFO git cat-file --batch [2023-04-25T11:29:55.131Z] 2023-04-25 11:29:55,047 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1434/.semver, universal_newlines=False, shell=None, istream=) [2023-04-25T11:29:55.131Z] 2023-04-25 11:29:55,052 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1434/.semver/PR-1434 [2023-04-25T11:29:55.131Z] 0.0.0 [Pipeline] } [2023-04-25T11:29:55.159Z] $ docker exec --env ******** --env ******** 165675b56f410d009af50b733655faae6ed7313078b55ab8b0355f962cec6f03 ssh-agent -k [2023-04-25T11:29:55.255Z] unset SSH_AUTH_SOCK; [2023-04-25T11:29:55.256Z] unset SSH_AGENT_PID; [2023-04-25T11:29:55.256Z] echo Agent pid 76 killed; [2023-04-25T11:29:55.262Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-25T11:29:55.675Z] + git semver [Pipeline] } [2023-04-25T11:29:55.959Z] $ docker stop --time=1 165675b56f410d009af50b733655faae6ed7313078b55ab8b0355f962cec6f03 [2023-04-25T11:29:57.485Z] $ docker rm -f --volumes 165675b56f410d009af50b733655faae6ed7313078b55ab8b0355f962cec6f03 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-25T11:29:57.886Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-25T11:29:58.194Z] Stashed 1 file(s) [Pipeline] echo [2023-04-25T11:29:58.212Z] [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-04-25T11:29:58.837Z] provisioning config files... [2023-04-25T11:29:58.846Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp/config9317865543923660950tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T11:29:59.191Z] ---> docker-login.sh [2023-04-25T11:29:59.192Z] nexus3.edgexfoundry.org:10001 [2023-04-25T11:29:59.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T11:29:59.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T11:29:59.192Z] Configure a credential helper to remove this warning. See [2023-04-25T11:29:59.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T11:29:59.192Z] [2023-04-25T11:29:59.192Z] Login Succeeded [2023-04-25T11:29:59.192Z] nexus3.edgexfoundry.org:10002 [2023-04-25T11:29:59.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T11:29:59.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T11:29:59.192Z] Configure a credential helper to remove this warning. See [2023-04-25T11:29:59.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T11:29:59.192Z] [2023-04-25T11:29:59.192Z] Login Succeeded [2023-04-25T11:29:59.192Z] nexus3.edgexfoundry.org:10003 [2023-04-25T11:29:59.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T11:29:59.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T11:29:59.453Z] Configure a credential helper to remove this warning. See [2023-04-25T11:29:59.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T11:29:59.453Z] [2023-04-25T11:29:59.453Z] Login Succeeded [2023-04-25T11:29:59.453Z] nexus3.edgexfoundry.org:10004 [2023-04-25T11:29:59.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T11:29:59.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T11:29:59.453Z] Configure a credential helper to remove this warning. See [2023-04-25T11:29:59.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T11:29:59.454Z] [2023-04-25T11:29:59.454Z] Login Succeeded [2023-04-25T11:29:59.454Z] docker.io [2023-04-25T11:29:59.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T11:29:59.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T11:29:59.721Z] Configure a credential helper to remove this warning. See [2023-04-25T11:29:59.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T11:29:59.721Z] [2023-04-25T11:29:59.721Z] Login Succeeded [2023-04-25T11:29:59.721Z] ---> docker-login.sh ends [Pipeline] } [2023-04-25T11:29:59.748Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-25T11:29:59.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-25T11:30:00.010Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-25T11:30:00.045Z] ========================================================= [2023-04-25T11:30:00.045Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-25T11:30:00.045Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T11:30:00.517Z] + 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-04-25T11:30:00.517Z] Sending build context to Docker daemon 11.02MB [2023-04-25T11:30:00.517Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-25T11:30:00.517Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-25T11:30:00.776Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-25T11:30:00.776Z] f56be85fc22e: Pulling fs layer [2023-04-25T11:30:00.776Z] 85791d961cd3: Pulling fs layer [2023-04-25T11:30:00.776Z] d694b5ae8c79: Pulling fs layer [2023-04-25T11:30:00.776Z] 9f32a84ed3da: Pulling fs layer [2023-04-25T11:30:00.776Z] 4d19c01a9841: Pulling fs layer [2023-04-25T11:30:00.776Z] 9325e15d5711: Pulling fs layer [2023-04-25T11:30:00.776Z] 556b6ee489ea: Pulling fs layer [2023-04-25T11:30:00.776Z] c5a4b2cf53e6: Pulling fs layer [2023-04-25T11:30:00.776Z] 4d19c01a9841: Waiting [2023-04-25T11:30:00.776Z] 9325e15d5711: Waiting [2023-04-25T11:30:00.776Z] 556b6ee489ea: Waiting [2023-04-25T11:30:00.776Z] c5a4b2cf53e6: Waiting [2023-04-25T11:30:00.776Z] 9f32a84ed3da: Waiting [2023-04-25T11:30:00.776Z] 85791d961cd3: Verifying Checksum [2023-04-25T11:30:00.776Z] 85791d961cd3: Download complete [2023-04-25T11:30:00.776Z] 9f32a84ed3da: Verifying Checksum [2023-04-25T11:30:00.776Z] 9f32a84ed3da: Download complete [2023-04-25T11:30:00.776Z] 4d19c01a9841: Verifying Checksum [2023-04-25T11:30:00.776Z] 4d19c01a9841: Download complete [2023-04-25T11:30:00.776Z] f56be85fc22e: Verifying Checksum [2023-04-25T11:30:00.776Z] f56be85fc22e: Download complete [2023-04-25T11:30:01.036Z] 9325e15d5711: Verifying Checksum [2023-04-25T11:30:01.036Z] 9325e15d5711: Download complete [2023-04-25T11:30:01.036Z] f56be85fc22e: Pull complete [2023-04-25T11:30:01.294Z] c5a4b2cf53e6: Verifying Checksum [2023-04-25T11:30:01.294Z] c5a4b2cf53e6: Download complete [2023-04-25T11:30:01.553Z] 85791d961cd3: Pull complete [2023-04-25T11:30:01.553Z] d694b5ae8c79: Verifying Checksum [2023-04-25T11:30:01.553Z] d694b5ae8c79: Download complete [2023-04-25T11:30:01.811Z] 556b6ee489ea: Verifying Checksum [2023-04-25T11:30:01.811Z] 556b6ee489ea: Download complete [2023-04-25T11:30:05.095Z] d694b5ae8c79: Pull complete [2023-04-25T11:30:05.095Z] 9f32a84ed3da: Pull complete [2023-04-25T11:30:05.095Z] 4d19c01a9841: Pull complete [2023-04-25T11:30:05.095Z] 9325e15d5711: Pull complete [2023-04-25T11:30:07.628Z] 556b6ee489ea: Pull complete [2023-04-25T11:30:08.207Z] c5a4b2cf53e6: Pull complete [2023-04-25T11:30:08.465Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-04-25T11:30:08.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-25T11:30:08.465Z] ---> c4be618373d6 [2023-04-25T11:30:08.465Z] Step 3/10 : ARG MAKE=make build [2023-04-25T11:30:13.645Z] Still waiting to schedule task [2023-04-25T11:30:13.646Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10812’ [2023-04-25T11:30:13.732Z] ---> Running in 7c7095fedc30 [2023-04-25T11:30:13.733Z] Removing intermediate container 7c7095fedc30 [2023-04-25T11:30:13.733Z] ---> cc2536887e68 [2023-04-25T11:30:13.733Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-25T11:30:13.733Z] ---> Running in 7fe0f08137d0 [2023-04-25T11:30:13.733Z] Removing intermediate container 7fe0f08137d0 [2023-04-25T11:30:13.733Z] ---> 8979f7893d0a [2023-04-25T11:30:13.733Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-25T11:30:13.733Z] ---> Running in d0ef26f3b6df [2023-04-25T11:30:13.999Z] Removing intermediate container d0ef26f3b6df [2023-04-25T11:30:13.999Z] ---> cd00f5afba1c [2023-04-25T11:30:13.999Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-25T11:30:13.999Z] ---> Running in b8092e09825d [2023-04-25T11:30:14.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-25T11:30:14.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-25T11:30:14.778Z] OK: 265 MiB in 53 packages [2023-04-25T11:30:15.036Z] Removing intermediate container b8092e09825d [2023-04-25T11:30:15.036Z] ---> 0d3530a98b4e [2023-04-25T11:30:15.036Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-25T11:30:15.295Z] ---> b2b2bc308532 [2023-04-25T11:30:15.295Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-25T11:30:15.295Z] ---> Running in dff414006f1f [2023-04-25T11:30:41.901Z] Removing intermediate container dff414006f1f [2023-04-25T11:30:41.901Z] ---> f4bfdfa41cfa [2023-04-25T11:30:41.901Z] Step 9/10 : COPY . . [2023-04-25T11:30:41.901Z] ---> 1a7b04e4b98a [2023-04-25T11:30:41.901Z] Step 10/10 : RUN ${MAKE} [2023-04-25T11:30:41.901Z] ---> Running in 3ac903127762 [2023-04-25T11:30:41.901Z] noop [2023-04-25T11:30:41.901Z] Removing intermediate container 3ac903127762 [2023-04-25T11:30:41.901Z] ---> 23f54bf5b79d [2023-04-25T11:30:41.901Z] Successfully built 23f54bf5b79d [2023-04-25T11:30:41.901Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T11:30:42.330Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-25T11:30:42.330Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T11:30:42.468Z] prd-ubuntu20.04-docker-8c-8g-10813 does not seem to be running inside a container [2023-04-25T11:30:42.504Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1434 -v /w/workspace/gexfoundry_device-sdk-go_PR-1434:/w/workspace/gexfoundry_device-sdk-go_PR-1434:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-25T11:30:43.121Z] $ docker top bc399e4ba311a97f8fe95c04f3c5fb489f9bc6411ac4ead31bd6201ffbd8d6f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T11:30:43.511Z] + go version [2023-04-25T11:30:43.511Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-25T11:30:43.548Z] $ docker stop --time=1 bc399e4ba311a97f8fe95c04f3c5fb489f9bc6411ac4ead31bd6201ffbd8d6f4 [2023-04-25T11:30:44.932Z] $ docker rm -f --volumes bc399e4ba311a97f8fe95c04f3c5fb489f9bc6411ac4ead31bd6201ffbd8d6f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T11:30:45.751Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-25T11:30:45.751Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T11:30:45.910Z] prd-ubuntu20.04-docker-8c-8g-10813 does not seem to be running inside a container [2023-04-25T11:30:45.946Z] $ 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-1434 -v /w/workspace/gexfoundry_device-sdk-go_PR-1434:/w/workspace/gexfoundry_device-sdk-go_PR-1434:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-25T11:30:46.404Z] $ docker top b905ce70d48f45b3a464b35fb07d721f0b53a29f576e4d08adf652c6f9f13cf4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T11:30:46.787Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1434 [Pipeline] fileExists [Pipeline] sh [2023-04-25T11:30:47.141Z] + make test [2023-04-25T11:30:47.141Z] go test -race -coverprofile=coverage.out ./... [2023-04-25T11:30:53.729Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-25T11:31:05.919Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-25T11:31:05.919Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-25T11:31:05.919Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-25T11:31:05.919Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-25T11:31:05.919Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-25T11:31:05.919Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.056s coverage: 27.6% of statements [2023-04-25T11:31:05.919Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-25T11:31:05.919Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-25T11:31:05.919Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.050s coverage: 80.2% of statements [2023-04-25T11:31:05.919Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.084s coverage: 86.0% of statements [2023-04-25T11:31:06.485Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-25T11:31:06.485Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.092s coverage: 77.5% of statements [2023-04-25T11:31:06.743Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-25T11:31:07.002Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-25T11:31:07.002Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-25T11:31:07.261Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-25T11:31:09.792Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.067s coverage: 14.6% of statements [2023-04-25T11:31:09.793Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.081s coverage: 68.5% of statements [2023-04-25T11:31:09.793Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.113s coverage: 89.2% of statements [2023-04-25T11:31:09.793Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.060s coverage: 5.5% of statements [2023-04-25T11:31:31.703Z] GO111MODULE=on go vet ./... [2023-04-25T11:31:31.703Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-25T11:31:31.703Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-25T11:31:31.703Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-25T11:31:31.991Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-25T11:31:32.023Z] $ docker stop --time=1 b905ce70d48f45b3a464b35fb07d721f0b53a29f576e4d08adf652c6f9f13cf4 [2023-04-25T11:31:35.426Z] $ docker rm -f --volumes b905ce70d48f45b3a464b35fb07d721f0b53a29f576e4d08adf652c6f9f13cf4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-25T11:31:36.010Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-25T11:31:36.117Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-25T11:31:36.796Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-25T11:31:37.106Z] + ls -al . [2023-04-25T11:31:37.106Z] total 272 [2023-04-25T11:31:37.106Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 11:30 . [2023-04-25T11:31:37.106Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 11:29 .. [2023-04-25T11:31:37.106Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 25 11:29 .dockerignore [2023-04-25T11:31:37.106Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 11:29 .git [2023-04-25T11:31:37.106Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 11:29 .github [2023-04-25T11:31:37.106Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 25 11:29 .gitignore [2023-04-25T11:31:37.106Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 25 11:29 .golangci.yml [2023-04-25T11:31:37.106Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 11:29 .semver [2023-04-25T11:31:37.106Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 25 11:29 CHANGELOG.md [2023-04-25T11:31:37.106Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 11:29 GOVERNANCE.md [2023-04-25T11:31:37.106Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 25 11:29 Jenkinsfile [2023-04-25T11:31:37.106Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 25 11:29 LICENSE [2023-04-25T11:31:37.106Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 25 11:29 Makefile [2023-04-25T11:31:37.106Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 25 11:29 OWNERS.md [2023-04-25T11:31:37.106Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 25 11:29 README.md [2023-04-25T11:31:37.106Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 11:29 VERSION [2023-04-25T11:31:37.106Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 11:29 bin [2023-04-25T11:31:37.106Z] -rw-r--r-- 1 jenkins jenkins 106119 Apr 25 11:31 coverage.out [2023-04-25T11:31:37.106Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 25 11:29 example [2023-04-25T11:31:37.106Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 25 11:29 go.mod [2023-04-25T11:31:37.106Z] -rw-rw-r-- 1 jenkins jenkins 30896 Apr 25 11:29 go.sum [2023-04-25T11:31:37.106Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 25 11:29 internal [2023-04-25T11:31:37.106Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 11:29 openapi [2023-04-25T11:31:37.106Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 25 11:29 pkg [2023-04-25T11:31:37.106Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 11:29 snap [2023-04-25T11:31:37.106Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 25 11:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T11:31:37.501Z] + 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=cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a --label arch=amd64 --label version=0.0.0 . [2023-04-25T11:31:37.501Z] Sending build context to Docker daemon 11.12MB [2023-04-25T11:31:37.501Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-25T11:31:37.501Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-25T11:31:37.501Z] ---> 23f54bf5b79d [2023-04-25T11:31:37.501Z] Step 3/23 : ARG MAKE=make build [2023-04-25T11:31:37.762Z] ---> Running in a4fa2f5bff06 [2023-04-25T11:31:37.762Z] Removing intermediate container a4fa2f5bff06 [2023-04-25T11:31:37.762Z] ---> d7d82c148d5d [2023-04-25T11:31:37.762Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-25T11:31:37.762Z] ---> Running in cd235038ab99 [2023-04-25T11:31:37.762Z] Removing intermediate container cd235038ab99 [2023-04-25T11:31:37.762Z] ---> d1b145353f0c [2023-04-25T11:31:37.762Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-25T11:31:37.762Z] ---> Running in f36a1377a486 [2023-04-25T11:31:38.023Z] Removing intermediate container f36a1377a486 [2023-04-25T11:31:38.023Z] ---> 5ee02f73da83 [2023-04-25T11:31:38.023Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-25T11:31:38.023Z] ---> Running in 37a449d78341 [2023-04-25T11:31:38.283Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-25T11:31:38.283Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-25T11:31:38.542Z] OK: 265 MiB in 53 packages [2023-04-25T11:31:38.800Z] Removing intermediate container 37a449d78341 [2023-04-25T11:31:38.800Z] ---> 379053b47fd2 [2023-04-25T11:31:38.800Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-25T11:31:39.058Z] ---> 3431d39168be [2023-04-25T11:31:39.059Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-25T11:31:39.059Z] ---> Running in a178df7d3c42 [2023-04-25T11:31:39.625Z] Removing intermediate container a178df7d3c42 [2023-04-25T11:31:39.625Z] ---> 3713acb806e0 [2023-04-25T11:31:39.625Z] Step 9/23 : COPY . . [2023-04-25T11:31:40.196Z] ---> 18df1f0ee96c [2023-04-25T11:31:40.196Z] Step 10/23 : RUN ${MAKE} [2023-04-25T11:31:40.456Z] ---> Running in b6a0543f1353 [2023-04-25T11:31:40.456Z] 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-04-25T11:31:58.568Z] Removing intermediate container b6a0543f1353 [2023-04-25T11:31:58.568Z] ---> 2e2dd3ea91d2 [2023-04-25T11:31:58.568Z] Step 11/23 : FROM alpine:3.17 [2023-04-25T11:31:58.568Z] 3.17: Pulling from library/alpine [2023-04-25T11:31:58.568Z] f56be85fc22e: Already exists [2023-04-25T11:31:58.828Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-25T11:31:58.828Z] Status: Downloaded newer image for alpine:3.17 [2023-04-25T11:31:58.828Z] ---> 9ed4aefc74f6 [2023-04-25T11:31:58.828Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-25T11:31:58.828Z] ---> Running in 94d7e4f95fc8 [2023-04-25T11:31:58.828Z] Removing intermediate container 94d7e4f95fc8 [2023-04-25T11:31:58.828Z] ---> 2fc9eef9e2b5 [2023-04-25T11:31:58.828Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-25T11:31:58.828Z] ---> Running in 567b59087e73 [2023-04-25T11:31:59.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-25T11:31:59.345Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-25T11:31:59.345Z] OK: 7 MiB in 15 packages [2023-04-25T11:31:59.604Z] Removing intermediate container 567b59087e73 [2023-04-25T11:31:59.604Z] ---> 607893f8b3d4 [2023-04-25T11:31:59.604Z] Step 14/23 : WORKDIR / [2023-04-25T11:31:59.862Z] ---> Running in 86358d5e6ca0 [2023-04-25T11:31:59.863Z] Removing intermediate container 86358d5e6ca0 [2023-04-25T11:31:59.863Z] ---> 489595582e6e [2023-04-25T11:31:59.863Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-25T11:31:59.863Z] ---> 03e325620fc6 [2023-04-25T11:31:59.863Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-25T11:32:00.830Z] ---> 576c8b4ca150 [2023-04-25T11:32:00.830Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-25T11:32:00.830Z] ---> d3c7f15a4f8f [2023-04-25T11:32:00.830Z] Step 18/23 : EXPOSE 59999 [2023-04-25T11:32:00.830Z] ---> Running in 1e15d97e5c83 [2023-04-25T11:32:00.830Z] Removing intermediate container 1e15d97e5c83 [2023-04-25T11:32:00.830Z] ---> cf547db32538 [2023-04-25T11:32:00.830Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-25T11:32:00.830Z] ---> Running in ef0fd834fee9 [2023-04-25T11:32:00.830Z] Removing intermediate container ef0fd834fee9 [2023-04-25T11:32:00.830Z] ---> 799a3cd65e98 [2023-04-25T11:32:00.830Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-25T11:32:01.089Z] ---> Running in f4205421b109 [2023-04-25T11:32:01.089Z] Removing intermediate container f4205421b109 [2023-04-25T11:32:01.089Z] ---> 98ea04fcfbd8 [2023-04-25T11:32:01.089Z] Step 21/23 : LABEL arch=amd64 [2023-04-25T11:32:01.089Z] ---> Running in 90d334d0b53d [2023-04-25T11:32:01.089Z] Removing intermediate container 90d334d0b53d [2023-04-25T11:32:01.089Z] ---> c24b47e07063 [2023-04-25T11:32:01.089Z] Step 22/23 : LABEL git_sha=cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a [2023-04-25T11:32:01.089Z] ---> Running in 80ba74bf02c2 [2023-04-25T11:32:01.348Z] Removing intermediate container 80ba74bf02c2 [2023-04-25T11:32:01.348Z] ---> 215cd98ae007 [2023-04-25T11:32:01.348Z] Step 23/23 : LABEL version=0.0.0 [2023-04-25T11:32:01.348Z] ---> Running in 03d2dc540424 [2023-04-25T11:32:01.348Z] Removing intermediate container 03d2dc540424 [2023-04-25T11:32:01.348Z] ---> 4d4f1720c9b6 [2023-04-25T11:32:01.348Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-25T11:32:01.348Z] Successfully built 4d4f1720c9b6 [2023-04-25T11:32:01.348Z] 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-04-25T11:32:02.240Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-25T11:32:02.240Z] [2023-04-25T11:32:02.240Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T11:32:02.629Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-25T11:32:02.629Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-25T11:32:02.629Z] 5eb5b503b376: Pulling fs layer [2023-04-25T11:32:02.629Z] 5c69ac0246d0: Pulling fs layer [2023-04-25T11:32:02.629Z] ec43610c2a17: Pulling fs layer [2023-04-25T11:32:02.629Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-25T11:32:02.629Z] 33b1e0a273af: Pulling fs layer [2023-04-25T11:32:02.629Z] 5d3b04190fa2: Pulling fs layer [2023-04-25T11:32:02.629Z] 2f39f015ded8: Pulling fs layer [2023-04-25T11:32:02.629Z] 3a2ae6a8a46f: Waiting [2023-04-25T11:32:02.629Z] 33b1e0a273af: Waiting [2023-04-25T11:32:02.629Z] 5d3b04190fa2: Waiting [2023-04-25T11:32:02.629Z] 2f39f015ded8: Waiting [2023-04-25T11:32:02.629Z] 5c69ac0246d0: Download complete [2023-04-25T11:32:02.629Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-25T11:32:02.629Z] 3a2ae6a8a46f: Download complete [2023-04-25T11:32:02.629Z] 33b1e0a273af: Verifying Checksum [2023-04-25T11:32:02.629Z] 33b1e0a273af: Download complete [2023-04-25T11:32:02.629Z] ec43610c2a17: Verifying Checksum [2023-04-25T11:32:02.629Z] ec43610c2a17: Download complete [2023-04-25T11:32:02.629Z] 5d3b04190fa2: Verifying Checksum [2023-04-25T11:32:02.629Z] 5d3b04190fa2: Download complete [2023-04-25T11:32:02.887Z] 5eb5b503b376: Verifying Checksum [2023-04-25T11:32:02.887Z] 5eb5b503b376: Download complete [2023-04-25T11:32:03.453Z] 2f39f015ded8: Download complete [2023-04-25T11:32:04.020Z] 5eb5b503b376: Pull complete [2023-04-25T11:32:04.020Z] 5c69ac0246d0: Pull complete [2023-04-25T11:32:04.587Z] ec43610c2a17: Pull complete [2023-04-25T11:32:04.587Z] 3a2ae6a8a46f: Pull complete [2023-04-25T11:32:04.587Z] 33b1e0a273af: Pull complete [2023-04-25T11:32:04.845Z] 5d3b04190fa2: Pull complete [2023-04-25T11:32:09.033Z] 2f39f015ded8: Pull complete [2023-04-25T11:32:09.033Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-25T11:32:09.033Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-25T11:32:09.033Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T11:32:09.272Z] prd-ubuntu20.04-docker-8c-8g-10813 does not seem to be running inside a container [2023-04-25T11:32:09.311Z] $ 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-1434 -v /w/workspace/gexfoundry_device-sdk-go_PR-1434:/w/workspace/gexfoundry_device-sdk-go_PR-1434:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-25T11:32:12.528Z] $ docker top 5fa660ce68c6784a9c647f079f11ca4efcac8a61b68dcc2c41ef7014f8b044f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T11:32:12.966Z] ---> job-cost.sh [2023-04-25T11:32:12.966Z] lf-activate-venv: SKIPPING [2023-04-25T11:32:12.966Z] INFO: No Stack... [2023-04-25T11:32:13.225Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-25T11:32:13.475Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10815 in /w/workspace/gexfoundry_device-sdk-go_PR-1434 [Pipeline] { [2023-04-25T11:32:13.484Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] ws [2023-04-25T11:32:13.606Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-04-25T11:32:13.690Z] The recommended git tool is: git [2023-04-25T11:32:13.828Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1434/archives/cost.csv [2023-04-25T11:32:13.828Z] + cut -d, -f6 [Pipeline] lock [2023-04-25T11:32:13.867Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1434-1-stack-cost] [2023-04-25T11:32:13.871Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1434-1-stack-cost] did not exist. Created. [2023-04-25T11:32:13.871Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1434-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-25T11:32:14.269Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-25T11:32:14.320Z] Stashed 1 file(s) [Pipeline] } [2023-04-25T11:32:14.350Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1434-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-25T11:32:14.449Z] $ docker stop --time=1 5fa660ce68c6784a9c647f079f11ca4efcac8a61b68dcc2c41ef7014f8b044f7 [2023-04-25T11:32:15.593Z] $ docker rm -f --volumes 5fa660ce68c6784a9c647f079f11ca4efcac8a61b68dcc2c41ef7014f8b044f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-25T11:32:19.440Z] using credential edgex-jenkins-ssh [2023-04-25T11:32:19.468Z] Cloning the remote Git repository [2023-04-25T11:32:19.524Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-04-25T11:32:19.637Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-04-25T11:32:19.785Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-25T11:32:19.786Z] > git --version # timeout=10 [2023-04-25T11:32:19.805Z] > git --version # 'git version 2.25.1' [2023-04-25T11:32:19.808Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-25T11:32:19.966Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-25T11:32:21.623Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-25T11:32:21.649Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-25T11:32:22.527Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-25T11:32:22.569Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-25T11:32:22.570Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-25T11:32:22.584Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1434/head:refs/remotes/origin/PR-1434 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-25T11:32:23.239Z] Merging remotes/origin/main commit 87389bdebb11d4655f183884612f3f0d4c970364 into PR head commit cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a [2023-04-25T11:32:23.530Z] Merge succeeded, producing cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a [2023-04-25T11:32:23.530Z] Checking out Revision cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a (PR-1434) [2023-04-25T11:32:23.260Z] > git config core.sparsecheckout # timeout=10 [2023-04-25T11:32:23.327Z] > git checkout -f cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a # timeout=10 [2023-04-25T11:32:23.426Z] > git remote # timeout=10 [2023-04-25T11:32:23.446Z] > git config --get remote.origin.url # timeout=10 [2023-04-25T11:32:23.471Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-25T11:32:23.484Z] > git merge 87389bdebb11d4655f183884612f3f0d4c970364 # timeout=10 [2023-04-25T11:32:23.511Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-25T11:32:23.537Z] > git config core.sparsecheckout # timeout=10 [2023-04-25T11:32:23.553Z] > git checkout -f cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a # timeout=10 [2023-04-25T11:32:27.159Z] Commit message: "feat!: Using url.PathUnescape for decoding API path" [2023-04-25T11:32:27.214Z] > git --version # timeout=10 [2023-04-25T11:32:27.228Z] > git --version # 'git version 2.25.1' [2023-04-25T11:32:27.240Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-25T11:32:28.312Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-25T11:32:28.312Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-25T11:32:28.312Z] Dload Upload Total Spent Left Speed [2023-04-25T11:32:28.312Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-04-25T11:32:29.116Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-25T11:32:29.454Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-25T11:32:29.454Z] + sudo tee /etc/docker/daemon.new [2023-04-25T11:32:29.454Z] { [2023-04-25T11:32:29.454Z] "registry-mirrors": [ [2023-04-25T11:32:29.454Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-25T11:32:29.454Z] ], [2023-04-25T11:32:29.454Z] "bip": "10.250.0.254/24", [2023-04-25T11:32:29.454Z] "hosts": [ [2023-04-25T11:32:29.454Z] "tcp://0.0.0.0:5555", [2023-04-25T11:32:29.454Z] "unix:///var/run/docker.sock" [2023-04-25T11:32:29.454Z] ], [2023-04-25T11:32:29.454Z] "mtu": 1458, [2023-04-25T11:32:29.454Z] "selinux-enabled": true, [2023-04-25T11:32:29.454Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-25T11:32:29.454Z] } [Pipeline] sh [2023-04-25T11:32:29.800Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-25T11:32:30.168Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-25T11:32:48.475Z] provisioning config files... [2023-04-25T11:32:48.501Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config13634765331449296179tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T11:32:48.882Z] ---> docker-login.sh [2023-04-25T11:32:48.882Z] nexus3.edgexfoundry.org:10001 [2023-04-25T11:32:49.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T11:32:49.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T11:32:49.732Z] Configure a credential helper to remove this warning. See [2023-04-25T11:32:49.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T11:32:49.732Z] [2023-04-25T11:32:49.732Z] Login Succeeded [2023-04-25T11:32:49.732Z] nexus3.edgexfoundry.org:10002 [2023-04-25T11:32:49.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T11:32:50.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T11:32:50.000Z] Configure a credential helper to remove this warning. See [2023-04-25T11:32:50.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T11:32:50.000Z] [2023-04-25T11:32:50.000Z] Login Succeeded [2023-04-25T11:32:50.000Z] nexus3.edgexfoundry.org:10003 [2023-04-25T11:32:50.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T11:32:50.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T11:32:50.268Z] Configure a credential helper to remove this warning. See [2023-04-25T11:32:50.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T11:32:50.268Z] [2023-04-25T11:32:50.268Z] Login Succeeded [2023-04-25T11:32:50.268Z] nexus3.edgexfoundry.org:10004 [2023-04-25T11:32:50.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T11:32:50.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T11:32:50.537Z] Configure a credential helper to remove this warning. See [2023-04-25T11:32:50.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T11:32:50.538Z] [2023-04-25T11:32:50.538Z] Login Succeeded [2023-04-25T11:32:50.538Z] docker.io [2023-04-25T11:32:50.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T11:32:51.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T11:32:51.071Z] Configure a credential helper to remove this warning. See [2023-04-25T11:32:51.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T11:32:51.071Z] [2023-04-25T11:32:51.071Z] Login Succeeded [2023-04-25T11:32:51.071Z] ---> docker-login.sh ends [Pipeline] } [2023-04-25T11:32:51.101Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-25T11:32:51.454Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-25T11:32:51.488Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-25T11:32:51.522Z] ========================================================= [2023-04-25T11:32:51.522Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-25T11:32:51.522Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T11:32:52.043Z] + 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-04-25T11:32:52.311Z] Sending build context to Docker daemon 5.921MB [2023-04-25T11:32:52.311Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-25T11:32:52.311Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-25T11:32:52.578Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-25T11:32:52.578Z] c41833b44d91: Pulling fs layer [2023-04-25T11:32:52.578Z] ed15518f5707: Pulling fs layer [2023-04-25T11:32:52.578Z] feae8fd75edb: Pulling fs layer [2023-04-25T11:32:52.578Z] 242c74f7c9fa: Pulling fs layer [2023-04-25T11:32:52.578Z] 3cdef696dda3: Pulling fs layer [2023-04-25T11:32:52.578Z] 2ced38df9373: Pulling fs layer [2023-04-25T11:32:52.578Z] 58f1dce35555: Pulling fs layer [2023-04-25T11:32:52.578Z] 2ced38df9373: Waiting [2023-04-25T11:32:52.578Z] 242c74f7c9fa: Waiting [2023-04-25T11:32:52.578Z] 3cdef696dda3: Waiting [2023-04-25T11:32:52.578Z] 58f1dce35555: Waiting [2023-04-25T11:32:52.578Z] ed15518f5707: Verifying Checksum [2023-04-25T11:32:52.578Z] ed15518f5707: Download complete [2023-04-25T11:32:52.578Z] 242c74f7c9fa: Verifying Checksum [2023-04-25T11:32:52.578Z] 242c74f7c9fa: Download complete [2023-04-25T11:32:52.578Z] 3cdef696dda3: Verifying Checksum [2023-04-25T11:32:52.578Z] 3cdef696dda3: Download complete [2023-04-25T11:32:52.578Z] c41833b44d91: Verifying Checksum [2023-04-25T11:32:52.578Z] c41833b44d91: Download complete [2023-04-25T11:32:53.995Z] 58f1dce35555: Verifying Checksum [2023-04-25T11:32:53.995Z] 58f1dce35555: Download complete [2023-04-25T11:32:54.970Z] feae8fd75edb: Verifying Checksum [2023-04-25T11:32:54.970Z] feae8fd75edb: Download complete [2023-04-25T11:32:54.970Z] 2ced38df9373: Verifying Checksum [2023-04-25T11:32:54.970Z] 2ced38df9373: Download complete [2023-04-25T11:32:55.564Z] c41833b44d91: Pull complete [2023-04-25T11:32:55.831Z] ed15518f5707: Pull complete [2023-04-25T11:33:08.150Z] feae8fd75edb: Pull complete [2023-04-25T11:33:08.150Z] 242c74f7c9fa: Pull complete [2023-04-25T11:33:08.150Z] 3cdef696dda3: Pull complete [2023-04-25T11:33:13.518Z] 2ced38df9373: Pull complete [2023-04-25T11:33:16.120Z] 58f1dce35555: Pull complete [2023-04-25T11:33:16.120Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-04-25T11:33:16.120Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-25T11:33:16.120Z] ---> fadd8f120f05 [2023-04-25T11:33:16.120Z] Step 3/10 : ARG MAKE=make build [2023-04-25T11:33:17.537Z] ---> Running in 600bdee9a616 [2023-04-25T11:33:17.806Z] Removing intermediate container 600bdee9a616 [2023-04-25T11:33:17.806Z] ---> 81ca16ca24d1 [2023-04-25T11:33:17.806Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-25T11:33:17.806Z] ---> Running in d933a0572a4a [2023-04-25T11:33:18.398Z] Removing intermediate container d933a0572a4a [2023-04-25T11:33:18.398Z] ---> fcdef16ec2de [2023-04-25T11:33:18.398Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-25T11:33:18.398Z] ---> Running in 1fbe83b2d4dc [2023-04-25T11:33:18.669Z] Removing intermediate container 1fbe83b2d4dc [2023-04-25T11:33:18.669Z] ---> def154aad68e [2023-04-25T11:33:18.669Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-25T11:33:18.669Z] ---> Running in c2882606f47a [2023-04-25T11:33:20.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-25T11:33:20.674Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-25T11:33:21.634Z] OK: 263 MiB in 53 packages [2023-04-25T11:33:22.611Z] Removing intermediate container c2882606f47a [2023-04-25T11:33:22.611Z] ---> d7c917ba8abe [2023-04-25T11:33:22.611Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-25T11:33:23.200Z] ---> e74e66689ba8 [2023-04-25T11:33:23.200Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-25T11:33:23.200Z] ---> Running in 99f7c624661a [2023-04-25T11:34:31.096Z] Removing intermediate container 99f7c624661a [2023-04-25T11:34:31.096Z] ---> a8b8e10c57cd [2023-04-25T11:34:31.096Z] Step 9/10 : COPY . . [2023-04-25T11:34:31.096Z] ---> 9767758bea2c [2023-04-25T11:34:31.096Z] Step 10/10 : RUN ${MAKE} [2023-04-25T11:34:31.096Z] ---> Running in 2ba98fec5b3c [2023-04-25T11:34:31.096Z] noop [2023-04-25T11:34:31.096Z] Removing intermediate container 2ba98fec5b3c [2023-04-25T11:34:31.096Z] ---> 5efdb6fa4a28 [2023-04-25T11:34:31.096Z] Successfully built 5efdb6fa4a28 [2023-04-25T11:34:31.096Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T11:34:31.568Z] + docker inspect -f . ci-base-image-arm64 [2023-04-25T11:34:31.568Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T11:34:31.874Z] prd-ubuntu20.04-docker-arm64-4c-16g-10815 does not seem to be running inside a container [2023-04-25T11:34:31.944Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-25T11:34:33.229Z] $ docker top 01ab649f2cd8ec1a332aeb0a44a138f7b29c703fb52054dda35de2c158e59380 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T11:34:34.141Z] + go version [2023-04-25T11:34:34.141Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-25T11:34:34.175Z] $ docker stop --time=1 01ab649f2cd8ec1a332aeb0a44a138f7b29c703fb52054dda35de2c158e59380 [2023-04-25T11:34:35.831Z] $ docker rm -f --volumes 01ab649f2cd8ec1a332aeb0a44a138f7b29c703fb52054dda35de2c158e59380 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T11:34:36.696Z] + docker inspect -f . ci-base-image-arm64 [2023-04-25T11:34:36.697Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T11:34:36.946Z] prd-ubuntu20.04-docker-arm64-4c-16g-10815 does not seem to be running inside a container [2023-04-25T11:34:37.011Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-25T11:34:38.181Z] $ docker top df65391c292303349a84e3102657b710e7f8ba98f245a19f57b5641f7176371c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T11:34:38.754Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-25T11:34:39.466Z] + make test [2023-04-25T11:34:39.466Z] go test -race -coverprofile=coverage.out ./... [2023-04-25T11:35:26.330Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-25T11:37:33.014Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-25T11:37:33.014Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-25T11:37:33.014Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-25T11:37:33.014Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-25T11:37:33.014Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-25T11:37:33.014Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.228s coverage: 27.6% of statements [2023-04-25T11:37:33.014Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.281s coverage: 80.2% of statements [2023-04-25T11:37:48.004Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-25T11:37:48.004Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-25T11:37:48.004Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.369s coverage: 86.0% of statements [2023-04-25T11:37:53.355Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-25T11:37:53.355Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.476s coverage: 77.5% of statements [2023-04-25T11:37:57.622Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-25T11:37:59.570Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-25T11:37:59.570Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-25T11:38:00.993Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.305s coverage: 14.6% of statements [2023-04-25T11:38:00.993Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.435s coverage: 68.5% of statements [2023-04-25T11:38:03.594Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.478s coverage: 89.2% of statements [2023-04-25T11:38:05.010Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-25T11:38:05.280Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.273s coverage: 5.5% of statements [2023-04-25T11:38:06.245Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-25T11:38:06.245Z] GO111MODULE=on go vet ./... [2023-04-25T11:40:43.099Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-25T11:40:43.099Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-25T11:40:43.099Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-25T11:40:43.140Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-25T11:40:43.172Z] $ docker stop --time=1 df65391c292303349a84e3102657b710e7f8ba98f245a19f57b5641f7176371c [2023-04-25T11:40:45.033Z] $ docker rm -f --volumes df65391c292303349a84e3102657b710e7f8ba98f245a19f57b5641f7176371c [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-25T11:40:46.654Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-25T11:40:46.688Z] Warning: overwriting stash ‘coverage-report’ [2023-04-25T11:40:47.280Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-25T11:40:47.852Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-25T11:40:48.194Z] + ls -al . [2023-04-25T11:40:48.194Z] total 268 [2023-04-25T11:40:48.194Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 11:34 . [2023-04-25T11:40:48.194Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 11:32 .. [2023-04-25T11:40:48.194Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 25 11:32 .dockerignore [2023-04-25T11:40:48.194Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 11:32 .git [2023-04-25T11:40:48.194Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 11:32 .github [2023-04-25T11:40:48.194Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 25 11:32 .gitignore [2023-04-25T11:40:48.194Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 25 11:32 .golangci.yml [2023-04-25T11:40:48.194Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 25 11:32 CHANGELOG.md [2023-04-25T11:40:48.194Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 11:32 GOVERNANCE.md [2023-04-25T11:40:48.194Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 25 11:32 Jenkinsfile [2023-04-25T11:40:48.194Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 25 11:32 LICENSE [2023-04-25T11:40:48.194Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 25 11:32 Makefile [2023-04-25T11:40:48.194Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 25 11:32 OWNERS.md [2023-04-25T11:40:48.194Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 25 11:32 README.md [2023-04-25T11:40:48.194Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 11:29 VERSION [2023-04-25T11:40:48.194Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 11:32 bin [2023-04-25T11:40:48.194Z] -rw-r--r-- 1 jenkins jenkins 106119 Apr 25 11:38 coverage.out [2023-04-25T11:40:48.194Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 25 11:32 example [2023-04-25T11:40:48.194Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 25 11:32 go.mod [2023-04-25T11:40:48.194Z] -rw-rw-r-- 1 jenkins jenkins 30896 Apr 25 11:32 go.sum [2023-04-25T11:40:48.194Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 25 11:32 internal [2023-04-25T11:40:48.194Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 11:32 openapi [2023-04-25T11:40:48.194Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 25 11:32 pkg [2023-04-25T11:40:48.194Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 11:32 snap [2023-04-25T11:40:48.194Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 25 11:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T11:40:48.612Z] + 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=cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a --label arch=arm64 --label version=0.0.0 . [2023-04-25T11:40:49.194Z] Sending build context to Docker daemon 6.028MB [2023-04-25T11:40:49.194Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-25T11:40:49.194Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-25T11:40:49.194Z] ---> 5efdb6fa4a28 [2023-04-25T11:40:49.194Z] Step 3/23 : ARG MAKE=make build [2023-04-25T11:40:49.194Z] ---> Running in 0c1fc092720a [2023-04-25T11:40:49.461Z] Removing intermediate container 0c1fc092720a [2023-04-25T11:40:49.461Z] ---> 73179a887f70 [2023-04-25T11:40:49.461Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-25T11:40:49.461Z] ---> Running in 29c5b001fab5 [2023-04-25T11:40:49.732Z] Removing intermediate container 29c5b001fab5 [2023-04-25T11:40:49.732Z] ---> d9af21e33ee0 [2023-04-25T11:40:49.732Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-25T11:40:50.000Z] ---> Running in b283dc1ea891 [2023-04-25T11:40:50.273Z] Removing intermediate container b283dc1ea891 [2023-04-25T11:40:50.273Z] ---> 67654cc113d4 [2023-04-25T11:40:50.273Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-25T11:40:50.273Z] ---> Running in 5157fbf0cf72 [2023-04-25T11:40:51.240Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-25T11:40:51.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-25T11:40:53.247Z] OK: 263 MiB in 53 packages [2023-04-25T11:40:53.833Z] Removing intermediate container 5157fbf0cf72 [2023-04-25T11:40:53.833Z] ---> 09f2d8e7ed37 [2023-04-25T11:40:53.833Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-25T11:40:57.192Z] ---> 834c4321c459 [2023-04-25T11:40:57.192Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-25T11:40:57.192Z] ---> Running in b4d74fd86ca2 [2023-04-25T11:40:59.783Z] Removing intermediate container b4d74fd86ca2 [2023-04-25T11:40:59.783Z] ---> 7d66c3244cc1 [2023-04-25T11:40:59.783Z] Step 9/23 : COPY . . [2023-04-25T11:41:00.746Z] ---> c9bb7554d092 [2023-04-25T11:41:00.746Z] Step 10/23 : RUN ${MAKE} [2023-04-25T11:41:00.746Z] ---> Running in 350d11bd23ea [2023-04-25T11:41:01.714Z] 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-04-25T11:43:23.451Z] Removing intermediate container 350d11bd23ea [2023-04-25T11:43:23.451Z] ---> 8a6ca072a9b0 [2023-04-25T11:43:23.451Z] Step 11/23 : FROM alpine:3.17 [2023-04-25T11:43:23.451Z] 3.17: Pulling from library/alpine [2023-04-25T11:43:23.451Z] c41833b44d91: Already exists [2023-04-25T11:43:23.451Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-25T11:43:23.451Z] Status: Downloaded newer image for alpine:3.17 [2023-04-25T11:43:23.451Z] ---> 51e60588ff2c [2023-04-25T11:43:23.451Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-25T11:43:23.451Z] ---> Running in a89780a67d1d [2023-04-25T11:43:23.451Z] Removing intermediate container a89780a67d1d [2023-04-25T11:43:23.451Z] ---> 561d22b58ad7 [2023-04-25T11:43:23.451Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-25T11:43:23.451Z] ---> Running in 6fefacd83727 [2023-04-25T11:43:23.451Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-25T11:43:23.451Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-25T11:43:23.451Z] OK: 7 MiB in 15 packages [2023-04-25T11:43:23.451Z] Removing intermediate container 6fefacd83727 [2023-04-25T11:43:23.451Z] ---> 3fe62728b448 [2023-04-25T11:43:23.451Z] Step 14/23 : WORKDIR / [2023-04-25T11:43:23.451Z] ---> Running in 2c5ad812eb7b [2023-04-25T11:43:23.451Z] Removing intermediate container 2c5ad812eb7b [2023-04-25T11:43:23.451Z] ---> 59c3676c9c79 [2023-04-25T11:43:23.451Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-25T11:43:23.451Z] ---> f91a3a2df683 [2023-04-25T11:43:23.451Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-25T11:43:23.451Z] ---> 7e804aae1fb1 [2023-04-25T11:43:23.451Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-25T11:43:23.451Z] ---> 4c173d25e70d [2023-04-25T11:43:23.451Z] Step 18/23 : EXPOSE 59999 [2023-04-25T11:43:23.451Z] ---> Running in 0eb20fb5e9cf [2023-04-25T11:43:23.451Z] Removing intermediate container 0eb20fb5e9cf [2023-04-25T11:43:23.451Z] ---> e96c65463a2f [2023-04-25T11:43:23.451Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-25T11:43:23.451Z] ---> Running in 6b179debfea3 [2023-04-25T11:43:23.451Z] Removing intermediate container 6b179debfea3 [2023-04-25T11:43:23.451Z] ---> 3a239aa3083c [2023-04-25T11:43:23.451Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-25T11:43:23.451Z] ---> Running in 2a9b72b637d7 [2023-04-25T11:43:23.451Z] Removing intermediate container 2a9b72b637d7 [2023-04-25T11:43:23.451Z] ---> 73be02f540b1 [2023-04-25T11:43:23.451Z] Step 21/23 : LABEL arch=arm64 [2023-04-25T11:43:23.451Z] ---> Running in 5658f852277a [2023-04-25T11:43:23.451Z] Removing intermediate container 5658f852277a [2023-04-25T11:43:23.451Z] ---> 0c2ffd831605 [2023-04-25T11:43:23.451Z] Step 22/23 : LABEL git_sha=cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a [2023-04-25T11:43:23.451Z] ---> Running in 0210354f5abe [2023-04-25T11:43:23.451Z] Removing intermediate container 0210354f5abe [2023-04-25T11:43:23.451Z] ---> cffdd2b159cd [2023-04-25T11:43:23.451Z] Step 23/23 : LABEL version=0.0.0 [2023-04-25T11:43:23.451Z] ---> Running in dfebdf02d211 [2023-04-25T11:43:23.451Z] Removing intermediate container dfebdf02d211 [2023-04-25T11:43:23.451Z] ---> 5dfad1d464e7 [2023-04-25T11:43:23.451Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-25T11:43:23.451Z] Successfully built 5dfad1d464e7 [2023-04-25T11:43:23.451Z] 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-04-25T11:43:24.273Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-25T11:43:24.273Z] [2023-04-25T11:43:24.273Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T11:43:24.682Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-25T11:43:24.682Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-25T11:43:24.682Z] 8998bd30e6a1: Pulling fs layer [2023-04-25T11:43:24.682Z] 04944245beec: Pulling fs layer [2023-04-25T11:43:24.682Z] 699f458cf7ca: Pulling fs layer [2023-04-25T11:43:24.682Z] 765212b225bb: Pulling fs layer [2023-04-25T11:43:24.682Z] f23df028b6ca: Pulling fs layer [2023-04-25T11:43:24.682Z] d65c8cfc05b1: Pulling fs layer [2023-04-25T11:43:24.682Z] 2437ff75d9bd: Pulling fs layer [2023-04-25T11:43:24.682Z] f23df028b6ca: Waiting [2023-04-25T11:43:24.682Z] d65c8cfc05b1: Waiting [2023-04-25T11:43:24.682Z] 765212b225bb: Waiting [2023-04-25T11:43:24.682Z] 2437ff75d9bd: Waiting [2023-04-25T11:43:24.949Z] 04944245beec: Verifying Checksum [2023-04-25T11:43:24.949Z] 04944245beec: Download complete [2023-04-25T11:43:24.949Z] 765212b225bb: Download complete [2023-04-25T11:43:24.949Z] f23df028b6ca: Verifying Checksum [2023-04-25T11:43:24.949Z] f23df028b6ca: Download complete [2023-04-25T11:43:24.949Z] d65c8cfc05b1: Verifying Checksum [2023-04-25T11:43:24.949Z] d65c8cfc05b1: Download complete [2023-04-25T11:43:24.949Z] 699f458cf7ca: Verifying Checksum [2023-04-25T11:43:24.949Z] 699f458cf7ca: Download complete [2023-04-25T11:43:25.541Z] 8998bd30e6a1: Verifying Checksum [2023-04-25T11:43:25.541Z] 8998bd30e6a1: Download complete [2023-04-25T11:43:28.122Z] 2437ff75d9bd: Verifying Checksum [2023-04-25T11:43:28.122Z] 2437ff75d9bd: Download complete [2023-04-25T11:43:29.531Z] 8998bd30e6a1: Pull complete [2023-04-25T11:43:29.798Z] 04944245beec: Pull complete [2023-04-25T11:43:31.210Z] 699f458cf7ca: Pull complete [2023-04-25T11:43:31.477Z] 765212b225bb: Pull complete [2023-04-25T11:43:32.060Z] f23df028b6ca: Pull complete [2023-04-25T11:43:32.328Z] d65c8cfc05b1: Pull complete [2023-04-25T11:43:47.324Z] 2437ff75d9bd: Pull complete [2023-04-25T11:43:47.324Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-25T11:43:47.324Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-25T11:43:47.324Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T11:43:47.661Z] prd-ubuntu20.04-docker-arm64-4c-16g-10815 does not seem to be running inside a container [2023-04-25T11:43:47.725Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-25T11:43:50.437Z] $ docker top 47f43d1e398ce56c4c8455d701afd4e268d926814094e4bf3a4c16cedbf85988 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T11:43:51.348Z] ---> job-cost.sh [2023-04-25T11:43:51.348Z] lf-activate-venv: SKIPPING [2023-04-25T11:43:51.348Z] INFO: No Stack... [2023-04-25T11:43:51.935Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-25T11:43:52.900Z] INFO: Archiving Costs [Pipeline] sh [2023-04-25T11:43:53.562Z] + + cut -d, -f6 [2023-04-25T11:43:53.562Z] cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2023-04-25T11:43:53.654Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1434-1-stack-cost] [2023-04-25T11:43:53.659Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1434-1-stack-cost] did not exist. Created. [2023-04-25T11:43:53.659Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1434-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-25T11:43:54.384Z] /w/workspace/device-sdk-go/1@tmp/durable-811ac136/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-25T11:43:55.054Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-25T11:43:55.094Z] Warning: overwriting stash ‘stack-cost’ [2023-04-25T11:43:55.150Z] Stashed 1 file(s) [Pipeline] } [2023-04-25T11:43:55.169Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1434-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-25T11:43:55.238Z] $ docker stop --time=1 47f43d1e398ce56c4c8455d701afd4e268d926814094e4bf3a4c16cedbf85988 [2023-04-25T11:43:56.743Z] $ docker rm -f --volumes 47f43d1e398ce56c4c8455d701afd4e268d926814094e4bf3a4c16cedbf85988 [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-04-25T11:43:57.796Z] provisioning config files... [2023-04-25T11:43:57.803Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp/config1468473629120527010tmp [Pipeline] { [Pipeline] sh [2023-04-25T11:43:58.147Z] + set +x [2023-04-25T11:43:58.147Z] + curl -s https://codecov.io/bash [2023-04-25T11:43:58.147Z] + bash -s -- [2023-04-25T11:43:58.147Z] [2023-04-25T11:43:58.147Z] _____ _ [2023-04-25T11:43:58.147Z] / ____| | | [2023-04-25T11:43:58.147Z] | | ___ __| | ___ ___ _____ __ [2023-04-25T11:43:58.147Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-25T11:43:58.147Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-25T11:43:58.147Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-25T11:43:58.147Z] Bash-1.0.6 [2023-04-25T11:43:58.147Z] [2023-04-25T11:43:58.147Z] [2023-04-25T11:43:58.147Z] ==> git version 2.25.1 found [2023-04-25T11:43:58.147Z] ==> 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-04-25T11:43:58.147Z] Release-Date: 2020-01-08 [2023-04-25T11:43:58.147Z] 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-04-25T11:43:58.147Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-25T11:43:58.147Z] ==> Jenkins CI detected. [2023-04-25T11:43:58.147Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1434 [2023-04-25T11:43:58.147Z] project root: . [2023-04-25T11:43:58.147Z] --> token set from env [2023-04-25T11:43:58.147Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-25T11:43:58.147Z] ==> Running gcov in . (disable via -X gcov) [2023-04-25T11:43:58.147Z] ==> Python coveragepy not found [2023-04-25T11:43:58.147Z] ==> Searching for coverage reports in: [2023-04-25T11:43:58.147Z] + . [2023-04-25T11:43:58.147Z] -> Found 1 reports [2023-04-25T11:43:58.147Z] ==> Detecting git/mercurial file structure [2023-04-25T11:43:58.406Z] ==> Reading reports [2023-04-25T11:43:58.406Z] + ./coverage.out bytes=106119 [2023-04-25T11:43:58.406Z] ==> Appending adjustments [2023-04-25T11:43:58.406Z] https://docs.codecov.io/docs/fixing-reports [2023-04-25T11:43:58.666Z] + Found adjustments [2023-04-25T11:43:58.666Z] ==> Gzipping contents [2023-04-25T11:43:58.666Z] 16K /tmp/codecov.nalRRQ.gz [2023-04-25T11:43:58.666Z] ==> Uploading reports [2023-04-25T11:43:58.666Z] url: https://codecov.io [2023-04-25T11:43:58.666Z] query: branch=PR-1434&commit=cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1434%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1434&job=&cmd_args= [2023-04-25T11:43:58.666Z] -> Pinging Codecov [2023-04-25T11:43:58.666Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1434&commit=cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1434%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1434&job=&cmd_args= [2023-04-25T11:43:58.666Z] -> Uploading to [2023-04-25T11:43:58.666Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-25/7E55EF52A471D76F132DFD9A03CDDE97/cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a/52e05ea8-d3fe-4ab5-98ce-58942eb61c26.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230425T114358Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=071672f1c7235d458b905fbf70fc7a223ee2a39acaa6ab95af13de9b8b107ee4 [2023-04-25T11:43:58.666Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-25T11:43:58.666Z] Dload Upload Total Spent Left Speed [2023-04-25T11:43:58.926Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15026 0 0 100 15026 0 55446 --:--:-- --:--:-- --:--:-- 55651 [2023-04-25T11:43:59.186Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a [Pipeline] } [2023-04-25T11:43:59.215Z] 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-04-25T11:44:01.040Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1434/archives ] [2023-04-25T11:44:01.040Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1434/archives [2023-04-25T11:44:01.040Z] total 16 [2023-04-25T11:44:01.040Z] drwxr-xr-x 3 root root 4096 Apr 25 11:32 . [2023-04-25T11:44:01.040Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 25 11:32 .. [2023-04-25T11:44:01.040Z] drwxr-xr-x 2 root root 4096 Apr 25 11:32 cost [2023-04-25T11:44:01.040Z] -rw-r--r-- 1 root root 86 Apr 25 11:32 cost.csv [2023-04-25T11:44:01.040Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1434/archives [2023-04-25T11:44:01.040Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1434/archives [2023-04-25T11:44:01.040Z] total 16 [2023-04-25T11:44:01.040Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 11:32 . [2023-04-25T11:44:01.040Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 25 11:32 .. [2023-04-25T11:44:01.040Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 11:32 cost [2023-04-25T11:44:01.040Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 25 11:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-25T11:44:01.369Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T11:44:02.263Z] ---> package-listing.sh [2023-04-25T11:44:02.263Z] ++ facter osfamily [2023-04-25T11:44:02.263Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-25T11:44:02.523Z] + OS_FAMILY=debian [2023-04-25T11:44:02.523Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1434 [2023-04-25T11:44:02.523Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-25T11:44:02.523Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-25T11:44:02.523Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-25T11:44:02.523Z] + PACKAGES=/tmp/packages_start.txt [2023-04-25T11:44:02.523Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1434 ']' [2023-04-25T11:44:02.523Z] + PACKAGES=/tmp/packages_end.txt [2023-04-25T11:44:02.523Z] + case "${OS_FAMILY}" in [2023-04-25T11:44:02.523Z] + dpkg -l [2023-04-25T11:44:02.523Z] + grep '^ii' [2023-04-25T11:44:02.523Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-25T11:44:02.523Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-25T11:44:02.523Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-25T11:44:02.523Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1434 ']' [2023-04-25T11:44:02.523Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1434/archives/ [2023-04-25T11:44:02.523Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1434/archives/ [Pipeline] echo [2023-04-25T11:44:02.557Z] 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-1434/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-25T11:44:02.850Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T11:44:03.474Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-25T11:44:03.474Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T11:44:03.616Z] prd-ubuntu20.04-docker-8c-8g-10813 does not seem to be running inside a container [2023-04-25T11:44:03.652Z] $ 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-1434/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-1434 -v /w/workspace/gexfoundry_device-sdk-go_PR-1434:/w/workspace/gexfoundry_device-sdk-go_PR-1434:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-25T11:44:03.828Z] $ docker top 212afc6f9e41053de9221e34c632c2767c98febf8bd0afd5b58c9703b44b3b26 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T11:44:04.210Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-25T11:44:04.520Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-25T11:44:04.832Z] + ls /var/log/sa-host [2023-04-25T11:44:04.833Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-25T11:44:04.978Z] provisioning config files... [2023-04-25T11:44:04.988Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp/config6553945700386994082tmp [Pipeline] { [Pipeline] echo [2023-04-25T11:44:05.044Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T11:44:05.360Z] ---> create-netrc.sh [Pipeline] } [2023-04-25T11:44:05.386Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-25T11:44:05.791Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-25T11:44:05.826Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T11:44:06.140Z] ---> sudo-logs.sh [2023-04-25T11:44:06.140Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-25T11:44:06.232Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T11:44:06.541Z] ---> job-cost.sh [2023-04-25T11:44:06.541Z] lf-activate-venv: SKIPPING [2023-04-25T11:44:06.541Z] DEBUG: total: 0.2199999988079071 [2023-04-25T11:44:06.541Z] INFO: Retrieving Stack Cost... [2023-04-25T11:44:07.110Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-25T11:44:07.370Z] INFO: Archiving Costs [Pipeline] echo [2023-04-25T11:44:07.408Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T11:44:07.726Z] ---> logs-deploy.sh [2023-04-25T11:44:07.726Z] lf-activate-venv: SKIPPING [2023-04-25T11:44:07.726Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1434/1 [2023-04-25T11:44:07.726Z] INFO: archiving workspace using pattern(s): [2023-04-25T11:44:08.662Z] Archives upload complete. [2023-04-25T11:44:08.662Z] INFO: archiving logs to Nexus