Pull request #1142 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at dd514f718fd528170d25c4d96999316fe43c7c62 rather than a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 Obtained Jenkinsfile from dd514f718fd528170d25c4d96999316fe43c7c62 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-ssh13988893945204391063.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh3073244398715485580.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-1142/workspace@libs/edgex-global-pipelines # 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-1142/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16752499757939736163.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-1142/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5475127065920584438.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh10982350123526621273.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-1142/workspace@libs/lf-pipelines # 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-1142/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11994962560373094549.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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/v2]] ========================================================= [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.17 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/v2 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-21580 in /w/workspace/gexfoundry_device-sdk-go_PR-1142 [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-1142 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1142/head:refs/remotes/origin/PR-1142 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dd514f718fd528170d25c4d96999316fe43c7c62 into PR head commit a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 Merge succeeded, producing a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 Checking out Revision a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 (PR-1142) > git config core.sparsecheckout # timeout=10 > git checkout -f a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 # 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 dd514f718fd528170d25c4d96999316fe43c7c62 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 # timeout=10 Commit message: "feat: Add MaxEventSize to limit event size" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-21T10:36:32.537Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-21T10:36:32.717Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-21T10:36:32.830Z] ========================================================= [2022-04-21T10:36:32.830Z] EdgeX Global Pipelines Version Info [2022-04-21T10:36:32.830Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-21T10:36:33.632Z] ------------------- [2022-04-21T10:36:33.632Z] stable info: [2022-04-21T10:36:33.632Z] ------------------- [2022-04-21T10:36:33.632Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-21T10:36:33.632Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-21T10:36:33.632Z] Message: update stable to v1.0.221 [2022-04-21T10:36:34.208Z] ------------------- [2022-04-21T10:36:34.208Z] experimental info: [2022-04-21T10:36:34.208Z] ------------------- [2022-04-21T10:36:34.208Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-21T10:36:34.208Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-21T10:36:34.208Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-21T10:36:34.534Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-21T10:36:34.574Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-21T10:36:34.613Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-21T10:36:34.654Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-21T10:36:34.698Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-21T10:36:34.743Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-21T10:36:34.785Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-21T10:36:34.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-21T10:36:34.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-21T10:36:34.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-21T10:36:34.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-21T10:36:34.989Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-21T10:36:35.025Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-21T10:36:35.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-21T10:36:35.103Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-21T10:36:35.147Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-21T10:36:35.187Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-21T10:36:35.227Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-21T10:36:35.267Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-21T10:36:35.305Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-21T10:36:35.345Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-21T10:36:35.391Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-21T10:36:35.434Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-21T10:36:35.477Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-21T10:36:35.520Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-21T10:36:35.566Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-21T10:36:35.612Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1142 [Pipeline] echo [2022-04-21T10:36:35.655Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1142 [Pipeline] echo [2022-04-21T10:36:35.696Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1142 [Pipeline] echo [2022-04-21T10:36:35.741Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 [Pipeline] echo [2022-04-21T10:36:35.786Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a525fa8 [Pipeline] echo [2022-04-21T10:36:35.827Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-21T10:36:35.944Z] provisioning config files... [2022-04-21T10:36:35.962Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp/config1476608819547128904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-21T10:36:36.313Z] ---> docker-login.sh [2022-04-21T10:36:36.313Z] nexus3.edgexfoundry.org:10001 [2022-04-21T10:36:36.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-21T10:36:36.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-21T10:36:36.577Z] Configure a credential helper to remove this warning. See [2022-04-21T10:36:36.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-21T10:36:36.577Z] [2022-04-21T10:36:36.577Z] Login Succeeded [2022-04-21T10:36:36.577Z] nexus3.edgexfoundry.org:10002 [2022-04-21T10:36:36.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-21T10:36:36.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-21T10:36:36.857Z] Configure a credential helper to remove this warning. See [2022-04-21T10:36:36.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-21T10:36:36.857Z] [2022-04-21T10:36:36.857Z] Login Succeeded [2022-04-21T10:36:36.857Z] nexus3.edgexfoundry.org:10003 [2022-04-21T10:36:36.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-21T10:36:36.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-21T10:36:36.857Z] Configure a credential helper to remove this warning. See [2022-04-21T10:36:36.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-21T10:36:36.857Z] [2022-04-21T10:36:36.857Z] Login Succeeded [2022-04-21T10:36:36.857Z] nexus3.edgexfoundry.org:10004 [2022-04-21T10:36:37.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-21T10:36:37.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-21T10:36:37.120Z] Configure a credential helper to remove this warning. See [2022-04-21T10:36:37.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-21T10:36:37.120Z] [2022-04-21T10:36:37.120Z] Login Succeeded [2022-04-21T10:36:37.120Z] docker.io [2022-04-21T10:36:37.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-21T10:36:37.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-21T10:36:37.700Z] Configure a credential helper to remove this warning. See [2022-04-21T10:36:37.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-21T10:36:37.700Z] [2022-04-21T10:36:37.700Z] Login Succeeded [2022-04-21T10:36:37.700Z] ---> docker-login.sh ends [Pipeline] } [2022-04-21T10:36:37.727Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-21T10:36:38.396Z] + git rev-list -1 --merges a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5~1..a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 [Pipeline] echo [2022-04-21T10:36:38.447Z] -----------> git rev-list -1 --merges a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5~1..a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 [false] [Pipeline] sh [2022-04-21T10:36:38.763Z] + git log --format=format:%s -1 a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 [Pipeline] echo [2022-04-21T10:36:38.803Z] ========================================================= [2022-04-21T10:36:38.803Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-21T10:36:38.803Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-21T10:36:39.307Z] + git log --format=format:%s -1 a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 [Pipeline] echo [2022-04-21T10:36:39.339Z] [semverPrep] GIT_COMMIT: a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5, Commit Message: feat: Add MaxEventSize to limit event size [Pipeline] echo [2022-04-21T10:36:39.367Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-21T10:36:39.828Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-21T10:36:39.828Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-21T10:36:39.828Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-21T10:36:39.828Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-21T10:36:39.828Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-21T10:36:39.828Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-21T10:36:39.828Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-21T10:36:40.307Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-21T10:36:40.307Z] [2022-04-21T10:36:40.307Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-21T10:36:40.673Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-21T10:36:40.673Z] latest: Pulling from edgex-devops/git-semver [2022-04-21T10:36:40.673Z] a0d0a0d46f8b: Pulling fs layer [2022-04-21T10:36:40.673Z] 3e5f54012d9b: Pulling fs layer [2022-04-21T10:36:40.673Z] 4c7163046ea9: Pulling fs layer [2022-04-21T10:36:40.673Z] 0c2d73faf560: Pulling fs layer [2022-04-21T10:36:40.673Z] 0c2d73faf560: Waiting [2022-04-21T10:36:40.673Z] 3e5f54012d9b: Verifying Checksum [2022-04-21T10:36:40.673Z] 3e5f54012d9b: Download complete [2022-04-21T10:36:40.673Z] a0d0a0d46f8b: Verifying Checksum [2022-04-21T10:36:40.673Z] a0d0a0d46f8b: Download complete [2022-04-21T10:36:40.673Z] 0c2d73faf560: Download complete [2022-04-21T10:36:40.673Z] 4c7163046ea9: Verifying Checksum [2022-04-21T10:36:40.673Z] 4c7163046ea9: Download complete [2022-04-21T10:36:40.935Z] a0d0a0d46f8b: Pull complete [2022-04-21T10:36:40.935Z] 3e5f54012d9b: Pull complete [2022-04-21T10:36:41.518Z] 4c7163046ea9: Pull complete [2022-04-21T10:36:41.518Z] 0c2d73faf560: Pull complete [2022-04-21T10:36:41.518Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-21T10:36:41.518Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-21T10:36:41.518Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-21T10:36:41.633Z] prd-ubuntu20.04-docker-8c-8g-21580 does not seem to be running inside a container [2022-04-21T10:36:41.682Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1142 -v /w/workspace/gexfoundry_device-sdk-go_PR-1142:/w/workspace/gexfoundry_device-sdk-go_PR-1142:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1142@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:10004/edgex-devops/git-semver:latest cat [2022-04-21T10:36:42.397Z] $ docker top f2447e6fb88b3ecbe85ddb2e81f8e30809d1f088b5db5615cb4a959fc3a8310a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-21T10:36:42.586Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-21T10:36:42.586Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-21T10:36:42.735Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-21T10:36:42.743Z] $ docker exec f2447e6fb88b3ecbe85ddb2e81f8e30809d1f088b5db5615cb4a959fc3a8310a ssh-agent [2022-04-21T10:36:42.876Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXogcNMC/agent.14 [2022-04-21T10:36:42.876Z] SSH_AGENT_PID=20 [2022-04-21T10:36:42.886Z] Running ssh-add (command line suppressed) [2022-04-21T10:36:43.005Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp/private_key_7558933921524220228.key (/w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp/private_key_7558933921524220228.key) [2022-04-21T10:36:43.018Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-21T10:36:43.357Z] + git tag --points-at HEAD [Pipeline] } [2022-04-21T10:36:43.388Z] $ docker exec --env ******** --env ******** f2447e6fb88b3ecbe85ddb2e81f8e30809d1f088b5db5615cb4a959fc3a8310a ssh-agent -k [2022-04-21T10:36:43.507Z] unset SSH_AUTH_SOCK; [2022-04-21T10:36:43.507Z] unset SSH_AGENT_PID; [2022-04-21T10:36:43.508Z] echo Agent pid 20 killed; [2022-04-21T10:36:43.522Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-21T10:36:43.612Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-21T10:36:43.612Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-21T10:36:43.767Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-21T10:36:43.775Z] $ docker exec f2447e6fb88b3ecbe85ddb2e81f8e30809d1f088b5db5615cb4a959fc3a8310a ssh-agent [2022-04-21T10:36:43.900Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPbDNDC/agent.53 [2022-04-21T10:36:43.900Z] SSH_AGENT_PID=59 [2022-04-21T10:36:43.907Z] Running ssh-add (command line suppressed) [2022-04-21T10:36:44.026Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp/private_key_4600572359819898862.key (/w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp/private_key_4600572359819898862.key) [2022-04-21T10:36:44.039Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-21T10:36:44.373Z] + git semver init [2022-04-21T10:36:44.373Z] # -> Open(): unable to determine branch for HEAD [2022-04-21T10:36:44.373Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1142/.git [2022-04-21T10:36:44.373Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1142 [2022-04-21T10:36:44.373Z] # $SEMVER_REMOTE_NAME = origin [2022-04-21T10:36:44.373Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-21T10:36:44.373Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-21T10:36:44.373Z] # $SEMVER_BRANCH = PR-1142 [2022-04-21T10:36:44.373Z] # $SEMVER_TEMP = /tmp/semver-258679909 [2022-04-21T10:36:44.373Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-21T10:36:45.762Z] # '/tmp/semver-258679909' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1142/.semver' [2022-04-21T10:36:45.762Z] # -> Force: false [2022-04-21T10:36:45.762Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1142/.semver [Pipeline] } [2022-04-21T10:36:45.793Z] $ docker exec --env ******** --env ******** f2447e6fb88b3ecbe85ddb2e81f8e30809d1f088b5db5615cb4a959fc3a8310a ssh-agent -k [2022-04-21T10:36:45.914Z] unset SSH_AUTH_SOCK; [2022-04-21T10:36:45.914Z] unset SSH_AGENT_PID; [2022-04-21T10:36:45.914Z] echo Agent pid 59 killed; [2022-04-21T10:36:45.923Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-21T10:36:46.362Z] + git semver [Pipeline] } [2022-04-21T10:36:46.401Z] $ docker stop --time=1 f2447e6fb88b3ecbe85ddb2e81f8e30809d1f088b5db5615cb4a959fc3a8310a [2022-04-21T10:36:47.778Z] $ docker rm -f f2447e6fb88b3ecbe85ddb2e81f8e30809d1f088b5db5615cb4a959fc3a8310a [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-21T10:36:48.201Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-21T10:36:48.530Z] Stashed 1 file(s) [Pipeline] echo [2022-04-21T10:36:48.550Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-21T10:36:49.157Z] provisioning config files... [2022-04-21T10:36:49.169Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp/config1701205940299748345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-21T10:36:49.527Z] ---> docker-login.sh [2022-04-21T10:36:49.527Z] nexus3.edgexfoundry.org:10001 [2022-04-21T10:36:49.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-21T10:36:49.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-21T10:36:49.527Z] Configure a credential helper to remove this warning. See [2022-04-21T10:36:49.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-21T10:36:49.527Z] [2022-04-21T10:36:49.527Z] Login Succeeded [2022-04-21T10:36:49.527Z] nexus3.edgexfoundry.org:10002 [2022-04-21T10:36:49.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-21T10:36:49.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-21T10:36:49.789Z] Configure a credential helper to remove this warning. See [2022-04-21T10:36:49.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-21T10:36:49.789Z] [2022-04-21T10:36:49.789Z] Login Succeeded [2022-04-21T10:36:49.789Z] nexus3.edgexfoundry.org:10003 [2022-04-21T10:36:49.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-21T10:36:49.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-21T10:36:49.789Z] Configure a credential helper to remove this warning. See [2022-04-21T10:36:49.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-21T10:36:49.789Z] [2022-04-21T10:36:49.789Z] Login Succeeded [2022-04-21T10:36:49.789Z] nexus3.edgexfoundry.org:10004 [2022-04-21T10:36:50.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-21T10:36:50.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-21T10:36:50.051Z] Configure a credential helper to remove this warning. See [2022-04-21T10:36:50.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-21T10:36:50.051Z] [2022-04-21T10:36:50.051Z] Login Succeeded [2022-04-21T10:36:50.051Z] docker.io [2022-04-21T10:36:50.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-21T10:36:50.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-21T10:36:50.311Z] Configure a credential helper to remove this warning. See [2022-04-21T10:36:50.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-21T10:36:50.311Z] [2022-04-21T10:36:50.311Z] Login Succeeded [2022-04-21T10:36:50.311Z] ---> docker-login.sh ends [Pipeline] } [2022-04-21T10:36:50.337Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-21T10:36:50.536Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-21T10:36:50.565Z] ========================================================= [2022-04-21T10:36:50.565Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-21T10:36:50.565Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-21T10:36:50.981Z] + 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.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-21T10:36:50.981Z] Sending build context to Docker daemon 9.544MB [2022-04-21T10:36:50.981Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-21T10:36:50.981Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-21T10:36:50.981Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-21T10:36:50.981Z] 59bf1c3509f3: Pulling fs layer [2022-04-21T10:36:50.981Z] 666ba61612fd: Pulling fs layer [2022-04-21T10:36:50.981Z] 8ed8ca486205: Pulling fs layer [2022-04-21T10:36:50.981Z] 4fe6c5a15a65: Pulling fs layer [2022-04-21T10:36:50.981Z] 22a0e8bec74d: Pulling fs layer [2022-04-21T10:36:50.981Z] 640e595b4fbd: Pulling fs layer [2022-04-21T10:36:50.981Z] 763cafe07f6e: Pulling fs layer [2022-04-21T10:36:50.981Z] 0c0b528cf693: Pulling fs layer [2022-04-21T10:36:50.981Z] 10935f4eaf8b: Pulling fs layer [2022-04-21T10:36:50.981Z] 640e595b4fbd: Waiting [2022-04-21T10:36:50.981Z] 763cafe07f6e: Waiting [2022-04-21T10:36:50.981Z] 22a0e8bec74d: Waiting [2022-04-21T10:36:50.981Z] 10935f4eaf8b: Waiting [2022-04-21T10:36:50.981Z] 4fe6c5a15a65: Waiting [2022-04-21T10:36:50.981Z] 0c0b528cf693: Waiting [2022-04-21T10:36:51.243Z] 666ba61612fd: Verifying Checksum [2022-04-21T10:36:51.243Z] 666ba61612fd: Download complete [2022-04-21T10:36:51.244Z] 22a0e8bec74d: Download complete [2022-04-21T10:36:51.244Z] 640e595b4fbd: Verifying Checksum [2022-04-21T10:36:51.244Z] 640e595b4fbd: Download complete [2022-04-21T10:36:51.244Z] 763cafe07f6e: Verifying Checksum [2022-04-21T10:36:51.244Z] 763cafe07f6e: Download complete [2022-04-21T10:36:51.244Z] 59bf1c3509f3: Verifying Checksum [2022-04-21T10:36:51.244Z] 59bf1c3509f3: Download complete [2022-04-21T10:36:51.244Z] 0c0b528cf693: Verifying Checksum [2022-04-21T10:36:51.244Z] 0c0b528cf693: Download complete [2022-04-21T10:36:51.244Z] 59bf1c3509f3: Pull complete [2022-04-21T10:36:51.506Z] 666ba61612fd: Pull complete [2022-04-21T10:36:51.506Z] 8ed8ca486205: Pull complete [2022-04-21T10:36:51.767Z] 10935f4eaf8b: Verifying Checksum [2022-04-21T10:36:51.767Z] 10935f4eaf8b: Download complete [2022-04-21T10:36:52.027Z] 4fe6c5a15a65: Verifying Checksum [2022-04-21T10:36:52.027Z] 4fe6c5a15a65: Download complete [2022-04-21T10:36:56.225Z] 4fe6c5a15a65: Pull complete [2022-04-21T10:36:56.225Z] 22a0e8bec74d: Pull complete [2022-04-21T10:36:56.225Z] 640e595b4fbd: Pull complete [2022-04-21T10:36:56.225Z] 763cafe07f6e: Pull complete [2022-04-21T10:36:56.487Z] 0c0b528cf693: Pull complete [2022-04-21T10:36:59.038Z] 10935f4eaf8b: Pull complete [2022-04-21T10:36:59.038Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-21T10:36:59.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-21T10:36:59.038Z] ---> 99d49a6021b9 [2022-04-21T10:36:59.038Z] Step 3/11 : ARG MAKE=make build [2022-04-21T10:37:00.437Z] ---> Running in 2f4c5a3a4f18 [2022-04-21T10:37:00.437Z] Removing intermediate container 2f4c5a3a4f18 [2022-04-21T10:37:00.437Z] ---> 9108a66e10bb [2022-04-21T10:37:00.437Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-21T10:37:00.437Z] ---> Running in 1acc2397b46c [2022-04-21T10:37:00.437Z] Removing intermediate container 1acc2397b46c [2022-04-21T10:37:00.437Z] ---> 921de3c3787e [2022-04-21T10:37:00.437Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-21T10:37:00.437Z] ---> Running in f084e83a3b67 [2022-04-21T10:37:00.698Z] Removing intermediate container f084e83a3b67 [2022-04-21T10:37:00.698Z] ---> 7b685436aecd [2022-04-21T10:37:00.698Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-21T10:37:00.698Z] ---> Running in ea00f8420ae3 [2022-04-21T10:37:01.274Z] Removing intermediate container ea00f8420ae3 [2022-04-21T10:37:01.274Z] ---> babc43cc7c24 [2022-04-21T10:37:01.274Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-21T10:37:01.274Z] ---> Running in e43215fec20a [2022-04-21T10:37:01.537Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-21T10:37:02.932Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-21T10:37:03.194Z] OK: 221 MiB in 52 packages [2022-04-21T10:37:03.770Z] Removing intermediate container e43215fec20a [2022-04-21T10:37:03.770Z] ---> 312f84f83ef9 [2022-04-21T10:37:03.770Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-21T10:37:03.770Z] ---> 6d2198f1afa7 [2022-04-21T10:37:03.770Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-21T10:37:03.770Z] ---> Running in 6b83b9a0afb1 [2022-04-21T10:37:03.969Z] Still waiting to schedule task [2022-04-21T10:37:03.969Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-21T10:37:21.906Z] Removing intermediate container 6b83b9a0afb1 [2022-04-21T10:37:21.906Z] ---> a98f4ef5e12f [2022-04-21T10:37:21.906Z] Step 10/11 : COPY . . [2022-04-21T10:37:21.906Z] ---> 5265b7bcd21a [2022-04-21T10:37:21.906Z] Step 11/11 : RUN ${MAKE} [2022-04-21T10:37:21.906Z] ---> Running in 06c7071fcf5c [2022-04-21T10:37:21.906Z] noop [2022-04-21T10:37:21.906Z] Removing intermediate container 06c7071fcf5c [2022-04-21T10:37:21.906Z] ---> e3a9f796ceb7 [2022-04-21T10:37:21.906Z] Successfully built e3a9f796ceb7 [2022-04-21T10:37:21.906Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-21T10:37:22.249Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-21T10:37:22.249Z] . [Pipeline] withDockerContainer [2022-04-21T10:37:22.349Z] prd-ubuntu20.04-docker-8c-8g-21580 does not seem to be running inside a container [2022-04-21T10:37:22.397Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1142 -v /w/workspace/gexfoundry_device-sdk-go_PR-1142:/w/workspace/gexfoundry_device-sdk-go_PR-1142:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1142@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 [2022-04-21T10:37:22.796Z] $ docker top 3aa3d6d4fbff78e1aab58a06bc97c11bf3fc7c30ff738c85c2c329b33188cdf9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-21T10:37:23.207Z] + go version [2022-04-21T10:37:23.207Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-21T10:37:23.250Z] $ docker stop --time=1 3aa3d6d4fbff78e1aab58a06bc97c11bf3fc7c30ff738c85c2c329b33188cdf9 [2022-04-21T10:37:24.588Z] $ docker rm -f 3aa3d6d4fbff78e1aab58a06bc97c11bf3fc7c30ff738c85c2c329b33188cdf9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-21T10:37:25.262Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-21T10:37:25.262Z] . [Pipeline] withDockerContainer [2022-04-21T10:37:25.363Z] prd-ubuntu20.04-docker-8c-8g-21580 does not seem to be running inside a container [2022-04-21T10:37:25.407Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1142 -v /w/workspace/gexfoundry_device-sdk-go_PR-1142:/w/workspace/gexfoundry_device-sdk-go_PR-1142:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1142@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 [2022-04-21T10:37:25.813Z] $ docker top 8160b0f6e6144e76bfc63e395b2d693bd1bc968dda9eefea7393e1980c450a0c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-21T10:37:26.342Z] + make test [2022-04-21T10:37:26.343Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-21T10:37:32.925Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-21T10:37:45.155Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-21T10:37:45.155Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-21T10:37:45.155Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-21T10:37:45.414Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.097s coverage: 23.3% of statements [2022-04-21T10:37:45.414Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-21T10:37:45.984Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.6% of statements [2022-04-21T10:37:45.984Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.069s coverage: 78.9% of statements [2022-04-21T10:37:45.984Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.069s coverage: 10.8% of statements [2022-04-21T10:37:45.984Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.058s coverage: 60.0% of statements [2022-04-21T10:37:45.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-21T10:37:45.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-21T10:37:46.246Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.093s coverage: 34.7% of statements [2022-04-21T10:37:46.246Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-21T10:37:46.507Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.093s coverage: 86.1% of statements [2022-04-21T10:37:46.507Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-21T10:37:46.507Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-21T10:37:46.507Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.112s coverage: 65.1% of statements [2022-04-21T10:37:46.507Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.912s coverage: 89.2% of statements [2022-04-21T10:37:46.507Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-21T10:37:46.507Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements [2022-04-21T10:37:46.507Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-21T10:38:04.623Z] internal/common/utils_test.go:38:5: `ctx` is unused (deadcode) [2022-04-21T10:38:04.623Z] var ctx = context.Background() [2022-04-21T10:38:04.623Z] ^ [2022-04-21T10:38:04.623Z] make: *** [Makefile:48: lint] Error 1 [Pipeline] } [2022-04-21T10:38:04.675Z] $ docker stop --time=1 8160b0f6e6144e76bfc63e395b2d693bd1bc968dda9eefea7393e1980c450a0c [2022-04-21T10:38:06.803Z] $ docker rm -f 8160b0f6e6144e76bfc63e395b2d693bd1bc968dda9eefea7393e1980c450a0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-21T10:38:08.121Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-21T10:38:08.122Z] [2022-04-21T10:38:08.122Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-21T10:38:08.479Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-21T10:38:08.480Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-21T10:38:08.480Z] 5eb5b503b376: Pulling fs layer [2022-04-21T10:38:08.480Z] 5c69ac0246d0: Pulling fs layer [2022-04-21T10:38:08.480Z] ec43610c2a17: Pulling fs layer [2022-04-21T10:38:08.480Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-21T10:38:08.480Z] 33b1e0a273af: Pulling fs layer [2022-04-21T10:38:08.480Z] 5d3b04190fa2: Pulling fs layer [2022-04-21T10:38:08.480Z] 2f39f015ded8: Pulling fs layer [2022-04-21T10:38:08.480Z] 3a2ae6a8a46f: Waiting [2022-04-21T10:38:08.480Z] 33b1e0a273af: Waiting [2022-04-21T10:38:08.480Z] 5d3b04190fa2: Waiting [2022-04-21T10:38:08.480Z] 2f39f015ded8: Waiting [2022-04-21T10:38:08.480Z] 5c69ac0246d0: Verifying Checksum [2022-04-21T10:38:08.480Z] 5c69ac0246d0: Download complete [2022-04-21T10:38:08.480Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-21T10:38:08.480Z] 3a2ae6a8a46f: Download complete [2022-04-21T10:38:08.480Z] 33b1e0a273af: Verifying Checksum [2022-04-21T10:38:08.480Z] 33b1e0a273af: Download complete [2022-04-21T10:38:08.480Z] ec43610c2a17: Verifying Checksum [2022-04-21T10:38:08.480Z] ec43610c2a17: Download complete [2022-04-21T10:38:08.480Z] 5d3b04190fa2: Verifying Checksum [2022-04-21T10:38:08.480Z] 5d3b04190fa2: Download complete [2022-04-21T10:38:08.743Z] 5eb5b503b376: Verifying Checksum [2022-04-21T10:38:08.743Z] 5eb5b503b376: Download complete [2022-04-21T10:38:09.314Z] 2f39f015ded8: Verifying Checksum [2022-04-21T10:38:09.314Z] 2f39f015ded8: Download complete [2022-04-21T10:38:10.254Z] 5eb5b503b376: Pull complete [2022-04-21T10:38:10.514Z] 5c69ac0246d0: Pull complete [2022-04-21T10:38:11.087Z] ec43610c2a17: Pull complete [2022-04-21T10:38:11.087Z] 3a2ae6a8a46f: Pull complete [2022-04-21T10:38:11.348Z] 33b1e0a273af: Pull complete [2022-04-21T10:38:11.348Z] 5d3b04190fa2: Pull complete [2022-04-21T10:38:16.632Z] 2f39f015ded8: Pull complete [2022-04-21T10:38:16.632Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-21T10:38:16.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-21T10:38:16.632Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-21T10:38:16.730Z] prd-ubuntu20.04-docker-8c-8g-21580 does not seem to be running inside a container [2022-04-21T10:38:16.773Z] $ 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-1142 -v /w/workspace/gexfoundry_device-sdk-go_PR-1142:/w/workspace/gexfoundry_device-sdk-go_PR-1142:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1142@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 [2022-04-21T10:38:18.610Z] $ docker top df1581e87eb3503abf6cbc194063349534fc995545c7d7576746dd96389756ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-21T10:38:19.106Z] ---> job-cost.sh [2022-04-21T10:38:19.107Z] lf-activate-venv: SKIPPING [2022-04-21T10:38:19.107Z] INFO: No Stack... [2022-04-21T10:38:19.369Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-21T10:38:19.941Z] INFO: Archiving Costs [Pipeline] sh [2022-04-21T10:38:20.263Z] + cat+ /w/workspace/gexfoundry_device-sdk-go_PR-1142/archives/cost.csv [2022-04-21T10:38:20.263Z] cut -d, -f6 [Pipeline] lock [2022-04-21T10:38:20.302Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1142-1-stack-cost] [2022-04-21T10:38:20.308Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1142-1-stack-cost] did not exist. Created. [2022-04-21T10:38:20.308Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1142-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-21T10:38:20.687Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-21T10:38:20.745Z] Stashed 1 file(s) [Pipeline] } [2022-04-21T10:38:20.767Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1142-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-21T10:38:20.847Z] $ docker stop --time=1 df1581e87eb3503abf6cbc194063349534fc995545c7d7576746dd96389756ed [2022-04-21T10:38:22.044Z] $ docker rm -f df1581e87eb3503abf6cbc194063349534fc995545c7d7576746dd96389756ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-21T10:38:22.413Z] Failed in branch amd64 [2022-04-21T10:38:40.749Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21581 in /w/workspace/gexfoundry_device-sdk-go_PR-1142 [Pipeline] { [Pipeline] ws [2022-04-21T10:38:40.787Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-04-21T10:38:41.125Z] The recommended git tool is: git [2022-04-21T10:38:47.517Z] using credential edgex-jenkins-ssh [2022-04-21T10:38:47.534Z] Cloning the remote Git repository [2022-04-21T10:38:47.638Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-21T10:38:47.749Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-04-21T10:38:47.826Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-21T10:38:47.827Z] > git --version # timeout=10 [2022-04-21T10:38:47.844Z] > git --version # 'git version 2.25.1' [2022-04-21T10:38:47.845Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-21T10:38:47.946Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-21T10:38:50.132Z] Merging remotes/origin/main commit dd514f718fd528170d25c4d96999316fe43c7c62 into PR head commit a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 [2022-04-21T10:38:49.380Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-21T10:38:49.403Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-21T10:38:49.429Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-21T10:38:49.462Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-21T10:38:49.463Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-21T10:38:49.480Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1142/head:refs/remotes/origin/PR-1142 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-21T10:38:50.152Z] > git config core.sparsecheckout # timeout=10 [2022-04-21T10:38:50.171Z] > git checkout -f a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 # timeout=10 [2022-04-21T10:38:50.350Z] Merge succeeded, producing a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 [2022-04-21T10:38:50.350Z] Checking out Revision a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 (PR-1142) [2022-04-21T10:38:50.273Z] > git remote # timeout=10 [2022-04-21T10:38:50.287Z] > git config --get remote.origin.url # timeout=10 [2022-04-21T10:38:50.303Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-21T10:38:50.315Z] > git merge dd514f718fd528170d25c4d96999316fe43c7c62 # timeout=10 [2022-04-21T10:38:50.338Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-21T10:38:50.360Z] > git config core.sparsecheckout # timeout=10 [2022-04-21T10:38:50.382Z] > git checkout -f a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 # timeout=10 [2022-04-21T10:38:54.487Z] Commit message: "feat: Add MaxEventSize to limit event size" [2022-04-21T10:38:54.548Z] > git --version # timeout=10 [2022-04-21T10:38:54.558Z] > git --version # 'git version 2.25.1' [2022-04-21T10:38:54.572Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-21T10:38:55.902Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-21T10:38:55.902Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-21T10:38:55.902Z] Dload Upload Total Spent Left Speed [2022-04-21T10:38:55.902Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 56937 0 --:--:-- --:--:-- --:--:-- 57212 [Pipeline] sh [2022-04-21T10:38:56.513Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-21T10:38:56.895Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-21T10:38:56.895Z] + sudo tee /etc/docker/daemon.new [2022-04-21T10:38:56.895Z] { [2022-04-21T10:38:56.895Z] "registry-mirrors": [ [2022-04-21T10:38:56.895Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-21T10:38:56.895Z] ], [2022-04-21T10:38:56.895Z] "bip": "10.250.0.254/24", [2022-04-21T10:38:56.895Z] "hosts": [ [2022-04-21T10:38:56.895Z] "tcp://0.0.0.0:5555", [2022-04-21T10:38:56.895Z] "unix:///var/run/docker.sock" [2022-04-21T10:38:56.895Z] ], [2022-04-21T10:38:56.895Z] "mtu": 1458, [2022-04-21T10:38:56.895Z] "selinux-enabled": true, [2022-04-21T10:38:56.895Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-21T10:38:56.895Z] } [Pipeline] sh [2022-04-21T10:38:57.269Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-21T10:38:57.629Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-21T10:39:16.042Z] provisioning config files... [2022-04-21T10:39:16.067Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2255156306859320313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-21T10:39:16.686Z] ---> docker-login.sh [2022-04-21T10:39:16.686Z] nexus3.edgexfoundry.org:10001 [2022-04-21T10:39:17.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-21T10:39:17.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-21T10:39:17.558Z] Configure a credential helper to remove this warning. See [2022-04-21T10:39:17.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-21T10:39:17.558Z] [2022-04-21T10:39:17.558Z] Login Succeeded [2022-04-21T10:39:17.558Z] nexus3.edgexfoundry.org:10002 [2022-04-21T10:39:17.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-21T10:39:18.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-21T10:39:18.113Z] Configure a credential helper to remove this warning. See [2022-04-21T10:39:18.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-21T10:39:18.113Z] [2022-04-21T10:39:18.113Z] Login Succeeded [2022-04-21T10:39:18.113Z] nexus3.edgexfoundry.org:10003 [2022-04-21T10:39:18.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-21T10:39:18.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-21T10:39:18.671Z] Configure a credential helper to remove this warning. See [2022-04-21T10:39:18.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-21T10:39:18.671Z] [2022-04-21T10:39:18.671Z] Login Succeeded [2022-04-21T10:39:18.671Z] nexus3.edgexfoundry.org:10004 [2022-04-21T10:39:18.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-21T10:39:18.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-21T10:39:18.947Z] Configure a credential helper to remove this warning. See [2022-04-21T10:39:18.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-21T10:39:18.947Z] [2022-04-21T10:39:18.947Z] Login Succeeded [2022-04-21T10:39:18.947Z] docker.io [2022-04-21T10:39:19.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-21T10:39:19.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-21T10:39:19.820Z] Configure a credential helper to remove this warning. See [2022-04-21T10:39:19.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-21T10:39:19.820Z] [2022-04-21T10:39:19.820Z] Login Succeeded [2022-04-21T10:39:19.820Z] ---> docker-login.sh ends [Pipeline] } [2022-04-21T10:39:19.850Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-21T10:39:20.270Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-21T10:39:20.316Z] ========================================================= [2022-04-21T10:39:20.316Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-21T10:39:20.316Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-21T10:39:20.778Z] + 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.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-21T10:39:21.386Z] Sending build context to Docker daemon 5.182MB [2022-04-21T10:39:21.386Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-21T10:39:21.386Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-21T10:39:21.386Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-21T10:39:21.386Z] 9b3977197b4f: Pulling fs layer [2022-04-21T10:39:21.386Z] 1a89e8eeedd5: Pulling fs layer [2022-04-21T10:39:21.386Z] 94645a83ff95: Pulling fs layer [2022-04-21T10:39:21.386Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-21T10:39:21.386Z] 0c92f367c5e7: Pulling fs layer [2022-04-21T10:39:21.386Z] f7c0051592d6: Pulling fs layer [2022-04-21T10:39:21.386Z] 3f3a8bcf1eab: Waiting [2022-04-21T10:39:21.386Z] a227ed2f7395: Pulling fs layer [2022-04-21T10:39:21.386Z] 7b1c46037f91: Pulling fs layer [2022-04-21T10:39:21.386Z] f7c0051592d6: Waiting [2022-04-21T10:39:21.386Z] a227ed2f7395: Waiting [2022-04-21T10:39:21.386Z] 7b1c46037f91: Waiting [2022-04-21T10:39:21.386Z] 94645a83ff95: Verifying Checksum [2022-04-21T10:39:21.386Z] 94645a83ff95: Download complete [2022-04-21T10:39:21.386Z] 1a89e8eeedd5: Verifying Checksum [2022-04-21T10:39:21.386Z] 1a89e8eeedd5: Download complete [2022-04-21T10:39:21.386Z] 0c92f367c5e7: Verifying Checksum [2022-04-21T10:39:21.386Z] 0c92f367c5e7: Download complete [2022-04-21T10:39:21.386Z] f7c0051592d6: Verifying Checksum [2022-04-21T10:39:21.386Z] f7c0051592d6: Download complete [2022-04-21T10:39:21.667Z] a227ed2f7395: Verifying Checksum [2022-04-21T10:39:21.667Z] a227ed2f7395: Download complete [2022-04-21T10:39:21.667Z] 9b3977197b4f: Verifying Checksum [2022-04-21T10:39:21.668Z] 9b3977197b4f: Download complete [2022-04-21T10:39:22.273Z] 9b3977197b4f: Pull complete [2022-04-21T10:39:22.879Z] 1a89e8eeedd5: Pull complete [2022-04-21T10:39:23.156Z] 94645a83ff95: Pull complete [2022-04-21T10:39:23.758Z] 7b1c46037f91: Verifying Checksum [2022-04-21T10:39:23.758Z] 7b1c46037f91: Download complete [2022-04-21T10:39:24.032Z] 3f3a8bcf1eab: Download complete [2022-04-21T10:39:36.466Z] 3f3a8bcf1eab: Pull complete [2022-04-21T10:39:36.466Z] 0c92f367c5e7: Pull complete [2022-04-21T10:39:36.466Z] f7c0051592d6: Pull complete [2022-04-21T10:39:36.740Z] a227ed2f7395: Pull complete [2022-04-21T10:39:43.464Z] 7b1c46037f91: Pull complete [2022-04-21T10:39:43.464Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-21T10:39:43.464Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-21T10:39:43.464Z] ---> f79e39bc4007 [2022-04-21T10:39:43.464Z] Step 3/11 : ARG MAKE=make build [2022-04-21T10:39:44.453Z] ---> Running in 4e30e2432d3c [2022-04-21T10:39:44.730Z] Removing intermediate container 4e30e2432d3c [2022-04-21T10:39:44.730Z] ---> faaa1fe0ada6 [2022-04-21T10:39:44.730Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-21T10:39:44.730Z] ---> Running in 76e276c8aa9f [2022-04-21T10:39:45.004Z] Removing intermediate container 76e276c8aa9f [2022-04-21T10:39:45.004Z] ---> fa4174e3fb84 [2022-04-21T10:39:45.004Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-21T10:39:45.004Z] ---> Running in cfb59b68d2b8 [2022-04-21T10:39:45.279Z] Removing intermediate container cfb59b68d2b8 [2022-04-21T10:39:45.279Z] ---> 29f314c94e7e [2022-04-21T10:39:45.279Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-21T10:39:45.556Z] ---> Running in a2bdbb396a85 [2022-04-21T10:39:47.536Z] Removing intermediate container a2bdbb396a85 [2022-04-21T10:39:47.536Z] ---> 04464c56d5a7 [2022-04-21T10:39:47.536Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-21T10:39:47.536Z] ---> Running in 79002036729f [2022-04-21T10:39:49.515Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-21T10:39:50.503Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-21T10:39:51.102Z] OK: 220 MiB in 52 packages [2022-04-21T10:39:52.093Z] Removing intermediate container 79002036729f [2022-04-21T10:39:52.093Z] ---> 4440a5f18cc2 [2022-04-21T10:39:52.093Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-21T10:39:52.367Z] ---> 8c494808bc44 [2022-04-21T10:39:52.367Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-21T10:39:52.644Z] ---> Running in 94b675e49ca1 [2022-04-21T10:40:39.651Z] Removing intermediate container 94b675e49ca1 [2022-04-21T10:40:39.651Z] ---> 2ff1ae416d2d [2022-04-21T10:40:39.651Z] Step 10/11 : COPY . . [2022-04-21T10:40:39.651Z] ---> 9f15a89e488a [2022-04-21T10:40:39.651Z] Step 11/11 : RUN ${MAKE} [2022-04-21T10:40:39.651Z] ---> Running in 5b07edb32982 [2022-04-21T10:40:39.651Z] noop [2022-04-21T10:40:39.651Z] Removing intermediate container 5b07edb32982 [2022-04-21T10:40:39.651Z] ---> bb3c0b77bc94 [2022-04-21T10:40:39.651Z] Successfully built bb3c0b77bc94 [2022-04-21T10:40:39.651Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-21T10:40:40.027Z] + docker inspect -f . ci-base-image-arm64 [2022-04-21T10:40:40.027Z] . [Pipeline] withDockerContainer [2022-04-21T10:40:40.282Z] prd-ubuntu20.04-docker-arm64-4c-16g-21581 does not seem to be running inside a container [2022-04-21T10:40:40.372Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-21T10:40:41.657Z] $ docker top 4dff3727073cc6210b13a7bb0c1e23f4c56a080d3d5a001ad76101ad07319ed9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-21T10:40:42.610Z] + go version [2022-04-21T10:40:42.610Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-21T10:40:42.650Z] $ docker stop --time=1 4dff3727073cc6210b13a7bb0c1e23f4c56a080d3d5a001ad76101ad07319ed9 [2022-04-21T10:40:44.312Z] $ docker rm -f 4dff3727073cc6210b13a7bb0c1e23f4c56a080d3d5a001ad76101ad07319ed9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-21T10:40:45.174Z] + docker inspect -f . ci-base-image-arm64 [2022-04-21T10:40:45.174Z] . [Pipeline] withDockerContainer [2022-04-21T10:40:45.447Z] prd-ubuntu20.04-docker-arm64-4c-16g-21581 does not seem to be running inside a container [2022-04-21T10:40:45.532Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-21T10:40:46.820Z] $ docker top 2258f9118d198b7935e79db0e6cda49b0be2bafadd17730b0f5bab91aa0a240e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-21T10:40:47.792Z] + make test [2022-04-21T10:40:47.792Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-21T10:41:20.184Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-21T10:42:57.092Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-21T10:42:57.092Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-21T10:42:57.092Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-21T10:42:59.752Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.413s coverage: 23.3% of statements [2022-04-21T10:42:59.752Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-21T10:42:59.752Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.275s coverage: 27.6% of statements [2022-04-21T10:42:59.752Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.408s coverage: 78.9% of statements [2022-04-21T10:42:59.752Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.263s coverage: 10.8% of statements [2022-04-21T10:43:04.117Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.369s coverage: 60.0% of statements [2022-04-21T10:43:04.117Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-21T10:43:04.117Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-21T10:43:06.108Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.500s coverage: 34.7% of statements [2022-04-21T10:43:06.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-21T10:43:07.560Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.338s coverage: 86.1% of statements [2022-04-21T10:43:07.560Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-21T10:43:07.560Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-21T10:43:10.201Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.444s coverage: 65.1% of statements [2022-04-21T10:43:11.192Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.263s coverage: 89.2% of statements [2022-04-21T10:43:11.193Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-21T10:43:13.812Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.229s coverage: 4.7% of statements [2022-04-21T10:43:13.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-21T10:43:14.086Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-21T10:43:14.087Z] GO111MODULE=on go vet ./... [2022-04-21T10:44:35.935Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-21T10:44:35.935Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-21T10:44:35.935Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-21T10:44:36.959Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-21T10:44:36.995Z] $ docker stop --time=1 2258f9118d198b7935e79db0e6cda49b0be2bafadd17730b0f5bab91aa0a240e [2022-04-21T10:44:38.790Z] $ docker rm -f 2258f9118d198b7935e79db0e6cda49b0be2bafadd17730b0f5bab91aa0a240e [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-21T10:44:40.157Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-21T10:44:40.797Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-21T10:44:42.169Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-21T10:44:42.533Z] + ls -al . [2022-04-21T10:44:42.533Z] total 292 [2022-04-21T10:44:42.533Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 21 10:44 . [2022-04-21T10:44:42.533Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 10:38 .. [2022-04-21T10:44:42.533Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 10:38 .dockerignore [2022-04-21T10:44:42.533Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 10:38 .git [2022-04-21T10:44:42.533Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 10:38 .github [2022-04-21T10:44:42.533Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 21 10:38 .gitignore [2022-04-21T10:44:42.533Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 21 10:38 .golangci.yml [2022-04-21T10:44:42.533Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 21 10:38 CHANGELOG.md [2022-04-21T10:44:42.533Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 21 10:38 GOVERNANCE.md [2022-04-21T10:44:42.533Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 21 10:38 Jenkinsfile [2022-04-21T10:44:42.533Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 21 10:38 LICENSE [2022-04-21T10:44:42.533Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 21 10:38 Makefile [2022-04-21T10:44:42.533Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 21 10:38 OWNERS.md [2022-04-21T10:44:42.533Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 21 10:38 README.md [2022-04-21T10:44:42.533Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 10:36 VERSION [2022-04-21T10:44:42.533Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 10:38 bin [2022-04-21T10:44:42.533Z] -rw-r--r-- 1 jenkins jenkins 131008 Apr 21 10:43 coverage.out [2022-04-21T10:44:42.533Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 10:38 example [2022-04-21T10:44:42.533Z] -rw-rw-r-- 1 jenkins jenkins 3106 Apr 21 10:38 go.mod [2022-04-21T10:44:42.533Z] -rw-rw-r-- 1 jenkins jenkins 34437 Apr 21 10:38 go.sum [2022-04-21T10:44:42.533Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 21 10:38 internal [2022-04-21T10:44:42.533Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 10:38 openapi [2022-04-21T10:44:42.533Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 10:38 pkg [2022-04-21T10:44:42.533Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 10:38 snap [2022-04-21T10:44:42.533Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 21 10:38 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-21T10:44:42.906Z] + 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=a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 --label arch=arm64 --label version=0.0.0 . [2022-04-21T10:44:43.182Z] Sending build context to Docker daemon 5.314MB [2022-04-21T10:44:43.458Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-21T10:44:43.458Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-21T10:44:43.458Z] ---> bb3c0b77bc94 [2022-04-21T10:44:43.458Z] Step 3/25 : ARG MAKE=make build [2022-04-21T10:44:43.458Z] ---> Running in dbd0d7d8d580 [2022-04-21T10:44:43.734Z] Removing intermediate container dbd0d7d8d580 [2022-04-21T10:44:43.734Z] ---> acd5c06f5937 [2022-04-21T10:44:43.734Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-21T10:44:44.008Z] ---> Running in aa2d97845b69 [2022-04-21T10:44:44.284Z] Removing intermediate container aa2d97845b69 [2022-04-21T10:44:44.285Z] ---> 8e3e98b7e771 [2022-04-21T10:44:44.285Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-21T10:44:44.285Z] ---> Running in 14ee8569d6aa [2022-04-21T10:44:44.563Z] Removing intermediate container 14ee8569d6aa [2022-04-21T10:44:44.563Z] ---> 8178b5929339 [2022-04-21T10:44:44.563Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-21T10:44:44.563Z] ---> Running in 4714e8f596f0 [2022-04-21T10:44:46.555Z] Removing intermediate container 4714e8f596f0 [2022-04-21T10:44:46.555Z] ---> 8523a2f51a5a [2022-04-21T10:44:46.555Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-21T10:44:46.555Z] ---> Running in d375de66f571 [2022-04-21T10:44:47.545Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-21T10:44:48.142Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-21T10:44:49.124Z] OK: 220 MiB in 52 packages [2022-04-21T10:44:49.729Z] Removing intermediate container d375de66f571 [2022-04-21T10:44:49.729Z] ---> f04b3b728013 [2022-04-21T10:44:49.729Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-21T10:44:50.329Z] ---> 58ded954a0c0 [2022-04-21T10:44:50.329Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-21T10:44:50.329Z] ---> Running in 1ccdb6c90150 [2022-04-21T10:44:52.319Z] Removing intermediate container 1ccdb6c90150 [2022-04-21T10:44:52.319Z] ---> 11343024f544 [2022-04-21T10:44:52.319Z] Step 10/25 : COPY . . [2022-04-21T10:44:53.763Z] ---> c75c51510d7e [2022-04-21T10:44:53.763Z] Step 11/25 : RUN ${MAKE} [2022-04-21T10:44:53.763Z] ---> Running in 7e31cbdcf7dc [2022-04-21T10:44:54.739Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-21T10:46:46.619Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-21T10:46:53.340Z] Removing intermediate container 7e31cbdcf7dc [2022-04-21T10:46:53.340Z] ---> e4f8835f3836 [2022-04-21T10:46:53.340Z] Step 12/25 : FROM alpine:3.14 [2022-04-21T10:46:53.340Z] 3.14: Pulling from library/alpine [2022-04-21T10:46:53.340Z] 455c02918c45: Pulling fs layer [2022-04-21T10:46:53.616Z] 455c02918c45: Verifying Checksum [2022-04-21T10:46:53.616Z] 455c02918c45: Download complete [2022-04-21T10:46:54.221Z] 455c02918c45: Pull complete [2022-04-21T10:46:54.221Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-21T10:46:54.221Z] Status: Downloaded newer image for alpine:3.14 [2022-04-21T10:46:54.222Z] ---> ac73e934f311 [2022-04-21T10:46:54.222Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-21T10:46:54.499Z] ---> Running in ca4484621b6e [2022-04-21T10:46:54.774Z] Removing intermediate container ca4484621b6e [2022-04-21T10:46:54.774Z] ---> f16c27d0bdad [2022-04-21T10:46:54.774Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-21T10:46:54.774Z] ---> Running in c8f99639b521 [2022-04-21T10:46:56.767Z] Removing intermediate container c8f99639b521 [2022-04-21T10:46:56.767Z] ---> 59cb3f476c37 [2022-04-21T10:46:56.767Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-21T10:46:56.767Z] ---> Running in 9f06faae58d5 [2022-04-21T10:46:57.367Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-21T10:46:58.350Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-21T10:46:59.333Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-21T10:46:59.333Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-21T10:46:59.333Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-21T10:46:59.333Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-21T10:46:59.609Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-21T10:46:59.609Z] Executing busybox-1.33.1-r7.trigger [2022-04-21T10:46:59.609Z] OK: 8 MiB in 19 packages [2022-04-21T10:47:00.600Z] Removing intermediate container 9f06faae58d5 [2022-04-21T10:47:00.600Z] ---> ac00ce1b0288 [2022-04-21T10:47:00.600Z] Step 16/25 : WORKDIR / [2022-04-21T10:47:00.600Z] ---> Running in 731441d0937c [2022-04-21T10:47:00.876Z] Removing intermediate container 731441d0937c [2022-04-21T10:47:00.876Z] ---> f684801579dc [2022-04-21T10:47:00.876Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-21T10:47:01.479Z] ---> e4250515982d [2022-04-21T10:47:01.479Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-21T10:47:02.916Z] ---> 1719cfb08a0e [2022-04-21T10:47:02.916Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-21T10:47:03.520Z] ---> 0630e265d09b [2022-04-21T10:47:03.520Z] Step 20/25 : EXPOSE 59999 [2022-04-21T10:47:03.797Z] ---> Running in 6f7f3f36f1fc [2022-04-21T10:47:04.072Z] Removing intermediate container 6f7f3f36f1fc [2022-04-21T10:47:04.072Z] ---> e40d3be92227 [2022-04-21T10:47:04.072Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-21T10:47:04.072Z] ---> Running in 8add4c91471e [2022-04-21T10:47:04.354Z] Removing intermediate container 8add4c91471e [2022-04-21T10:47:04.354Z] ---> c337bf17bfa5 [2022-04-21T10:47:04.354Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-21T10:47:04.354Z] ---> Running in 18d8c661f84e [2022-04-21T10:47:04.637Z] Removing intermediate container 18d8c661f84e [2022-04-21T10:47:04.637Z] ---> f11ef54dd3f1 [2022-04-21T10:47:04.637Z] Step 23/25 : LABEL arch=arm64 [2022-04-21T10:47:04.913Z] ---> Running in 744e4bbdb18e [2022-04-21T10:47:05.191Z] Removing intermediate container 744e4bbdb18e [2022-04-21T10:47:05.191Z] ---> 215b0879ccba [2022-04-21T10:47:05.191Z] Step 24/25 : LABEL git_sha=a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 [2022-04-21T10:47:05.191Z] ---> Running in c17717258e13 [2022-04-21T10:47:05.471Z] Removing intermediate container c17717258e13 [2022-04-21T10:47:05.471Z] ---> 4382b9a1a7ef [2022-04-21T10:47:05.471Z] Step 25/25 : LABEL version=0.0.0 [2022-04-21T10:47:05.471Z] ---> Running in bb1dba2f3054 [2022-04-21T10:47:05.746Z] Removing intermediate container bb1dba2f3054 [2022-04-21T10:47:05.746Z] ---> 543c057d44e7 [2022-04-21T10:47:05.746Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-21T10:47:05.746Z] Successfully built 543c057d44e7 [2022-04-21T10:47:06.017Z] Successfully tagged device-sdk-simple-arm64:latest [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] sh [2022-04-21T10:47:06.776Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-21T10:47:06.776Z] [2022-04-21T10:47:06.776Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-21T10:47:07.162Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-21T10:47:07.438Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-21T10:47:07.438Z] 8998bd30e6a1: Pulling fs layer [2022-04-21T10:47:07.438Z] 04944245beec: Pulling fs layer [2022-04-21T10:47:07.438Z] 699f458cf7ca: Pulling fs layer [2022-04-21T10:47:07.438Z] 765212b225bb: Pulling fs layer [2022-04-21T10:47:07.438Z] f23df028b6ca: Pulling fs layer [2022-04-21T10:47:07.438Z] d65c8cfc05b1: Pulling fs layer [2022-04-21T10:47:07.438Z] 2437ff75d9bd: Pulling fs layer [2022-04-21T10:47:07.438Z] 765212b225bb: Waiting [2022-04-21T10:47:07.438Z] d65c8cfc05b1: Waiting [2022-04-21T10:47:07.438Z] 2437ff75d9bd: Waiting [2022-04-21T10:47:07.438Z] f23df028b6ca: Waiting [2022-04-21T10:47:07.438Z] 04944245beec: Verifying Checksum [2022-04-21T10:47:07.438Z] 04944245beec: Download complete [2022-04-21T10:47:07.438Z] 765212b225bb: Verifying Checksum [2022-04-21T10:47:07.438Z] 765212b225bb: Download complete [2022-04-21T10:47:07.438Z] f23df028b6ca: Verifying Checksum [2022-04-21T10:47:07.438Z] f23df028b6ca: Download complete [2022-04-21T10:47:07.438Z] d65c8cfc05b1: Verifying Checksum [2022-04-21T10:47:07.438Z] d65c8cfc05b1: Download complete [2022-04-21T10:47:07.717Z] 699f458cf7ca: Download complete [2022-04-21T10:47:07.993Z] 8998bd30e6a1: Verifying Checksum [2022-04-21T10:47:07.993Z] 8998bd30e6a1: Download complete [2022-04-21T10:47:10.623Z] 2437ff75d9bd: Verifying Checksum [2022-04-21T10:47:10.623Z] 2437ff75d9bd: Download complete [2022-04-21T10:47:12.604Z] 8998bd30e6a1: Pull complete [2022-04-21T10:47:12.878Z] 04944245beec: Pull complete [2022-04-21T10:47:14.333Z] 699f458cf7ca: Pull complete [2022-04-21T10:47:14.607Z] 765212b225bb: Pull complete [2022-04-21T10:47:15.209Z] f23df028b6ca: Pull complete [2022-04-21T10:47:15.484Z] d65c8cfc05b1: Pull complete [2022-04-21T10:47:30.585Z] 2437ff75d9bd: Pull complete [2022-04-21T10:47:30.585Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-21T10:47:30.585Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-21T10:47:30.585Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-21T10:47:30.844Z] prd-ubuntu20.04-docker-arm64-4c-16g-21581 does not seem to be running inside a container [2022-04-21T10:47:30.939Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-21T10:47:33.552Z] $ docker top 60f1dd9c75c0843bad62c65a2882ef8b893bfc7154162a9becb959b309ed82f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-21T10:47:34.546Z] ---> job-cost.sh [2022-04-21T10:47:34.546Z] lf-activate-venv: SKIPPING [2022-04-21T10:47:34.546Z] INFO: No Stack... [2022-04-21T10:47:35.141Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-21T10:47:35.735Z] INFO: Archiving Costs [Pipeline] sh [2022-04-21T10:47:36.419Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-04-21T10:47:36.419Z] + cut -d, -f6 [Pipeline] lock [2022-04-21T10:47:36.506Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1142-1-stack-cost] [2022-04-21T10:47:36.511Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1142-1-stack-cost] did not exist. Created. [2022-04-21T10:47:36.511Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1142-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-21T10:47:37.265Z] /w/workspace/device-sdk-go/1@tmp/durable-ad9676fc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-21T10:47:37.965Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-21T10:47:38.004Z] Warning: overwriting stash ‘stack-cost’ [2022-04-21T10:47:38.067Z] Stashed 1 file(s) [Pipeline] } [2022-04-21T10:47:38.081Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1142-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-21T10:47:38.174Z] $ docker stop --time=1 60f1dd9c75c0843bad62c65a2882ef8b893bfc7154162a9becb959b309ed82f8 [2022-04-21T10:47:39.675Z] $ docker rm -f 60f1dd9c75c0843bad62c65a2882ef8b893bfc7154162a9becb959b309ed82f8 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-21T10:47:42.352Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1142/archives ] [2022-04-21T10:47:42.352Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1142/archives [2022-04-21T10:47:42.352Z] total 16 [2022-04-21T10:47:42.352Z] drwxr-xr-x 3 root root 4096 Apr 21 10:38 . [2022-04-21T10:47:42.352Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 21 10:38 .. [2022-04-21T10:47:42.352Z] drwxr-xr-x 2 root root 4096 Apr 21 10:38 cost [2022-04-21T10:47:42.352Z] -rw-r--r-- 1 root root 85 Apr 21 10:38 cost.csv [2022-04-21T10:47:42.352Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1142/archives [2022-04-21T10:47:42.352Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1142/archives [2022-04-21T10:47:42.352Z] total 16 [2022-04-21T10:47:42.352Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 21 10:38 . [2022-04-21T10:47:42.352Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 21 10:38 .. [2022-04-21T10:47:42.352Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 21 10:38 cost [2022-04-21T10:47:42.352Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 21 10:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-21T10:47:42.691Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-21T10:47:43.592Z] ---> package-listing.sh [2022-04-21T10:47:43.592Z] ++ facter osfamily [2022-04-21T10:47:43.592Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-21T10:47:43.853Z] + OS_FAMILY=debian [2022-04-21T10:47:43.853Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1142 [2022-04-21T10:47:43.853Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-21T10:47:43.854Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-21T10:47:43.854Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-21T10:47:43.854Z] + PACKAGES=/tmp/packages_start.txt [2022-04-21T10:47:43.854Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1142 ']' [2022-04-21T10:47:43.854Z] + PACKAGES=/tmp/packages_end.txt [2022-04-21T10:47:43.854Z] + case "${OS_FAMILY}" in [2022-04-21T10:47:43.854Z] + dpkg -l [2022-04-21T10:47:43.854Z] + grep '^ii' [2022-04-21T10:47:43.854Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-21T10:47:43.854Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-21T10:47:43.854Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-21T10:47:43.854Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1142 ']' [2022-04-21T10:47:43.854Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1142/archives/ [2022-04-21T10:47:43.854Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1142/archives/ [Pipeline] echo [2022-04-21T10:47:43.887Z] 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-1142/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-21T10:47:44.184Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-21T10:47:44.778Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-21T10:47:44.779Z] . [Pipeline] withDockerContainer [2022-04-21T10:47:44.901Z] prd-ubuntu20.04-docker-8c-8g-21580 does not seem to be running inside a container [2022-04-21T10:47:44.993Z] $ 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-1142/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-1142 -v /w/workspace/gexfoundry_device-sdk-go_PR-1142:/w/workspace/gexfoundry_device-sdk-go_PR-1142:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1142@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 [2022-04-21T10:47:45.231Z] $ docker top adb11fc13df210c9b47e55822bde333f633b1a0af6530beeeb220f1ed7f542d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-21T10:47:45.640Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-21T10:47:45.954Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-21T10:47:46.270Z] + ls /var/log/sa-host [2022-04-21T10:47:46.270Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-21T10:47:46.554Z] provisioning config files... [2022-04-21T10:47:46.564Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp/config833544861745709779tmp [Pipeline] { [Pipeline] echo [2022-04-21T10:47:46.619Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-21T10:47:46.934Z] ---> create-netrc.sh [Pipeline] } [2022-04-21T10:47:46.960Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-21T10:47:47.381Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-21T10:47:47.418Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-21T10:47:47.736Z] ---> sudo-logs.sh [2022-04-21T10:47:47.736Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-21T10:47:47.820Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-21T10:47:48.135Z] ---> job-cost.sh [2022-04-21T10:47:48.135Z] lf-activate-venv: SKIPPING [2022-04-21T10:47:48.135Z] DEBUG: total: 0.2199999988079071 [2022-04-21T10:47:48.135Z] INFO: Retrieving Stack Cost... [2022-04-21T10:47:48.396Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-21T10:47:48.973Z] INFO: Archiving Costs [Pipeline] echo [2022-04-21T10:47:49.011Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-21T10:47:49.332Z] ---> logs-deploy.sh [2022-04-21T10:47:49.332Z] lf-activate-venv: SKIPPING [2022-04-21T10:47:49.332Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1142/1 [2022-04-21T10:47:49.332Z] INFO: archiving workspace using pattern(s): [2022-04-21T10:47:50.280Z] Archives upload complete. [2022-04-21T10:47:50.542Z] INFO: archiving logs to Nexus [2022-04-21T10:47:51.112Z] ---> uname -a: [2022-04-21T10:47:51.112Z] Linux prd-ubuntu20-04-docker-8c-8g-21580 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-04-21T10:47:51.112Z] [2022-04-21T10:47:51.112Z] [2022-04-21T10:47:51.112Z] ---> lscpu: [2022-04-21T10:47:51.112Z] Architecture: x86_64 [2022-04-21T10:47:51.112Z] CPU op-mode(s): 32-bit, 64-bit [2022-04-21T10:47:51.112Z] Byte Order: Little Endian [2022-04-21T10:47:51.112Z] Address sizes: 40 bits physical, 48 bits virtual [2022-04-21T10:47:51.112Z] CPU(s): 8 [2022-04-21T10:47:51.112Z] On-line CPU(s) list: 0-7 [2022-04-21T10:47:51.112Z] Thread(s) per core: 1 [2022-04-21T10:47:51.112Z] Core(s) per socket: 1 [2022-04-21T10:47:51.112Z] Socket(s): 8 [2022-04-21T10:47:51.112Z] NUMA node(s): 1 [2022-04-21T10:47:51.112Z] Vendor ID: AuthenticAMD [2022-04-21T10:47:51.112Z] CPU family: 23 [2022-04-21T10:47:51.112Z] Model: 49 [2022-04-21T10:47:51.112Z] Model name: AMD EPYC-Rome Processor [2022-04-21T10:47:51.112Z] Stepping: 0 [2022-04-21T10:47:51.112Z] CPU MHz: 2799.998 [2022-04-21T10:47:51.112Z] BogoMIPS: 5599.99 [2022-04-21T10:47:51.112Z] Virtualization: AMD-V [2022-04-21T10:47:51.112Z] Hypervisor vendor: KVM [2022-04-21T10:47:51.112Z] Virtualization type: full [2022-04-21T10:47:51.112Z] L1d cache: 256 KiB [2022-04-21T10:47:51.112Z] L1i cache: 256 KiB [2022-04-21T10:47:51.112Z] L2 cache: 4 MiB [2022-04-21T10:47:51.112Z] L3 cache: 128 MiB [2022-04-21T10:47:51.112Z] NUMA node0 CPU(s): 0-7 [2022-04-21T10:47:51.112Z] Vulnerability Itlb multihit: Not affected [2022-04-21T10:47:51.112Z] Vulnerability L1tf: Not affected [2022-04-21T10:47:51.112Z] Vulnerability Mds: Not affected [2022-04-21T10:47:51.112Z] Vulnerability Meltdown: Not affected [2022-04-21T10:47:51.112Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-04-21T10:47:51.112Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-04-21T10:47:51.112Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-04-21T10:47:51.112Z] Vulnerability Srbds: Not affected [2022-04-21T10:47:51.112Z] Vulnerability Tsx async abort: Not affected [2022-04-21T10:47:51.112Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-04-21T10:47:51.112Z] [2022-04-21T10:47:51.112Z]