Pull request #1524 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4c937d1257e2f32d44548c3f8d048b99b2fd9e2c+8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 (ebc41c693b8884b8650f53bb9a599d941a7956ca) 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-ssh10379216960904749825.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15398291426836516499.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1524/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-1524/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15675145255564951526.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-1524/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9028588430668048773.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5893207074862519339.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-1524/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-1524/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9117704736027730516.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9092 in /w/workspace/gexfoundry_device-sdk-go_PR-1524 [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-1524 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 into PR head commit 4c937d1257e2f32d44548c3f8d048b99b2fd9e2c Merge succeeded, producing 4c937d1257e2f32d44548c3f8d048b99b2fd9e2c Checking out Revision 4c937d1257e2f32d44548c3f8d048b99b2fd9e2c (PR-1524) Commit message: "build(deps): bump github.com/labstack/echo/v4 from 4.11.1 to 4.11.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 > 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/1524/head:refs/remotes/origin/PR-1524 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4c937d1257e2f32d44548c3f8d048b99b2fd9e2c # 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 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4c937d1257e2f32d44548c3f8d048b99b2fd9e2c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-12T04:16:18.294Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-12T04:16:18.484Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-12T04:16:18.584Z] ========================================================= [2023-10-12T04:16:18.584Z] EdgeX Global Pipelines Version Info [2023-10-12T04:16:18.584Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-12T04:16:19.310Z] ------------------- [2023-10-12T04:16:19.310Z] stable info: [2023-10-12T04:16:19.310Z] ------------------- [2023-10-12T04:16:19.310Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-12T04:16:19.310Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-12T04:16:19.310Z] Message: update stable to v1.0.254 [2023-10-12T04:16:19.879Z] ------------------- [2023-10-12T04:16:19.880Z] experimental info: [2023-10-12T04:16:19.880Z] ------------------- [2023-10-12T04:16:19.880Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-12T04:16:19.880Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-12T04:16:19.880Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-12T04:16:20.149Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-10-12T04:16:20.187Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-10-12T04:16:20.223Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-12T04:16:20.261Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-12T04:16:20.298Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-12T04:16:20.334Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-12T04:16:20.371Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-12T04:16:20.412Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-10-12T04:16:20.450Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-12T04:16:20.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-12T04:16:20.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-12T04:16:20.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-10-12T04:16:20.611Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-12T04:16:20.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-12T04:16:20.686Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-12T04:16:20.730Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-10-12T04:16:20.766Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-12T04:16:20.815Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-12T04:16:20.856Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-12T04:16:20.892Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-12T04:16:20.933Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-10-12T04:16:20.972Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-10-12T04:16:21.012Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-12T04:16:21.056Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-12T04:16:21.098Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-12T04:16:21.136Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-12T04:16:21.179Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-12T04:16:21.225Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1524 [Pipeline] echo [2023-10-12T04:16:21.272Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1524 [Pipeline] echo [2023-10-12T04:16:21.314Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1524 [Pipeline] echo [2023-10-12T04:16:21.354Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4c937d1257e2f32d44548c3f8d048b99b2fd9e2c [Pipeline] echo [2023-10-12T04:16:21.394Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4c937d1 [Pipeline] echo [2023-10-12T04:16:21.436Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-12T04:16:21.546Z] provisioning config files... [2023-10-12T04:16:21.580Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1524@tmp/config14666718240154155940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T04:16:21.926Z] ---> docker-login.sh [2023-10-12T04:16:21.926Z] nexus3.edgexfoundry.org:10001 [2023-10-12T04:16:21.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:16:22.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:16:22.186Z] Configure a credential helper to remove this warning. See [2023-10-12T04:16:22.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:16:22.186Z] [2023-10-12T04:16:22.186Z] Login Succeeded [2023-10-12T04:16:22.186Z] nexus3.edgexfoundry.org:10002 [2023-10-12T04:16:22.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:16:22.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:16:22.446Z] Configure a credential helper to remove this warning. See [2023-10-12T04:16:22.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:16:22.446Z] [2023-10-12T04:16:22.446Z] Login Succeeded [2023-10-12T04:16:22.446Z] nexus3.edgexfoundry.org:10003 [2023-10-12T04:16:22.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:16:22.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:16:22.446Z] Configure a credential helper to remove this warning. See [2023-10-12T04:16:22.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:16:22.446Z] [2023-10-12T04:16:22.446Z] Login Succeeded [2023-10-12T04:16:22.446Z] nexus3.edgexfoundry.org:10004 [2023-10-12T04:16:22.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:16:22.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:16:22.706Z] Configure a credential helper to remove this warning. See [2023-10-12T04:16:22.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:16:22.706Z] [2023-10-12T04:16:22.706Z] Login Succeeded [2023-10-12T04:16:22.706Z] docker.io [2023-10-12T04:16:22.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:16:22.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:16:22.968Z] Configure a credential helper to remove this warning. See [2023-10-12T04:16:22.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:16:22.968Z] [2023-10-12T04:16:22.968Z] Login Succeeded [2023-10-12T04:16:22.968Z] ---> docker-login.sh ends [Pipeline] } [2023-10-12T04:16:22.994Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-12T04:16:23.622Z] + git rev-list -1 --merges 4c937d1257e2f32d44548c3f8d048b99b2fd9e2c~1..4c937d1257e2f32d44548c3f8d048b99b2fd9e2c [Pipeline] echo [2023-10-12T04:16:23.685Z] -----------> git rev-list -1 --merges 4c937d1257e2f32d44548c3f8d048b99b2fd9e2c~1..4c937d1257e2f32d44548c3f8d048b99b2fd9e2c 4c937d1257e2f32d44548c3f8d048b99b2fd9e2c [false] [Pipeline] sh [2023-10-12T04:16:23.992Z] + git log --format=format:%s -1 4c937d1257e2f32d44548c3f8d048b99b2fd9e2c [Pipeline] echo [2023-10-12T04:16:24.025Z] ========================================================= [2023-10-12T04:16:24.025Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-12T04:16:24.025Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-12T04:16:24.460Z] + git log --format=format:%s -1 4c937d1257e2f32d44548c3f8d048b99b2fd9e2c [Pipeline] echo [2023-10-12T04:16:24.493Z] [semverPrep] GIT_COMMIT: 4c937d1257e2f32d44548c3f8d048b99b2fd9e2c, Commit Message: build(deps): bump github.com/labstack/echo/v4 from 4.11.1 to 4.11.2 [Pipeline] echo [2023-10-12T04:16:24.534Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-12T04:16:24.909Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-12T04:16:24.909Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-12T04:16:24.909Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-12T04:16:24.909Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-12T04:16:24.909Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-12T04:16:24.909Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-12T04:16:24.909Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T04:16:25.342Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-12T04:16:25.342Z] [2023-10-12T04:16:25.342Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T04:16:25.715Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-12T04:16:25.715Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-12T04:16:25.715Z] b85a868b505f: Pulling fs layer [2023-10-12T04:16:25.715Z] e2be974225ed: Pulling fs layer [2023-10-12T04:16:25.715Z] 339a4e72a1f5: Pulling fs layer [2023-10-12T04:16:25.715Z] 988bab9f4d93: Pulling fs layer [2023-10-12T04:16:25.715Z] 1469e6f7b9e6: Pulling fs layer [2023-10-12T04:16:25.715Z] eaf3925da568: Pulling fs layer [2023-10-12T04:16:25.715Z] bab4dde63d76: Pulling fs layer [2023-10-12T04:16:25.715Z] bde34c3a00c8: Pulling fs layer [2023-10-12T04:16:25.715Z] b352a97aabf1: Pulling fs layer [2023-10-12T04:16:25.715Z] 4872d77fe225: Pulling fs layer [2023-10-12T04:16:25.715Z] 5851b861e8e6: Pulling fs layer [2023-10-12T04:16:25.715Z] bab4dde63d76: Waiting [2023-10-12T04:16:25.715Z] bde34c3a00c8: Waiting [2023-10-12T04:16:25.715Z] 5851b861e8e6: Waiting [2023-10-12T04:16:25.715Z] 4872d77fe225: Waiting [2023-10-12T04:16:25.715Z] b352a97aabf1: Waiting [2023-10-12T04:16:25.715Z] 1469e6f7b9e6: Waiting [2023-10-12T04:16:25.715Z] eaf3925da568: Waiting [2023-10-12T04:16:25.715Z] 988bab9f4d93: Waiting [2023-10-12T04:16:25.715Z] e2be974225ed: Verifying Checksum [2023-10-12T04:16:25.715Z] e2be974225ed: Download complete [2023-10-12T04:16:25.715Z] 988bab9f4d93: Verifying Checksum [2023-10-12T04:16:25.715Z] 988bab9f4d93: Download complete [2023-10-12T04:16:25.715Z] 1469e6f7b9e6: Verifying Checksum [2023-10-12T04:16:25.715Z] 1469e6f7b9e6: Download complete [2023-10-12T04:16:25.976Z] eaf3925da568: Verifying Checksum [2023-10-12T04:16:25.976Z] eaf3925da568: Download complete [2023-10-12T04:16:25.976Z] 339a4e72a1f5: Verifying Checksum [2023-10-12T04:16:25.976Z] 339a4e72a1f5: Download complete [2023-10-12T04:16:25.976Z] bde34c3a00c8: Download complete [2023-10-12T04:16:25.976Z] b352a97aabf1: Download complete [2023-10-12T04:16:25.976Z] 4872d77fe225: Verifying Checksum [2023-10-12T04:16:25.976Z] 4872d77fe225: Download complete [2023-10-12T04:16:25.976Z] 5851b861e8e6: Verifying Checksum [2023-10-12T04:16:25.976Z] b85a868b505f: Download complete [2023-10-12T04:16:26.234Z] bab4dde63d76: Verifying Checksum [2023-10-12T04:16:26.234Z] bab4dde63d76: Download complete [2023-10-12T04:16:27.171Z] b85a868b505f: Pull complete [2023-10-12T04:16:27.430Z] e2be974225ed: Pull complete [2023-10-12T04:16:27.998Z] 339a4e72a1f5: Pull complete [2023-10-12T04:16:27.998Z] 988bab9f4d93: Pull complete [2023-10-12T04:16:28.256Z] 1469e6f7b9e6: Pull complete [2023-10-12T04:16:28.256Z] eaf3925da568: Pull complete [2023-10-12T04:16:30.157Z] bab4dde63d76: Pull complete [2023-10-12T04:16:30.157Z] bde34c3a00c8: Pull complete [2023-10-12T04:16:30.419Z] b352a97aabf1: Pull complete [2023-10-12T04:16:30.419Z] 4872d77fe225: Pull complete [2023-10-12T04:16:30.419Z] 5851b861e8e6: Pull complete [2023-10-12T04:16:30.419Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-12T04:16:30.679Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-12T04:16:30.679Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T04:16:30.912Z] prd-ubuntu20.04-docker-8c-8g-9092 does not seem to be running inside a container [2023-10-12T04:16:30.951Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1524 -v /w/workspace/gexfoundry_device-sdk-go_PR-1524:/w/workspace/gexfoundry_device-sdk-go_PR-1524:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1524@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1524@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-12T04:16:33.732Z] $ docker top 9eeedeb7c337f5b6dfc195a56b801a21b5a2ecaf9f4145f5bcfcb09639e61e6e -eo pid,comm [2023-10-12T04:16:33.791Z] 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-10-12T04:16:33.791Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-12T04:16:33.925Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-12T04:16:33.925Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-12T04:16:34.051Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-12T04:16:34.054Z] $ docker exec 9eeedeb7c337f5b6dfc195a56b801a21b5a2ecaf9f4145f5bcfcb09639e61e6e ssh-agent [2023-10-12T04:16:34.158Z] SSH_AUTH_SOCK=/tmp/ssh-V1iKm6uPmkKF/agent.32 [2023-10-12T04:16:34.158Z] SSH_AGENT_PID=38 [2023-10-12T04:16:34.165Z] Running ssh-add (command line suppressed) [2023-10-12T04:16:34.264Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1524@tmp/private_key_10238812673081810825.key (/w/workspace/gexfoundry_device-sdk-go_PR-1524@tmp/private_key_10238812673081810825.key) [2023-10-12T04:16:34.278Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-12T04:16:34.605Z] + git tag --points-at HEAD [Pipeline] } [2023-10-12T04:16:34.636Z] $ docker exec --env ******** --env ******** 9eeedeb7c337f5b6dfc195a56b801a21b5a2ecaf9f4145f5bcfcb09639e61e6e ssh-agent -k [2023-10-12T04:16:34.731Z] unset SSH_AUTH_SOCK; [2023-10-12T04:16:34.731Z] unset SSH_AGENT_PID; [2023-10-12T04:16:34.732Z] echo Agent pid 38 killed; [2023-10-12T04:16:34.742Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-12T04:16:34.824Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-12T04:16:34.824Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-12T04:16:34.944Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-12T04:16:34.947Z] $ docker exec 9eeedeb7c337f5b6dfc195a56b801a21b5a2ecaf9f4145f5bcfcb09639e61e6e ssh-agent [2023-10-12T04:16:35.057Z] SSH_AUTH_SOCK=/tmp/ssh-si9rGQjulkE4/agent.72 [2023-10-12T04:16:35.057Z] SSH_AGENT_PID=78 [2023-10-12T04:16:35.062Z] Running ssh-add (command line suppressed) [2023-10-12T04:16:35.167Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1524@tmp/private_key_2773104746223137365.key (/w/workspace/gexfoundry_device-sdk-go_PR-1524@tmp/private_key_2773104746223137365.key) [2023-10-12T04:16:35.180Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-12T04:16:35.503Z] + git semver init [2023-10-12T04:16:35.763Z] 2023-10-12 04:16:35,682 [run_init] DEBUG init version:0.0.0 force:False [2023-10-12T04:16:35.763Z] 2023-10-12 04:16:35,683 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1524/.semver [2023-10-12T04:16:35.763Z] 2023-10-12 04:16:35,684 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1524/.semver [2023-10-12T04:16:35.763Z] 2023-10-12 04:16:35,684 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1524/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1524, universal_newlines=False, shell=None, istream=None) [2023-10-12T04:16:36.701Z] 2023-10-12 04:16:36,652 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1524/.git/info/exclude [2023-10-12T04:16:36.701Z] 2023-10-12 04:16:36,653 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1524/.semver/PR-1524 with force:False [2023-10-12T04:16:36.701Z] 2023-10-12 04:16:36,653 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1524/.semver/PR-1524 [2023-10-12T04:16:36.701Z] 2023-10-12 04:16:36,659 [execute] INFO git cat-file --batch-check [2023-10-12T04:16:36.701Z] 2023-10-12 04:16:36,660 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1524/.semver, universal_newlines=False, shell=None, istream=) [2023-10-12T04:16:36.701Z] 2023-10-12 04:16:36,666 [execute] INFO git cat-file --batch [2023-10-12T04:16:36.701Z] 2023-10-12 04:16:36,667 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1524/.semver, universal_newlines=False, shell=None, istream=) [2023-10-12T04:16:36.701Z] 2023-10-12 04:16:36,673 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1524/.semver/PR-1524 [2023-10-12T04:16:36.701Z] 0.0.0 [Pipeline] } [2023-10-12T04:16:36.725Z] $ docker exec --env ******** --env ******** 9eeedeb7c337f5b6dfc195a56b801a21b5a2ecaf9f4145f5bcfcb09639e61e6e ssh-agent -k [2023-10-12T04:16:36.821Z] unset SSH_AUTH_SOCK; [2023-10-12T04:16:36.822Z] unset SSH_AGENT_PID; [2023-10-12T04:16:36.822Z] echo Agent pid 78 killed; [2023-10-12T04:16:36.832Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-12T04:16:37.264Z] + git semver [Pipeline] } [2023-10-12T04:16:37.551Z] $ docker stop --time=1 9eeedeb7c337f5b6dfc195a56b801a21b5a2ecaf9f4145f5bcfcb09639e61e6e [2023-10-12T04:16:38.863Z] $ docker rm -f --volumes 9eeedeb7c337f5b6dfc195a56b801a21b5a2ecaf9f4145f5bcfcb09639e61e6e [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-12T04:16:39.266Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-12T04:16:39.549Z] Stashed 1 file(s) [Pipeline] echo [2023-10-12T04:16:39.569Z] [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-10-12T04:16:40.202Z] provisioning config files... [2023-10-12T04:16:40.218Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1524@tmp/config16474057424052527058tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T04:16:40.578Z] ---> docker-login.sh [2023-10-12T04:16:40.578Z] nexus3.edgexfoundry.org:10001 [2023-10-12T04:16:40.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:16:40.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:16:40.578Z] Configure a credential helper to remove this warning. See [2023-10-12T04:16:40.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:16:40.578Z] [2023-10-12T04:16:40.578Z] Login Succeeded [2023-10-12T04:16:40.578Z] nexus3.edgexfoundry.org:10002 [2023-10-12T04:16:40.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:16:40.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:16:40.578Z] Configure a credential helper to remove this warning. See [2023-10-12T04:16:40.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:16:40.578Z] [2023-10-12T04:16:40.578Z] Login Succeeded [2023-10-12T04:16:40.578Z] nexus3.edgexfoundry.org:10003 [2023-10-12T04:16:40.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:16:40.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:16:40.837Z] Configure a credential helper to remove this warning. See [2023-10-12T04:16:40.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:16:40.837Z] [2023-10-12T04:16:40.837Z] Login Succeeded [2023-10-12T04:16:40.837Z] nexus3.edgexfoundry.org:10004 [2023-10-12T04:16:40.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:16:40.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:16:40.837Z] Configure a credential helper to remove this warning. See [2023-10-12T04:16:40.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:16:40.837Z] [2023-10-12T04:16:40.837Z] Login Succeeded [2023-10-12T04:16:40.837Z] docker.io [2023-10-12T04:16:41.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:16:41.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:16:41.096Z] Configure a credential helper to remove this warning. See [2023-10-12T04:16:41.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:16:41.096Z] [2023-10-12T04:16:41.096Z] Login Succeeded [2023-10-12T04:16:41.096Z] ---> docker-login.sh ends [Pipeline] } [2023-10-12T04:16:41.127Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-12T04:16:41.328Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-12T04:16:41.363Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-12T04:16:41.396Z] ========================================================= [2023-10-12T04:16:41.396Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-12T04:16:41.396Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T04:16:41.877Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-12T04:16:41.877Z] Sending build context to Docker daemon 11.24MB [2023-10-12T04:16:41.877Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-12T04:16:41.877Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-12T04:16:41.877Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-12T04:16:41.877Z] 7264a8db6415: Pulling fs layer [2023-10-12T04:16:41.877Z] c4d48a809fc2: Pulling fs layer [2023-10-12T04:16:41.877Z] 4f1c88b9dad5: Pulling fs layer [2023-10-12T04:16:41.877Z] ad3a456e5733: Pulling fs layer [2023-10-12T04:16:41.877Z] 33e27b845d1e: Pulling fs layer [2023-10-12T04:16:41.877Z] c68163c4e522: Pulling fs layer [2023-10-12T04:16:41.877Z] 50da416c3ac9: Pulling fs layer [2023-10-12T04:16:41.877Z] 23d2d4c4bb30: Pulling fs layer [2023-10-12T04:16:41.877Z] 23d2d4c4bb30: Waiting [2023-10-12T04:16:41.877Z] c68163c4e522: Waiting [2023-10-12T04:16:41.877Z] 50da416c3ac9: Waiting [2023-10-12T04:16:41.877Z] ad3a456e5733: Waiting [2023-10-12T04:16:41.877Z] 33e27b845d1e: Waiting [2023-10-12T04:16:42.141Z] c4d48a809fc2: Download complete [2023-10-12T04:16:42.141Z] ad3a456e5733: Download complete [2023-10-12T04:16:42.141Z] 33e27b845d1e: Verifying Checksum [2023-10-12T04:16:42.141Z] 33e27b845d1e: Download complete [2023-10-12T04:16:42.141Z] 7264a8db6415: Verifying Checksum [2023-10-12T04:16:42.141Z] 7264a8db6415: Download complete [2023-10-12T04:16:42.141Z] c68163c4e522: Verifying Checksum [2023-10-12T04:16:42.141Z] c68163c4e522: Download complete [2023-10-12T04:16:42.141Z] 7264a8db6415: Pull complete [2023-10-12T04:16:42.401Z] 23d2d4c4bb30: Verifying Checksum [2023-10-12T04:16:42.401Z] 23d2d4c4bb30: Download complete [2023-10-12T04:16:42.401Z] c4d48a809fc2: Pull complete [2023-10-12T04:16:42.401Z] 4f1c88b9dad5: Verifying Checksum [2023-10-12T04:16:42.401Z] 4f1c88b9dad5: Download complete [2023-10-12T04:16:42.968Z] 50da416c3ac9: Verifying Checksum [2023-10-12T04:16:42.968Z] 50da416c3ac9: Download complete [2023-10-12T04:16:46.256Z] 4f1c88b9dad5: Pull complete [2023-10-12T04:16:46.256Z] ad3a456e5733: Pull complete [2023-10-12T04:16:46.256Z] 33e27b845d1e: Pull complete [2023-10-12T04:16:46.256Z] c68163c4e522: Pull complete [2023-10-12T04:16:48.787Z] 50da416c3ac9: Pull complete [2023-10-12T04:16:49.045Z] 23d2d4c4bb30: Pull complete [2023-10-12T04:16:49.045Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-12T04:16:49.045Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-12T04:16:49.045Z] ---> 0786185ac409 [2023-10-12T04:16:49.045Z] Step 3/10 : ARG MAKE=make build [2023-10-12T04:16:53.235Z] ---> Running in 49a7e302f3d0 [2023-10-12T04:16:53.235Z] Removing intermediate container 49a7e302f3d0 [2023-10-12T04:16:53.235Z] ---> 7bbd34ec4cec [2023-10-12T04:16:53.235Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-12T04:16:53.235Z] ---> Running in bdc34f8c17ea [2023-10-12T04:16:53.235Z] Removing intermediate container bdc34f8c17ea [2023-10-12T04:16:53.235Z] ---> ba3a5bc661dc [2023-10-12T04:16:53.235Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-12T04:16:53.235Z] ---> Running in 2ceaf19a7b71 [2023-10-12T04:16:53.235Z] Removing intermediate container 2ceaf19a7b71 [2023-10-12T04:16:53.235Z] ---> 572acdb9a324 [2023-10-12T04:16:53.235Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-12T04:16:53.235Z] ---> Running in c24dbc66faaf [2023-10-12T04:16:53.493Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-12T04:16:53.493Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-12T04:16:53.751Z] OK: 264 MiB in 52 packages [2023-10-12T04:16:54.323Z] Removing intermediate container c24dbc66faaf [2023-10-12T04:16:54.323Z] ---> b26bccf386fe [2023-10-12T04:16:54.323Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-12T04:16:54.323Z] ---> 0d7c8f7c3b16 [2023-10-12T04:16:54.323Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-12T04:16:54.323Z] ---> Running in e191d3c1aa28 [2023-10-12T04:16:55.014Z] Still waiting to schedule task [2023-10-12T04:16:55.015Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-12T04:18:02.035Z] Removing intermediate container e191d3c1aa28 [2023-10-12T04:18:02.035Z] ---> 751ee09ec1b4 [2023-10-12T04:18:02.035Z] Step 9/10 : COPY . . [2023-10-12T04:18:02.035Z] ---> 7445b523e3b0 [2023-10-12T04:18:02.035Z] Step 10/10 : RUN ${MAKE} [2023-10-12T04:18:02.035Z] ---> Running in f3eb9370f3d0 [2023-10-12T04:18:02.035Z] noop [2023-10-12T04:18:02.035Z] Removing intermediate container f3eb9370f3d0 [2023-10-12T04:18:02.035Z] ---> 0caca5ca0638 [2023-10-12T04:18:02.035Z] Successfully built 0caca5ca0638 [2023-10-12T04:18:02.035Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T04:18:02.490Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-12T04:18:02.491Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T04:18:02.647Z] prd-ubuntu20.04-docker-8c-8g-9092 does not seem to be running inside a container [2023-10-12T04:18:02.678Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1524 -v /w/workspace/gexfoundry_device-sdk-go_PR-1524:/w/workspace/gexfoundry_device-sdk-go_PR-1524:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1524@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1524@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 ******** ci-base-image-x86_64 cat [2023-10-12T04:18:03.006Z] $ docker top 2cb9b99492c1a8f353321171b1c94448a7893606a9ba49192e77654fb09c7ba4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-12T04:18:03.412Z] + go version [2023-10-12T04:18:03.412Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-12T04:18:03.444Z] $ docker stop --time=1 2cb9b99492c1a8f353321171b1c94448a7893606a9ba49192e77654fb09c7ba4 [2023-10-12T04:18:04.716Z] $ docker rm -f --volumes 2cb9b99492c1a8f353321171b1c94448a7893606a9ba49192e77654fb09c7ba4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T04:18:05.441Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-12T04:18:05.441Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T04:18:05.600Z] prd-ubuntu20.04-docker-8c-8g-9092 does not seem to be running inside a container [2023-10-12T04:18:05.635Z] $ 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-1524 -v /w/workspace/gexfoundry_device-sdk-go_PR-1524:/w/workspace/gexfoundry_device-sdk-go_PR-1524:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1524@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1524@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 ******** ci-base-image-x86_64 cat [2023-10-12T04:18:05.951Z] $ docker top e34209868fd663e68ce9aada7399c1d8d9a20e3bb3b9202552c20a45cbe7d783 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-12T04:18:06.346Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1524 [Pipeline] fileExists [Pipeline] sh [2023-10-12T04:18:06.703Z] + make test [2023-10-12T04:18:06.703Z] go test -race -coverprofile=coverage.out ./... [2023-10-12T04:18:13.269Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-12T04:18:28.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-12T04:18:28.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-12T04:18:28.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-12T04:18:28.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-12T04:18:28.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-12T04:18:28.698Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-12T04:18:28.698Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-12T04:18:29.630Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.042s coverage: 27.6% of statements [2023-10-12T04:18:29.630Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.055s coverage: 81.5% of statements [2023-10-12T04:18:29.887Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.073s coverage: 86.0% of statements [2023-10-12T04:18:29.887Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-12T04:18:30.822Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.068s coverage: 71.8% of statements [2023-10-12T04:18:30.822Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-12T04:18:30.822Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-12T04:18:31.080Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-12T04:18:34.363Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.069s coverage: 14.4% of statements [2023-10-12T04:18:34.363Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.136s coverage: 45.9% of statements [2023-10-12T04:18:34.363Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.072s coverage: 68.5% of statements [2023-10-12T04:18:34.363Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.124s coverage: 89.2% of statements [2023-10-12T04:18:34.363Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements [2023-10-12T04:18:56.479Z] GO111MODULE=on go vet ./... [2023-10-12T04:18:58.382Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-12T04:18:58.382Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-12T04:18:58.382Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-12T04:18:58.678Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-12T04:18:58.703Z] $ docker stop --time=1 e34209868fd663e68ce9aada7399c1d8d9a20e3bb3b9202552c20a45cbe7d783 [2023-10-12T04:19:01.981Z] $ docker rm -f --volumes e34209868fd663e68ce9aada7399c1d8d9a20e3bb3b9202552c20a45cbe7d783 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-12T04:19:02.588Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-12T04:19:02.693Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-12T04:19:03.385Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-12T04:19:03.694Z] + ls -al . [2023-10-12T04:19:03.694Z] total 304 [2023-10-12T04:19:03.694Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 04:18 . [2023-10-12T04:19:03.694Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 04:16 .. [2023-10-12T04:19:03.694Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 04:16 .dockerignore [2023-10-12T04:19:03.694Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 04:18 .git [2023-10-12T04:19:03.694Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 04:16 .github [2023-10-12T04:19:03.694Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 12 04:16 .gitignore [2023-10-12T04:19:03.694Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 04:16 .golangci.yml [2023-10-12T04:19:03.694Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 04:16 .semver [2023-10-12T04:19:03.694Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 12 04:16 CHANGELOG.md [2023-10-12T04:19:03.694Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 04:16 GOVERNANCE.md [2023-10-12T04:19:03.694Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 12 04:16 Jenkinsfile [2023-10-12T04:19:03.694Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 04:16 LICENSE [2023-10-12T04:19:03.694Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 12 04:16 Makefile [2023-10-12T04:19:03.694Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 12 04:16 OWNERS.md [2023-10-12T04:19:03.694Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 12 04:16 README.md [2023-10-12T04:19:03.694Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 04:16 VERSION [2023-10-12T04:19:03.694Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 04:16 bin [2023-10-12T04:19:03.694Z] -rw-r--r-- 1 jenkins jenkins 122154 Oct 12 04:18 coverage.out [2023-10-12T04:19:03.694Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 04:16 example [2023-10-12T04:19:03.694Z] -rw-rw-r-- 1 jenkins jenkins 3722 Oct 12 04:16 go.mod [2023-10-12T04:19:03.694Z] -rw-rw-r-- 1 jenkins jenkins 34806 Oct 12 04:16 go.sum [2023-10-12T04:19:03.694Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 12 04:16 internal [2023-10-12T04:19:03.694Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 04:16 openapi [2023-10-12T04:19:03.694Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 04:16 pkg [2023-10-12T04:19:03.694Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 04:16 snap [2023-10-12T04:19:03.694Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 04:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T04:19:04.136Z] + 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=4c937d1257e2f32d44548c3f8d048b99b2fd9e2c --label arch=amd64 --label version=0.0.0 . [2023-10-12T04:19:04.136Z] Sending build context to Docker daemon 11.37MB [2023-10-12T04:19:04.136Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-12T04:19:04.136Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-12T04:19:04.136Z] ---> 0caca5ca0638 [2023-10-12T04:19:04.136Z] Step 3/23 : ARG MAKE=make build [2023-10-12T04:19:04.396Z] ---> Running in e510deaa20ea [2023-10-12T04:19:04.396Z] Removing intermediate container e510deaa20ea [2023-10-12T04:19:04.396Z] ---> 717d92756c03 [2023-10-12T04:19:04.396Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-12T04:19:04.396Z] ---> Running in c016cfd2dc22 [2023-10-12T04:19:04.655Z] Removing intermediate container c016cfd2dc22 [2023-10-12T04:19:04.655Z] ---> fcdc85cceff7 [2023-10-12T04:19:04.655Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-12T04:19:04.655Z] ---> Running in 5c9c152f868e [2023-10-12T04:19:04.655Z] Removing intermediate container 5c9c152f868e [2023-10-12T04:19:04.655Z] ---> 64c242dd347e [2023-10-12T04:19:04.655Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-12T04:19:04.655Z] ---> Running in 7128cb37249f [2023-10-12T04:19:04.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-12T04:19:05.174Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-12T04:19:05.433Z] OK: 264 MiB in 52 packages [2023-10-12T04:19:05.693Z] Removing intermediate container 7128cb37249f [2023-10-12T04:19:05.694Z] ---> c0e4812a38a5 [2023-10-12T04:19:05.694Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-12T04:19:05.694Z] ---> 2dc69435cd1b [2023-10-12T04:19:05.694Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-12T04:19:05.694Z] ---> Running in 9d7e18c869cf [2023-10-12T04:19:06.634Z] Removing intermediate container 9d7e18c869cf [2023-10-12T04:19:06.634Z] ---> b3bcab0a4bcb [2023-10-12T04:19:06.634Z] Step 9/23 : COPY . . [2023-10-12T04:19:06.894Z] ---> 91e8afc06539 [2023-10-12T04:19:06.894Z] Step 10/23 : RUN ${MAKE} [2023-10-12T04:19:06.894Z] ---> Running in 26638754edb8 [2023-10-12T04:19:07.152Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-10-12T04:19:29.239Z] Removing intermediate container 26638754edb8 [2023-10-12T04:19:29.239Z] ---> aea3a2a6564c [2023-10-12T04:19:29.239Z] Step 11/23 : FROM alpine:3.18 [2023-10-12T04:19:29.239Z] 3.18: Pulling from library/alpine [2023-10-12T04:19:29.239Z] 96526aa774ef: Pulling fs layer [2023-10-12T04:19:29.239Z] 96526aa774ef: Verifying Checksum [2023-10-12T04:19:29.239Z] 96526aa774ef: Download complete [2023-10-12T04:19:29.239Z] 96526aa774ef: Pull complete [2023-10-12T04:19:29.239Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-12T04:19:29.239Z] Status: Downloaded newer image for alpine:3.18 [2023-10-12T04:19:29.239Z] ---> 8ca4688f4f35 [2023-10-12T04:19:29.239Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-12T04:19:29.239Z] ---> Running in 49e1c8f7da98 [2023-10-12T04:19:29.239Z] Removing intermediate container 49e1c8f7da98 [2023-10-12T04:19:29.239Z] ---> e540146377bc [2023-10-12T04:19:29.239Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-12T04:19:29.239Z] ---> Running in bcbb90d36ebe [2023-10-12T04:19:29.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-12T04:19:29.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-12T04:19:29.239Z] OK: 7 MiB in 15 packages [2023-10-12T04:19:29.239Z] Removing intermediate container bcbb90d36ebe [2023-10-12T04:19:29.239Z] ---> ac2172bdcfbe [2023-10-12T04:19:29.239Z] Step 14/23 : WORKDIR / [2023-10-12T04:19:29.239Z] ---> Running in 3510604792a6 [2023-10-12T04:19:29.239Z] Removing intermediate container 3510604792a6 [2023-10-12T04:19:29.239Z] ---> 88a58587b729 [2023-10-12T04:19:29.239Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-12T04:19:29.239Z] ---> d03f7cf397de [2023-10-12T04:19:29.239Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-12T04:19:29.239Z] ---> 73adeb50d0e3 [2023-10-12T04:19:29.239Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-12T04:19:29.239Z] ---> 6c62c9aa2764 [2023-10-12T04:19:29.239Z] Step 18/23 : EXPOSE 59999 [2023-10-12T04:19:29.239Z] ---> Running in b72d45dea0b4 [2023-10-12T04:19:29.239Z] Removing intermediate container b72d45dea0b4 [2023-10-12T04:19:29.239Z] ---> c6976f620327 [2023-10-12T04:19:29.239Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-12T04:19:29.239Z] ---> Running in f8cce941f923 [2023-10-12T04:19:29.239Z] Removing intermediate container f8cce941f923 [2023-10-12T04:19:29.239Z] ---> ed72b716c018 [2023-10-12T04:19:29.239Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-12T04:19:29.239Z] ---> Running in 9cca7195340d [2023-10-12T04:19:29.239Z] Removing intermediate container 9cca7195340d [2023-10-12T04:19:29.239Z] ---> ee7131c33a7c [2023-10-12T04:19:29.239Z] Step 21/23 : LABEL arch=amd64 [2023-10-12T04:19:29.239Z] ---> Running in 6f7dd6a062ec [2023-10-12T04:19:29.239Z] Removing intermediate container 6f7dd6a062ec [2023-10-12T04:19:29.239Z] ---> 8824dd262c2c [2023-10-12T04:19:29.239Z] Step 22/23 : LABEL git_sha=4c937d1257e2f32d44548c3f8d048b99b2fd9e2c [2023-10-12T04:19:29.239Z] ---> Running in fada8d756b92 [2023-10-12T04:19:29.239Z] Removing intermediate container fada8d756b92 [2023-10-12T04:19:29.239Z] ---> 48bfd468deca [2023-10-12T04:19:29.239Z] Step 23/23 : LABEL version=0.0.0 [2023-10-12T04:19:29.239Z] ---> Running in bb37a8a8179d [2023-10-12T04:19:29.239Z] Removing intermediate container bb37a8a8179d [2023-10-12T04:19:29.239Z] ---> 33f1b9b7d3f2 [2023-10-12T04:19:29.239Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-12T04:19:29.239Z] Successfully built 33f1b9b7d3f2 [2023-10-12T04:19:29.239Z] 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-10-12T04:19:30.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-12T04:19:30.072Z] [2023-10-12T04:19:30.072Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T04:19:30.454Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-12T04:19:30.454Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-12T04:19:30.454Z] 5eb5b503b376: Pulling fs layer [2023-10-12T04:19:30.454Z] 5c69ac0246d0: Pulling fs layer [2023-10-12T04:19:30.454Z] ec43610c2a17: Pulling fs layer [2023-10-12T04:19:30.454Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-12T04:19:30.454Z] 33b1e0a273af: Pulling fs layer [2023-10-12T04:19:30.454Z] 5d3b04190fa2: Pulling fs layer [2023-10-12T04:19:30.454Z] 2f39f015ded8: Pulling fs layer [2023-10-12T04:19:30.454Z] 33b1e0a273af: Waiting [2023-10-12T04:19:30.454Z] 5d3b04190fa2: Waiting [2023-10-12T04:19:30.454Z] 3a2ae6a8a46f: Waiting [2023-10-12T04:19:30.454Z] 2f39f015ded8: Waiting [2023-10-12T04:19:30.454Z] 5c69ac0246d0: Download complete [2023-10-12T04:19:30.454Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-12T04:19:30.454Z] 3a2ae6a8a46f: Download complete [2023-10-12T04:19:30.713Z] 33b1e0a273af: Verifying Checksum [2023-10-12T04:19:30.713Z] 33b1e0a273af: Download complete [2023-10-12T04:19:30.713Z] 5d3b04190fa2: Download complete [2023-10-12T04:19:30.713Z] ec43610c2a17: Verifying Checksum [2023-10-12T04:19:30.713Z] ec43610c2a17: Download complete [2023-10-12T04:19:30.713Z] 5eb5b503b376: Download complete [2023-10-12T04:19:31.280Z] 2f39f015ded8: Download complete [2023-10-12T04:19:31.852Z] 5eb5b503b376: Pull complete [2023-10-12T04:19:32.109Z] 5c69ac0246d0: Pull complete [2023-10-12T04:19:32.675Z] ec43610c2a17: Pull complete [2023-10-12T04:19:32.675Z] 3a2ae6a8a46f: Pull complete [2023-10-12T04:19:32.675Z] 33b1e0a273af: Pull complete [2023-10-12T04:19:32.933Z] 5d3b04190fa2: Pull complete [2023-10-12T04:19:37.115Z] 2f39f015ded8: Pull complete [2023-10-12T04:19:37.115Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-12T04:19:37.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-12T04:19:37.115Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T04:19:37.339Z] prd-ubuntu20.04-docker-8c-8g-9092 does not seem to be running inside a container [2023-10-12T04:19:37.367Z] $ 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-1524 -v /w/workspace/gexfoundry_device-sdk-go_PR-1524:/w/workspace/gexfoundry_device-sdk-go_PR-1524:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1524@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1524@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-lftools-log-publisher:latest cat [2023-10-12T04:19:40.492Z] $ docker top 9a84fb8ff506009b9076210bb13eca686ab774f79c706f8591f210e220018555 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T04:19:41.047Z] ---> job-cost.sh [2023-10-12T04:19:41.048Z] lf-activate-venv: SKIPPING [2023-10-12T04:19:41.048Z] INFO: No Stack... [2023-10-12T04:19:41.311Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-12T04:19:41.571Z] INFO: Archiving Costs [Pipeline] sh [2023-10-12T04:19:41.886Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1524/archives/cost.csv [2023-10-12T04:19:41.886Z] + cut -d, -f6 [Pipeline] lock [2023-10-12T04:19:41.929Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1524-1-stack-cost] [2023-10-12T04:19:41.939Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1524-1-stack-cost] did not exist. Created. [2023-10-12T04:19:41.939Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1524-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-12T04:19:42.316Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-12T04:19:42.372Z] Stashed 1 file(s) [Pipeline] } [2023-10-12T04:19:42.400Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1524-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-12T04:19:42.481Z] $ docker stop --time=1 9a84fb8ff506009b9076210bb13eca686ab774f79c706f8591f210e220018555 [2023-10-12T04:19:43.638Z] $ docker rm -f --volumes 9a84fb8ff506009b9076210bb13eca686ab774f79c706f8591f210e220018555 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-12T04:19:53.782Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9095 in /w/workspace/gexfoundry_device-sdk-go_PR-1524 [Pipeline] { [Pipeline] ws [2023-10-12T04:19:53.841Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-10-12T04:19:53.940Z] The recommended git tool is: git [2023-10-12T04:20:07.413Z] using credential edgex-jenkins-ssh [2023-10-12T04:20:07.441Z] Cloning the remote Git repository [2023-10-12T04:20:07.491Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-10-12T04:20:07.618Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-10-12T04:20:08.045Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-10-12T04:20:08.047Z] > git --version # timeout=10 [2023-10-12T04:20:08.081Z] > git --version # 'git version 2.25.1' [2023-10-12T04:20:08.085Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-12T04:20:08.347Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-12T04:20:11.519Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-10-12T04:20:11.568Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-12T04:20:13.704Z] Merging remotes/origin/main commit 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 into PR head commit 4c937d1257e2f32d44548c3f8d048b99b2fd9e2c [2023-10-12T04:20:14.203Z] Merge succeeded, producing 4c937d1257e2f32d44548c3f8d048b99b2fd9e2c [2023-10-12T04:20:14.204Z] Checking out Revision 4c937d1257e2f32d44548c3f8d048b99b2fd9e2c (PR-1524) [2023-10-12T04:20:13.001Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-10-12T04:20:13.090Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-10-12T04:20:13.092Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-12T04:20:13.116Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1524/head:refs/remotes/origin/PR-1524 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-12T04:20:13.731Z] > git config core.sparsecheckout # timeout=10 [2023-10-12T04:20:13.840Z] > git checkout -f 4c937d1257e2f32d44548c3f8d048b99b2fd9e2c # timeout=10 [2023-10-12T04:20:14.000Z] > git remote # timeout=10 [2023-10-12T04:20:14.040Z] > git config --get remote.origin.url # timeout=10 [2023-10-12T04:20:14.104Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-12T04:20:14.139Z] > git merge 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 # timeout=10 [2023-10-12T04:20:14.178Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-12T04:20:14.210Z] > git config core.sparsecheckout # timeout=10 [2023-10-12T04:20:14.244Z] > git checkout -f 4c937d1257e2f32d44548c3f8d048b99b2fd9e2c # timeout=10 [2023-10-12T04:20:14.966Z] Commit message: "build(deps): bump github.com/labstack/echo/v4 from 4.11.1 to 4.11.2" [2023-10-12T04:20:15.035Z] > git --version # timeout=10 [2023-10-12T04:20:15.068Z] > git --version # 'git version 2.25.1' [2023-10-12T04:20:15.090Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-12T04:20:16.440Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-12T04:20:16.440Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-12T04:20:16.440Z] Dload Upload Total Spent Left Speed [2023-10-12T04:20:16.440Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89795 [Pipeline] sh [2023-10-12T04:20:17.250Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-12T04:20:17.671Z] + sudo tee /etc/docker/daemon.new [2023-10-12T04:20:17.672Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-12T04:20:17.672Z] { [2023-10-12T04:20:17.672Z] "registry-mirrors": [ [2023-10-12T04:20:17.672Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-12T04:20:17.672Z] ], [2023-10-12T04:20:17.672Z] "bip": "10.250.0.254/24", [2023-10-12T04:20:17.672Z] "hosts": [ [2023-10-12T04:20:17.672Z] "tcp://0.0.0.0:5555", [2023-10-12T04:20:17.672Z] "unix:///var/run/docker.sock" [2023-10-12T04:20:17.672Z] ], [2023-10-12T04:20:17.672Z] "mtu": 1458, [2023-10-12T04:20:17.672Z] "selinux-enabled": true, [2023-10-12T04:20:17.672Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-12T04:20:17.672Z] } [Pipeline] sh [2023-10-12T04:20:18.020Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-12T04:20:18.368Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-12T04:20:36.725Z] provisioning config files... [2023-10-12T04:20:36.754Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config10920148737299220797tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T04:20:37.160Z] ---> docker-login.sh [2023-10-12T04:20:37.160Z] nexus3.edgexfoundry.org:10001 [2023-10-12T04:20:37.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:20:37.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:20:37.698Z] Configure a credential helper to remove this warning. See [2023-10-12T04:20:37.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:20:37.698Z] [2023-10-12T04:20:37.698Z] Login Succeeded [2023-10-12T04:20:37.698Z] nexus3.edgexfoundry.org:10002 [2023-10-12T04:20:37.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:20:37.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:20:37.967Z] Configure a credential helper to remove this warning. See [2023-10-12T04:20:37.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:20:37.967Z] [2023-10-12T04:20:37.967Z] Login Succeeded [2023-10-12T04:20:38.236Z] nexus3.edgexfoundry.org:10003 [2023-10-12T04:20:38.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:20:38.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:20:38.503Z] Configure a credential helper to remove this warning. See [2023-10-12T04:20:38.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:20:38.503Z] [2023-10-12T04:20:38.503Z] Login Succeeded [2023-10-12T04:20:38.503Z] nexus3.edgexfoundry.org:10004 [2023-10-12T04:20:38.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:20:38.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:20:38.775Z] Configure a credential helper to remove this warning. See [2023-10-12T04:20:38.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:20:38.775Z] [2023-10-12T04:20:38.775Z] Login Succeeded [2023-10-12T04:20:38.775Z] docker.io [2023-10-12T04:20:39.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T04:20:39.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T04:20:39.314Z] Configure a credential helper to remove this warning. See [2023-10-12T04:20:39.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T04:20:39.314Z] [2023-10-12T04:20:39.314Z] Login Succeeded [2023-10-12T04:20:39.314Z] ---> docker-login.sh ends [Pipeline] } [2023-10-12T04:20:39.351Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-12T04:20:39.751Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-12T04:20:39.790Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-12T04:20:39.832Z] ========================================================= [2023-10-12T04:20:39.832Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-12T04:20:39.832Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T04:20:40.345Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-12T04:20:40.936Z] Sending build context to Docker daemon 6.019MB [2023-10-12T04:20:40.936Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-12T04:20:40.936Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-12T04:20:40.936Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-12T04:20:40.936Z] 9fda8d8052c6: Pulling fs layer [2023-10-12T04:20:40.936Z] 5d54e960e981: Pulling fs layer [2023-10-12T04:20:40.936Z] c4a7e357bf2a: Pulling fs layer [2023-10-12T04:20:40.936Z] f0e02332f6b5: Pulling fs layer [2023-10-12T04:20:40.936Z] cefa15bbcfad: Pulling fs layer [2023-10-12T04:20:40.936Z] f0e02332f6b5: Waiting [2023-10-12T04:20:40.936Z] 17808c966233: Pulling fs layer [2023-10-12T04:20:40.936Z] f4c1fc716caa: Pulling fs layer [2023-10-12T04:20:40.936Z] cefa15bbcfad: Waiting [2023-10-12T04:20:40.936Z] f4c1fc716caa: Waiting [2023-10-12T04:20:40.936Z] 17808c966233: Waiting [2023-10-12T04:20:40.936Z] 5d54e960e981: Verifying Checksum [2023-10-12T04:20:40.936Z] 5d54e960e981: Download complete [2023-10-12T04:20:40.936Z] f0e02332f6b5: Verifying Checksum [2023-10-12T04:20:40.936Z] f0e02332f6b5: Download complete [2023-10-12T04:20:40.936Z] cefa15bbcfad: Verifying Checksum [2023-10-12T04:20:40.936Z] cefa15bbcfad: Download complete [2023-10-12T04:20:41.217Z] 9fda8d8052c6: Download complete [2023-10-12T04:20:41.496Z] f4c1fc716caa: Verifying Checksum [2023-10-12T04:20:41.496Z] f4c1fc716caa: Download complete [2023-10-12T04:20:42.085Z] 9fda8d8052c6: Pull complete [2023-10-12T04:20:42.672Z] 5d54e960e981: Pull complete [2023-10-12T04:20:42.672Z] c4a7e357bf2a: Verifying Checksum [2023-10-12T04:20:42.672Z] c4a7e357bf2a: Download complete [2023-10-12T04:20:43.632Z] 17808c966233: Verifying Checksum [2023-10-12T04:20:43.632Z] 17808c966233: Download complete [2023-10-12T04:20:55.940Z] c4a7e357bf2a: Pull complete [2023-10-12T04:20:55.940Z] f0e02332f6b5: Pull complete [2023-10-12T04:20:55.940Z] cefa15bbcfad: Pull complete [2023-10-12T04:21:04.328Z] 17808c966233: Pull complete [2023-10-12T04:21:06.300Z] f4c1fc716caa: Pull complete [2023-10-12T04:21:06.300Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-12T04:21:06.300Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-12T04:21:06.300Z] ---> ea914061e18c [2023-10-12T04:21:06.300Z] Step 3/10 : ARG MAKE=make build [2023-10-12T04:21:07.722Z] ---> Running in cff48a421938 [2023-10-12T04:21:07.991Z] Removing intermediate container cff48a421938 [2023-10-12T04:21:07.991Z] ---> 8d7606b3e0e8 [2023-10-12T04:21:07.992Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-12T04:21:08.268Z] ---> Running in 4812f5702bd0 [2023-10-12T04:21:08.537Z] Removing intermediate container 4812f5702bd0 [2023-10-12T04:21:08.537Z] ---> fae9c23a098f [2023-10-12T04:21:08.537Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-12T04:21:08.537Z] ---> Running in 2d4d3eca3a6d [2023-10-12T04:21:08.807Z] Removing intermediate container 2d4d3eca3a6d [2023-10-12T04:21:08.807Z] ---> 96abc59ff7da [2023-10-12T04:21:08.807Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-12T04:21:09.078Z] ---> Running in 081365713f7b [2023-10-12T04:21:10.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-12T04:21:10.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-12T04:21:12.053Z] OK: 266 MiB in 52 packages [2023-10-12T04:21:12.647Z] Removing intermediate container 081365713f7b [2023-10-12T04:21:12.647Z] ---> 4c1c001a71b1 [2023-10-12T04:21:12.647Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-12T04:21:13.232Z] ---> e6f0720818aa [2023-10-12T04:21:13.232Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-12T04:21:13.232Z] ---> Running in bb838025f996 [2023-10-12T04:22:49.856Z] Removing intermediate container bb838025f996 [2023-10-12T04:22:49.856Z] ---> 0ff7f44094da [2023-10-12T04:22:49.856Z] Step 9/10 : COPY . . [2023-10-12T04:22:50.821Z] ---> 1099d7a49ac8 [2023-10-12T04:22:50.821Z] Step 10/10 : RUN ${MAKE} [2023-10-12T04:22:50.821Z] ---> Running in 9cb0fbb9a4d9 [2023-10-12T04:22:51.802Z] noop [2023-10-12T04:22:52.387Z] Removing intermediate container 9cb0fbb9a4d9 [2023-10-12T04:22:52.387Z] ---> 1f31d2d39ace [2023-10-12T04:22:52.387Z] Successfully built 1f31d2d39ace [2023-10-12T04:22:52.656Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T04:22:53.129Z] + docker inspect -f . ci-base-image-arm64 [2023-10-12T04:22:53.129Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T04:22:53.414Z] prd-ubuntu20.04-docker-arm64-4c-16g-9095 does not seem to be running inside a container [2023-10-12T04:22:53.494Z] $ 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 ******** ci-base-image-arm64 cat [2023-10-12T04:22:54.712Z] $ docker top b53dc03835b507436ab7326086e1eab5d89ab21050a612fe2f6131c76dd76773 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-12T04:22:55.585Z] + go version [2023-10-12T04:22:55.585Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-12T04:22:55.620Z] $ docker stop --time=1 b53dc03835b507436ab7326086e1eab5d89ab21050a612fe2f6131c76dd76773 [2023-10-12T04:22:57.222Z] $ docker rm -f --volumes b53dc03835b507436ab7326086e1eab5d89ab21050a612fe2f6131c76dd76773 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T04:22:58.107Z] + docker inspect -f . ci-base-image-arm64 [2023-10-12T04:22:58.107Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T04:22:58.362Z] prd-ubuntu20.04-docker-arm64-4c-16g-9095 does not seem to be running inside a container [2023-10-12T04:22:58.433Z] $ 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 ******** ci-base-image-arm64 cat [2023-10-12T04:22:59.670Z] $ docker top 684e0caf698222c8fd998343d703140f1cde0d4325733942940a7bdd25aea2c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-12T04:23:00.550Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-12T04:23:01.271Z] + make test [2023-10-12T04:23:01.271Z] go test -race -coverprofile=coverage.out ./... [2023-10-12T04:23:40.195Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-12T04:25:16.836Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-12T04:25:16.836Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-12T04:25:16.836Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-12T04:25:16.836Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-12T04:25:16.836Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-12T04:25:20.171Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.197s coverage: 27.6% of statements [2023-10-12T04:25:28.364Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.256s coverage: 81.5% of statements [2023-10-12T04:25:36.561Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-12T04:25:36.561Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-12T04:25:37.528Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.326s coverage: 86.0% of statements [2023-10-12T04:25:41.774Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-12T04:25:43.177Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.474s coverage: 71.8% of statements [2023-10-12T04:25:46.516Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.251s coverage: 14.4% of statements [2023-10-12T04:25:46.516Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.760s coverage: 45.9% of statements [2023-10-12T04:25:46.785Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-12T04:25:46.785Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-12T04:25:48.198Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.404s coverage: 68.5% of statements [2023-10-12T04:25:51.554Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.416s coverage: 89.2% of statements [2023-10-12T04:25:51.554Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-12T04:25:52.965Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.236s coverage: 5.5% of statements [2023-10-12T04:25:53.560Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-12T04:25:53.560Z] GO111MODULE=on go vet ./... [2023-10-12T04:27:45.207Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-12T04:27:45.207Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-12T04:27:45.207Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-12T04:27:45.248Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-12T04:27:45.283Z] $ docker stop --time=1 684e0caf698222c8fd998343d703140f1cde0d4325733942940a7bdd25aea2c1 [2023-10-12T04:27:47.205Z] $ docker rm -f --volumes 684e0caf698222c8fd998343d703140f1cde0d4325733942940a7bdd25aea2c1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-12T04:27:48.917Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-12T04:27:48.949Z] Warning: overwriting stash ‘coverage-report’ [2023-10-12T04:27:49.524Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-12T04:27:50.125Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-12T04:27:50.466Z] + ls -al . [2023-10-12T04:27:50.466Z] total 300 [2023-10-12T04:27:50.466Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 04:23 . [2023-10-12T04:27:50.466Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 04:20 .. [2023-10-12T04:27:50.466Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 04:20 .dockerignore [2023-10-12T04:27:50.466Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 04:20 .git [2023-10-12T04:27:50.466Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 04:20 .github [2023-10-12T04:27:50.466Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 12 04:20 .gitignore [2023-10-12T04:27:50.466Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 04:20 .golangci.yml [2023-10-12T04:27:50.466Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 12 04:20 CHANGELOG.md [2023-10-12T04:27:50.466Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 04:20 GOVERNANCE.md [2023-10-12T04:27:50.466Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 12 04:20 Jenkinsfile [2023-10-12T04:27:50.466Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 04:20 LICENSE [2023-10-12T04:27:50.466Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 12 04:20 Makefile [2023-10-12T04:27:50.466Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 12 04:20 OWNERS.md [2023-10-12T04:27:50.466Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 12 04:20 README.md [2023-10-12T04:27:50.466Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 04:16 VERSION [2023-10-12T04:27:50.466Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 04:20 bin [2023-10-12T04:27:50.466Z] -rw-r--r-- 1 jenkins jenkins 122155 Oct 12 04:25 coverage.out [2023-10-12T04:27:50.466Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 04:20 example [2023-10-12T04:27:50.466Z] -rw-rw-r-- 1 jenkins jenkins 3722 Oct 12 04:20 go.mod [2023-10-12T04:27:50.466Z] -rw-rw-r-- 1 jenkins jenkins 34806 Oct 12 04:20 go.sum [2023-10-12T04:27:50.466Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 12 04:20 internal [2023-10-12T04:27:50.466Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 04:20 openapi [2023-10-12T04:27:50.466Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 04:20 pkg [2023-10-12T04:27:50.466Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 04:20 snap [2023-10-12T04:27:50.466Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 04:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T04:27:50.886Z] + 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=4c937d1257e2f32d44548c3f8d048b99b2fd9e2c --label arch=arm64 --label version=0.0.0 . [2023-10-12T04:27:51.470Z] Sending build context to Docker daemon 6.142MB [2023-10-12T04:27:51.470Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-12T04:27:51.470Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-12T04:27:51.470Z] ---> 1f31d2d39ace [2023-10-12T04:27:51.470Z] Step 3/23 : ARG MAKE=make build [2023-10-12T04:27:52.049Z] ---> Running in cdc4ae4db630 [2023-10-12T04:27:52.317Z] Removing intermediate container cdc4ae4db630 [2023-10-12T04:27:52.317Z] ---> dcb354558605 [2023-10-12T04:27:52.317Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-12T04:27:52.584Z] ---> Running in 05c8f6e618d8 [2023-10-12T04:27:52.851Z] Removing intermediate container 05c8f6e618d8 [2023-10-12T04:27:52.851Z] ---> 1d5fc5905f8f [2023-10-12T04:27:52.851Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-12T04:27:52.851Z] ---> Running in 12dd85736547 [2023-10-12T04:27:53.118Z] Removing intermediate container 12dd85736547 [2023-10-12T04:27:53.118Z] ---> 3daafe69dd80 [2023-10-12T04:27:53.118Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-12T04:27:53.385Z] ---> Running in 4a5388d6ffa7 [2023-10-12T04:27:54.353Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-12T04:27:54.621Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-12T04:27:56.025Z] OK: 266 MiB in 52 packages [2023-10-12T04:27:56.609Z] Removing intermediate container 4a5388d6ffa7 [2023-10-12T04:27:56.609Z] ---> a23a37a936ec [2023-10-12T04:27:56.609Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-12T04:27:57.206Z] ---> 2cbb0fb3ae62 [2023-10-12T04:27:57.206Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-12T04:27:57.206Z] ---> Running in c25020e7c8fa [2023-10-12T04:27:59.931Z] Removing intermediate container c25020e7c8fa [2023-10-12T04:27:59.931Z] ---> e9a212486640 [2023-10-12T04:27:59.931Z] Step 9/23 : COPY . . [2023-10-12T04:28:00.909Z] ---> 14a6032d8826 [2023-10-12T04:28:00.909Z] Step 10/23 : RUN ${MAKE} [2023-10-12T04:28:00.909Z] ---> Running in 4a7b8e43b5b3 [2023-10-12T04:28:01.888Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-10-12T04:29:53.533Z] Removing intermediate container 4a7b8e43b5b3 [2023-10-12T04:29:53.533Z] ---> 558828a89878 [2023-10-12T04:29:53.533Z] Step 11/23 : FROM alpine:3.18 [2023-10-12T04:29:53.533Z] 3.18: Pulling from library/alpine [2023-10-12T04:29:53.533Z] 579b34f0a95b: Pulling fs layer [2023-10-12T04:29:53.533Z] 579b34f0a95b: Download complete [2023-10-12T04:29:53.533Z] 579b34f0a95b: Pull complete [2023-10-12T04:29:53.533Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-12T04:29:53.533Z] Status: Downloaded newer image for alpine:3.18 [2023-10-12T04:29:53.533Z] ---> 3cc203321400 [2023-10-12T04:29:53.533Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-12T04:29:53.533Z] ---> Running in 0a7cddcbda2c [2023-10-12T04:29:53.799Z] Removing intermediate container 0a7cddcbda2c [2023-10-12T04:29:53.799Z] ---> 849d140564be [2023-10-12T04:29:53.799Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-12T04:29:54.067Z] ---> Running in b16dcfb7da43 [2023-10-12T04:29:55.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-12T04:29:55.310Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-12T04:29:56.710Z] OK: 8 MiB in 15 packages [2023-10-12T04:29:57.291Z] Removing intermediate container b16dcfb7da43 [2023-10-12T04:29:57.291Z] ---> 114a5a7dbf9c [2023-10-12T04:29:57.291Z] Step 14/23 : WORKDIR / [2023-10-12T04:29:57.291Z] ---> Running in ab8aed170057 [2023-10-12T04:29:57.876Z] Removing intermediate container ab8aed170057 [2023-10-12T04:29:57.876Z] ---> 47d01ad6171b [2023-10-12T04:29:57.876Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-12T04:29:58.142Z] ---> 8c73315ea1ea [2023-10-12T04:29:58.142Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-12T04:29:59.541Z] ---> 537cf285f765 [2023-10-12T04:29:59.541Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-12T04:30:00.124Z] ---> 9a32ed4a7ba8 [2023-10-12T04:30:00.124Z] Step 18/23 : EXPOSE 59999 [2023-10-12T04:30:00.124Z] ---> Running in da41110900af [2023-10-12T04:30:00.390Z] Removing intermediate container da41110900af [2023-10-12T04:30:00.390Z] ---> 4b4188d3e2e5 [2023-10-12T04:30:00.390Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-12T04:30:00.390Z] ---> Running in 03e954838c0a [2023-10-12T04:30:00.656Z] Removing intermediate container 03e954838c0a [2023-10-12T04:30:00.656Z] ---> 6dce5e573027 [2023-10-12T04:30:00.656Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-12T04:30:00.656Z] ---> Running in 22bee80c9b29 [2023-10-12T04:30:00.923Z] Removing intermediate container 22bee80c9b29 [2023-10-12T04:30:00.923Z] ---> 57db053501f5 [2023-10-12T04:30:00.923Z] Step 21/23 : LABEL arch=arm64 [2023-10-12T04:30:00.923Z] ---> Running in e24f9293434c [2023-10-12T04:30:01.202Z] Removing intermediate container e24f9293434c [2023-10-12T04:30:01.202Z] ---> 7a055bae4c72 [2023-10-12T04:30:01.202Z] Step 22/23 : LABEL git_sha=4c937d1257e2f32d44548c3f8d048b99b2fd9e2c [2023-10-12T04:30:01.471Z] ---> Running in c7db67833e69 [2023-10-12T04:30:01.736Z] Removing intermediate container c7db67833e69 [2023-10-12T04:30:01.736Z] ---> 61baf4e2ba3e [2023-10-12T04:30:01.736Z] Step 23/23 : LABEL version=0.0.0 [2023-10-12T04:30:01.736Z] ---> Running in 1949d75d158e [2023-10-12T04:30:02.002Z] Removing intermediate container 1949d75d158e [2023-10-12T04:30:02.002Z] ---> 706b515fa4ba [2023-10-12T04:30:02.002Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-12T04:30:02.002Z] Successfully built 706b515fa4ba [2023-10-12T04:30:02.002Z] 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-10-12T04:30:02.880Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-12T04:30:02.881Z] [2023-10-12T04:30:02.881Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T04:30:03.275Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-12T04:30:03.275Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-12T04:30:03.275Z] 8998bd30e6a1: Pulling fs layer [2023-10-12T04:30:03.275Z] 04944245beec: Pulling fs layer [2023-10-12T04:30:03.275Z] 699f458cf7ca: Pulling fs layer [2023-10-12T04:30:03.275Z] 765212b225bb: Pulling fs layer [2023-10-12T04:30:03.275Z] f23df028b6ca: Pulling fs layer [2023-10-12T04:30:03.275Z] d65c8cfc05b1: Pulling fs layer [2023-10-12T04:30:03.275Z] 2437ff75d9bd: Pulling fs layer [2023-10-12T04:30:03.275Z] 765212b225bb: Waiting [2023-10-12T04:30:03.275Z] f23df028b6ca: Waiting [2023-10-12T04:30:03.275Z] d65c8cfc05b1: Waiting [2023-10-12T04:30:03.275Z] 2437ff75d9bd: Waiting [2023-10-12T04:30:03.540Z] 04944245beec: Verifying Checksum [2023-10-12T04:30:03.540Z] 04944245beec: Download complete [2023-10-12T04:30:03.540Z] 765212b225bb: Verifying Checksum [2023-10-12T04:30:03.540Z] 765212b225bb: Download complete [2023-10-12T04:30:03.540Z] f23df028b6ca: Verifying Checksum [2023-10-12T04:30:03.540Z] f23df028b6ca: Download complete [2023-10-12T04:30:03.540Z] d65c8cfc05b1: Verifying Checksum [2023-10-12T04:30:03.540Z] d65c8cfc05b1: Download complete [2023-10-12T04:30:03.806Z] 699f458cf7ca: Verifying Checksum [2023-10-12T04:30:03.806Z] 699f458cf7ca: Download complete [2023-10-12T04:30:04.073Z] 8998bd30e6a1: Verifying Checksum [2023-10-12T04:30:04.073Z] 8998bd30e6a1: Download complete [2023-10-12T04:30:06.649Z] 2437ff75d9bd: Verifying Checksum [2023-10-12T04:30:06.649Z] 2437ff75d9bd: Download complete [2023-10-12T04:30:08.588Z] 8998bd30e6a1: Pull complete [2023-10-12T04:30:08.588Z] 04944245beec: Pull complete [2023-10-12T04:30:09.991Z] 699f458cf7ca: Pull complete [2023-10-12T04:30:10.257Z] 765212b225bb: Pull complete [2023-10-12T04:30:11.217Z] f23df028b6ca: Pull complete [2023-10-12T04:30:11.217Z] d65c8cfc05b1: Pull complete [2023-10-12T04:30:26.196Z] 2437ff75d9bd: Pull complete [2023-10-12T04:30:26.196Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-12T04:30:26.196Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-12T04:30:26.196Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T04:30:26.531Z] prd-ubuntu20.04-docker-arm64-4c-16g-9095 does not seem to be running inside a container [2023-10-12T04:30:26.603Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-12T04:30:29.160Z] $ docker top 0b491c8e242b80f1699a87601e4a1e5c9f4875cfda9b4473ae02540287c80129 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T04:30:30.052Z] ---> job-cost.sh [2023-10-12T04:30:30.052Z] lf-activate-venv: SKIPPING [2023-10-12T04:30:30.052Z] INFO: No Stack... [2023-10-12T04:30:30.317Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-12T04:30:31.274Z] INFO: Archiving Costs [Pipeline] sh [2023-10-12T04:30:31.930Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-10-12T04:30:31.930Z] + cut -d, -f6 [Pipeline] lock [2023-10-12T04:30:32.009Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1524-1-stack-cost] [2023-10-12T04:30:32.016Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1524-1-stack-cost] did not exist. Created. [2023-10-12T04:30:32.016Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1524-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-12T04:30:32.448Z] /w/workspace/device-sdk-go/1@tmp/durable-bfb7d7bd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-12T04:30:32.806Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-12T04:30:32.844Z] Warning: overwriting stash ‘stack-cost’ [2023-10-12T04:30:32.925Z] Stashed 1 file(s) [Pipeline] } [2023-10-12T04:30:32.942Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1524-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-12T04:30:33.023Z] $ docker stop --time=1 0b491c8e242b80f1699a87601e4a1e5c9f4875cfda9b4473ae02540287c80129 [2023-10-12T04:30:36.425Z] $ docker rm -f --volumes 0b491c8e242b80f1699a87601e4a1e5c9f4875cfda9b4473ae02540287c80129 [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-10-12T04:30:37.426Z] provisioning config files... [2023-10-12T04:30:37.434Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1524@tmp/config11551731167155352459tmp [Pipeline] { [Pipeline] sh [2023-10-12T04:30:37.777Z] + set +x [2023-10-12T04:30:37.777Z] + curl -s https://codecov.io/bash [2023-10-12T04:30:37.777Z] + bash -s -- [2023-10-12T04:30:37.777Z] [2023-10-12T04:30:37.777Z] _____ _ [2023-10-12T04:30:37.777Z] / ____| | | [2023-10-12T04:30:37.777Z] | | ___ __| | ___ ___ _____ __ [2023-10-12T04:30:37.777Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-12T04:30:37.777Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-12T04:30:37.777Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-12T04:30:37.777Z] Bash-1.0.6 [2023-10-12T04:30:37.777Z] [2023-10-12T04:30:37.777Z] [2023-10-12T04:30:37.777Z] ==> git version 2.25.1 found [2023-10-12T04:30:37.777Z] ==> 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-10-12T04:30:37.777Z] Release-Date: 2020-01-08 [2023-10-12T04:30:37.777Z] 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-10-12T04:30:37.777Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-12T04:30:37.777Z] ==> Jenkins CI detected. [2023-10-12T04:30:37.777Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1524 [2023-10-12T04:30:37.778Z] project root: . [2023-10-12T04:30:37.778Z] --> token set from env [2023-10-12T04:30:37.778Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-12T04:30:37.778Z] ==> Running gcov in . (disable via -X gcov) [2023-10-12T04:30:37.778Z] ==> Python coveragepy not found [2023-10-12T04:30:37.778Z] ==> Searching for coverage reports in: [2023-10-12T04:30:37.778Z] + . [2023-10-12T04:30:37.778Z] -> Found 1 reports [2023-10-12T04:30:37.778Z] ==> Detecting git/mercurial file structure [2023-10-12T04:30:38.037Z] ==> Reading reports [2023-10-12T04:30:38.037Z] + ./coverage.out bytes=122155 [2023-10-12T04:30:38.037Z] ==> Appending adjustments [2023-10-12T04:30:38.037Z] https://docs.codecov.io/docs/fixing-reports [2023-10-12T04:30:38.296Z] + Found adjustments [2023-10-12T04:30:38.296Z] ==> Gzipping contents [2023-10-12T04:30:38.296Z] 20K /tmp/codecov.v1rdrp.gz [2023-10-12T04:30:38.296Z] ==> Uploading reports [2023-10-12T04:30:38.296Z] url: https://codecov.io [2023-10-12T04:30:38.296Z] query: branch=PR-1524&commit=4c937d1257e2f32d44548c3f8d048b99b2fd9e2c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1524%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1524&job=&cmd_args= [2023-10-12T04:30:38.296Z] -> Pinging Codecov [2023-10-12T04:30:38.296Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1524&commit=4c937d1257e2f32d44548c3f8d048b99b2fd9e2c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1524%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1524&job=&cmd_args= [2023-10-12T04:30:38.296Z] -> Uploading to [2023-10-12T04:30:38.296Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-12/7E55EF52A471D76F132DFD9A03CDDE97/4c937d1257e2f32d44548c3f8d048b99b2fd9e2c/2432546c-a799-4fc3-b20b-312bd0c10c40.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231012T043038Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0057053920fc4ae8de9d800077d988e165e146f93e808956ca83ffd3d1cd6f94 [2023-10-12T04:30:38.296Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-12T04:30:38.296Z] Dload Upload Total Spent Left Speed [2023-10-12T04:30:38.864Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16754 0 0 100 16754 0 47868 --:--:-- --:--:-- --:--:-- 47732 100 16754 0 0 100 16754 0 47868 --:--:-- --:--:-- --:--:-- 47732 [2023-10-12T04:30:38.864Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4c937d1257e2f32d44548c3f8d048b99b2fd9e2c [Pipeline] } [2023-10-12T04:30:38.895Z] 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-10-12T04:30:40.744Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1524/archives ] [2023-10-12T04:30:40.744Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1524/archives [2023-10-12T04:30:40.744Z] total 16 [2023-10-12T04:30:40.744Z] drwxr-xr-x 3 root root 4096 Oct 12 04:19 . [2023-10-12T04:30:40.744Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 12 04:19 .. [2023-10-12T04:30:40.744Z] drwxr-xr-x 2 root root 4096 Oct 12 04:19 cost [2023-10-12T04:30:40.744Z] -rw-r--r-- 1 root root 86 Oct 12 04:19 cost.csv [2023-10-12T04:30:40.744Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1524/archives [2023-10-12T04:30:40.744Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1524/archives [2023-10-12T04:30:40.744Z] total 16 [2023-10-12T04:30:40.744Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 04:19 . [2023-10-12T04:30:40.744Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 12 04:19 .. [2023-10-12T04:30:40.745Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 04:19 cost [2023-10-12T04:30:40.745Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 12 04:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-12T04:30:41.074Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T04:30:41.961Z] ---> package-listing.sh [2023-10-12T04:30:41.962Z] ++ facter osfamily [2023-10-12T04:30:41.962Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-12T04:30:42.221Z] + OS_FAMILY=debian [2023-10-12T04:30:42.221Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1524 [2023-10-12T04:30:42.221Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-12T04:30:42.221Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-12T04:30:42.221Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-12T04:30:42.221Z] + PACKAGES=/tmp/packages_start.txt [2023-10-12T04:30:42.221Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1524 ']' [2023-10-12T04:30:42.221Z] + PACKAGES=/tmp/packages_end.txt [2023-10-12T04:30:42.221Z] + case "${OS_FAMILY}" in [2023-10-12T04:30:42.221Z] + dpkg -l [2023-10-12T04:30:42.221Z] + grep '^ii' [2023-10-12T04:30:42.221Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-12T04:30:42.221Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-12T04:30:42.221Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-12T04:30:42.221Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1524 ']' [2023-10-12T04:30:42.221Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1524/archives/ [2023-10-12T04:30:42.221Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1524/archives/ [Pipeline] echo [2023-10-12T04:30:42.257Z] 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-1524/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-12T04:30:42.552Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T04:30:43.177Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-12T04:30:43.177Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T04:30:43.333Z] prd-ubuntu20.04-docker-8c-8g-9092 does not seem to be running inside a container [2023-10-12T04:30:43.361Z] $ 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-1524/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-1524 -v /w/workspace/gexfoundry_device-sdk-go_PR-1524:/w/workspace/gexfoundry_device-sdk-go_PR-1524:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1524@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1524@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-12T04:30:43.567Z] $ docker top 812cc1862b3ee7afebb59c1a35a2d55f9a764b9f91843f96444a13bff550ac3b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-12T04:30:43.948Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-12T04:30:44.258Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-12T04:30:44.567Z] + ls /var/log/sa-host [2023-10-12T04:30:44.567Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-12T04:30:44.698Z] provisioning config files... [2023-10-12T04:30:44.708Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1524@tmp/config10588032479131201297tmp [Pipeline] { [Pipeline] echo [2023-10-12T04:30:44.805Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T04:30:45.112Z] ---> create-netrc.sh [Pipeline] } [2023-10-12T04:30:45.140Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-12T04:30:45.537Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-12T04:30:45.564Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T04:30:45.874Z] ---> sudo-logs.sh [2023-10-12T04:30:45.874Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-12T04:30:45.963Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T04:30:46.276Z] ---> job-cost.sh [2023-10-12T04:30:46.276Z] lf-activate-venv: SKIPPING [2023-10-12T04:30:46.276Z] DEBUG: total: 0.2199999988079071 [2023-10-12T04:30:46.276Z] INFO: Retrieving Stack Cost... [2023-10-12T04:30:46.535Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-12T04:30:47.102Z] INFO: Archiving Costs [Pipeline] echo [2023-10-12T04:30:47.140Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T04:30:47.455Z] ---> logs-deploy.sh [2023-10-12T04:30:47.455Z] lf-activate-venv: SKIPPING [2023-10-12T04:30:47.455Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1524/1 [2023-10-12T04:30:47.455Z] INFO: archiving workspace using pattern(s): [2023-10-12T04:30:48.392Z] Archives upload complete. [2023-10-12T04:30:48.392Z] INFO: archiving logs to Nexus