Pull request #9 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of yiqisoft for edgexfoundry/device-s7 Loading trusted files from base branch main at 1b057092ee19ade1a8316e5cb795699e1e50525a rather than be9287983f4b92c8cae0f409beca0b13e4ebd156 Obtained Jenkinsfile from 1b057092ee19ade1a8316e5cb795699e1e50525a 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-ssh6932377776233866270.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh15799886561712215836.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-9/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-s7/branches/PR-9/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7161310503840536506.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh9563118257397513285.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-9/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-s7/branches/PR-9/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8251966733608619697.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-s7] ========================================================= [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-s7-settings PROJECT: device-s7 USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-s7 DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 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 ‘prd-ubuntu20.04-docker-8c-8g-1671’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1673 in /w/workspace/edgexfoundry_device-s7_PR-9 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-s7.git > git init /w/workspace/edgexfoundry_device-s7_PR-9 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 1b057092ee19ade1a8316e5cb795699e1e50525a into PR head commit be9287983f4b92c8cae0f409beca0b13e4ebd156 Merge succeeded, producing be9287983f4b92c8cae0f409beca0b13e4ebd156 Checking out Revision be9287983f4b92c8cae0f409beca0b13e4ebd156 (PR-9) > git config remote.origin.url git@github.com:edgexfoundry/device-s7.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-s7.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/pull/9/head:refs/remotes/origin/PR-9 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f be9287983f4b92c8cae0f409beca0b13e4ebd156 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1b057092ee19ade1a8316e5cb795699e1e50525a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f be9287983f4b92c8cae0f409beca0b13e4ebd156 # timeout=10 Commit message: "fix: fix test process" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-02-25T09:58:47.811Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-02-25T09:58:47.892Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-02-25T09:58:47.915Z] ========================================================= [2024-02-25T09:58:47.915Z] EdgeX Global Pipelines Version Info [2024-02-25T09:58:47.915Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ca3c6fef86d15399994874e9b28bb0d668ad098d # timeout=10 [2024-02-25T09:58:48.627Z] ------------------- [2024-02-25T09:58:48.627Z] stable info: [2024-02-25T09:58:48.627Z] ------------------- [2024-02-25T09:58:48.627Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-02-25T09:58:48.627Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-02-25T09:58:48.627Z] Message: update stable to v1.0.258 [2024-02-25T09:58:50.537Z] ------------------- [2024-02-25T09:58:50.537Z] experimental info: [2024-02-25T09:58:50.537Z] ------------------- [2024-02-25T09:58:50.537Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-02-25T09:58:50.537Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-02-25T09:58:50.537Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-02-25T09:58:50.614Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo [2024-02-25T09:58:50.637Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo [2024-02-25T09:58:50.656Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-02-25T09:58:50.675Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-02-25T09:58:50.698Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-02-25T09:58:50.726Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-02-25T09:58:50.750Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-02-25T09:58:50.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-02-25T09:58:50.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-02-25T09:58:50.828Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-02-25T09:58:50.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-02-25T09:58:50.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo [2024-02-25T09:58:50.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-02-25T09:58:50.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-02-25T09:58:50.975Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-02-25T09:58:51.005Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-02-25T09:58:51.037Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-02-25T09:58:51.065Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-02-25T09:58:51.094Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-02-25T09:58:51.128Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-02-25T09:58:51.159Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-02-25T09:58:51.190Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-02-25T09:58:51.225Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-02-25T09:58:51.260Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-02-25T09:58:51.299Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-02-25T09:58:51.337Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-02-25T09:58:51.375Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-02-25T09:58:51.406Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-9 [Pipeline] echo [2024-02-25T09:58:51.441Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-9 [Pipeline] echo [2024-02-25T09:58:51.476Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-9 [Pipeline] echo [2024-02-25T09:58:51.522Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = be9287983f4b92c8cae0f409beca0b13e4ebd156 [Pipeline] echo [2024-02-25T09:58:51.561Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = be92879 [Pipeline] echo [2024-02-25T09:58:51.595Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-25T09:58:51.687Z] provisioning config files... [2024-02-25T09:58:51.702Z] copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config7848733207915420324tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:58:52.040Z] ---> ****-login.sh [2024-02-25T09:58:52.040Z] nexus3.edgexfoundry.org:10001 [2024-02-25T09:58:52.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:58:52.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:58:52.300Z] Configure a credential helper to remove this warning. See [2024-02-25T09:58:52.301Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:58:52.301Z] [2024-02-25T09:58:52.301Z] Login Succeeded [2024-02-25T09:58:52.301Z] nexus3.edgexfoundry.org:10002 [2024-02-25T09:58:52.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:58:52.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:58:52.561Z] Configure a credential helper to remove this warning. See [2024-02-25T09:58:52.561Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:58:52.561Z] [2024-02-25T09:58:52.561Z] Login Succeeded [2024-02-25T09:58:52.561Z] nexus3.edgexfoundry.org:10003 [2024-02-25T09:58:52.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:58:52.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:58:52.561Z] Configure a credential helper to remove this warning. See [2024-02-25T09:58:52.561Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:58:52.561Z] [2024-02-25T09:58:52.561Z] Login Succeeded [2024-02-25T09:58:52.561Z] nexus3.edgexfoundry.org:10004 [2024-02-25T09:58:52.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:58:52.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:58:52.562Z] Configure a credential helper to remove this warning. See [2024-02-25T09:58:52.562Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:58:52.562Z] [2024-02-25T09:58:52.824Z] Login Succeeded [2024-02-25T09:58:52.824Z] ****.io [2024-02-25T09:58:52.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:58:53.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:58:53.085Z] Configure a credential helper to remove this warning. See [2024-02-25T09:58:53.085Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:58:53.085Z] [2024-02-25T09:58:53.085Z] Login Succeeded [2024-02-25T09:58:53.085Z] ---> ****-login.sh ends [Pipeline] } [2024-02-25T09:58:53.092Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-02-25T09:58:53.586Z] + git rev-list -1 --merges be9287983f4b92c8cae0f409beca0b13e4ebd156~1..be9287983f4b92c8cae0f409beca0b13e4ebd156 [Pipeline] echo [2024-02-25T09:58:53.616Z] -----------> git rev-list -1 --merges be9287983f4b92c8cae0f409beca0b13e4ebd156~1..be9287983f4b92c8cae0f409beca0b13e4ebd156 be9287983f4b92c8cae0f409beca0b13e4ebd156 [false] [Pipeline] sh [2024-02-25T09:58:53.918Z] + git log --format=format:%s -1 be9287983f4b92c8cae0f409beca0b13e4ebd156 [Pipeline] echo [2024-02-25T09:58:53.934Z] ========================================================= [2024-02-25T09:58:53.934Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-02-25T09:58:53.934Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-25T09:58:54.318Z] + git log --format=format:%s -1 be9287983f4b92c8cae0f409beca0b13e4ebd156 [Pipeline] echo [2024-02-25T09:58:54.329Z] [semverPrep] GIT_COMMIT: be9287983f4b92c8cae0f409beca0b13e4ebd156, Commit Message: fix: fix test process [Pipeline] echo [2024-02-25T09:58:54.355Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-02-25T09:58:54.746Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-02-25T09:58:54.746Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-02-25T09:58:54.746Z] + [ -e /tmp/ssh_known_hosts ] [2024-02-25T09:58:54.746Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-02-25T09:58:54.746Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-02-25T09:58:54.746Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-02-25T09:58:54.746Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:58:55.171Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-25T09:58:55.171Z] [2024-02-25T09:58:55.171Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:58:55.489Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-25T09:58:55.489Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-02-25T09:58:55.489Z] b85a868b505f: Pulling fs layer [2024-02-25T09:58:55.489Z] e2be974225ed: Pulling fs layer [2024-02-25T09:58:55.489Z] 339a4e72a1f5: Pulling fs layer [2024-02-25T09:58:55.489Z] 988bab9f4d93: Pulling fs layer [2024-02-25T09:58:55.489Z] 1469e6f7b9e6: Pulling fs layer [2024-02-25T09:58:55.489Z] eaf3925da568: Pulling fs layer [2024-02-25T09:58:55.489Z] bab4dde63d76: Pulling fs layer [2024-02-25T09:58:55.489Z] bde34c3a00c8: Pulling fs layer [2024-02-25T09:58:55.489Z] b352a97aabf1: Pulling fs layer [2024-02-25T09:58:55.489Z] 4872d77fe225: Pulling fs layer [2024-02-25T09:58:55.489Z] 5851b861e8e6: Pulling fs layer [2024-02-25T09:58:55.489Z] 1469e6f7b9e6: Waiting [2024-02-25T09:58:55.489Z] bab4dde63d76: Waiting [2024-02-25T09:58:55.489Z] 4872d77fe225: Waiting [2024-02-25T09:58:55.489Z] 988bab9f4d93: Waiting [2024-02-25T09:58:55.489Z] b352a97aabf1: Waiting [2024-02-25T09:58:55.489Z] bde34c3a00c8: Waiting [2024-02-25T09:58:55.489Z] 5851b861e8e6: Waiting [2024-02-25T09:58:55.489Z] eaf3925da568: Waiting [2024-02-25T09:58:55.489Z] e2be974225ed: Download complete [2024-02-25T09:58:55.489Z] 988bab9f4d93: Verifying Checksum [2024-02-25T09:58:55.489Z] 988bab9f4d93: Download complete [2024-02-25T09:58:55.489Z] 1469e6f7b9e6: Verifying Checksum [2024-02-25T09:58:55.489Z] 1469e6f7b9e6: Download complete [2024-02-25T09:58:55.489Z] eaf3925da568: Verifying Checksum [2024-02-25T09:58:55.489Z] eaf3925da568: Download complete [2024-02-25T09:58:55.489Z] 339a4e72a1f5: Verifying Checksum [2024-02-25T09:58:55.489Z] 339a4e72a1f5: Download complete [2024-02-25T09:58:55.751Z] bde34c3a00c8: Download complete [2024-02-25T09:58:55.751Z] b352a97aabf1: Verifying Checksum [2024-02-25T09:58:55.751Z] b352a97aabf1: Download complete [2024-02-25T09:58:55.751Z] 4872d77fe225: Verifying Checksum [2024-02-25T09:58:55.751Z] 4872d77fe225: Download complete [2024-02-25T09:58:55.751Z] 5851b861e8e6: Verifying Checksum [2024-02-25T09:58:55.751Z] 5851b861e8e6: Download complete [2024-02-25T09:58:55.751Z] b85a868b505f: Verifying Checksum [2024-02-25T09:58:55.751Z] b85a868b505f: Download complete [2024-02-25T09:58:56.010Z] bab4dde63d76: Verifying Checksum [2024-02-25T09:58:56.010Z] bab4dde63d76: Download complete [2024-02-25T09:58:56.945Z] b85a868b505f: Pull complete [2024-02-25T09:58:57.204Z] e2be974225ed: Pull complete [2024-02-25T09:58:57.779Z] 339a4e72a1f5: Pull complete [2024-02-25T09:58:57.779Z] 988bab9f4d93: Pull complete [2024-02-25T09:58:58.044Z] 1469e6f7b9e6: Pull complete [2024-02-25T09:58:58.044Z] eaf3925da568: Pull complete [2024-02-25T09:58:59.945Z] bab4dde63d76: Pull complete [2024-02-25T09:59:00.202Z] bde34c3a00c8: Pull complete [2024-02-25T09:59:00.202Z] b352a97aabf1: Pull complete [2024-02-25T09:59:00.202Z] 4872d77fe225: Pull complete [2024-02-25T09:59:00.462Z] 5851b861e8e6: Pull complete [2024-02-25T09:59:00.462Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-02-25T09:59:00.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-25T09:59:00.462Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T09:59:00.647Z] prd-ubuntu20.04-docker-8c-8g-1673 does not seem to be running inside a container [2024-02-25T09:59:00.678Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-02-25T09:59:04.188Z] $ docker top 2f1f085bc7751fc182b5e9b9dfbcb2981b047d7a247afb8b512d78a57f8f37f1 -eo pid,comm [2024-02-25T09:59:04.232Z] 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). [2024-02-25T09:59:04.232Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-02-25T09:59:04.331Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-25T09:59:04.331Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-25T09:59:04.441Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-25T09:59:04.448Z] $ docker exec 2f1f085bc7751fc182b5e9b9dfbcb2981b047d7a247afb8b512d78a57f8f37f1 ssh-agent [2024-02-25T09:59:04.565Z] SSH_AUTH_SOCK=/tmp/ssh-1QyIJarh6Ht2/agent.32 [2024-02-25T09:59:04.565Z] SSH_AGENT_PID=39 [2024-02-25T09:59:04.571Z] Running ssh-add (command line suppressed) [2024-02-25T09:59:04.674Z] Identity added: /w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_12350329445476230093.key (/w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_12350329445476230093.key) [2024-02-25T09:59:04.685Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-25T09:59:04.991Z] + git tag --points-at HEAD [Pipeline] } [2024-02-25T09:59:05.007Z] $ docker exec --env ******** --env ******** 2f1f085bc7751fc182b5e9b9dfbcb2981b047d7a247afb8b512d78a57f8f37f1 ssh-agent -k [2024-02-25T09:59:05.105Z] unset SSH_AUTH_SOCK; [2024-02-25T09:59:05.105Z] unset SSH_AGENT_PID; [2024-02-25T09:59:05.105Z] echo Agent pid 39 killed; [2024-02-25T09:59:05.112Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-02-25T09:59:05.178Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-25T09:59:05.178Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-25T09:59:05.277Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-25T09:59:05.284Z] $ docker exec 2f1f085bc7751fc182b5e9b9dfbcb2981b047d7a247afb8b512d78a57f8f37f1 ssh-agent [2024-02-25T09:59:05.389Z] SSH_AUTH_SOCK=/tmp/ssh-0TZjhdbj3Fi9/agent.70 [2024-02-25T09:59:05.389Z] SSH_AGENT_PID=76 [2024-02-25T09:59:05.394Z] Running ssh-add (command line suppressed) [2024-02-25T09:59:05.508Z] Identity added: /w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_15271211029361946043.key (/w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_15271211029361946043.key) [2024-02-25T09:59:05.518Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-25T09:59:05.823Z] + git semver init [2024-02-25T09:59:06.082Z] 2024-02-25 09:59:06,016 [run_init] DEBUG init version:0.0.0 force:False [2024-02-25T09:59:06.082Z] 2024-02-25 09:59:06,017 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-9/.semver [2024-02-25T09:59:06.082Z] 2024-02-25 09:59:06,017 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-9/.semver [2024-02-25T09:59:06.082Z] 2024-02-25 09:59:06,018 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-s7.git', '/w/workspace/edgexfoundry_device-s7_PR-9/.semver'], cwd=/w/workspace/edgexfoundry_device-s7_PR-9, universal_newlines=False, shell=None, istream=None) [2024-02-25T09:59:06.650Z] 2024-02-25 09:59:06,632 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-9/.git/info/exclude [2024-02-25T09:59:06.650Z] 2024-02-25 09:59:06,632 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 with force:False [2024-02-25T09:59:06.650Z] 2024-02-25 09:59:06,632 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 [2024-02-25T09:59:06.650Z] 2024-02-25 09:59:06,636 [execute] INFO git cat-file --batch-check [2024-02-25T09:59:06.650Z] 2024-02-25 09:59:06,637 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_PR-9/.semver, universal_newlines=False, shell=None, istream=) [2024-02-25T09:59:06.650Z] 2024-02-25 09:59:06,644 [execute] INFO git cat-file --batch [2024-02-25T09:59:06.650Z] 2024-02-25 09:59:06,644 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-9/.semver, universal_newlines=False, shell=None, istream=) [2024-02-25T09:59:06.650Z] 2024-02-25 09:59:06,649 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 [2024-02-25T09:59:06.650Z] 0.0.0 [Pipeline] } [2024-02-25T09:59:06.923Z] $ docker exec --env ******** --env ******** 2f1f085bc7751fc182b5e9b9dfbcb2981b047d7a247afb8b512d78a57f8f37f1 ssh-agent -k [2024-02-25T09:59:07.024Z] unset SSH_AUTH_SOCK; [2024-02-25T09:59:07.024Z] unset SSH_AGENT_PID; [2024-02-25T09:59:07.024Z] echo Agent pid 76 killed; [2024-02-25T09:59:07.033Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-02-25T09:59:07.412Z] + git semver [Pipeline] } [2024-02-25T09:59:07.689Z] $ docker stop --time=1 2f1f085bc7751fc182b5e9b9dfbcb2981b047d7a247afb8b512d78a57f8f37f1 [2024-02-25T09:59:08.998Z] $ docker rm -f --volumes 2f1f085bc7751fc182b5e9b9dfbcb2981b047d7a247afb8b512d78a57f8f37f1 [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-25T09:59:09.363Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-02-25T09:59:09.612Z] Stashed 1 file(s) [Pipeline] echo [2024-02-25T09:59:09.614Z] [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 [2024-02-25T09:59:09.956Z] provisioning config files... [2024-02-25T09:59:09.966Z] copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config11769915308044481049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:59:10.277Z] ---> ****-login.sh [2024-02-25T09:59:10.278Z] nexus3.edgexfoundry.org:10001 [2024-02-25T09:59:10.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:59:10.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:59:10.278Z] Configure a credential helper to remove this warning. See [2024-02-25T09:59:10.278Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:59:10.278Z] [2024-02-25T09:59:10.278Z] Login Succeeded [2024-02-25T09:59:10.278Z] nexus3.edgexfoundry.org:10002 [2024-02-25T09:59:10.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:59:10.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:59:10.278Z] Configure a credential helper to remove this warning. See [2024-02-25T09:59:10.278Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:59:10.278Z] [2024-02-25T09:59:10.278Z] Login Succeeded [2024-02-25T09:59:10.278Z] nexus3.edgexfoundry.org:10003 [2024-02-25T09:59:10.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:59:10.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:59:10.538Z] Configure a credential helper to remove this warning. See [2024-02-25T09:59:10.538Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:59:10.538Z] [2024-02-25T09:59:10.538Z] Login Succeeded [2024-02-25T09:59:10.538Z] nexus3.edgexfoundry.org:10004 [2024-02-25T09:59:10.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:59:10.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:59:10.538Z] Configure a credential helper to remove this warning. See [2024-02-25T09:59:10.538Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:59:10.538Z] [2024-02-25T09:59:10.538Z] Login Succeeded [2024-02-25T09:59:10.538Z] ****.io [2024-02-25T09:59:10.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:59:10.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:59:10.799Z] Configure a credential helper to remove this warning. See [2024-02-25T09:59:10.799Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:59:10.799Z] [2024-02-25T09:59:10.799Z] Login Succeeded [2024-02-25T09:59:10.799Z] ---> ****-login.sh ends [Pipeline] } [2024-02-25T09:59:10.809Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-02-25T09:59:10.950Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-25T09:59:10.987Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-25T09:59:11.016Z] ========================================================= [2024-02-25T09:59:11.016Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-02-25T09:59:11.016Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:59:11.428Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-02-25T09:59:11.428Z] Sending build context to Docker daemon 558.6kB [2024-02-25T09:59:11.428Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-02-25T09:59:11.428Z] Step 2/10 : FROM ${BASE} AS builder [2024-02-25T09:59:11.428Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-02-25T09:59:11.428Z] 7264a8db6415: Pulling fs layer [2024-02-25T09:59:11.428Z] c4d48a809fc2: Pulling fs layer [2024-02-25T09:59:11.428Z] 4f1c88b9dad5: Pulling fs layer [2024-02-25T09:59:11.428Z] ad3a456e5733: Pulling fs layer [2024-02-25T09:59:11.428Z] 69c7f0334f64: Pulling fs layer [2024-02-25T09:59:11.428Z] 1f1c1a5573a3: Pulling fs layer [2024-02-25T09:59:11.428Z] ce7588e14bc9: Pulling fs layer [2024-02-25T09:59:11.428Z] b5e4710f87ac: Pulling fs layer [2024-02-25T09:59:11.428Z] 1f1c1a5573a3: Waiting [2024-02-25T09:59:11.428Z] ce7588e14bc9: Waiting [2024-02-25T09:59:11.428Z] b5e4710f87ac: Waiting [2024-02-25T09:59:11.428Z] ad3a456e5733: Waiting [2024-02-25T09:59:11.428Z] 69c7f0334f64: Waiting [2024-02-25T09:59:11.428Z] c4d48a809fc2: Verifying Checksum [2024-02-25T09:59:11.428Z] c4d48a809fc2: Download complete [2024-02-25T09:59:11.428Z] ad3a456e5733: Verifying Checksum [2024-02-25T09:59:11.428Z] ad3a456e5733: Download complete [2024-02-25T09:59:11.428Z] 69c7f0334f64: Verifying Checksum [2024-02-25T09:59:11.428Z] 69c7f0334f64: Download complete [2024-02-25T09:59:11.689Z] 7264a8db6415: Download complete [2024-02-25T09:59:11.689Z] 1f1c1a5573a3: Verifying Checksum [2024-02-25T09:59:11.689Z] 1f1c1a5573a3: Download complete [2024-02-25T09:59:11.690Z] 7264a8db6415: Pull complete [2024-02-25T09:59:11.949Z] b5e4710f87ac: Verifying Checksum [2024-02-25T09:59:11.949Z] b5e4710f87ac: Download complete [2024-02-25T09:59:11.949Z] c4d48a809fc2: Pull complete [2024-02-25T09:59:11.949Z] 4f1c88b9dad5: Verifying Checksum [2024-02-25T09:59:11.949Z] 4f1c88b9dad5: Download complete [2024-02-25T09:59:12.515Z] ce7588e14bc9: Verifying Checksum [2024-02-25T09:59:12.515Z] ce7588e14bc9: Download complete [2024-02-25T09:59:15.798Z] 4f1c88b9dad5: Pull complete [2024-02-25T09:59:15.798Z] ad3a456e5733: Pull complete [2024-02-25T09:59:15.798Z] 69c7f0334f64: Pull complete [2024-02-25T09:59:15.798Z] 1f1c1a5573a3: Pull complete [2024-02-25T09:59:17.697Z] ce7588e14bc9: Pull complete [2024-02-25T09:59:18.264Z] b5e4710f87ac: Pull complete [2024-02-25T09:59:18.264Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-02-25T09:59:18.264Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-02-25T09:59:18.264Z] ---> 88b5674ff536 [2024-02-25T09:59:18.264Z] Step 3/10 : ARG MAKE=make build [2024-02-25T09:59:23.541Z] ---> Running in 3347825d485a [2024-02-25T09:59:23.541Z] Removing intermediate container 3347825d485a [2024-02-25T09:59:23.541Z] ---> 9d07385dd4cb [2024-02-25T09:59:23.541Z] Step 4/10 : WORKDIR /device-s7 [2024-02-25T09:59:23.541Z] ---> Running in b642ed025cc3 [2024-02-25T09:59:23.541Z] Removing intermediate container b642ed025cc3 [2024-02-25T09:59:23.541Z] ---> 15c62a0471c4 [2024-02-25T09:59:23.541Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T09:59:23.541Z] ---> Running in 5e0d0dae6ebf [2024-02-25T09:59:23.541Z] Removing intermediate container 5e0d0dae6ebf [2024-02-25T09:59:23.541Z] ---> f5ff2777b32c [2024-02-25T09:59:23.541Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev [2024-02-25T09:59:23.541Z] ---> Running in a9aa2f71ef43 [2024-02-25T09:59:23.541Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-25T09:59:23.541Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-25T09:59:23.800Z] OK: 264 MiB in 52 packages [2024-02-25T09:59:24.059Z] Removing intermediate container a9aa2f71ef43 [2024-02-25T09:59:24.059Z] ---> 674a5a8b317e [2024-02-25T09:59:24.059Z] Step 7/10 : COPY go.mod vendor* ./ [2024-02-25T09:59:24.059Z] ---> a1524a4ba57e [2024-02-25T09:59:24.059Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-25T09:59:24.319Z] ---> Running in 23628ce2029d [2024-02-25T09:59:24.874Z] Still waiting to schedule task [2024-02-25T09:59:24.874Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1672’ is offline [2024-02-25T10:00:03.066Z] Removing intermediate container 23628ce2029d [2024-02-25T10:00:03.066Z] ---> 24e7937762c5 [2024-02-25T10:00:03.066Z] Step 9/10 : COPY . . [2024-02-25T10:00:03.066Z] ---> 54ed0df5b0f8 [2024-02-25T10:00:03.066Z] Step 10/10 : RUN ${MAKE} [2024-02-25T10:00:03.066Z] ---> Running in 2fc61891f9f8 [2024-02-25T10:00:03.066Z] noop [2024-02-25T10:00:03.066Z] Removing intermediate container 2fc61891f9f8 [2024-02-25T10:00:03.066Z] ---> b635327665e9 [2024-02-25T10:00:03.066Z] Successfully built b635327665e9 [2024-02-25T10:00:03.066Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T10:00:03.442Z] + docker inspect -f . ci-base-image-x86_64 [2024-02-25T10:00:03.442Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T10:00:03.555Z] prd-ubuntu20.04-docker-8c-8g-1673 does not seem to be running inside a container [2024-02-25T10:00:03.589Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@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 ******** ci-base-image-x86_64 cat [2024-02-25T10:00:03.937Z] $ docker top fd01e743cb508749f58ff70ba46c68a9080083a71a1283fef2d51db6019d71a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-25T10:00:04.317Z] + go version [2024-02-25T10:00:04.317Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-02-25T10:00:04.330Z] $ docker stop --time=1 fd01e743cb508749f58ff70ba46c68a9080083a71a1283fef2d51db6019d71a4 [2024-02-25T10:00:05.595Z] $ docker rm -f --volumes fd01e743cb508749f58ff70ba46c68a9080083a71a1283fef2d51db6019d71a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T10:00:06.193Z] + docker inspect -f . ci-base-image-x86_64 [2024-02-25T10:00:06.193Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T10:00:06.304Z] prd-ubuntu20.04-docker-8c-8g-1673 does not seem to be running inside a container [2024-02-25T10:00:06.343Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-s7_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@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 ******** ci-base-image-x86_64 cat [2024-02-25T10:00:06.642Z] $ docker top a18e96f32c656392cf6a9516d3ba04b35b053fe7dfee76578f7d2e87f9723a25 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-25T10:00:07.018Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-9 [Pipeline] fileExists [Pipeline] sh [2024-02-25T10:00:07.341Z] + make test [2024-02-25T10:00:07.341Z] go test -race -coverprofile=coverage.out ./... [2024-02-25T10:00:13.905Z] ? github.com/edgexfoundry/device-s7 [no test files] [2024-02-25T10:00:25.268Z] ? github.com/edgexfoundry/device-s7/cmd [no test files] [2024-02-25T10:00:25.268Z] ? github.com/edgexfoundry/device-s7/internal/driver [no test files] [2024-02-25T10:00:42.051Z] go vet ./... [2024-02-25T10:00:44.638Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-02-25T10:00:44.638Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-02-25T10:00:44.638Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-02-25T10:00:44.652Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-02-25T10:00:44.693Z] $ docker stop --time=1 a18e96f32c656392cf6a9516d3ba04b35b053fe7dfee76578f7d2e87f9723a25 [2024-02-25T10:00:49.319Z] $ docker rm -f --volumes a18e96f32c656392cf6a9516d3ba04b35b053fe7dfee76578f7d2e87f9723a25 [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-25T10:00:49.859Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-02-25T10:00:49.933Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-02-25T10:00:50.614Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-02-25T10:00:50.899Z] + ls -al . [2024-02-25T10:00:50.899Z] total 136 [2024-02-25T10:00:50.899Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 10:00 . [2024-02-25T10:00:50.899Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 09:58 .. [2024-02-25T10:00:50.899Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 10:00 .git [2024-02-25T10:00:50.899Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 09:58 .github [2024-02-25T10:00:50.899Z] -rw-rw-r-- 1 jenkins jenkins 237 Feb 25 09:58 .gitignore [2024-02-25T10:00:50.899Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 25 09:58 .golangci.yml [2024-02-25T10:00:50.899Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 25 09:59 .semver [2024-02-25T10:00:50.899Z] -rw-rw-r-- 1 jenkins jenkins 11920 Feb 25 09:58 Attribution.txt [2024-02-25T10:00:50.899Z] -rw-rw-r-- 1 jenkins jenkins 1546 Feb 25 09:58 Dockerfile [2024-02-25T10:00:50.899Z] -rw-rw-r-- 1 jenkins jenkins 643 Feb 25 09:58 Jenkinsfile [2024-02-25T10:00:50.899Z] -rw-rw-r-- 1 jenkins jenkins 10947 Feb 25 09:58 LICENSE [2024-02-25T10:00:50.899Z] -rw-rw-r-- 1 jenkins jenkins 1903 Feb 25 09:58 Makefile [2024-02-25T10:00:50.899Z] -rw-rw-r-- 1 jenkins jenkins 614 Feb 25 09:58 OWNERS.md [2024-02-25T10:00:50.899Z] -rw-rw-r-- 1 jenkins jenkins 2393 Feb 25 09:58 README.md [2024-02-25T10:00:50.899Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 25 09:59 VERSION [2024-02-25T10:00:50.899Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 09:58 bin [2024-02-25T10:00:50.899Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 09:58 cmd [2024-02-25T10:00:50.900Z] -rw-r--r-- 1 jenkins jenkins 13 Feb 25 10:00 coverage.out [2024-02-25T10:00:50.900Z] -rw-rw-r-- 1 jenkins jenkins 3674 Feb 25 09:58 go.mod [2024-02-25T10:00:50.900Z] -rw-rw-r-- 1 jenkins jenkins 35223 Feb 25 09:58 go.sum [2024-02-25T10:00:50.900Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 09:58 internal [2024-02-25T10:00:50.900Z] -rw-rw-r-- 1 jenkins jenkins 223 Feb 25 09:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T10:00:51.256Z] + docker build -t device-s7 -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=be9287983f4b92c8cae0f409beca0b13e4ebd156 --label arch=amd64 --label version=0.0.0 . [2024-02-25T10:00:51.256Z] Sending build context to Docker daemon 559.6kB [2024-02-25T10:00:51.256Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-02-25T10:00:51.256Z] Step 2/24 : FROM ${BASE} AS builder [2024-02-25T10:00:51.256Z] ---> b635327665e9 [2024-02-25T10:00:51.256Z] Step 3/24 : ARG MAKE=make build [2024-02-25T10:00:51.517Z] ---> Running in df9bdbaed12e [2024-02-25T10:00:51.517Z] Removing intermediate container df9bdbaed12e [2024-02-25T10:00:51.517Z] ---> c426556ccc3a [2024-02-25T10:00:51.517Z] Step 4/24 : WORKDIR /device-s7 [2024-02-25T10:00:51.517Z] ---> Running in e8e33204fdc7 [2024-02-25T10:00:51.517Z] Removing intermediate container e8e33204fdc7 [2024-02-25T10:00:51.517Z] ---> f41e1f478f74 [2024-02-25T10:00:51.517Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T10:00:51.517Z] ---> Running in c4c6a2eb2ca1 [2024-02-25T10:00:51.517Z] Removing intermediate container c4c6a2eb2ca1 [2024-02-25T10:00:51.517Z] ---> 8206311f855a [2024-02-25T10:00:51.517Z] Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev [2024-02-25T10:00:51.778Z] ---> Running in b545e5fa1f2f [2024-02-25T10:00:52.041Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-25T10:00:52.041Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-25T10:00:52.301Z] OK: 264 MiB in 52 packages [2024-02-25T10:00:52.867Z] Removing intermediate container b545e5fa1f2f [2024-02-25T10:00:52.867Z] ---> f6358a80161f [2024-02-25T10:00:52.867Z] Step 7/24 : COPY go.mod vendor* ./ [2024-02-25T10:00:52.867Z] ---> e908b82d900c [2024-02-25T10:00:52.867Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-25T10:00:52.867Z] ---> Running in cb9160f4e7ae [2024-02-25T10:00:53.803Z] Removing intermediate container cb9160f4e7ae [2024-02-25T10:00:53.803Z] ---> f18c99396cb5 [2024-02-25T10:00:53.803Z] Step 9/24 : COPY . . [2024-02-25T10:00:53.803Z] ---> b217a381ef8f [2024-02-25T10:00:53.803Z] Step 10/24 : RUN ${MAKE} [2024-02-25T10:00:53.803Z] ---> Running in 2d9140b96417 [2024-02-25T10:00:54.062Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-s7 ./cmd [2024-02-25T10:01:03.043Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1674 in /w/workspace/edgexfoundry_device-s7_PR-9 [Pipeline] { [Pipeline] ws [2024-02-25T10:01:03.083Z] Running in /w/workspace/device-s7/7 [Pipeline] { [Pipeline] checkout [2024-02-25T10:01:06.153Z] Selected Git installation does not exist. Using Default [2024-02-25T10:01:06.153Z] The recommended git tool is: NONE [2024-02-25T10:01:10.810Z] using credential edgex-jenkins-ssh [2024-02-25T10:01:10.837Z] Cloning the remote Git repository [2024-02-25T10:01:10.881Z] Cloning repository git@github.com:edgexfoundry/device-s7.git [2024-02-25T10:01:10.981Z] > git init /w/workspace/device-s7/7 # timeout=10 [2024-02-25T10:01:11.150Z] Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git [2024-02-25T10:01:11.151Z] > git --version # timeout=10 [2024-02-25T10:01:11.173Z] > git --version # 'git version 2.25.1' [2024-02-25T10:01:11.175Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-25T10:01:11.348Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-02-25T10:01:11.984Z] > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 [2024-02-25T10:01:12.010Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-02-25T10:01:13.024Z] > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 [2024-02-25T10:01:13.065Z] Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git [2024-02-25T10:01:13.067Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-25T10:01:15.995Z] Removing intermediate container 2d9140b96417 [2024-02-25T10:01:15.995Z] ---> da458eba0a71 [2024-02-25T10:01:15.995Z] Step 11/24 : FROM alpine:3.18 [2024-02-25T10:01:15.995Z] 3.18: Pulling from library/alpine [2024-02-25T10:01:15.995Z] 619be1103602: Pulling fs layer [2024-02-25T10:01:15.995Z] 619be1103602: Verifying Checksum [2024-02-25T10:01:15.995Z] 619be1103602: Download complete [2024-02-25T10:01:15.995Z] 619be1103602: Pull complete [2024-02-25T10:01:15.995Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-02-25T10:01:15.995Z] Status: Downloaded newer image for alpine:3.18 [2024-02-25T10:01:15.995Z] ---> d3782b16ccc9 [2024-02-25T10:01:15.995Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T10:01:15.995Z] ---> Running in 4429614792cc [2024-02-25T10:01:15.995Z] Removing intermediate container 4429614792cc [2024-02-25T10:01:15.995Z] ---> 89699cca785b [2024-02-25T10:01:15.995Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-02-25T10:01:15.995Z] ---> Running in 1a727b1a23c3 [2024-02-25T10:01:15.995Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-25T10:01:15.995Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-25T10:01:15.995Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-02-25T10:01:15.995Z] Executing busybox-1.36.1-r5.trigger [2024-02-25T10:01:15.995Z] OK: 7 MiB in 16 packages [2024-02-25T10:01:16.132Z] Merging remotes/origin/main commit 1b057092ee19ade1a8316e5cb795699e1e50525a into PR head commit be9287983f4b92c8cae0f409beca0b13e4ebd156 [2024-02-25T10:01:16.254Z] Removing intermediate container 1a727b1a23c3 [2024-02-25T10:01:16.254Z] ---> e2e971054400 [2024-02-25T10:01:16.254Z] Step 14/24 : RUN apk --no-cache upgrade [2024-02-25T10:01:16.255Z] ---> Running in f6b7669f0759 [2024-02-25T10:01:15.616Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/pull/9/head:refs/remotes/origin/PR-9 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-02-25T10:01:16.148Z] > git config core.sparsecheckout # timeout=10 [2024-02-25T10:01:16.212Z] > git checkout -f be9287983f4b92c8cae0f409beca0b13e4ebd156 # timeout=10 [2024-02-25T10:01:16.392Z] Merge succeeded, producing be9287983f4b92c8cae0f409beca0b13e4ebd156 [2024-02-25T10:01:16.393Z] Checking out Revision be9287983f4b92c8cae0f409beca0b13e4ebd156 (PR-9) [2024-02-25T10:01:16.562Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-25T10:01:16.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-25T10:01:16.836Z] OK: 7 MiB in 16 packages [2024-02-25T10:01:17.106Z] Removing intermediate container f6b7669f0759 [2024-02-25T10:01:17.106Z] ---> ccbe9b332757 [2024-02-25T10:01:17.106Z] Step 15/24 : WORKDIR / [2024-02-25T10:01:17.106Z] ---> Running in 598b78be6f82 [2024-02-25T10:01:17.378Z] Removing intermediate container 598b78be6f82 [2024-02-25T10:01:17.378Z] ---> 47cbacbdadc9 [2024-02-25T10:01:17.378Z] Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt [2024-02-25T10:01:17.378Z] ---> 8b58f44463c1 [2024-02-25T10:01:17.378Z] Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 [2024-02-25T10:01:16.298Z] > git remote # timeout=10 [2024-02-25T10:01:16.320Z] > git config --get remote.origin.url # timeout=10 [2024-02-25T10:01:16.339Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-25T10:01:16.352Z] > git merge 1b057092ee19ade1a8316e5cb795699e1e50525a # timeout=10 [2024-02-25T10:01:16.375Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-02-25T10:01:16.398Z] > git config core.sparsecheckout # timeout=10 [2024-02-25T10:01:16.412Z] > git checkout -f be9287983f4b92c8cae0f409beca0b13e4ebd156 # timeout=10 [2024-02-25T10:01:18.349Z] ---> 7e272f1820bd [2024-02-25T10:01:18.349Z] Step 18/24 : COPY --from=builder /device-s7/cmd/res /res [2024-02-25T10:01:18.349Z] ---> dc98cb654bcb [2024-02-25T10:01:18.349Z] Step 19/24 : EXPOSE 59994 [2024-02-25T10:01:18.349Z] ---> Running in 3ec6b41a52fa [2024-02-25T10:01:18.349Z] Removing intermediate container 3ec6b41a52fa [2024-02-25T10:01:18.349Z] ---> 464445fc77df [2024-02-25T10:01:18.349Z] Step 20/24 : ENTRYPOINT ["/device-s7"] [2024-02-25T10:01:18.349Z] ---> Running in b88cccf54bf6 [2024-02-25T10:01:18.608Z] Removing intermediate container b88cccf54bf6 [2024-02-25T10:01:18.608Z] ---> 3fe45828ddb3 [2024-02-25T10:01:18.608Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-02-25T10:01:18.608Z] ---> Running in f7d2a48fdc9c [2024-02-25T10:01:18.608Z] Removing intermediate container f7d2a48fdc9c [2024-02-25T10:01:18.608Z] ---> 3e6d0e7b1126 [2024-02-25T10:01:18.608Z] Step 22/24 : LABEL arch=amd64 [2024-02-25T10:01:18.608Z] ---> Running in b6409d47f057 [2024-02-25T10:01:18.608Z] Removing intermediate container b6409d47f057 [2024-02-25T10:01:18.608Z] ---> 7308d4223dc2 [2024-02-25T10:01:18.608Z] Step 23/24 : LABEL git_sha=be9287983f4b92c8cae0f409beca0b13e4ebd156 [2024-02-25T10:01:18.608Z] ---> Running in 27a2d1f48484 [2024-02-25T10:01:18.868Z] Removing intermediate container 27a2d1f48484 [2024-02-25T10:01:18.868Z] ---> bca5d2960273 [2024-02-25T10:01:18.868Z] Step 24/24 : LABEL version=0.0.0 [2024-02-25T10:01:18.868Z] ---> Running in aeceee6743f8 [2024-02-25T10:01:18.868Z] Removing intermediate container aeceee6743f8 [2024-02-25T10:01:18.868Z] ---> ff491ed0eb7f [2024-02-25T10:01:18.868Z] [Warning] One or more build-args [ARCH] were not consumed [2024-02-25T10:01:18.868Z] Successfully built ff491ed0eb7f [2024-02-25T10:01:18.868Z] Successfully tagged device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T10:01:19.602Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-25T10:01:19.603Z] [2024-02-25T10:01:19.603Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T10:01:19.835Z] Commit message: "fix: fix test process" [2024-02-25T10:01:19.925Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-25T10:01:19.925Z] latest: Pulling from edgex-lftools-log-publisher [2024-02-25T10:01:19.925Z] 5eb5b503b376: Pulling fs layer [2024-02-25T10:01:19.925Z] 5c69ac0246d0: Pulling fs layer [2024-02-25T10:01:19.925Z] ec43610c2a17: Pulling fs layer [2024-02-25T10:01:19.925Z] 3a2ae6a8a46f: Pulling fs layer [2024-02-25T10:01:19.925Z] 33b1e0a273af: Pulling fs layer [2024-02-25T10:01:19.925Z] 5d3b04190fa2: Pulling fs layer [2024-02-25T10:01:19.925Z] 2f39f015ded8: Pulling fs layer [2024-02-25T10:01:19.925Z] 5d3b04190fa2: Waiting [2024-02-25T10:01:19.925Z] 33b1e0a273af: Waiting [2024-02-25T10:01:19.925Z] 2f39f015ded8: Waiting [2024-02-25T10:01:19.925Z] 3a2ae6a8a46f: Waiting [2024-02-25T10:01:19.925Z] 5c69ac0246d0: Download complete [2024-02-25T10:01:19.925Z] 3a2ae6a8a46f: Verifying Checksum [2024-02-25T10:01:19.925Z] 3a2ae6a8a46f: Download complete [2024-02-25T10:01:19.925Z] 33b1e0a273af: Verifying Checksum [2024-02-25T10:01:19.925Z] 33b1e0a273af: Download complete [2024-02-25T10:01:19.925Z] ec43610c2a17: Verifying Checksum [2024-02-25T10:01:19.925Z] ec43610c2a17: Download complete [2024-02-25T10:01:19.925Z] 5d3b04190fa2: Verifying Checksum [2024-02-25T10:01:19.925Z] 5d3b04190fa2: Download complete [2024-02-25T10:01:20.183Z] 5eb5b503b376: Verifying Checksum [2024-02-25T10:01:20.183Z] 5eb5b503b376: Download complete [2024-02-25T10:01:20.251Z] [2024-02-25T10:01:20.252Z] GitHub has been notified of this commit’s build result [2024-02-25T10:01:20.252Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-25T10:01:20.748Z] 2f39f015ded8: Verifying Checksum [2024-02-25T10:01:20.748Z] 2f39f015ded8: Download complete [2024-02-25T10:01:21.098Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-02-25T10:01:21.098Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-02-25T10:01:21.098Z] Dload Upload Total Spent Left Speed [2024-02-25T10:01:21.098Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 125k 0 --:--:-- --:--:-- --:--:-- 125k [Pipeline] sh [2024-02-25T10:01:21.316Z] 5eb5b503b376: Pull complete [2024-02-25T10:01:21.435Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-02-25T10:01:21.575Z] 5c69ac0246d0: Pull complete [2024-02-25T10:01:21.761Z] + sudo tee /etc/docker/daemon.new [2024-02-25T10:01:21.761Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-02-25T10:01:21.761Z] { [2024-02-25T10:01:21.761Z] "registry-mirrors": [ [2024-02-25T10:01:21.761Z] "https://nexus3.edgexfoundry.org:10001" [2024-02-25T10:01:21.761Z] ], [2024-02-25T10:01:21.761Z] "bip": "10.250.0.254/24", [2024-02-25T10:01:21.761Z] "hosts": [ [2024-02-25T10:01:21.761Z] "tcp://0.0.0.0:5555", [2024-02-25T10:01:21.761Z] "unix:///var/run/docker.sock" [2024-02-25T10:01:21.761Z] ], [2024-02-25T10:01:21.761Z] "mtu": 1458, [2024-02-25T10:01:21.761Z] "selinux-enabled": true, [2024-02-25T10:01:21.761Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-02-25T10:01:21.761Z] } [Pipeline] sh [2024-02-25T10:01:21.834Z] ec43610c2a17: Pull complete [2024-02-25T10:01:22.093Z] 3a2ae6a8a46f: Pull complete [2024-02-25T10:01:22.093Z] 33b1e0a273af: Pull complete [2024-02-25T10:01:22.104Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-02-25T10:01:22.352Z] 5d3b04190fa2: Pull complete [2024-02-25T10:01:22.429Z] + sudo service docker restart [2024-02-25T10:01:26.568Z] 2f39f015ded8: Pull complete [2024-02-25T10:01:26.568Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-02-25T10:01:26.568Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-25T10:01:26.568Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T10:01:26.779Z] prd-ubuntu20.04-docker-8c-8g-1673 does not seem to be running inside a container [2024-02-25T10:01:26.817Z] $ 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/edgexfoundry_device-s7_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@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 [2024-02-25T10:01:31.432Z] $ docker top c78bf97b94028f56b2ead43e1d70a854d68b1763bef8d2752813496f309d379e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-25T10:01:31.871Z] ---> job-cost.sh [2024-02-25T10:01:31.871Z] lf-activate-venv: SKIPPING [2024-02-25T10:01:31.871Z] INFO: No Stack... [2024-02-25T10:01:32.131Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-02-25T10:01:32.395Z] INFO: Archiving Costs [Pipeline] sh [2024-02-25T10:01:32.680Z] + cat /w/workspace/edgexfoundry_device-s7_PR-9/archives/cost.csv [2024-02-25T10:01:32.680Z] + cut -d, -f6 [Pipeline] lock [2024-02-25T10:01:32.692Z] Trying to acquire lock on [jenkins-edgexfoundry-device-s7-PR-9-7-stack-cost] [2024-02-25T10:01:32.702Z] Resource [jenkins-edgexfoundry-device-s7-PR-9-7-stack-cost] did not exist. Created. [2024-02-25T10:01:32.707Z] Lock acquired on [jenkins-edgexfoundry-device-s7-PR-9-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-02-25T10:01:33.059Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-02-25T10:01:33.112Z] Stashed 1 file(s) [Pipeline] } [2024-02-25T10:01:33.119Z] Lock released on resource [jenkins-edgexfoundry-device-s7-PR-9-7-stack-cost] [Pipeline] // lock [Pipeline] } [2024-02-25T10:01:33.195Z] $ docker stop --time=1 c78bf97b94028f56b2ead43e1d70a854d68b1763bef8d2752813496f309d379e [2024-02-25T10:01:34.331Z] $ docker rm -f --volumes c78bf97b94028f56b2ead43e1d70a854d68b1763bef8d2752813496f309d379e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-25T10:01:40.699Z] provisioning config files... [2024-02-25T10:01:40.728Z] copy managed file [device-s7-settings] to file:/w/workspace/device-s7/7@tmp/config4928700740216431545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-25T10:01:41.190Z] ---> ****-login.sh [2024-02-25T10:01:41.190Z] nexus3.edgexfoundry.org:10001 [2024-02-25T10:01:41.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T10:01:41.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T10:01:41.730Z] Configure a credential helper to remove this warning. See [2024-02-25T10:01:41.730Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T10:01:41.730Z] [2024-02-25T10:01:41.730Z] Login Succeeded [2024-02-25T10:01:41.730Z] nexus3.edgexfoundry.org:10002 [2024-02-25T10:01:42.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T10:01:42.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T10:01:42.271Z] Configure a credential helper to remove this warning. See [2024-02-25T10:01:42.272Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T10:01:42.272Z] [2024-02-25T10:01:42.272Z] Login Succeeded [2024-02-25T10:01:42.272Z] nexus3.edgexfoundry.org:10003 [2024-02-25T10:01:42.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T10:01:42.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T10:01:42.542Z] Configure a credential helper to remove this warning. See [2024-02-25T10:01:42.542Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T10:01:42.542Z] [2024-02-25T10:01:42.542Z] Login Succeeded [2024-02-25T10:01:42.542Z] nexus3.edgexfoundry.org:10004 [2024-02-25T10:01:42.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T10:01:43.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T10:01:43.084Z] Configure a credential helper to remove this warning. See [2024-02-25T10:01:43.084Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T10:01:43.084Z] [2024-02-25T10:01:43.084Z] Login Succeeded [2024-02-25T10:01:43.084Z] ****.io [2024-02-25T10:01:43.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T10:01:43.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T10:01:43.626Z] Configure a credential helper to remove this warning. See [2024-02-25T10:01:43.626Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T10:01:43.626Z] [2024-02-25T10:01:43.626Z] Login Succeeded [2024-02-25T10:01:43.626Z] ---> ****-login.sh ends [Pipeline] } [2024-02-25T10:01:43.643Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-02-25T10:01:44.009Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-25T10:01:44.050Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-25T10:01:44.090Z] ========================================================= [2024-02-25T10:01:44.090Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-02-25T10:01:44.090Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T10:01:44.560Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-02-25T10:01:44.826Z] Sending build context to Docker daemon 419.8kB [2024-02-25T10:01:44.826Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-02-25T10:01:44.826Z] Step 2/10 : FROM ${BASE} AS builder [2024-02-25T10:01:45.100Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-02-25T10:01:45.100Z] 9fda8d8052c6: Pulling fs layer [2024-02-25T10:01:45.100Z] 5d54e960e981: Pulling fs layer [2024-02-25T10:01:45.100Z] c4a7e357bf2a: Pulling fs layer [2024-02-25T10:01:45.100Z] f0e02332f6b5: Pulling fs layer [2024-02-25T10:01:45.100Z] 872ee5b61b7b: Pulling fs layer [2024-02-25T10:01:45.100Z] 0c6a40ed1a82: Pulling fs layer [2024-02-25T10:01:45.100Z] 94ae7d8d031c: Pulling fs layer [2024-02-25T10:01:45.100Z] 872ee5b61b7b: Waiting [2024-02-25T10:01:45.100Z] 0c6a40ed1a82: Waiting [2024-02-25T10:01:45.100Z] 94ae7d8d031c: Waiting [2024-02-25T10:01:45.100Z] f0e02332f6b5: Waiting [2024-02-25T10:01:45.100Z] 5d54e960e981: Verifying Checksum [2024-02-25T10:01:45.100Z] 5d54e960e981: Download complete [2024-02-25T10:01:45.100Z] f0e02332f6b5: Verifying Checksum [2024-02-25T10:01:45.100Z] f0e02332f6b5: Download complete [2024-02-25T10:01:45.100Z] 872ee5b61b7b: Verifying Checksum [2024-02-25T10:01:45.100Z] 872ee5b61b7b: Download complete [2024-02-25T10:01:45.100Z] 9fda8d8052c6: Verifying Checksum [2024-02-25T10:01:45.100Z] 9fda8d8052c6: Download complete [2024-02-25T10:01:45.697Z] 94ae7d8d031c: Verifying Checksum [2024-02-25T10:01:45.697Z] 94ae7d8d031c: Download complete [2024-02-25T10:01:45.966Z] 9fda8d8052c6: Pull complete [2024-02-25T10:01:46.933Z] 5d54e960e981: Pull complete [2024-02-25T10:01:46.933Z] c4a7e357bf2a: Verifying Checksum [2024-02-25T10:01:46.933Z] c4a7e357bf2a: Download complete [2024-02-25T10:01:47.893Z] 0c6a40ed1a82: Verifying Checksum [2024-02-25T10:01:47.893Z] 0c6a40ed1a82: Download complete [2024-02-25T10:02:00.220Z] c4a7e357bf2a: Pull complete [2024-02-25T10:02:00.220Z] f0e02332f6b5: Pull complete [2024-02-25T10:02:00.220Z] 872ee5b61b7b: Pull complete [2024-02-25T10:02:08.446Z] 0c6a40ed1a82: Pull complete [2024-02-25T10:02:09.858Z] 94ae7d8d031c: Pull complete [2024-02-25T10:02:09.858Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-02-25T10:02:09.858Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-02-25T10:02:09.858Z] ---> 86de565de09d [2024-02-25T10:02:09.858Z] Step 3/10 : ARG MAKE=make build [2024-02-25T10:02:11.814Z] ---> Running in a246b236e04a [2024-02-25T10:02:11.814Z] Removing intermediate container a246b236e04a [2024-02-25T10:02:11.814Z] ---> bf0978b7a999 [2024-02-25T10:02:11.814Z] Step 4/10 : WORKDIR /device-s7 [2024-02-25T10:02:11.814Z] ---> Running in 96ac11ed2b2f [2024-02-25T10:02:12.400Z] Removing intermediate container 96ac11ed2b2f [2024-02-25T10:02:12.400Z] ---> 4cdb15e9ea4b [2024-02-25T10:02:12.400Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T10:02:12.400Z] ---> Running in 47633518247c [2024-02-25T10:02:12.671Z] Removing intermediate container 47633518247c [2024-02-25T10:02:12.671Z] ---> e5e5c3c1c794 [2024-02-25T10:02:12.671Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev [2024-02-25T10:02:12.671Z] ---> Running in a4c3b23f65d2 [2024-02-25T10:02:14.082Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-25T10:02:14.349Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-25T10:02:15.206Z] OK: 266 MiB in 52 packages [2024-02-25T10:02:16.172Z] Removing intermediate container a4c3b23f65d2 [2024-02-25T10:02:16.172Z] ---> 405278393a4f [2024-02-25T10:02:16.172Z] Step 7/10 : COPY go.mod vendor* ./ [2024-02-25T10:02:16.761Z] ---> 3f339293c429 [2024-02-25T10:02:16.761Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-25T10:02:16.761Z] ---> Running in d4a86deb4e2f [2024-02-25T10:03:40.674Z] Removing intermediate container d4a86deb4e2f [2024-02-25T10:03:40.674Z] ---> b1529ec51d92 [2024-02-25T10:03:40.674Z] Step 9/10 : COPY . . [2024-02-25T10:03:40.674Z] ---> 34fdd04d94c2 [2024-02-25T10:03:40.674Z] Step 10/10 : RUN ${MAKE} [2024-02-25T10:03:40.674Z] ---> Running in a7c7c54791ce [2024-02-25T10:03:40.674Z] noop [2024-02-25T10:03:40.674Z] Removing intermediate container a7c7c54791ce [2024-02-25T10:03:40.674Z] ---> b46edd856279 [2024-02-25T10:03:40.674Z] Successfully built b46edd856279 [2024-02-25T10:03:40.674Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T10:03:41.117Z] + docker inspect -f . ci-base-image-arm64 [2024-02-25T10:03:41.117Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T10:03:41.373Z] prd-ubuntu20.04-docker-arm64-4c-16g-1674 does not seem to be running inside a container [2024-02-25T10:03:41.435Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-s7/7 -v /w/workspace/device-s7/7:/w/workspace/device-s7/7:rw,z -v /w/workspace/device-s7/7@tmp:/w/workspace/device-s7/7@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-arm64 cat [2024-02-25T10:03:46.516Z] $ docker top 44c7f5116c88d822ae3e8758d6aeddf7c2601a6e1f50b8c03d15f3c277dc0e0d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-25T10:03:47.396Z] + go version [2024-02-25T10:03:47.396Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-02-25T10:03:47.412Z] $ docker stop --time=1 44c7f5116c88d822ae3e8758d6aeddf7c2601a6e1f50b8c03d15f3c277dc0e0d [2024-02-25T10:03:49.003Z] $ docker rm -f --volumes 44c7f5116c88d822ae3e8758d6aeddf7c2601a6e1f50b8c03d15f3c277dc0e0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T10:03:49.816Z] + docker inspect -f . ci-base-image-arm64 [2024-02-25T10:03:49.816Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T10:03:50.047Z] prd-ubuntu20.04-docker-arm64-4c-16g-1674 does not seem to be running inside a container [2024-02-25T10:03:50.098Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-s7/7 -v /w/workspace/device-s7/7:/w/workspace/device-s7/7:rw,z -v /w/workspace/device-s7/7@tmp:/w/workspace/device-s7/7@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-arm64 cat [2024-02-25T10:03:51.249Z] $ docker top 34723b5fd2f469854317a37fc96ba0127310933209cd6879f78dd50556409dcc -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-25T10:03:51.821Z] + git config --global --add safe.directory /w/workspace/device-s7/7 [Pipeline] fileExists [Pipeline] sh [2024-02-25T10:03:52.765Z] + make test [2024-02-25T10:03:52.766Z] go test -race -coverprofile=coverage.out ./... [2024-02-25T10:04:24.993Z] ? github.com/edgexfoundry/device-s7 [no test files] [2024-02-25T10:06:05.854Z] ? github.com/edgexfoundry/device-s7/cmd [no test files] [2024-02-25T10:06:05.854Z] ? github.com/edgexfoundry/device-s7/internal/driver [no test files] [2024-02-25T10:06:05.854Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-02-25T10:06:05.854Z] go vet ./... [2024-02-25T10:07:57.518Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-02-25T10:07:57.518Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-02-25T10:07:57.518Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-02-25T10:07:57.537Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-02-25T10:07:57.581Z] $ docker stop --time=1 34723b5fd2f469854317a37fc96ba0127310933209cd6879f78dd50556409dcc [2024-02-25T10:07:59.494Z] $ docker rm -f --volumes 34723b5fd2f469854317a37fc96ba0127310933209cd6879f78dd50556409dcc [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-25T10:08:01.007Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-02-25T10:08:01.062Z] Warning: overwriting stash ‘coverage-report’ [2024-02-25T10:08:01.649Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-25T10:08:02.327Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-02-25T10:08:02.675Z] + ls -al . [2024-02-25T10:08:02.675Z] total 132 [2024-02-25T10:08:02.675Z] drwxrwxr-x 7 jenkins jenkins 4096 Feb 25 10:03 . [2024-02-25T10:08:02.675Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 10:01 .. [2024-02-25T10:08:02.675Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 10:01 .git [2024-02-25T10:08:02.675Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 10:01 .github [2024-02-25T10:08:02.675Z] -rw-rw-r-- 1 jenkins jenkins 237 Feb 25 10:01 .gitignore [2024-02-25T10:08:02.675Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 25 10:01 .golangci.yml [2024-02-25T10:08:02.675Z] -rw-rw-r-- 1 jenkins jenkins 11920 Feb 25 10:01 Attribution.txt [2024-02-25T10:08:02.675Z] -rw-rw-r-- 1 jenkins jenkins 1546 Feb 25 10:01 Dockerfile [2024-02-25T10:08:02.675Z] -rw-rw-r-- 1 jenkins jenkins 643 Feb 25 10:01 Jenkinsfile [2024-02-25T10:08:02.676Z] -rw-rw-r-- 1 jenkins jenkins 10947 Feb 25 10:01 LICENSE [2024-02-25T10:08:02.676Z] -rw-rw-r-- 1 jenkins jenkins 1903 Feb 25 10:01 Makefile [2024-02-25T10:08:02.676Z] -rw-rw-r-- 1 jenkins jenkins 614 Feb 25 10:01 OWNERS.md [2024-02-25T10:08:02.676Z] -rw-rw-r-- 1 jenkins jenkins 2393 Feb 25 10:01 README.md [2024-02-25T10:08:02.676Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 25 09:59 VERSION [2024-02-25T10:08:02.676Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 10:01 bin [2024-02-25T10:08:02.676Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 10:01 cmd [2024-02-25T10:08:02.676Z] -rw-r--r-- 1 jenkins jenkins 13 Feb 25 10:03 coverage.out [2024-02-25T10:08:02.676Z] -rw-rw-r-- 1 jenkins jenkins 3674 Feb 25 10:01 go.mod [2024-02-25T10:08:02.676Z] -rw-rw-r-- 1 jenkins jenkins 35223 Feb 25 10:01 go.sum [2024-02-25T10:08:02.676Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 10:01 internal [2024-02-25T10:08:02.676Z] -rw-rw-r-- 1 jenkins jenkins 223 Feb 25 10:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T10:08:03.083Z] + docker build -t device-s7-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=be9287983f4b92c8cae0f409beca0b13e4ebd156 --label arch=arm64 --label version=0.0.0 . [2024-02-25T10:08:03.364Z] Sending build context to Docker daemon 420.9kB [2024-02-25T10:08:03.364Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-02-25T10:08:03.364Z] Step 2/24 : FROM ${BASE} AS builder [2024-02-25T10:08:03.364Z] ---> b46edd856279 [2024-02-25T10:08:03.364Z] Step 3/24 : ARG MAKE=make build [2024-02-25T10:08:03.635Z] ---> Running in c7c1d77fd8cf [2024-02-25T10:08:03.900Z] Removing intermediate container c7c1d77fd8cf [2024-02-25T10:08:03.900Z] ---> bae8131e6132 [2024-02-25T10:08:03.900Z] Step 4/24 : WORKDIR /device-s7 [2024-02-25T10:08:03.900Z] ---> Running in d92745b7425c [2024-02-25T10:08:04.167Z] Removing intermediate container d92745b7425c [2024-02-25T10:08:04.167Z] ---> 3b1415455697 [2024-02-25T10:08:04.167Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T10:08:04.167Z] ---> Running in 946019cb8fec [2024-02-25T10:08:04.755Z] Removing intermediate container 946019cb8fec [2024-02-25T10:08:04.755Z] ---> 5538bbd6b18f [2024-02-25T10:08:04.755Z] Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev [2024-02-25T10:08:04.755Z] ---> Running in b2e90e9416bf [2024-02-25T10:08:05.718Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-25T10:08:05.984Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-25T10:08:06.947Z] OK: 266 MiB in 52 packages [2024-02-25T10:08:07.916Z] Removing intermediate container b2e90e9416bf [2024-02-25T10:08:07.916Z] ---> 751a7ff0d295 [2024-02-25T10:08:07.916Z] Step 7/24 : COPY go.mod vendor* ./ [2024-02-25T10:08:11.259Z] ---> 2f1386aca86a [2024-02-25T10:08:11.259Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-25T10:08:11.259Z] ---> Running in 03c305c17d02 [2024-02-25T10:08:13.844Z] Removing intermediate container 03c305c17d02 [2024-02-25T10:08:13.844Z] ---> 500b3f0637f2 [2024-02-25T10:08:13.844Z] Step 9/24 : COPY . . [2024-02-25T10:08:14.802Z] ---> 178df3920d4c [2024-02-25T10:08:14.802Z] Step 10/24 : RUN ${MAKE} [2024-02-25T10:08:14.802Z] ---> Running in 91709a29cb2f [2024-02-25T10:08:15.759Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-s7 ./cmd [2024-02-25T10:10:07.416Z] Removing intermediate container 91709a29cb2f [2024-02-25T10:10:07.416Z] ---> 79cc6dc1e9f6 [2024-02-25T10:10:07.416Z] Step 11/24 : FROM alpine:3.18 [2024-02-25T10:10:07.416Z] 3.18: Pulling from library/alpine [2024-02-25T10:10:07.416Z] c6b39de5b339: Pulling fs layer [2024-02-25T10:10:07.416Z] c6b39de5b339: Download complete [2024-02-25T10:10:07.416Z] c6b39de5b339: Pull complete [2024-02-25T10:10:07.416Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-02-25T10:10:07.416Z] Status: Downloaded newer image for alpine:3.18 [2024-02-25T10:10:07.416Z] ---> 33abbf032149 [2024-02-25T10:10:07.416Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T10:10:07.416Z] ---> Running in 212d76220c2d [2024-02-25T10:10:07.416Z] Removing intermediate container 212d76220c2d [2024-02-25T10:10:07.416Z] ---> e6831ac7a573 [2024-02-25T10:10:07.416Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-02-25T10:10:07.416Z] ---> Running in 7b5c90396ae3 [2024-02-25T10:10:07.416Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-25T10:10:07.416Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-25T10:10:07.416Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-02-25T10:10:07.416Z] Executing busybox-1.36.1-r5.trigger [2024-02-25T10:10:07.416Z] OK: 8 MiB in 16 packages [2024-02-25T10:10:07.416Z] Removing intermediate container 7b5c90396ae3 [2024-02-25T10:10:07.416Z] ---> 55d66df3ef7b [2024-02-25T10:10:07.416Z] Step 14/24 : RUN apk --no-cache upgrade [2024-02-25T10:10:07.416Z] ---> Running in 72ee9b83486f [2024-02-25T10:10:07.416Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-25T10:10:07.416Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-25T10:10:07.416Z] OK: 8 MiB in 16 packages [2024-02-25T10:10:07.416Z] Removing intermediate container 72ee9b83486f [2024-02-25T10:10:07.416Z] ---> c77938e6b315 [2024-02-25T10:10:07.416Z] Step 15/24 : WORKDIR / [2024-02-25T10:10:07.416Z] ---> Running in f94500474a57 [2024-02-25T10:10:07.416Z] Removing intermediate container f94500474a57 [2024-02-25T10:10:07.416Z] ---> bccb5d9f583c [2024-02-25T10:10:07.416Z] Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt [2024-02-25T10:10:10.752Z] ---> d3c13bd60dd7 [2024-02-25T10:10:10.752Z] Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 [2024-02-25T10:10:12.163Z] ---> 6947b943e537 [2024-02-25T10:10:12.163Z] Step 18/24 : COPY --from=builder /device-s7/cmd/res /res [2024-02-25T10:10:12.431Z] ---> d88fdab4f3c3 [2024-02-25T10:10:12.431Z] Step 19/24 : EXPOSE 59994 [2024-02-25T10:10:12.431Z] ---> Running in 9bbaa89b5436 [2024-02-25T10:10:12.703Z] Removing intermediate container 9bbaa89b5436 [2024-02-25T10:10:12.703Z] ---> e2c53fa4c139 [2024-02-25T10:10:12.703Z] Step 20/24 : ENTRYPOINT ["/device-s7"] [2024-02-25T10:10:12.970Z] ---> Running in 7a579275e616 [2024-02-25T10:10:13.237Z] Removing intermediate container 7a579275e616 [2024-02-25T10:10:13.237Z] ---> fbbf2f7c8a2f [2024-02-25T10:10:13.237Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-02-25T10:10:13.237Z] ---> Running in 30c67e99b262 [2024-02-25T10:10:13.503Z] Removing intermediate container 30c67e99b262 [2024-02-25T10:10:13.503Z] ---> c22ff8e4d2aa [2024-02-25T10:10:13.503Z] Step 22/24 : LABEL arch=arm64 [2024-02-25T10:10:13.503Z] ---> Running in 58beacd1e239 [2024-02-25T10:10:14.091Z] Removing intermediate container 58beacd1e239 [2024-02-25T10:10:14.091Z] ---> 668dae81eb8d [2024-02-25T10:10:14.091Z] Step 23/24 : LABEL git_sha=be9287983f4b92c8cae0f409beca0b13e4ebd156 [2024-02-25T10:10:14.091Z] ---> Running in 5cb2276f45d7 [2024-02-25T10:10:14.358Z] Removing intermediate container 5cb2276f45d7 [2024-02-25T10:10:14.358Z] ---> 53b95aeca011 [2024-02-25T10:10:14.358Z] Step 24/24 : LABEL version=0.0.0 [2024-02-25T10:10:14.358Z] ---> Running in 422127dd7479 [2024-02-25T10:10:14.623Z] Removing intermediate container 422127dd7479 [2024-02-25T10:10:14.623Z] ---> 034e4cf14991 [2024-02-25T10:10:14.623Z] [Warning] One or more build-args [ARCH] were not consumed [2024-02-25T10:10:14.623Z] Successfully built 034e4cf14991 [2024-02-25T10:10:14.623Z] Successfully tagged device-s7-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 [2024-02-25T10:10:15.439Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-25T10:10:15.439Z] [2024-02-25T10:10:15.439Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T10:10:15.816Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-25T10:10:15.816Z] arm64: Pulling from edgex-lftools-log-publisher [2024-02-25T10:10:15.816Z] 8998bd30e6a1: Pulling fs layer [2024-02-25T10:10:15.816Z] 04944245beec: Pulling fs layer [2024-02-25T10:10:15.816Z] 699f458cf7ca: Pulling fs layer [2024-02-25T10:10:15.816Z] 765212b225bb: Pulling fs layer [2024-02-25T10:10:15.816Z] f23df028b6ca: Pulling fs layer [2024-02-25T10:10:15.816Z] d65c8cfc05b1: Pulling fs layer [2024-02-25T10:10:15.816Z] 2437ff75d9bd: Pulling fs layer [2024-02-25T10:10:15.816Z] 765212b225bb: Waiting [2024-02-25T10:10:15.816Z] d65c8cfc05b1: Waiting [2024-02-25T10:10:15.816Z] 2437ff75d9bd: Waiting [2024-02-25T10:10:15.816Z] f23df028b6ca: Waiting [2024-02-25T10:10:16.082Z] 04944245beec: Verifying Checksum [2024-02-25T10:10:16.082Z] 04944245beec: Download complete [2024-02-25T10:10:16.082Z] 765212b225bb: Download complete [2024-02-25T10:10:16.082Z] f23df028b6ca: Verifying Checksum [2024-02-25T10:10:16.082Z] f23df028b6ca: Download complete [2024-02-25T10:10:16.082Z] d65c8cfc05b1: Verifying Checksum [2024-02-25T10:10:16.082Z] d65c8cfc05b1: Download complete [2024-02-25T10:10:16.082Z] 699f458cf7ca: Verifying Checksum [2024-02-25T10:10:16.082Z] 699f458cf7ca: Download complete [2024-02-25T10:10:16.663Z] 8998bd30e6a1: Verifying Checksum [2024-02-25T10:10:16.663Z] 8998bd30e6a1: Download complete [2024-02-25T10:10:19.252Z] 2437ff75d9bd: Verifying Checksum [2024-02-25T10:10:21.196Z] 8998bd30e6a1: Pull complete [2024-02-25T10:10:21.779Z] 04944245beec: Pull complete [2024-02-25T10:10:25.119Z] 699f458cf7ca: Pull complete [2024-02-25T10:10:25.119Z] 765212b225bb: Pull complete [2024-02-25T10:10:25.701Z] f23df028b6ca: Pull complete [2024-02-25T10:10:25.701Z] d65c8cfc05b1: Pull complete [2024-02-25T10:10:43.919Z] 2437ff75d9bd: Pull complete [2024-02-25T10:10:43.919Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-02-25T10:10:43.919Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-25T10:10:43.919Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T10:10:44.256Z] prd-ubuntu20.04-docker-arm64-4c-16g-1674 does not seem to be running inside a container [2024-02-25T10:10:44.319Z] $ 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-s7/7 -v /w/workspace/device-s7/7:/w/workspace/device-s7/7:rw,z -v /w/workspace/device-s7/7@tmp:/w/workspace/device-s7/7@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:arm64 cat [2024-02-25T10:10:46.935Z] $ docker top c050773fabe7d0a442343bd4e11310c88f376b523f325e697fdf9e4fbd7a8bc8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-25T10:10:47.873Z] ---> job-cost.sh [2024-02-25T10:10:47.873Z] lf-activate-venv: SKIPPING [2024-02-25T10:10:47.873Z] INFO: No Stack... [2024-02-25T10:10:48.453Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-02-25T10:10:49.033Z] INFO: Archiving Costs [Pipeline] sh [2024-02-25T10:10:49.353Z] + cat /w/workspace/device-s7/7/archives/cost.csv [2024-02-25T10:10:49.353Z] + cut -d, -f6 [Pipeline] lock [2024-02-25T10:10:49.672Z] Trying to acquire lock on [jenkins-edgexfoundry-device-s7-PR-9-7-stack-cost] [2024-02-25T10:10:49.678Z] Resource [jenkins-edgexfoundry-device-s7-PR-9-7-stack-cost] did not exist. Created. [2024-02-25T10:10:49.684Z] Lock acquired on [jenkins-edgexfoundry-device-s7-PR-9-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-02-25T10:10:50.087Z] /w/workspace/device-s7/7@tmp/durable-92df4fd3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-02-25T10:10:50.721Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-02-25T10:10:50.740Z] Warning: overwriting stash ‘stack-cost’ [2024-02-25T10:10:50.801Z] Stashed 1 file(s) [Pipeline] } [2024-02-25T10:10:50.812Z] Lock released on resource [jenkins-edgexfoundry-device-s7-PR-9-7-stack-cost] [Pipeline] // lock [Pipeline] } [2024-02-25T10:10:50.905Z] $ docker stop --time=1 c050773fabe7d0a442343bd4e11310c88f376b523f325e697fdf9e4fbd7a8bc8 [2024-02-25T10:10:55.313Z] $ docker rm -f --volumes c050773fabe7d0a442343bd4e11310c88f376b523f325e697fdf9e4fbd7a8bc8 [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 [2024-02-25T10:10:56.448Z] provisioning config files... [2024-02-25T10:10:56.448Z] not able to provide the file [ManagedFile: id=device-s7-codecov-token, targetLocation=null, variable=CODECOV_TOKEN_FILE], can't be resolved by any provider - maybe it got deleted by an administrator? [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-02-25T10:10:58.375Z] + [ -d /w/workspace/edgexfoundry_device-s7_PR-9/archives ] [2024-02-25T10:10:58.375Z] + ls -al /w/workspace/edgexfoundry_device-s7_PR-9/archives [2024-02-25T10:10:58.375Z] total 16 [2024-02-25T10:10:58.375Z] drwxr-xr-x 3 root root 4096 Feb 25 10:01 . [2024-02-25T10:10:58.375Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 25 10:01 .. [2024-02-25T10:10:58.375Z] drwxr-xr-x 2 root root 4096 Feb 25 10:01 cost [2024-02-25T10:10:58.375Z] -rw-r--r-- 1 root root 79 Feb 25 10:01 cost.csv [2024-02-25T10:10:58.375Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-9/archives [2024-02-25T10:10:58.375Z] + ls -al /w/workspace/edgexfoundry_device-s7_PR-9/archives [2024-02-25T10:10:58.375Z] total 16 [2024-02-25T10:10:58.375Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 25 10:01 . [2024-02-25T10:10:58.375Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 25 10:01 .. [2024-02-25T10:10:58.375Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 25 10:01 cost [2024-02-25T10:10:58.375Z] -rw-r--r-- 1 jenkins jenkins 79 Feb 25 10:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-02-25T10:10:58.663Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-25T10:10:59.526Z] ---> package-listing.sh [2024-02-25T10:10:59.526Z] ++ facter osfamily [2024-02-25T10:10:59.526Z] ++ tr '[:upper:]' '[:lower:]' [2024-02-25T10:10:59.785Z] + OS_FAMILY=debian [2024-02-25T10:10:59.785Z] + workspace=/w/workspace/edgexfoundry_device-s7_PR-9 [2024-02-25T10:10:59.785Z] + START_PACKAGES=/tmp/packages_start.txt [2024-02-25T10:10:59.785Z] + END_PACKAGES=/tmp/packages_end.txt [2024-02-25T10:10:59.785Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-02-25T10:10:59.785Z] + PACKAGES=/tmp/packages_start.txt [2024-02-25T10:10:59.785Z] + '[' /w/workspace/edgexfoundry_device-s7_PR-9 ']' [2024-02-25T10:10:59.785Z] + PACKAGES=/tmp/packages_end.txt [2024-02-25T10:10:59.785Z] + case "${OS_FAMILY}" in [2024-02-25T10:10:59.785Z] + grep '^ii' [2024-02-25T10:10:59.785Z] + dpkg -l [2024-02-25T10:10:59.785Z] + '[' -f /tmp/packages_start.txt ']' [2024-02-25T10:10:59.785Z] + '[' -f /tmp/packages_end.txt ']' [2024-02-25T10:10:59.785Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-02-25T10:10:59.785Z] + '[' /w/workspace/edgexfoundry_device-s7_PR-9 ']' [2024-02-25T10:10:59.785Z] + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-9/archives/ [2024-02-25T10:10:59.785Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_PR-9/archives/ [Pipeline] echo [2024-02-25T10:10:59.796Z] 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/edgexfoundry_device-s7_PR-9/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-02-25T10:11:00.074Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T10:11:00.672Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-25T10:11:00.672Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T10:11:00.821Z] prd-ubuntu20.04-docker-8c-8g-1673 does not seem to be running inside a container [2024-02-25T10:11:00.836Z] $ 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/edgexfoundry_device-s7_PR-9/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-s7_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-02-25T10:11:01.027Z] $ docker top d4ac70d69dd50c09686a492fb9591ab6e009ff865a6a23c175c8fa0767c9c190 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-25T10:11:01.463Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-02-25T10:11:01.749Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-02-25T10:11:02.032Z] + ls /var/log/sa-host [2024-02-25T10:11:02.032Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-25T10:11:02.212Z] provisioning config files... [2024-02-25T10:11:02.220Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config15545203878816134195tmp [Pipeline] { [Pipeline] echo [2024-02-25T10:11:02.302Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-25T10:11:02.584Z] ---> create-netrc.sh [Pipeline] } [2024-02-25T10:11:02.590Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-02-25T10:11:02.981Z] ---> python-tools-install.sh [Pipeline] echo [2024-02-25T10:11:02.988Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-25T10:11:03.267Z] ---> sudo-logs.sh [2024-02-25T10:11:03.267Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-02-25T10:11:03.336Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-25T10:11:03.619Z] ---> job-cost.sh [2024-02-25T10:11:03.619Z] lf-activate-venv: SKIPPING [2024-02-25T10:11:03.619Z] DEBUG: total: 0.2199999988079071 [2024-02-25T10:11:03.619Z] INFO: Retrieving Stack Cost... [2024-02-25T10:11:03.878Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-02-25T10:11:04.446Z] INFO: Archiving Costs [Pipeline] echo [2024-02-25T10:11:04.458Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-25T10:11:04.739Z] ---> logs-deploy.sh [2024-02-25T10:11:04.739Z] lf-activate-venv: SKIPPING [2024-02-25T10:11:04.739Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-9/7 [2024-02-25T10:11:04.739Z] INFO: archiving workspace using pattern(s): [2024-02-25T10:11:05.677Z] Archives upload complete. [2024-02-25T10:11:05.677Z] INFO: archiving logs to Nexus