Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff+fcdaaa65875a87632183a9ac24ebba6391eaa438 (308cedc48b93d8ae0a27eedbe145846d44a63d48) 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-ssh12462579896618016292.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh9046239633585945017.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1239/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1239/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10206671228798184593.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15169837243915020135.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1239/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1239/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4750046394719611785.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8458 in /w/workspace/gexfoundry_device-sdk-go_PR-1239 [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-1239 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1239/head:refs/remotes/origin/PR-1239 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fcdaaa65875a87632183a9ac24ebba6391eaa438 into PR head commit dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff Merge succeeded, producing 135db58d6080e4ae53d2da30d4b98217ac72dac2 Checking out Revision 135db58d6080e4ae53d2da30d4b98217ac72dac2 (PR-1239) > git config core.sparsecheckout # timeout=10 > git checkout -f dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge fcdaaa65875a87632183a9ac24ebba6391eaa438 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 135db58d6080e4ae53d2da30d4b98217ac72dac2 # timeout=10 Commit message: "Merge commit 'fcdaaa65875a87632183a9ac24ebba6391eaa438' into HEAD" > git rev-list --no-walk dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-18T06:41:32.892Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-18T06:41:32.931Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-18T06:41:32.943Z] ========================================================= [2022-10-18T06:41:32.943Z] EdgeX Global Pipelines Version Info [2022-10-18T06:41:32.943Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-18T06:41:33.670Z] ------------------- [2022-10-18T06:41:33.670Z] stable info: [2022-10-18T06:41:33.670Z] ------------------- [2022-10-18T06:41:33.670Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-18T06:41:33.670Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-18T06:41:33.670Z] Message: update stable to v1.0.243 [2022-10-18T06:41:34.240Z] ------------------- [2022-10-18T06:41:34.240Z] experimental info: [2022-10-18T06:41:34.241Z] ------------------- [2022-10-18T06:41:34.241Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-18T06:41:34.241Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-18T06:41:34.241Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-18T06:41:34.412Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-10-18T06:41:34.421Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-10-18T06:41:34.430Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-18T06:41:34.438Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-18T06:41:34.447Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-18T06:41:34.455Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-18T06:41:34.465Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-18T06:41:34.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-10-18T06:41:34.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-18T06:41:34.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-18T06:41:34.514Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-18T06:41:34.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-10-18T06:41:34.531Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-18T06:41:34.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-18T06:41:34.548Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-18T06:41:34.557Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-18T06:41:34.565Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-18T06:41:34.573Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-18T06:41:34.581Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-18T06:41:34.590Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-18T06:41:34.598Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-18T06:41:34.606Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-10-18T06:41:34.615Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-18T06:41:34.624Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-18T06:41:34.632Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-18T06:41:34.641Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-18T06:41:34.649Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-18T06:41:34.658Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1239 [Pipeline] echo [2022-10-18T06:41:34.667Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1239 [Pipeline] echo [2022-10-18T06:41:34.676Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1239 [Pipeline] echo [2022-10-18T06:41:34.684Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 135db58d6080e4ae53d2da30d4b98217ac72dac2 [Pipeline] echo [2022-10-18T06:41:34.693Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 135db58 [Pipeline] echo [2022-10-18T06:41:34.701Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-18T06:41:34.743Z] provisioning config files... [2022-10-18T06:41:34.756Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/config6115795447927431871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-18T06:41:35.055Z] ---> docker-login.sh [2022-10-18T06:41:35.055Z] nexus3.edgexfoundry.org:10001 [2022-10-18T06:41:35.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:41:35.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:41:35.576Z] Configure a credential helper to remove this warning. See [2022-10-18T06:41:35.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:41:35.576Z] [2022-10-18T06:41:35.576Z] Login Succeeded [2022-10-18T06:41:35.576Z] nexus3.edgexfoundry.org:10002 [2022-10-18T06:41:35.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:41:35.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:41:35.576Z] Configure a credential helper to remove this warning. See [2022-10-18T06:41:35.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:41:35.576Z] [2022-10-18T06:41:35.576Z] Login Succeeded [2022-10-18T06:41:35.576Z] nexus3.edgexfoundry.org:10003 [2022-10-18T06:41:35.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:41:35.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:41:35.835Z] Configure a credential helper to remove this warning. See [2022-10-18T06:41:35.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:41:35.835Z] [2022-10-18T06:41:35.835Z] Login Succeeded [2022-10-18T06:41:35.835Z] nexus3.edgexfoundry.org:10004 [2022-10-18T06:41:35.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:41:35.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:41:35.835Z] Configure a credential helper to remove this warning. See [2022-10-18T06:41:35.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:41:35.835Z] [2022-10-18T06:41:35.835Z] Login Succeeded [2022-10-18T06:41:35.835Z] docker.io [2022-10-18T06:41:36.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:41:36.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:41:36.361Z] Configure a credential helper to remove this warning. See [2022-10-18T06:41:36.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:41:36.361Z] [2022-10-18T06:41:36.361Z] Login Succeeded [2022-10-18T06:41:36.361Z] ---> docker-login.sh ends [Pipeline] } [2022-10-18T06:41:36.369Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-18T06:41:36.729Z] + git rev-list -1 --merges 135db58d6080e4ae53d2da30d4b98217ac72dac2~1..135db58d6080e4ae53d2da30d4b98217ac72dac2 [Pipeline] echo [2022-10-18T06:41:36.756Z] -----------> git rev-list -1 --merges 135db58d6080e4ae53d2da30d4b98217ac72dac2~1..135db58d6080e4ae53d2da30d4b98217ac72dac2 135db58d6080e4ae53d2da30d4b98217ac72dac2 [2022-10-18T06:41:36.756Z] 135db58d6080e4ae53d2da30d4b98217ac72dac2 [false] [Pipeline] sh [2022-10-18T06:41:37.040Z] + git log --format=format:%s -1 135db58d6080e4ae53d2da30d4b98217ac72dac2 [Pipeline] echo [2022-10-18T06:41:37.053Z] ========================================================= [2022-10-18T06:41:37.053Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-18T06:41:37.053Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-18T06:41:37.365Z] + git log --format=format:%s -1 135db58d6080e4ae53d2da30d4b98217ac72dac2 [Pipeline] echo [2022-10-18T06:41:37.375Z] [semverPrep] GIT_COMMIT: 135db58d6080e4ae53d2da30d4b98217ac72dac2, Commit Message: Merge commit 'fcdaaa65875a87632183a9ac24ebba6391eaa438' into HEAD [Pipeline] echo [2022-10-18T06:41:37.385Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-18T06:41:37.748Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-18T06:41:37.748Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-18T06:41:37.748Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-18T06:41:37.748Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-18T06:41:37.748Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-18T06:41:37.748Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-18T06:41:37.748Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:41:38.153Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-18T06:41:38.153Z] [2022-10-18T06:41:38.153Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:41:38.492Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-18T06:41:38.492Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-18T06:41:38.492Z] b85a868b505f: Pulling fs layer [2022-10-18T06:41:38.492Z] e2be974225ed: Pulling fs layer [2022-10-18T06:41:38.492Z] 339a4e72a1f5: Pulling fs layer [2022-10-18T06:41:38.492Z] 988bab9f4d93: Pulling fs layer [2022-10-18T06:41:38.492Z] 1469e6f7b9e6: Pulling fs layer [2022-10-18T06:41:38.492Z] eaf3925da568: Pulling fs layer [2022-10-18T06:41:38.492Z] bab4dde63d76: Pulling fs layer [2022-10-18T06:41:38.492Z] bde34c3a00c8: Pulling fs layer [2022-10-18T06:41:38.492Z] b352a97aabf1: Pulling fs layer [2022-10-18T06:41:38.492Z] 4872d77fe225: Pulling fs layer [2022-10-18T06:41:38.492Z] 5851b861e8e6: Pulling fs layer [2022-10-18T06:41:38.492Z] 988bab9f4d93: Waiting [2022-10-18T06:41:38.492Z] bab4dde63d76: Waiting [2022-10-18T06:41:38.492Z] 1469e6f7b9e6: Waiting [2022-10-18T06:41:38.492Z] eaf3925da568: Waiting [2022-10-18T06:41:38.492Z] b352a97aabf1: Waiting [2022-10-18T06:41:38.492Z] 4872d77fe225: Waiting [2022-10-18T06:41:38.492Z] 5851b861e8e6: Waiting [2022-10-18T06:41:38.492Z] e2be974225ed: Verifying Checksum [2022-10-18T06:41:38.492Z] e2be974225ed: Download complete [2022-10-18T06:41:38.492Z] 988bab9f4d93: Verifying Checksum [2022-10-18T06:41:38.492Z] 988bab9f4d93: Download complete [2022-10-18T06:41:38.752Z] 1469e6f7b9e6: Verifying Checksum [2022-10-18T06:41:38.752Z] 1469e6f7b9e6: Download complete [2022-10-18T06:41:38.752Z] eaf3925da568: Verifying Checksum [2022-10-18T06:41:38.752Z] eaf3925da568: Download complete [2022-10-18T06:41:38.752Z] 339a4e72a1f5: Verifying Checksum [2022-10-18T06:41:38.752Z] 339a4e72a1f5: Download complete [2022-10-18T06:41:38.752Z] bde34c3a00c8: Verifying Checksum [2022-10-18T06:41:38.752Z] bde34c3a00c8: Download complete [2022-10-18T06:41:38.752Z] b352a97aabf1: Verifying Checksum [2022-10-18T06:41:38.752Z] b352a97aabf1: Download complete [2022-10-18T06:41:38.752Z] 4872d77fe225: Verifying Checksum [2022-10-18T06:41:38.752Z] 4872d77fe225: Download complete [2022-10-18T06:41:38.752Z] 5851b861e8e6: Verifying Checksum [2022-10-18T06:41:38.752Z] 5851b861e8e6: Download complete [2022-10-18T06:41:38.752Z] b85a868b505f: Verifying Checksum [2022-10-18T06:41:38.752Z] b85a868b505f: Download complete [2022-10-18T06:41:39.010Z] bab4dde63d76: Verifying Checksum [2022-10-18T06:41:39.010Z] bab4dde63d76: Download complete [2022-10-18T06:41:39.945Z] b85a868b505f: Pull complete [2022-10-18T06:41:40.204Z] e2be974225ed: Pull complete [2022-10-18T06:41:40.462Z] 339a4e72a1f5: Pull complete [2022-10-18T06:41:40.723Z] 988bab9f4d93: Pull complete [2022-10-18T06:41:40.983Z] 1469e6f7b9e6: Pull complete [2022-10-18T06:41:40.983Z] eaf3925da568: Pull complete [2022-10-18T06:41:42.885Z] bab4dde63d76: Pull complete [2022-10-18T06:41:42.885Z] bde34c3a00c8: Pull complete [2022-10-18T06:41:42.885Z] b352a97aabf1: Pull complete [2022-10-18T06:41:43.143Z] 4872d77fe225: Pull complete [2022-10-18T06:41:43.143Z] 5851b861e8e6: Pull complete [2022-10-18T06:41:43.143Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-18T06:41:43.143Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-18T06:41:43.143Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T06:41:43.233Z] prd-ubuntu20.04-docker-8c-8g-8458 does not seem to be running inside a container [2022-10-18T06:41:43.264Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1239 -v /w/workspace/gexfoundry_device-sdk-go_PR-1239:/w/workspace/gexfoundry_device-sdk-go_PR-1239:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-18T06:41:46.026Z] $ docker top 35919430d1f6a569c1405a355d2f63a0da807fc362ae069b67beb3f838c2f18a -eo pid,comm [2022-10-18T06:41:46.093Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-18T06:41:46.093Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-18T06:41:46.128Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-18T06:41:46.128Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-18T06:41:46.264Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-18T06:41:46.275Z] $ docker exec 35919430d1f6a569c1405a355d2f63a0da807fc362ae069b67beb3f838c2f18a ssh-agent [2022-10-18T06:41:46.397Z] SSH_AUTH_SOCK=/tmp/ssh-Mq1hvsJtq2kr/agent.32 [2022-10-18T06:41:46.397Z] SSH_AGENT_PID=39 [2022-10-18T06:41:46.415Z] Running ssh-add (command line suppressed) [2022-10-18T06:41:46.530Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/private_key_17589325765547307363.key (/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/private_key_17589325765547307363.key) [2022-10-18T06:41:46.573Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-18T06:41:46.913Z] + git tag --points-at HEAD [Pipeline] } [2022-10-18T06:41:46.960Z] $ docker exec --env ******** --env ******** 35919430d1f6a569c1405a355d2f63a0da807fc362ae069b67beb3f838c2f18a ssh-agent -k [2022-10-18T06:41:47.065Z] unset SSH_AUTH_SOCK; [2022-10-18T06:41:47.066Z] unset SSH_AGENT_PID; [2022-10-18T06:41:47.067Z] echo Agent pid 39 killed; [2022-10-18T06:41:47.085Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-18T06:41:47.111Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-18T06:41:47.111Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-18T06:41:47.229Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-18T06:41:47.234Z] $ docker exec 35919430d1f6a569c1405a355d2f63a0da807fc362ae069b67beb3f838c2f18a ssh-agent [2022-10-18T06:41:47.338Z] SSH_AUTH_SOCK=/tmp/ssh-l66jXD3YkOdZ/agent.71 [2022-10-18T06:41:47.338Z] SSH_AGENT_PID=77 [2022-10-18T06:41:47.353Z] Running ssh-add (command line suppressed) [2022-10-18T06:41:47.459Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/private_key_13558330318961781849.key (/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/private_key_13558330318961781849.key) [2022-10-18T06:41:47.479Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-18T06:41:47.806Z] + git semver init [2022-10-18T06:41:48.075Z] 2022-10-18 06:41:48,013 [run_init] DEBUG init version:0.0.0 force:False [2022-10-18T06:41:48.075Z] 2022-10-18 06:41:48,014 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver [2022-10-18T06:41:48.075Z] 2022-10-18 06:41:48,014 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver [2022-10-18T06:41:48.075Z] 2022-10-18 06:41:48,014 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1239, universal_newlines=False, shell=None, istream=None) [2022-10-18T06:41:49.455Z] 2022-10-18 06:41:49,083 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1239/.git/info/exclude [2022-10-18T06:41:49.455Z] 2022-10-18 06:41:49,083 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver/PR-1239 with force:False [2022-10-18T06:41:49.455Z] 2022-10-18 06:41:49,083 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver/PR-1239 [2022-10-18T06:41:49.455Z] 2022-10-18 06:41:49,086 [execute] INFO git cat-file --batch-check [2022-10-18T06:41:49.455Z] 2022-10-18 06:41:49,087 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver, universal_newlines=False, shell=None, istream=) [2022-10-18T06:41:49.455Z] 2022-10-18 06:41:49,092 [execute] INFO git cat-file --batch [2022-10-18T06:41:49.455Z] 2022-10-18 06:41:49,093 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver, universal_newlines=False, shell=None, istream=) [2022-10-18T06:41:49.455Z] 2022-10-18 06:41:49,097 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver/PR-1239 [2022-10-18T06:41:49.455Z] 0.0.0 [Pipeline] } [2022-10-18T06:41:49.510Z] $ docker exec --env ******** --env ******** 35919430d1f6a569c1405a355d2f63a0da807fc362ae069b67beb3f838c2f18a ssh-agent -k [2022-10-18T06:41:49.601Z] unset SSH_AUTH_SOCK; [2022-10-18T06:41:49.601Z] unset SSH_AGENT_PID; [2022-10-18T06:41:49.601Z] echo Agent pid 77 killed; [2022-10-18T06:41:49.616Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-18T06:41:49.930Z] + git semver [Pipeline] } [2022-10-18T06:41:50.214Z] $ docker stop --time=1 35919430d1f6a569c1405a355d2f63a0da807fc362ae069b67beb3f838c2f18a [2022-10-18T06:41:51.534Z] $ docker rm -f 35919430d1f6a569c1405a355d2f63a0da807fc362ae069b67beb3f838c2f18a [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-18T06:41:51.861Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-18T06:41:52.028Z] Stashed 1 file(s) [Pipeline] echo [2022-10-18T06:41:52.030Z] [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-10-18T06:41:52.168Z] provisioning config files... [2022-10-18T06:41:52.176Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/config4393617045400439155tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-18T06:41:52.468Z] ---> docker-login.sh [2022-10-18T06:41:52.468Z] nexus3.edgexfoundry.org:10001 [2022-10-18T06:41:52.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:41:52.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:41:52.468Z] Configure a credential helper to remove this warning. See [2022-10-18T06:41:52.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:41:52.468Z] [2022-10-18T06:41:52.468Z] Login Succeeded [2022-10-18T06:41:52.468Z] nexus3.edgexfoundry.org:10002 [2022-10-18T06:41:52.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:41:52.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:41:52.468Z] Configure a credential helper to remove this warning. See [2022-10-18T06:41:52.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:41:52.468Z] [2022-10-18T06:41:52.468Z] Login Succeeded [2022-10-18T06:41:52.468Z] nexus3.edgexfoundry.org:10003 [2022-10-18T06:41:52.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:41:52.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:41:52.727Z] Configure a credential helper to remove this warning. See [2022-10-18T06:41:52.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:41:52.727Z] [2022-10-18T06:41:52.727Z] Login Succeeded [2022-10-18T06:41:52.727Z] nexus3.edgexfoundry.org:10004 [2022-10-18T06:41:52.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:41:52.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:41:52.727Z] Configure a credential helper to remove this warning. See [2022-10-18T06:41:52.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:41:52.727Z] [2022-10-18T06:41:52.727Z] Login Succeeded [2022-10-18T06:41:52.727Z] docker.io [2022-10-18T06:41:52.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:41:53.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:41:53.295Z] Configure a credential helper to remove this warning. See [2022-10-18T06:41:53.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:41:53.295Z] [2022-10-18T06:41:53.295Z] Login Succeeded [2022-10-18T06:41:53.295Z] ---> docker-login.sh ends [Pipeline] } [2022-10-18T06:41:53.303Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-18T06:41:53.378Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-18T06:41:53.394Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-18T06:41:53.402Z] ========================================================= [2022-10-18T06:41:53.402Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-18T06:41:53.402Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:41:53.717Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-18T06:41:53.717Z] Sending build context to Docker daemon 10.03MB [2022-10-18T06:41:53.717Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-18T06:41:53.717Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-18T06:41:53.717Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-18T06:41:53.717Z] 213ec9aee27d: Pulling fs layer [2022-10-18T06:41:53.717Z] 4583459ba037: Pulling fs layer [2022-10-18T06:41:53.717Z] 93c1e223e6f2: Pulling fs layer [2022-10-18T06:41:53.717Z] 53926ce57604: Pulling fs layer [2022-10-18T06:41:53.717Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-18T06:41:53.717Z] 30f14e443154: Pulling fs layer [2022-10-18T06:41:53.717Z] 801331c1e519: Pulling fs layer [2022-10-18T06:41:53.717Z] 99cc6dd402b0: Pulling fs layer [2022-10-18T06:41:53.717Z] 7d9ed39f4882: Pulling fs layer [2022-10-18T06:41:53.717Z] 53926ce57604: Waiting [2022-10-18T06:41:53.717Z] 99cc6dd402b0: Waiting [2022-10-18T06:41:53.717Z] 21b2b0c7a3f4: Waiting [2022-10-18T06:41:53.717Z] 7d9ed39f4882: Waiting [2022-10-18T06:41:53.717Z] 801331c1e519: Waiting [2022-10-18T06:41:53.717Z] 30f14e443154: Waiting [2022-10-18T06:41:53.717Z] 93c1e223e6f2: Verifying Checksum [2022-10-18T06:41:53.717Z] 93c1e223e6f2: Download complete [2022-10-18T06:41:53.717Z] 4583459ba037: Verifying Checksum [2022-10-18T06:41:53.717Z] 4583459ba037: Download complete [2022-10-18T06:41:53.717Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-18T06:41:53.717Z] 21b2b0c7a3f4: Download complete [2022-10-18T06:41:53.977Z] 30f14e443154: Verifying Checksum [2022-10-18T06:41:53.977Z] 30f14e443154: Download complete [2022-10-18T06:41:53.977Z] 213ec9aee27d: Verifying Checksum [2022-10-18T06:41:53.977Z] 213ec9aee27d: Download complete [2022-10-18T06:41:53.977Z] 801331c1e519: Download complete [2022-10-18T06:41:53.977Z] 213ec9aee27d: Pull complete [2022-10-18T06:41:54.237Z] 4583459ba037: Pull complete [2022-10-18T06:41:54.237Z] 93c1e223e6f2: Pull complete [2022-10-18T06:41:54.507Z] 7d9ed39f4882: Verifying Checksum [2022-10-18T06:41:54.507Z] 7d9ed39f4882: Download complete [2022-10-18T06:41:54.771Z] 99cc6dd402b0: Verifying Checksum [2022-10-18T06:41:54.771Z] 99cc6dd402b0: Download complete [2022-10-18T06:41:54.771Z] 53926ce57604: Verifying Checksum [2022-10-18T06:41:54.771Z] 53926ce57604: Download complete [2022-10-18T06:41:58.991Z] 53926ce57604: Pull complete [2022-10-18T06:41:58.991Z] 21b2b0c7a3f4: Pull complete [2022-10-18T06:41:58.991Z] 30f14e443154: Pull complete [2022-10-18T06:41:58.991Z] 801331c1e519: Pull complete [2022-10-18T06:42:00.368Z] 99cc6dd402b0: Pull complete [2022-10-18T06:42:01.305Z] 7d9ed39f4882: Pull complete [2022-10-18T06:42:01.305Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-18T06:42:01.305Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-18T06:42:01.305Z] ---> 1dedd983c030 [2022-10-18T06:42:01.305Z] Step 3/11 : ARG MAKE=make build [2022-10-18T06:42:05.520Z] ---> Running in 8101e2483846 [2022-10-18T06:42:05.778Z] Removing intermediate container 8101e2483846 [2022-10-18T06:42:05.778Z] ---> f62224e8aef3 [2022-10-18T06:42:05.778Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-18T06:42:05.778Z] ---> Running in f807c9f8d09a [2022-10-18T06:42:05.778Z] Removing intermediate container f807c9f8d09a [2022-10-18T06:42:05.778Z] ---> 289c58743a15 [2022-10-18T06:42:05.778Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-18T06:42:05.778Z] ---> Running in 62ccde6954a7 [2022-10-18T06:42:06.038Z] Removing intermediate container 62ccde6954a7 [2022-10-18T06:42:06.038Z] ---> 94e9c31c2b94 [2022-10-18T06:42:06.038Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-18T06:42:06.038Z] ---> Running in f6caf88161e5 [2022-10-18T06:42:06.605Z] Removing intermediate container f6caf88161e5 [2022-10-18T06:42:06.605Z] ---> ccb2ffcf98c8 [2022-10-18T06:42:06.605Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-18T06:42:06.605Z] ---> Running in 5975c2bb4b89 [2022-10-18T06:42:06.865Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-18T06:42:07.126Z] Still waiting to schedule task [2022-10-18T06:42:07.127Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-18T06:42:07.803Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-18T06:42:08.062Z] OK: 211 MiB in 51 packages [2022-10-18T06:42:08.321Z] Removing intermediate container 5975c2bb4b89 [2022-10-18T06:42:08.321Z] ---> ac8f65d3cb14 [2022-10-18T06:42:08.321Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-18T06:42:08.579Z] ---> 8340a10fca01 [2022-10-18T06:42:08.579Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-18T06:42:08.579Z] ---> Running in 38270e0647ed [2022-10-18T06:42:30.567Z] Removing intermediate container 38270e0647ed [2022-10-18T06:42:30.567Z] ---> 29e11e7f9fc3 [2022-10-18T06:42:30.567Z] Step 10/11 : COPY . . [2022-10-18T06:42:30.567Z] ---> 40c26f1e5e74 [2022-10-18T06:42:30.567Z] Step 11/11 : RUN ${MAKE} [2022-10-18T06:42:30.567Z] ---> Running in 898080a2a706 [2022-10-18T06:42:30.567Z] noop [2022-10-18T06:42:30.567Z] Removing intermediate container 898080a2a706 [2022-10-18T06:42:30.567Z] ---> a658d4af7108 [2022-10-18T06:42:30.567Z] Successfully built a658d4af7108 [2022-10-18T06:42:30.567Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:42:30.868Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-18T06:42:30.868Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T06:42:30.940Z] prd-ubuntu20.04-docker-8c-8g-8458 does not seem to be running inside a container [2022-10-18T06:42:30.976Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1239 -v /w/workspace/gexfoundry_device-sdk-go_PR-1239:/w/workspace/gexfoundry_device-sdk-go_PR-1239:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-18T06:42:31.292Z] $ docker top afa4fb3e3dfc2b7e24ed04384353ef0b94ea83349d2d255db8b377928a5cf484 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-18T06:42:31.635Z] + go version [2022-10-18T06:42:31.635Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-18T06:42:31.648Z] $ docker stop --time=1 afa4fb3e3dfc2b7e24ed04384353ef0b94ea83349d2d255db8b377928a5cf484 [2022-10-18T06:42:32.923Z] $ docker rm -f afa4fb3e3dfc2b7e24ed04384353ef0b94ea83349d2d255db8b377928a5cf484 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:42:33.311Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-18T06:42:33.311Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T06:42:33.373Z] prd-ubuntu20.04-docker-8c-8g-8458 does not seem to be running inside a container [2022-10-18T06:42:33.402Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1239 -v /w/workspace/gexfoundry_device-sdk-go_PR-1239:/w/workspace/gexfoundry_device-sdk-go_PR-1239:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-18T06:42:33.751Z] $ docker top 3167129f00c5326769808146b9617155eb36fd5b14203ae34a41715ff2ad8073 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-18T06:42:34.090Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1239 [Pipeline] fileExists [Pipeline] sh [2022-10-18T06:42:34.387Z] + make test [2022-10-18T06:42:34.387Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-18T06:42:40.948Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-18T06:42:53.169Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-18T06:42:53.169Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-18T06:42:53.169Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-18T06:42:53.169Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-18T06:42:53.169Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-18T06:42:53.169Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 27.6% of statements [2022-10-18T06:42:53.169Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.068s coverage: 78.9% of statements [2022-10-18T06:42:53.169Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-18T06:42:53.169Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.116s coverage: 74.1% of statements [2022-10-18T06:42:53.169Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-18T06:42:53.169Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-18T06:42:53.737Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.116s coverage: 54.4% of statements [2022-10-18T06:42:53.737Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-18T06:42:53.737Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-18T06:42:53.737Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-18T06:42:53.737Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-18T06:42:53.737Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.090s coverage: 65.1% of statements [2022-10-18T06:42:53.737Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-18T06:42:53.737Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-18T06:42:53.737Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.842s coverage: 89.2% of statements [2022-10-18T06:42:53.737Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-18T06:42:53.737Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements [2022-10-18T06:42:53.737Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-18T06:43:11.818Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-18T06:43:11.818Z] GO111MODULE=on go vet ./... [2022-10-18T06:43:12.386Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-18T06:43:12.386Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-18T06:43:12.386Z] ./bin/test-attribution-txt.sh [2022-10-18T06:43:12.386Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-18T06:43:12.386Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-18T06:43:12.386Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-18T06:43:12.386Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-18T06:43:12.398Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-18T06:43:12.416Z] $ docker stop --time=1 3167129f00c5326769808146b9617155eb36fd5b14203ae34a41715ff2ad8073 [2022-10-18T06:43:16.705Z] $ docker rm -f 3167129f00c5326769808146b9617155eb36fd5b14203ae34a41715ff2ad8073 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-18T06:43:17.210Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-18T06:43:17.265Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-18T06:43:17.767Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-18T06:43:18.050Z] + ls -al . [2022-10-18T06:43:18.050Z] total 276 [2022-10-18T06:43:18.050Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 18 06:42 . [2022-10-18T06:43:18.050Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 06:41 .. [2022-10-18T06:43:18.050Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 18 06:41 .dockerignore [2022-10-18T06:43:18.050Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 06:42 .git [2022-10-18T06:43:18.050Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 06:41 .github [2022-10-18T06:43:18.050Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 18 06:41 .gitignore [2022-10-18T06:43:18.050Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 18 06:41 .golangci.yml [2022-10-18T06:43:18.050Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 06:41 .semver [2022-10-18T06:43:18.050Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 18 06:41 CHANGELOG.md [2022-10-18T06:43:18.050Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 06:41 GOVERNANCE.md [2022-10-18T06:43:18.050Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 18 06:41 Jenkinsfile [2022-10-18T06:43:18.050Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 18 06:41 LICENSE [2022-10-18T06:43:18.050Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 18 06:41 Makefile [2022-10-18T06:43:18.050Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 18 06:41 OWNERS.md [2022-10-18T06:43:18.050Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 18 06:41 README.md [2022-10-18T06:43:18.050Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 06:41 VERSION [2022-10-18T06:43:18.050Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 06:41 bin [2022-10-18T06:43:18.050Z] -rw-r--r-- 1 jenkins jenkins 101928 Oct 18 06:42 coverage.out [2022-10-18T06:43:18.050Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 18 06:41 example [2022-10-18T06:43:18.050Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 18 06:41 go.mod [2022-10-18T06:43:18.050Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 18 06:41 go.sum [2022-10-18T06:43:18.050Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 18 06:41 internal [2022-10-18T06:43:18.050Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 06:41 openapi [2022-10-18T06:43:18.050Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 18 06:41 pkg [2022-10-18T06:43:18.050Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 06:41 snap [2022-10-18T06:43:18.050Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 18 06:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:43:18.366Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=135db58d6080e4ae53d2da30d4b98217ac72dac2 --label arch=amd64 --label version=0.0.0 . [2022-10-18T06:43:18.366Z] Sending build context to Docker daemon 10.14MB [2022-10-18T06:43:18.366Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-18T06:43:18.366Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-18T06:43:18.366Z] ---> a658d4af7108 [2022-10-18T06:43:18.366Z] Step 3/25 : ARG MAKE=make build [2022-10-18T06:43:18.625Z] ---> Running in 5dfd622aab24 [2022-10-18T06:43:18.625Z] Removing intermediate container 5dfd622aab24 [2022-10-18T06:43:18.625Z] ---> 190ed9b95420 [2022-10-18T06:43:18.625Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-18T06:43:18.625Z] ---> Running in c8d75d97084f [2022-10-18T06:43:18.625Z] Removing intermediate container c8d75d97084f [2022-10-18T06:43:18.625Z] ---> 0da93d33c053 [2022-10-18T06:43:18.625Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-18T06:43:18.625Z] ---> Running in 5cb8c15682fc [2022-10-18T06:43:18.884Z] Removing intermediate container 5cb8c15682fc [2022-10-18T06:43:18.884Z] ---> 2c85508fe823 [2022-10-18T06:43:18.884Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-18T06:43:18.884Z] ---> Running in b40df2e26ec6 [2022-10-18T06:43:19.449Z] Removing intermediate container b40df2e26ec6 [2022-10-18T06:43:19.449Z] ---> 685a3f8b570f [2022-10-18T06:43:19.449Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-18T06:43:19.449Z] ---> Running in 3576ccbee321 [2022-10-18T06:43:19.708Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-18T06:43:20.275Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-18T06:43:20.841Z] OK: 211 MiB in 51 packages [2022-10-18T06:43:20.841Z] Removing intermediate container 3576ccbee321 [2022-10-18T06:43:20.841Z] ---> effe0688103d [2022-10-18T06:43:20.841Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-18T06:43:21.099Z] ---> 5b85a44b4522 [2022-10-18T06:43:21.099Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-18T06:43:21.099Z] ---> Running in 6818feeb7339 [2022-10-18T06:43:21.665Z] Removing intermediate container 6818feeb7339 [2022-10-18T06:43:21.665Z] ---> 55d538b71d22 [2022-10-18T06:43:21.665Z] Step 10/25 : COPY . . [2022-10-18T06:43:22.230Z] ---> 7c6c79fb92e7 [2022-10-18T06:43:22.230Z] Step 11/25 : RUN ${MAKE} [2022-10-18T06:43:22.230Z] ---> Running in 2bf87c20819e [2022-10-18T06:43:22.488Z] 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-10-18T06:43:33.278Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8459 in /w/workspace/gexfoundry_device-sdk-go_PR-1239 [Pipeline] { [Pipeline] ws [2022-10-18T06:43:33.288Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2022-10-18T06:43:33.310Z] The recommended git tool is: git [2022-10-18T06:43:38.148Z] using credential edgex-jenkins-ssh [2022-10-18T06:43:38.163Z] Cloning the remote Git repository [2022-10-18T06:43:38.207Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-10-18T06:43:38.287Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2022-10-18T06:43:38.428Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-18T06:43:38.429Z] > git --version # timeout=10 [2022-10-18T06:43:38.448Z] > git --version # 'git version 2.25.1' [2022-10-18T06:43:38.450Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-18T06:43:38.493Z] Verifying host key using known hosts file [2022-10-18T06:43:38.683Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-18T06:43:38.693Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-18T06:43:40.588Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-18T06:43:40.134Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-18T06:43:40.161Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-18T06:43:41.675Z] Merging remotes/origin/main commit fcdaaa65875a87632183a9ac24ebba6391eaa438 into PR head commit dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff [2022-10-18T06:43:41.973Z] Merge succeeded, producing 21e04e15d1ae7c788d2df22621903d96286e27cc [2022-10-18T06:43:41.973Z] Checking out Revision 21e04e15d1ae7c788d2df22621903d96286e27cc (PR-1239) [2022-10-18T06:43:40.949Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-18T06:43:40.989Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-18T06:43:40.990Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-18T06:43:40.995Z] Verifying host key using known hosts file [2022-10-18T06:43:41.003Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-18T06:43:41.017Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1239/head:refs/remotes/origin/PR-1239 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-18T06:43:41.694Z] > git config core.sparsecheckout # timeout=10 [2022-10-18T06:43:41.716Z] > git checkout -f dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff # timeout=10 [2022-10-18T06:43:41.819Z] > git remote # timeout=10 [2022-10-18T06:43:41.835Z] > git config --get remote.origin.url # timeout=10 [2022-10-18T06:43:41.849Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-18T06:43:41.854Z] Verifying host key using known hosts file [2022-10-18T06:43:41.858Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-18T06:43:41.866Z] > git merge fcdaaa65875a87632183a9ac24ebba6391eaa438 # timeout=10 [2022-10-18T06:43:41.957Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-18T06:43:41.984Z] > git config core.sparsecheckout # timeout=10 [2022-10-18T06:43:42.003Z] > git checkout -f 21e04e15d1ae7c788d2df22621903d96286e27cc # timeout=10 [2022-10-18T06:43:42.140Z] Removing intermediate container 2bf87c20819e [2022-10-18T06:43:42.140Z] ---> cae78c48e6e3 [2022-10-18T06:43:42.140Z] Step 12/25 : FROM alpine:3.16 [2022-10-18T06:43:42.401Z] 3.16: Pulling from library/alpine [2022-10-18T06:43:42.661Z] 213ec9aee27d: Already exists [2022-10-18T06:43:42.920Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-18T06:43:42.920Z] Status: Downloaded newer image for alpine:3.16 [2022-10-18T06:43:42.920Z] ---> 9c6f07244728 [2022-10-18T06:43:42.920Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-18T06:43:42.920Z] ---> Running in c7ead6ec2920 [2022-10-18T06:43:42.920Z] Removing intermediate container c7ead6ec2920 [2022-10-18T06:43:42.920Z] ---> f495719ea701 [2022-10-18T06:43:42.920Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-18T06:43:42.920Z] ---> Running in 6dfae840ef47 [2022-10-18T06:43:43.490Z] Removing intermediate container 6dfae840ef47 [2022-10-18T06:43:43.490Z] ---> 9c7c4217f34c [2022-10-18T06:43:43.490Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-18T06:43:43.490Z] ---> Running in 5f250db46210 [2022-10-18T06:43:43.749Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-18T06:43:44.686Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-18T06:43:44.945Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-18T06:43:44.945Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-18T06:43:45.204Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-18T06:43:45.204Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-18T06:43:45.204Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-18T06:43:45.464Z] Executing busybox-1.35.0-r17.trigger [2022-10-18T06:43:45.464Z] OK: 8 MiB in 19 packages [2022-10-18T06:43:45.496Z] Commit message: "Merge commit 'fcdaaa65875a87632183a9ac24ebba6391eaa438' into HEAD" [2022-10-18T06:43:45.506Z] > git rev-list --no-walk dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff # timeout=10 [2022-10-18T06:43:45.723Z] Removing intermediate container 5f250db46210 [2022-10-18T06:43:45.723Z] ---> f86657e7efc6 [2022-10-18T06:43:45.723Z] Step 16/25 : WORKDIR / [2022-10-18T06:43:45.723Z] ---> Running in cf3483b6f593 [Pipeline] withEnv [Pipeline] { [2022-10-18T06:43:45.982Z] Removing intermediate container cf3483b6f593 [2022-10-18T06:43:45.982Z] ---> efb842418f4d [2022-10-18T06:43:45.982Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-18T06:43:45.982Z] ---> 6c7903238140 [2022-10-18T06:43:45.982Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-18T06:43:46.456Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-18T06:43:46.456Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-18T06:43:46.456Z] Dload Upload Total Spent Left Speed [2022-10-18T06:43:46.456Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 93348 0 --:--:-- --:--:-- --:--:-- 94044 [2022-10-18T06:43:46.564Z] ---> cb0ea4672e10 [2022-10-18T06:43:46.564Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [Pipeline] sh [2022-10-18T06:43:46.822Z] ---> 6d389d5f367f [2022-10-18T06:43:46.822Z] Step 20/25 : EXPOSE 59999 [2022-10-18T06:43:46.822Z] ---> Running in 3a7e9ce7f7ca [2022-10-18T06:43:46.822Z] Removing intermediate container 3a7e9ce7f7ca [2022-10-18T06:43:46.822Z] ---> ccd189f92f1c [2022-10-18T06:43:46.822Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-18T06:43:46.822Z] ---> Running in bc420a519537 [2022-10-18T06:43:46.822Z] Removing intermediate container bc420a519537 [2022-10-18T06:43:46.822Z] ---> c5fc96ff6566 [2022-10-18T06:43:46.822Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-18T06:43:47.080Z] ---> Running in 5dd0d001ad17 [2022-10-18T06:43:47.080Z] Removing intermediate container 5dd0d001ad17 [2022-10-18T06:43:47.080Z] ---> 2c48f47c1964 [2022-10-18T06:43:47.080Z] Step 23/25 : LABEL arch=amd64 [2022-10-18T06:43:47.080Z] ---> Running in 389bccdeda9c [2022-10-18T06:43:47.080Z] Removing intermediate container 389bccdeda9c [2022-10-18T06:43:47.080Z] ---> c382b399d87b [2022-10-18T06:43:47.080Z] Step 24/25 : LABEL git_sha=135db58d6080e4ae53d2da30d4b98217ac72dac2 [2022-10-18T06:43:47.080Z] ---> Running in 5dbfad0ba9c9 [2022-10-18T06:43:47.080Z] Removing intermediate container 5dbfad0ba9c9 [2022-10-18T06:43:47.080Z] ---> d7f7bfa85130 [2022-10-18T06:43:47.080Z] Step 25/25 : LABEL version=0.0.0 [2022-10-18T06:43:47.089Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-18T06:43:47.338Z] ---> Running in 2a44efd4110f [2022-10-18T06:43:47.338Z] Removing intermediate container 2a44efd4110f [2022-10-18T06:43:47.338Z] ---> 17b3e1a96c36 [2022-10-18T06:43:47.338Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-18T06:43:47.338Z] Successfully built 17b3e1a96c36 [2022-10-18T06:43:47.338Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2022-10-18T06:43:47.414Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-18T06:43:47.414Z] + sudo tee /etc/docker/daemon.new [2022-10-18T06:43:47.414Z] { [2022-10-18T06:43:47.414Z] "registry-mirrors": [ [2022-10-18T06:43:47.414Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-18T06:43:47.414Z] ], [2022-10-18T06:43:47.414Z] "bip": "10.250.0.254/24", [2022-10-18T06:43:47.414Z] "hosts": [ [2022-10-18T06:43:47.414Z] "tcp://0.0.0.0:5555", [2022-10-18T06:43:47.414Z] "unix:///var/run/docker.sock" [2022-10-18T06:43:47.414Z] ], [2022-10-18T06:43:47.414Z] "mtu": 1458, [2022-10-18T06:43:47.414Z] "selinux-enabled": true, [2022-10-18T06:43:47.414Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-18T06:43:47.414Z] } [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:43:47.742Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-18T06:43:47.815Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-18T06:43:47.815Z] [2022-10-18T06:43:47.815Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:43:48.062Z] + sudo service docker restart [2022-10-18T06:43:48.111Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-18T06:43:48.111Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-18T06:43:48.111Z] 5eb5b503b376: Pulling fs layer [2022-10-18T06:43:48.111Z] 5c69ac0246d0: Pulling fs layer [2022-10-18T06:43:48.111Z] ec43610c2a17: Pulling fs layer [2022-10-18T06:43:48.111Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-18T06:43:48.111Z] 33b1e0a273af: Pulling fs layer [2022-10-18T06:43:48.111Z] 3a2ae6a8a46f: Waiting [2022-10-18T06:43:48.111Z] 5d3b04190fa2: Pulling fs layer [2022-10-18T06:43:48.111Z] 33b1e0a273af: Waiting [2022-10-18T06:43:48.111Z] 2f39f015ded8: Pulling fs layer [2022-10-18T06:43:48.111Z] 5d3b04190fa2: Waiting [2022-10-18T06:43:48.111Z] 2f39f015ded8: Waiting [2022-10-18T06:43:48.111Z] 5c69ac0246d0: Verifying Checksum [2022-10-18T06:43:48.111Z] 5c69ac0246d0: Download complete [2022-10-18T06:43:48.111Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-18T06:43:48.111Z] 3a2ae6a8a46f: Download complete [2022-10-18T06:43:48.111Z] 33b1e0a273af: Verifying Checksum [2022-10-18T06:43:48.111Z] 33b1e0a273af: Download complete [2022-10-18T06:43:48.370Z] 5d3b04190fa2: Verifying Checksum [2022-10-18T06:43:48.370Z] 5d3b04190fa2: Download complete [2022-10-18T06:43:48.370Z] ec43610c2a17: Download complete [2022-10-18T06:43:48.370Z] 5eb5b503b376: Verifying Checksum [2022-10-18T06:43:48.370Z] 5eb5b503b376: Download complete [2022-10-18T06:43:48.937Z] 2f39f015ded8: Download complete [2022-10-18T06:43:49.499Z] 5eb5b503b376: Pull complete [2022-10-18T06:43:49.499Z] 5c69ac0246d0: Pull complete [2022-10-18T06:43:50.064Z] ec43610c2a17: Pull complete [2022-10-18T06:43:50.064Z] 3a2ae6a8a46f: Pull complete [2022-10-18T06:43:50.064Z] 33b1e0a273af: Pull complete [2022-10-18T06:43:50.324Z] 5d3b04190fa2: Pull complete [2022-10-18T06:43:53.607Z] 2f39f015ded8: Pull complete [2022-10-18T06:43:53.607Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-18T06:43:53.608Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-18T06:43:53.608Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T06:43:53.676Z] prd-ubuntu20.04-docker-8c-8g-8458 does not seem to be running inside a container [2022-10-18T06:43:53.705Z] $ 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-1239 -v /w/workspace/gexfoundry_device-sdk-go_PR-1239:/w/workspace/gexfoundry_device-sdk-go_PR-1239:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-18T06:43:56.977Z] $ docker top 80c78ee1edca63717a94a6cb611dbcade5c680cbf8921c3b8f9de9b32d518deb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-18T06:43:57.370Z] ---> job-cost.sh [2022-10-18T06:43:57.370Z] lf-activate-venv: SKIPPING [2022-10-18T06:43:57.370Z] INFO: No Stack... [2022-10-18T06:43:57.628Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-18T06:43:57.888Z] INFO: Archiving Costs [Pipeline] sh [2022-10-18T06:43:58.176Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives/cost.csv [2022-10-18T06:43:58.176Z] + cut -d, -f6 [Pipeline] lock [2022-10-18T06:43:58.190Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1239-3-stack-cost] [2022-10-18T06:43:58.196Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1239-3-stack-cost] did not exist. Created. [2022-10-18T06:43:58.196Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1239-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-18T06:43:58.487Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-18T06:43:58.512Z] Stashed 1 file(s) [Pipeline] } [2022-10-18T06:43:58.521Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1239-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-18T06:43:58.539Z] $ docker stop --time=1 80c78ee1edca63717a94a6cb611dbcade5c680cbf8921c3b8f9de9b32d518deb [2022-10-18T06:43:59.688Z] $ docker rm -f 80c78ee1edca63717a94a6cb611dbcade5c680cbf8921c3b8f9de9b32d518deb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-18T06:44:06.296Z] provisioning config files... [2022-10-18T06:44:06.319Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config2669272763990726757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-18T06:44:06.657Z] ---> docker-login.sh [2022-10-18T06:44:06.657Z] nexus3.edgexfoundry.org:10001 [2022-10-18T06:44:07.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:44:07.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:44:07.239Z] Configure a credential helper to remove this warning. See [2022-10-18T06:44:07.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:44:07.239Z] [2022-10-18T06:44:07.239Z] Login Succeeded [2022-10-18T06:44:07.239Z] nexus3.edgexfoundry.org:10002 [2022-10-18T06:44:07.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:44:07.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:44:07.508Z] Configure a credential helper to remove this warning. See [2022-10-18T06:44:07.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:44:07.508Z] [2022-10-18T06:44:07.508Z] Login Succeeded [2022-10-18T06:44:07.508Z] nexus3.edgexfoundry.org:10003 [2022-10-18T06:44:07.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:44:08.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:44:08.041Z] Configure a credential helper to remove this warning. See [2022-10-18T06:44:08.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:44:08.041Z] [2022-10-18T06:44:08.041Z] Login Succeeded [2022-10-18T06:44:08.041Z] nexus3.edgexfoundry.org:10004 [2022-10-18T06:44:08.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:44:08.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:44:08.309Z] Configure a credential helper to remove this warning. See [2022-10-18T06:44:08.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:44:08.309Z] [2022-10-18T06:44:08.309Z] Login Succeeded [2022-10-18T06:44:08.309Z] docker.io [2022-10-18T06:44:08.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:44:08.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:44:08.844Z] Configure a credential helper to remove this warning. See [2022-10-18T06:44:08.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:44:08.844Z] [2022-10-18T06:44:08.844Z] Login Succeeded [2022-10-18T06:44:08.844Z] ---> docker-login.sh ends [Pipeline] } [2022-10-18T06:44:08.857Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-18T06:44:09.003Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-18T06:44:09.017Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-18T06:44:09.027Z] ========================================================= [2022-10-18T06:44:09.027Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-18T06:44:09.027Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:44:09.369Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-18T06:44:09.639Z] Sending build context to Docker daemon 5.404MB [2022-10-18T06:44:09.639Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-18T06:44:09.639Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-18T06:44:09.907Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-18T06:44:09.907Z] 9b18e9b68314: Pulling fs layer [2022-10-18T06:44:09.907Z] d32db5db7311: Pulling fs layer [2022-10-18T06:44:09.907Z] d0c4b47475fc: Pulling fs layer [2022-10-18T06:44:09.907Z] 5831b945b038: Pulling fs layer [2022-10-18T06:44:09.907Z] 86bbec2aaacd: Pulling fs layer [2022-10-18T06:44:09.907Z] e10730c5d714: Pulling fs layer [2022-10-18T06:44:09.907Z] 5dd5c2283517: Pulling fs layer [2022-10-18T06:44:09.907Z] d5ac0230b979: Pulling fs layer [2022-10-18T06:44:09.907Z] 5831b945b038: Waiting [2022-10-18T06:44:09.907Z] 86bbec2aaacd: Waiting [2022-10-18T06:44:09.907Z] e10730c5d714: Waiting [2022-10-18T06:44:09.907Z] 5dd5c2283517: Waiting [2022-10-18T06:44:09.907Z] d5ac0230b979: Waiting [2022-10-18T06:44:09.907Z] d0c4b47475fc: Verifying Checksum [2022-10-18T06:44:09.907Z] d0c4b47475fc: Download complete [2022-10-18T06:44:09.907Z] d32db5db7311: Verifying Checksum [2022-10-18T06:44:09.907Z] d32db5db7311: Download complete [2022-10-18T06:44:09.908Z] 86bbec2aaacd: Verifying Checksum [2022-10-18T06:44:09.908Z] 86bbec2aaacd: Download complete [2022-10-18T06:44:09.908Z] e10730c5d714: Verifying Checksum [2022-10-18T06:44:09.908Z] e10730c5d714: Download complete [2022-10-18T06:44:09.908Z] 9b18e9b68314: Verifying Checksum [2022-10-18T06:44:09.908Z] 9b18e9b68314: Download complete [2022-10-18T06:44:11.335Z] 9b18e9b68314: Pull complete [2022-10-18T06:44:11.335Z] d5ac0230b979: Verifying Checksum [2022-10-18T06:44:11.335Z] d5ac0230b979: Download complete [2022-10-18T06:44:11.610Z] d32db5db7311: Pull complete [2022-10-18T06:44:11.881Z] d0c4b47475fc: Pull complete [2022-10-18T06:44:12.150Z] 5dd5c2283517: Verifying Checksum [2022-10-18T06:44:12.150Z] 5dd5c2283517: Download complete [2022-10-18T06:44:12.745Z] 5831b945b038: Download complete [2022-10-18T06:44:25.072Z] 5831b945b038: Pull complete [2022-10-18T06:44:25.072Z] 86bbec2aaacd: Pull complete [2022-10-18T06:44:25.072Z] e10730c5d714: Pull complete [2022-10-18T06:44:30.408Z] 5dd5c2283517: Pull complete [2022-10-18T06:44:32.359Z] d5ac0230b979: Pull complete [2022-10-18T06:44:32.359Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-18T06:44:32.359Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-18T06:44:32.359Z] ---> 59b3b1a385d4 [2022-10-18T06:44:32.359Z] Step 3/11 : ARG MAKE=make build [2022-10-18T06:44:34.315Z] ---> Running in 4779b24b7d0e [2022-10-18T06:44:34.589Z] Removing intermediate container 4779b24b7d0e [2022-10-18T06:44:34.589Z] ---> c62041d173e5 [2022-10-18T06:44:34.589Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-18T06:44:34.589Z] ---> Running in 4234227bad0e [2022-10-18T06:44:34.855Z] Removing intermediate container 4234227bad0e [2022-10-18T06:44:34.855Z] ---> 9202541cc060 [2022-10-18T06:44:34.855Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-18T06:44:34.855Z] ---> Running in 47d0f54a81aa [2022-10-18T06:44:35.127Z] Removing intermediate container 47d0f54a81aa [2022-10-18T06:44:35.127Z] ---> a3a8a367e3c7 [2022-10-18T06:44:35.127Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-18T06:44:35.401Z] ---> Running in 2c43c1c4deb5 [2022-10-18T06:44:37.345Z] Removing intermediate container 2c43c1c4deb5 [2022-10-18T06:44:37.345Z] ---> cbc15c8b83c7 [2022-10-18T06:44:37.345Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-18T06:44:37.345Z] ---> Running in 58ae42717c5f [2022-10-18T06:44:37.926Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-18T06:44:38.880Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-18T06:44:39.842Z] OK: 221 MiB in 51 packages [2022-10-18T06:44:40.427Z] Removing intermediate container 58ae42717c5f [2022-10-18T06:44:40.427Z] ---> 8ec5b3be4610 [2022-10-18T06:44:40.427Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-18T06:44:41.012Z] ---> bd1352632532 [2022-10-18T06:44:41.012Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-18T06:44:41.012Z] ---> Running in 487f718a8e54 [2022-10-18T06:45:27.891Z] Removing intermediate container 487f718a8e54 [2022-10-18T06:45:27.891Z] ---> 0a89438919b7 [2022-10-18T06:45:27.891Z] Step 10/11 : COPY . . [2022-10-18T06:45:27.891Z] ---> 729a4c969d24 [2022-10-18T06:45:27.891Z] Step 11/11 : RUN ${MAKE} [2022-10-18T06:45:27.891Z] ---> Running in 60cb2c73222f [2022-10-18T06:45:28.870Z] noop [2022-10-18T06:45:29.454Z] Removing intermediate container 60cb2c73222f [2022-10-18T06:45:29.454Z] ---> 0104896dc17e [2022-10-18T06:45:29.454Z] Successfully built 0104896dc17e [2022-10-18T06:45:29.454Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:45:29.790Z] + docker inspect -f . ci-base-image-arm64 [2022-10-18T06:45:29.790Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T06:45:29.963Z] prd-ubuntu20.04-docker-arm64-4c-16g-8459 does not seem to be running inside a container [2022-10-18T06:45:30.030Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-18T06:45:31.189Z] $ docker top 1fd15584f708696ca9b9ed94a1e3ba7d5ed939c8d5f0bf0cb30d878b414af580 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-18T06:45:32.013Z] + go version [2022-10-18T06:45:32.013Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-18T06:45:32.034Z] $ docker stop --time=1 1fd15584f708696ca9b9ed94a1e3ba7d5ed939c8d5f0bf0cb30d878b414af580 [2022-10-18T06:45:33.635Z] $ docker rm -f 1fd15584f708696ca9b9ed94a1e3ba7d5ed939c8d5f0bf0cb30d878b414af580 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:45:34.160Z] + docker inspect -f . ci-base-image-arm64 [2022-10-18T06:45:34.160Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T06:45:34.320Z] prd-ubuntu20.04-docker-arm64-4c-16g-8459 does not seem to be running inside a container [2022-10-18T06:45:34.390Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-18T06:45:35.494Z] $ docker top 3f303291a5ecc82d8657067c2a70b1c1ec8fd644288d05bd7819d0cfa0b91968 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-18T06:45:35.982Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2022-10-18T06:45:36.307Z] + make test [2022-10-18T06:45:36.307Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-18T06:46:08.560Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-18T06:48:00.231Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-18T06:48:00.231Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-18T06:48:00.231Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-18T06:48:00.231Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-18T06:48:00.231Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-18T06:48:00.231Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.486s coverage: 27.6% of statements [2022-10-18T06:48:00.231Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.335s coverage: 78.9% of statements [2022-10-18T06:48:00.231Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-18T06:48:01.649Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.927s coverage: 74.1% of statements [2022-10-18T06:48:01.649Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-18T06:48:01.649Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-18T06:48:05.950Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.815s coverage: 54.4% of statements [2022-10-18T06:48:05.950Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-18T06:48:05.950Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-18T06:48:05.950Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-18T06:48:05.950Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-18T06:48:07.899Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.561s coverage: 65.1% of statements [2022-10-18T06:48:07.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-18T06:48:07.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-18T06:48:07.899Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.281s coverage: 89.2% of statements [2022-10-18T06:48:07.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-18T06:48:12.158Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.253s coverage: 4.7% of statements [2022-10-18T06:48:12.158Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-18T06:48:12.427Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-18T06:48:12.427Z] GO111MODULE=on go vet ./... [2022-10-18T06:50:04.131Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-18T06:50:04.131Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-18T06:50:04.131Z] ./bin/test-attribution-txt.sh [2022-10-18T06:50:04.131Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-18T06:50:04.131Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-18T06:50:04.131Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-18T06:50:04.131Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-18T06:50:04.150Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-18T06:50:04.162Z] $ docker stop --time=1 3f303291a5ecc82d8657067c2a70b1c1ec8fd644288d05bd7819d0cfa0b91968 [2022-10-18T06:50:06.053Z] $ docker rm -f 3f303291a5ecc82d8657067c2a70b1c1ec8fd644288d05bd7819d0cfa0b91968 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-18T06:50:07.313Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-18T06:50:07.337Z] Warning: overwriting stash ‘coverage-report’ [2022-10-18T06:50:07.927Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-18T06:50:08.328Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-18T06:50:08.647Z] + ls -al . [2022-10-18T06:50:08.647Z] total 272 [2022-10-18T06:50:08.647Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 06:45 . [2022-10-18T06:50:08.647Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 06:43 .. [2022-10-18T06:50:08.647Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 18 06:43 .dockerignore [2022-10-18T06:50:08.647Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 06:43 .git [2022-10-18T06:50:08.647Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 06:43 .github [2022-10-18T06:50:08.647Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 18 06:43 .gitignore [2022-10-18T06:50:08.647Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 18 06:43 .golangci.yml [2022-10-18T06:50:08.647Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 18 06:43 CHANGELOG.md [2022-10-18T06:50:08.647Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 06:43 GOVERNANCE.md [2022-10-18T06:50:08.647Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 18 06:43 Jenkinsfile [2022-10-18T06:50:08.647Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 18 06:43 LICENSE [2022-10-18T06:50:08.647Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 18 06:43 Makefile [2022-10-18T06:50:08.647Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 18 06:43 OWNERS.md [2022-10-18T06:50:08.647Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 18 06:43 README.md [2022-10-18T06:50:08.647Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 06:41 VERSION [2022-10-18T06:50:08.647Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 06:43 bin [2022-10-18T06:50:08.647Z] -rw-r--r-- 1 jenkins jenkins 101928 Oct 18 06:48 coverage.out [2022-10-18T06:50:08.647Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 18 06:43 example [2022-10-18T06:50:08.647Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 18 06:43 go.mod [2022-10-18T06:50:08.647Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 18 06:43 go.sum [2022-10-18T06:50:08.647Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 18 06:43 internal [2022-10-18T06:50:08.647Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 06:43 openapi [2022-10-18T06:50:08.647Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 18 06:43 pkg [2022-10-18T06:50:08.647Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 06:43 snap [2022-10-18T06:50:08.647Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 18 06:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:50:08.998Z] + 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=21e04e15d1ae7c788d2df22621903d96286e27cc --label arch=arm64 --label version=0.0.0 . [2022-10-18T06:50:09.285Z] Sending build context to Docker daemon 5.507MB [2022-10-18T06:50:09.285Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-18T06:50:09.285Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-18T06:50:09.285Z] ---> 0104896dc17e [2022-10-18T06:50:09.285Z] Step 3/25 : ARG MAKE=make build [2022-10-18T06:50:09.565Z] ---> Running in 142da31e1bdb [2022-10-18T06:50:09.837Z] Removing intermediate container 142da31e1bdb [2022-10-18T06:50:09.837Z] ---> a1326388a6e3 [2022-10-18T06:50:09.837Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-18T06:50:09.837Z] ---> Running in 46a6b90aeb34 [2022-10-18T06:50:10.117Z] Removing intermediate container 46a6b90aeb34 [2022-10-18T06:50:10.117Z] ---> 51b2087ef7db [2022-10-18T06:50:10.117Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-18T06:50:10.117Z] ---> Running in 1627d42334cf [2022-10-18T06:50:10.411Z] Removing intermediate container 1627d42334cf [2022-10-18T06:50:10.411Z] ---> 5c287493c3f7 [2022-10-18T06:50:10.411Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-18T06:50:10.707Z] ---> Running in 0adadf28ed74 [2022-10-18T06:50:12.124Z] Removing intermediate container 0adadf28ed74 [2022-10-18T06:50:12.124Z] ---> 57933c2303cd [2022-10-18T06:50:12.124Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-18T06:50:12.124Z] ---> Running in 1f452d5be26d [2022-10-18T06:50:13.083Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-18T06:50:14.036Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-18T06:50:14.996Z] OK: 221 MiB in 51 packages [2022-10-18T06:50:15.958Z] Removing intermediate container 1f452d5be26d [2022-10-18T06:50:15.958Z] ---> 64082ed4a02e [2022-10-18T06:50:15.958Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-18T06:50:16.224Z] ---> 64a172dea3ca [2022-10-18T06:50:16.224Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-18T06:50:16.494Z] ---> Running in bc6f9905815d [2022-10-18T06:50:18.453Z] Removing intermediate container bc6f9905815d [2022-10-18T06:50:18.453Z] ---> bc97fb9dcc7c [2022-10-18T06:50:18.453Z] Step 10/25 : COPY . . [2022-10-18T06:50:19.413Z] ---> 0d9c73924502 [2022-10-18T06:50:19.413Z] Step 11/25 : RUN ${MAKE} [2022-10-18T06:50:19.413Z] ---> Running in e4102c06087f [2022-10-18T06:50:20.374Z] 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-10-18T06:52:27.042Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-18T06:52:27.042Z] Removing intermediate container e4102c06087f [2022-10-18T06:52:27.042Z] ---> 7b9413a4c279 [2022-10-18T06:52:27.042Z] Step 12/25 : FROM alpine:3.16 [2022-10-18T06:52:27.308Z] 3.16: Pulling from library/alpine [2022-10-18T06:52:27.308Z] 9b18e9b68314: Already exists [2022-10-18T06:52:27.575Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-18T06:52:27.575Z] Status: Downloaded newer image for alpine:3.16 [2022-10-18T06:52:27.575Z] ---> a6215f271958 [2022-10-18T06:52:27.575Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-18T06:52:27.575Z] ---> Running in cab62e4258bf [2022-10-18T06:52:27.841Z] Removing intermediate container cab62e4258bf [2022-10-18T06:52:27.841Z] ---> 2acc280938d5 [2022-10-18T06:52:27.841Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-18T06:52:28.110Z] ---> Running in 37fe39e1acf4 [2022-10-18T06:52:29.532Z] Removing intermediate container 37fe39e1acf4 [2022-10-18T06:52:29.532Z] ---> 705e4a5deb1c [2022-10-18T06:52:29.532Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-18T06:52:29.801Z] ---> Running in 1518ce871dee [2022-10-18T06:52:30.761Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-18T06:52:31.715Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-18T06:52:32.674Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-18T06:52:32.674Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-18T06:52:32.674Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-18T06:52:32.940Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-18T06:52:32.940Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-18T06:52:33.207Z] Executing busybox-1.35.0-r17.trigger [2022-10-18T06:52:33.207Z] OK: 8 MiB in 19 packages [2022-10-18T06:52:34.170Z] Removing intermediate container 1518ce871dee [2022-10-18T06:52:34.170Z] ---> 50ae11039b90 [2022-10-18T06:52:34.170Z] Step 16/25 : WORKDIR / [2022-10-18T06:52:34.170Z] ---> Running in 4875477c49c3 [2022-10-18T06:52:34.435Z] Removing intermediate container 4875477c49c3 [2022-10-18T06:52:34.435Z] ---> 09936a1cbdc0 [2022-10-18T06:52:34.435Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-18T06:52:35.019Z] ---> ec404beffe85 [2022-10-18T06:52:35.019Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-18T06:52:36.429Z] ---> d5d84697574d [2022-10-18T06:52:36.429Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-18T06:52:36.698Z] ---> cb9a407ae1e0 [2022-10-18T06:52:36.698Z] Step 20/25 : EXPOSE 59999 [2022-10-18T06:52:36.698Z] ---> Running in ba612db504c2 [2022-10-18T06:52:36.967Z] Removing intermediate container ba612db504c2 [2022-10-18T06:52:36.967Z] ---> 2f3a5c541e40 [2022-10-18T06:52:36.967Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-18T06:52:36.967Z] ---> Running in f1e6adfb9e78 [2022-10-18T06:52:37.554Z] Removing intermediate container f1e6adfb9e78 [2022-10-18T06:52:37.554Z] ---> 629eec81ec6b [2022-10-18T06:52:37.554Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-18T06:52:37.554Z] ---> Running in 4def6a01b871 [2022-10-18T06:52:37.821Z] Removing intermediate container 4def6a01b871 [2022-10-18T06:52:37.821Z] ---> d444207ee89b [2022-10-18T06:52:37.821Z] Step 23/25 : LABEL arch=arm64 [2022-10-18T06:52:37.821Z] ---> Running in ad2da64de857 [2022-10-18T06:52:38.089Z] Removing intermediate container ad2da64de857 [2022-10-18T06:52:38.089Z] ---> 33e678be0abd [2022-10-18T06:52:38.089Z] Step 24/25 : LABEL git_sha=21e04e15d1ae7c788d2df22621903d96286e27cc [2022-10-18T06:52:38.089Z] ---> Running in 935af15bdd71 [2022-10-18T06:52:38.356Z] Removing intermediate container 935af15bdd71 [2022-10-18T06:52:38.356Z] ---> b25f824fd953 [2022-10-18T06:52:38.356Z] Step 25/25 : LABEL version=0.0.0 [2022-10-18T06:52:38.628Z] ---> Running in 52794cd1ce5a [2022-10-18T06:52:38.894Z] Removing intermediate container 52794cd1ce5a [2022-10-18T06:52:38.894Z] ---> 4a1e790b91ba [2022-10-18T06:52:38.894Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-18T06:52:38.894Z] Successfully built 4a1e790b91ba [2022-10-18T06:52:38.894Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:52:39.319Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-18T06:52:39.319Z] [2022-10-18T06:52:39.319Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:52:39.641Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-18T06:52:39.641Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-18T06:52:39.641Z] 8998bd30e6a1: Pulling fs layer [2022-10-18T06:52:39.641Z] 04944245beec: Pulling fs layer [2022-10-18T06:52:39.641Z] 699f458cf7ca: Pulling fs layer [2022-10-18T06:52:39.641Z] 765212b225bb: Pulling fs layer [2022-10-18T06:52:39.641Z] f23df028b6ca: Pulling fs layer [2022-10-18T06:52:39.641Z] d65c8cfc05b1: Pulling fs layer [2022-10-18T06:52:39.641Z] 2437ff75d9bd: Pulling fs layer [2022-10-18T06:52:39.641Z] 765212b225bb: Waiting [2022-10-18T06:52:39.641Z] f23df028b6ca: Waiting [2022-10-18T06:52:39.641Z] d65c8cfc05b1: Waiting [2022-10-18T06:52:39.641Z] 2437ff75d9bd: Waiting [2022-10-18T06:52:39.908Z] 04944245beec: Verifying Checksum [2022-10-18T06:52:39.908Z] 04944245beec: Download complete [2022-10-18T06:52:39.908Z] 765212b225bb: Download complete [2022-10-18T06:52:39.908Z] f23df028b6ca: Verifying Checksum [2022-10-18T06:52:39.908Z] f23df028b6ca: Download complete [2022-10-18T06:52:39.908Z] d65c8cfc05b1: Verifying Checksum [2022-10-18T06:52:39.908Z] d65c8cfc05b1: Download complete [2022-10-18T06:52:40.177Z] 699f458cf7ca: Verifying Checksum [2022-10-18T06:52:40.177Z] 699f458cf7ca: Download complete [2022-10-18T06:52:40.445Z] 8998bd30e6a1: Verifying Checksum [2022-10-18T06:52:40.445Z] 8998bd30e6a1: Download complete [2022-10-18T06:52:43.033Z] 2437ff75d9bd: Verifying Checksum [2022-10-18T06:52:43.033Z] 2437ff75d9bd: Download complete [2022-10-18T06:52:44.442Z] 8998bd30e6a1: Pull complete [2022-10-18T06:52:44.710Z] 04944245beec: Pull complete [2022-10-18T06:52:46.120Z] 699f458cf7ca: Pull complete [2022-10-18T06:52:46.388Z] 765212b225bb: Pull complete [2022-10-18T06:52:46.970Z] f23df028b6ca: Pull complete [2022-10-18T06:52:47.236Z] d65c8cfc05b1: Pull complete [2022-10-18T06:53:02.223Z] 2437ff75d9bd: Pull complete [2022-10-18T06:53:02.223Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-18T06:53:02.223Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-18T06:53:02.223Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T06:53:02.404Z] prd-ubuntu20.04-docker-arm64-4c-16g-8459 does not seem to be running inside a container [2022-10-18T06:53:02.466Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-18T06:53:04.958Z] $ docker top d03bc95dded70d4c7f1826f753c6fbe2380bb89d4d3b574396eaac40178e8905 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-18T06:53:05.474Z] ---> job-cost.sh [2022-10-18T06:53:05.740Z] lf-activate-venv: SKIPPING [2022-10-18T06:53:05.740Z] INFO: No Stack... [2022-10-18T06:53:06.320Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-18T06:53:06.900Z] INFO: Archiving Costs [Pipeline] sh [2022-10-18T06:53:07.222Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2022-10-18T06:53:07.222Z] + cut -d, -f6 [Pipeline] lock [2022-10-18T06:53:07.549Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1239-3-stack-cost] [2022-10-18T06:53:07.556Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1239-3-stack-cost] did not exist. Created. [2022-10-18T06:53:07.556Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1239-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-18T06:53:07.891Z] /w/workspace/device-sdk-go/3@tmp/durable-eff817a9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-18T06:53:08.220Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-18T06:53:08.246Z] Warning: overwriting stash ‘stack-cost’ [2022-10-18T06:53:08.303Z] Stashed 1 file(s) [Pipeline] } [2022-10-18T06:53:08.309Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1239-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-18T06:53:08.321Z] $ docker stop --time=1 d03bc95dded70d4c7f1826f753c6fbe2380bb89d4d3b574396eaac40178e8905 [2022-10-18T06:53:09.828Z] $ docker rm -f d03bc95dded70d4c7f1826f753c6fbe2380bb89d4d3b574396eaac40178e8905 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-18T06:53:10.221Z] provisioning config files... [2022-10-18T06:53:10.227Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/config31730031890042449tmp [Pipeline] { [Pipeline] sh [2022-10-18T06:53:10.512Z] + set +x [2022-10-18T06:53:10.512Z] + bash -s -- [2022-10-18T06:53:10.512Z] + curl -s https://codecov.io/bash [2022-10-18T06:53:10.512Z] [2022-10-18T06:53:10.512Z] _____ _ [2022-10-18T06:53:10.512Z] / ____| | | [2022-10-18T06:53:10.512Z] | | ___ __| | ___ ___ _____ __ [2022-10-18T06:53:10.512Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-18T06:53:10.512Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-18T06:53:10.512Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-18T06:53:10.512Z] Bash-1.0.6 [2022-10-18T06:53:10.512Z] [2022-10-18T06:53:10.512Z] [2022-10-18T06:53:10.512Z] ==> git version 2.25.1 found [2022-10-18T06:53:10.512Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-18T06:53:10.512Z] Release-Date: 2020-01-08 [2022-10-18T06:53:10.512Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-18T06:53:10.513Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-18T06:53:10.513Z] ==> Jenkins CI detected. [2022-10-18T06:53:10.513Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1239 [2022-10-18T06:53:10.513Z] project root: . [2022-10-18T06:53:10.513Z] --> token set from env [2022-10-18T06:53:10.513Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-18T06:53:10.513Z] ==> Running gcov in . (disable via -X gcov) [2022-10-18T06:53:10.513Z] ==> Python coveragepy not found [2022-10-18T06:53:10.513Z] ==> Searching for coverage reports in: [2022-10-18T06:53:10.513Z] + . [2022-10-18T06:53:10.513Z] -> Found 1 reports [2022-10-18T06:53:10.513Z] ==> Detecting git/mercurial file structure [2022-10-18T06:53:10.513Z] ==> Reading reports [2022-10-18T06:53:10.513Z] + ./coverage.out bytes=101928 [2022-10-18T06:53:10.513Z] ==> Appending adjustments [2022-10-18T06:53:10.513Z] https://docs.codecov.io/docs/fixing-reports [2022-10-18T06:53:11.080Z] + Found adjustments [2022-10-18T06:53:11.080Z] ==> Gzipping contents [2022-10-18T06:53:11.080Z] 16K /tmp/codecov.PZIKlx.gz [2022-10-18T06:53:11.080Z] ==> Uploading reports [2022-10-18T06:53:11.080Z] url: https://codecov.io [2022-10-18T06:53:11.080Z] query: branch=PR-1239&commit=135db58d6080e4ae53d2da30d4b98217ac72dac2&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1239%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1239&job=&cmd_args= [2022-10-18T06:53:11.080Z] -> Pinging Codecov [2022-10-18T06:53:11.080Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1239&commit=135db58d6080e4ae53d2da30d4b98217ac72dac2&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1239%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1239&job=&cmd_args= [2022-10-18T06:53:11.339Z] -> Uploading to [2022-10-18T06:53:11.339Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-18/7E55EF52A471D76F132DFD9A03CDDE97/135db58d6080e4ae53d2da30d4b98217ac72dac2/e302f7d0-44b8-4f59-b5ae-4cef3e659273.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221018%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221018T065311Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bd403b3e17c6b5825b37601fecf592409ee218986e8968629088a8b1adc1eb19 [2022-10-18T06:53:11.339Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-18T06:53:11.339Z] Dload Upload Total Spent Left Speed [2022-10-18T06:53:11.600Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14734 0 0 100 14734 0 59411 --:--:-- --:--:-- --:--:-- 59172 [2022-10-18T06:53:11.600Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/135db58d6080e4ae53d2da30d4b98217ac72dac2 [Pipeline] } [2022-10-18T06:53:11.607Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-18T06:53:12.319Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives ] [2022-10-18T06:53:12.319Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives [2022-10-18T06:53:12.319Z] total 16 [2022-10-18T06:53:12.319Z] drwxr-xr-x 3 root root 4096 Oct 18 06:43 . [2022-10-18T06:53:12.319Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 18 06:43 .. [2022-10-18T06:53:12.319Z] drwxr-xr-x 2 root root 4096 Oct 18 06:43 cost [2022-10-18T06:53:12.319Z] -rw-r--r-- 1 root root 86 Oct 18 06:43 cost.csv [2022-10-18T06:53:12.319Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives [2022-10-18T06:53:12.319Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives [2022-10-18T06:53:12.319Z] total 16 [2022-10-18T06:53:12.319Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 06:43 . [2022-10-18T06:53:12.319Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 18 06:43 .. [2022-10-18T06:53:12.319Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 18 06:43 cost [2022-10-18T06:53:12.319Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 18 06:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-18T06:53:12.606Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-18T06:53:13.461Z] ---> package-listing.sh [2022-10-18T06:53:13.462Z] ++ facter osfamily [2022-10-18T06:53:13.462Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-18T06:53:13.720Z] + OS_FAMILY=debian [2022-10-18T06:53:13.720Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1239 [2022-10-18T06:53:13.720Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-18T06:53:13.720Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-18T06:53:13.720Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-18T06:53:13.720Z] + PACKAGES=/tmp/packages_start.txt [2022-10-18T06:53:13.720Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1239 ']' [2022-10-18T06:53:13.720Z] + PACKAGES=/tmp/packages_end.txt [2022-10-18T06:53:13.720Z] + case "${OS_FAMILY}" in [2022-10-18T06:53:13.720Z] + dpkg -l [2022-10-18T06:53:13.720Z] + grep '^ii' [2022-10-18T06:53:13.720Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-18T06:53:13.720Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-18T06:53:13.720Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-18T06:53:13.720Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1239 ']' [2022-10-18T06:53:13.720Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives/ [2022-10-18T06:53:13.720Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives/ [Pipeline] echo [2022-10-18T06:53:13.731Z] 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-1239/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-18T06:53:14.007Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:53:14.571Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-18T06:53:14.571Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T06:53:14.643Z] prd-ubuntu20.04-docker-8c-8g-8458 does not seem to be running inside a container [2022-10-18T06:53:14.679Z] $ 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-1239/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-1239 -v /w/workspace/gexfoundry_device-sdk-go_PR-1239:/w/workspace/gexfoundry_device-sdk-go_PR-1239:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-18T06:53:14.882Z] $ docker top 4e75f50d7813fac5d6fcba608a50f07e03092f03605a475da784a91e3493f9b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-18T06:53:15.222Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-18T06:53:15.506Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-18T06:53:15.791Z] + ls /var/log/sa-host [2022-10-18T06:53:15.791Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-18T06:53:15.944Z] provisioning config files... [2022-10-18T06:53:15.954Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/config17146832177207276036tmp [Pipeline] { [Pipeline] echo [2022-10-18T06:53:15.969Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-18T06:53:16.251Z] ---> create-netrc.sh [Pipeline] } [2022-10-18T06:53:16.258Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-18T06:53:16.597Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-18T06:53:16.606Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-18T06:53:16.892Z] ---> sudo-logs.sh [2022-10-18T06:53:16.892Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-18T06:53:16.923Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-18T06:53:17.209Z] ---> job-cost.sh [2022-10-18T06:53:17.209Z] lf-activate-venv: SKIPPING [2022-10-18T06:53:17.209Z] DEBUG: total: 0.2199999988079071 [2022-10-18T06:53:17.209Z] INFO: Retrieving Stack Cost... [2022-10-18T06:53:17.777Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-18T06:53:18.037Z] INFO: Archiving Costs [Pipeline] echo [2022-10-18T06:53:18.047Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-18T06:53:18.329Z] ---> logs-deploy.sh [2022-10-18T06:53:18.329Z] lf-activate-venv: SKIPPING [2022-10-18T06:53:18.329Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1239/3 [2022-10-18T06:53:18.329Z] INFO: archiving workspace using pattern(s): [2022-10-18T06:53:19.343Z] Archives upload complete. [2022-10-18T06:53:19.343Z] INFO: archiving logs to Nexus