Pull request #357 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 EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea rather than 2efac9f858049441aca0a06e4b7bd0e9cdc0159d Obtained Jenkinsfile from 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea 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-ssh5539905829039667246.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh11479109716624044517.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-357/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-onvif-camera/branches/PR-357/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10614291390738228790.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh8516148316569370355.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-onvif-camera/branches/PR-357/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-onvif-camera/branches/PR-357/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2728628088891007026.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-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 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-onvif-camera 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: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15136 in /w/workspace/undry_device-onvif-camera_PR-357 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-357 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.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-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea into PR head commit 2efac9f858049441aca0a06e4b7bd0e9cdc0159d Merge succeeded, producing 2efac9f858049441aca0a06e4b7bd0e9cdc0159d Checking out Revision 2efac9f858049441aca0a06e4b7bd0e9cdc0159d (PR-357) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2efac9f858049441aca0a06e4b7bd0e9cdc0159d # 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 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2efac9f858049441aca0a06e4b7bd0e9cdc0159d # timeout=10 Commit message: "fix: update names of postman calls" > git rev-list --no-walk affb027a51f3c291c312a736204f79867cb0a5d0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:55:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:55:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:55:03 ========================================================= 00:55:03 EdgeX Global Pipelines Version Info 00:55:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:55:04 ------------------- 00:55:04 stable info: 00:55:04 ------------------- 00:55:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:55:04 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:55:04 Message: update stable to v1.0.249 00:55:04 ------------------- 00:55:04 experimental info: 00:55:04 ------------------- 00:55:04 Commited By: **** collab-it+edgex@linuxfoundation.org 00:55:04 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:55:04 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2efac9f858049441aca0a06e4b7bd0e9cdc0159d [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2efac9f [Pipeline] echo 00:55:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:55:05 provisioning config files... 00:55:05 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-357@tmp/config6258990068781713543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:55:06 ---> docker-login.sh 00:55:06 nexus3.edgexfoundry.org:10001 00:55:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:06 Configure a credential helper to remove this warning. See 00:55:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:06 00:55:06 Login Succeeded 00:55:06 nexus3.edgexfoundry.org:10002 00:55:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:06 Configure a credential helper to remove this warning. See 00:55:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:06 00:55:06 Login Succeeded 00:55:06 nexus3.edgexfoundry.org:10003 00:55:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:06 Configure a credential helper to remove this warning. See 00:55:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:06 00:55:06 Login Succeeded 00:55:06 nexus3.edgexfoundry.org:10004 00:55:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:06 Configure a credential helper to remove this warning. See 00:55:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:06 00:55:06 Login Succeeded 00:55:06 docker.io 00:55:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:06 Configure a credential helper to remove this warning. See 00:55:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:06 00:55:06 Login Succeeded 00:55:06 ---> docker-login.sh ends [Pipeline] } 00:55:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:55:07 + git rev-list -1 --merges 2efac9f858049441aca0a06e4b7bd0e9cdc0159d~1..2efac9f858049441aca0a06e4b7bd0e9cdc0159d [Pipeline] echo 00:55:07 -----------> git rev-list -1 --merges 2efac9f858049441aca0a06e4b7bd0e9cdc0159d~1..2efac9f858049441aca0a06e4b7bd0e9cdc0159d 2efac9f858049441aca0a06e4b7bd0e9cdc0159d [false] [Pipeline] sh 00:55:07 + git log --format=format:%s -1 2efac9f858049441aca0a06e4b7bd0e9cdc0159d [Pipeline] echo 00:55:07 ========================================================= 00:55:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:55:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:55:07 + git log --format=format:%s -1 2efac9f858049441aca0a06e4b7bd0e9cdc0159d [Pipeline] echo 00:55:07 [semverPrep] GIT_COMMIT: 2efac9f858049441aca0a06e4b7bd0e9cdc0159d, Commit Message: fix: update names of postman calls [Pipeline] echo 00:55:07 [semverPrep] This is not a build commit. [Pipeline] sh 00:55:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:55:08 + grep -v github /etc/ssh/ssh_known_hosts 00:55:08 + [ -e /tmp/ssh_known_hosts ] 00:55:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:55:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:55:08 + sudo tee -a /etc/ssh/ssh_known_hosts 00:55:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:55:08 00:55:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:55:09 0.1.4: Pulling from edgex-devops/py-git-semver 00:55:09 b85a868b505f: Pulling fs layer 00:55:09 e2be974225ed: Pulling fs layer 00:55:09 339a4e72a1f5: Pulling fs layer 00:55:09 988bab9f4d93: Pulling fs layer 00:55:09 1469e6f7b9e6: Pulling fs layer 00:55:09 eaf3925da568: Pulling fs layer 00:55:09 bab4dde63d76: Pulling fs layer 00:55:09 bde34c3a00c8: Pulling fs layer 00:55:09 b352a97aabf1: Pulling fs layer 00:55:09 4872d77fe225: Pulling fs layer 00:55:09 5851b861e8e6: Pulling fs layer 00:55:09 1469e6f7b9e6: Waiting 00:55:09 eaf3925da568: Waiting 00:55:09 bab4dde63d76: Waiting 00:55:09 bde34c3a00c8: Waiting 00:55:09 b352a97aabf1: Waiting 00:55:09 4872d77fe225: Waiting 00:55:09 5851b861e8e6: Waiting 00:55:09 988bab9f4d93: Waiting 00:55:09 e2be974225ed: Verifying Checksum 00:55:09 988bab9f4d93: Verifying Checksum 00:55:09 988bab9f4d93: Download complete 00:55:09 1469e6f7b9e6: Verifying Checksum 00:55:09 1469e6f7b9e6: Download complete 00:55:09 eaf3925da568: Verifying Checksum 00:55:09 eaf3925da568: Download complete 00:55:09 339a4e72a1f5: Verifying Checksum 00:55:09 339a4e72a1f5: Download complete 00:55:09 bde34c3a00c8: Download complete 00:55:09 b352a97aabf1: Verifying Checksum 00:55:09 b352a97aabf1: Download complete 00:55:09 4872d77fe225: Verifying Checksum 00:55:09 4872d77fe225: Download complete 00:55:09 5851b861e8e6: Download complete 00:55:09 b85a868b505f: Verifying Checksum 00:55:09 b85a868b505f: Download complete 00:55:09 bab4dde63d76: Verifying Checksum 00:55:09 bab4dde63d76: Download complete 00:55:10 b85a868b505f: Pull complete 00:55:10 e2be974225ed: Pull complete 00:55:11 339a4e72a1f5: Pull complete 00:55:11 988bab9f4d93: Pull complete 00:55:11 1469e6f7b9e6: Pull complete 00:55:11 eaf3925da568: Pull complete 00:55:13 bab4dde63d76: Pull complete 00:55:13 bde34c3a00c8: Pull complete 00:55:13 b352a97aabf1: Pull complete 00:55:13 4872d77fe225: Pull complete 00:55:13 5851b861e8e6: Pull complete 00:55:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:55:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:55:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:13 prd-ubuntu20.04-docker-8c-8g-15136 does not seem to be running inside a container 00:55:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-357 -v /w/workspace/undry_device-onvif-camera_PR-357:/w/workspace/undry_device-onvif-camera_PR-357:rw,z -v /w/workspace/undry_device-onvif-camera_PR-357@tmp:/w/workspace/undry_device-onvif-camera_PR-357@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-devops/py-git-semver:0.1.4 cat 00:55:16 $ docker top 2b632500fc2c611d9e2cba1ce754ec0a5710a5fdcba47b7b0774ec2943304c29 -eo pid,comm 00:55:16 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). 00:55:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:55:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:55:16 [ssh-agent] Looking for ssh-agent implementation... 00:55:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:55:16 $ docker exec 2b632500fc2c611d9e2cba1ce754ec0a5710a5fdcba47b7b0774ec2943304c29 ssh-agent 00:55:16 SSH_AUTH_SOCK=/tmp/ssh-jeBuUzeBeNMe/agent.32 00:55:16 SSH_AGENT_PID=38 00:55:16 Running ssh-add (command line suppressed) 00:55:16 Identity added: /w/workspace/undry_device-onvif-camera_PR-357@tmp/private_key_10404878872819955076.key (/w/workspace/undry_device-onvif-camera_PR-357@tmp/private_key_10404878872819955076.key) 00:55:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:55:17 + git tag --points-at HEAD [Pipeline] } 00:55:17 $ docker exec --env ******** --env ******** 2b632500fc2c611d9e2cba1ce754ec0a5710a5fdcba47b7b0774ec2943304c29 ssh-agent -k 00:55:17 unset SSH_AUTH_SOCK; 00:55:17 unset SSH_AGENT_PID; 00:55:17 echo Agent pid 38 killed; 00:55:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:55:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:55:17 [ssh-agent] Looking for ssh-agent implementation... 00:55:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:55:17 $ docker exec 2b632500fc2c611d9e2cba1ce754ec0a5710a5fdcba47b7b0774ec2943304c29 ssh-agent 00:55:17 SSH_AUTH_SOCK=/tmp/ssh-FYh5t5YILRPE/agent.71 00:55:17 SSH_AGENT_PID=77 00:55:17 Running ssh-add (command line suppressed) 00:55:17 Identity added: /w/workspace/undry_device-onvif-camera_PR-357@tmp/private_key_16949991912918116274.key (/w/workspace/undry_device-onvif-camera_PR-357@tmp/private_key_16949991912918116274.key) 00:55:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:55:17 + git semver init 00:55:18 2023-05-11 00:55:18,046 [run_init] DEBUG init version:0.0.0 force:False 00:55:18 2023-05-11 00:55:18,047 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-357/.semver 00:55:18 2023-05-11 00:55:18,047 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-357/.semver 00:55:18 2023-05-11 00:55:18,047 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-357/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-357, universal_newlines=False, shell=None, istream=None) 00:55:19 2023-05-11 00:55:18,960 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-357/.git/info/exclude 00:55:19 2023-05-11 00:55:18,961 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-357/.semver/PR-357 with force:False 00:55:19 2023-05-11 00:55:18,961 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-357/.semver/PR-357 00:55:19 2023-05-11 00:55:18,964 [execute] INFO git cat-file --batch-check 00:55:19 2023-05-11 00:55:18,964 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-357/.semver, universal_newlines=False, shell=None, istream=) 00:55:19 2023-05-11 00:55:18,971 [execute] INFO git cat-file --batch 00:55:19 2023-05-11 00:55:18,971 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-357/.semver, universal_newlines=False, shell=None, istream=) 00:55:19 2023-05-11 00:55:18,977 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-357/.semver/PR-357 00:55:19 0.0.0 [Pipeline] } 00:55:19 $ docker exec --env ******** --env ******** 2b632500fc2c611d9e2cba1ce754ec0a5710a5fdcba47b7b0774ec2943304c29 ssh-agent -k 00:55:19 unset SSH_AUTH_SOCK; 00:55:19 unset SSH_AGENT_PID; 00:55:19 echo Agent pid 77 killed; 00:55:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:55:19 + git semver [Pipeline] } 00:55:19 $ docker stop --time=1 2b632500fc2c611d9e2cba1ce754ec0a5710a5fdcba47b7b0774ec2943304c29 00:55:21 $ docker rm -f --volumes 2b632500fc2c611d9e2cba1ce754ec0a5710a5fdcba47b7b0774ec2943304c29 [Pipeline] // withDockerContainer [Pipeline] sh 00:55:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:55:21 Stashed 1 file(s) [Pipeline] echo 00:55:21 [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 00:55:21 provisioning config files... 00:55:21 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-357@tmp/config7639782976177638244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:55:22 ---> docker-login.sh 00:55:22 nexus3.edgexfoundry.org:10001 00:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:22 Configure a credential helper to remove this warning. See 00:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:22 00:55:22 Login Succeeded 00:55:22 nexus3.edgexfoundry.org:10002 00:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:22 Configure a credential helper to remove this warning. See 00:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:22 00:55:22 Login Succeeded 00:55:22 nexus3.edgexfoundry.org:10003 00:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:22 Configure a credential helper to remove this warning. See 00:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:22 00:55:22 Login Succeeded 00:55:22 nexus3.edgexfoundry.org:10004 00:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:22 Configure a credential helper to remove this warning. See 00:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:22 00:55:22 Login Succeeded 00:55:22 docker.io 00:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:22 Configure a credential helper to remove this warning. See 00:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:22 00:55:22 Login Succeeded 00:55:22 ---> docker-login.sh ends [Pipeline] } 00:55:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:55:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:55:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:55:22 ========================================================= 00:55:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:55:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:23 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:55:23 Sending build context to Docker daemon 22.05MB 00:55:23 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 00:55:23 Step 2/13 : FROM ${BASE} AS builder 00:55:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:55:23 f56be85fc22e: Pulling fs layer 00:55:23 85791d961cd3: Pulling fs layer 00:55:23 d694b5ae8c79: Pulling fs layer 00:55:23 9f32a84ed3da: Pulling fs layer 00:55:23 4d19c01a9841: Pulling fs layer 00:55:23 9325e15d5711: Pulling fs layer 00:55:23 556b6ee489ea: Pulling fs layer 00:55:23 c5a4b2cf53e6: Pulling fs layer 00:55:23 9f32a84ed3da: Waiting 00:55:23 4d19c01a9841: Waiting 00:55:23 9325e15d5711: Waiting 00:55:23 556b6ee489ea: Waiting 00:55:23 c5a4b2cf53e6: Waiting 00:55:23 85791d961cd3: Verifying Checksum 00:55:23 85791d961cd3: Download complete 00:55:23 9f32a84ed3da: Verifying Checksum 00:55:23 9f32a84ed3da: Download complete 00:55:23 4d19c01a9841: Verifying Checksum 00:55:23 4d19c01a9841: Download complete 00:55:23 f56be85fc22e: Verifying Checksum 00:55:23 f56be85fc22e: Download complete 00:55:23 9325e15d5711: Verifying Checksum 00:55:23 9325e15d5711: Download complete 00:55:23 f56be85fc22e: Pull complete 00:55:23 85791d961cd3: Pull complete 00:55:23 c5a4b2cf53e6: Download complete 00:55:23 d694b5ae8c79: Verifying Checksum 00:55:23 d694b5ae8c79: Download complete 00:55:24 556b6ee489ea: Verifying Checksum 00:55:24 556b6ee489ea: Download complete 00:55:27 d694b5ae8c79: Pull complete 00:55:27 9f32a84ed3da: Pull complete 00:55:27 4d19c01a9841: Pull complete 00:55:27 9325e15d5711: Pull complete 00:55:29 556b6ee489ea: Pull complete 00:55:30 c5a4b2cf53e6: Pull complete 00:55:30 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:55:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:55:30 ---> c4be618373d6 00:55:30 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:55:33 ---> Running in a5ccd3283950 00:55:33 Removing intermediate container a5ccd3283950 00:55:33 ---> b281ded9ed6b 00:55:33 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:55:33 ---> Running in c0765b4d957c 00:55:33 Removing intermediate container c0765b4d957c 00:55:33 ---> c6e94348e06a 00:55:33 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 00:55:33 ---> Running in 74ec7c6d4174 00:55:33 Removing intermediate container 74ec7c6d4174 00:55:33 ---> 31910137e219 00:55:33 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 00:55:33 ---> Running in 69151a50dc8a 00:55:33 Removing intermediate container 69151a50dc8a 00:55:33 ---> 73982bc0dae1 00:55:33 Step 7/13 : LABEL Name=edgex-device-onvif-camera 00:55:34 ---> Running in 23b1f694ef63 00:55:34 Removing intermediate container 23b1f694ef63 00:55:34 ---> dd9282a9b14e 00:55:34 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:55:34 ---> Running in b8e8c2f23003 00:55:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:55:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:55:34 OK: 265 MiB in 53 packages 00:55:34 Removing intermediate container b8e8c2f23003 00:55:34 ---> c77bc3563272 00:55:34 Step 9/13 : WORKDIR /device-onvif-camera 00:55:35 ---> Running in 6dc87ab496a4 00:55:35 Removing intermediate container 6dc87ab496a4 00:55:35 ---> 3577f14d73f5 00:55:35 Step 10/13 : COPY go.mod vendor* ./ 00:55:35 ---> 2649f23bbc91 00:55:35 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:55:35 ---> Running in a5a1d6cceb64 00:55:36 Still waiting to schedule task 00:55:36 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15134’ 00:56:03 Removing intermediate container a5a1d6cceb64 00:56:03 ---> 2ae6f83e5c4e 00:56:03 Step 12/13 : COPY . . 00:56:03 ---> ae155c3811d2 00:56:03 Step 13/13 : RUN ${MAKE} 00:56:03 ---> Running in 68dcbb85587c 00:56:03 noop 00:56:03 Removing intermediate container 68dcbb85587c 00:56:03 ---> 7f5ba5252e83 00:56:03 Successfully built 7f5ba5252e83 00:56:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:03 + docker inspect -f . ci-base-image-x86_64 00:56:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:03 prd-ubuntu20.04-docker-8c-8g-15136 does not seem to be running inside a container 00:56:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-357 -v /w/workspace/undry_device-onvif-camera_PR-357:/w/workspace/undry_device-onvif-camera_PR-357:rw,z -v /w/workspace/undry_device-onvif-camera_PR-357@tmp:/w/workspace/undry_device-onvif-camera_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:56:04 $ docker top 8b0e49ae12a435af85f5dbb6932c23f8243c1f6e4efecd62624875faf8fb92bf -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:04 + go version 00:56:04 go version go1.20.2 linux/amd64 [Pipeline] } 00:56:04 $ docker stop --time=1 8b0e49ae12a435af85f5dbb6932c23f8243c1f6e4efecd62624875faf8fb92bf 00:56:05 $ docker rm -f --volumes 8b0e49ae12a435af85f5dbb6932c23f8243c1f6e4efecd62624875faf8fb92bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:06 + docker inspect -f . ci-base-image-x86_64 00:56:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:06 prd-ubuntu20.04-docker-8c-8g-15136 does not seem to be running inside a container 00:56:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-357 -v /w/workspace/undry_device-onvif-camera_PR-357:/w/workspace/undry_device-onvif-camera_PR-357:rw,z -v /w/workspace/undry_device-onvif-camera_PR-357@tmp:/w/workspace/undry_device-onvif-camera_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:56:06 $ docker top 58b7f275b1542b7d7fb5caabdeac4985f97231fe6a86b1443cc45886f1b9e1c7 -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:06 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-357 [Pipeline] fileExists [Pipeline] sh 00:56:07 + make test 00:56:07 go test ./... -coverprofile=coverage.out ./... 00:56:12 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:56:22 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:56:22 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:56:24 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.034s coverage: 31.4% of statements 00:56:24 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.138s coverage: 86.5% of statements 00:56:30 go vet ./... 00:56:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:56:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:56:35 ./bin/test-attribution-txt.sh [Pipeline] echo 00:56:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:56:35 $ docker stop --time=1 58b7f275b1542b7d7fb5caabdeac4985f97231fe6a86b1443cc45886f1b9e1c7 00:56:38 $ docker rm -f --volumes 58b7f275b1542b7d7fb5caabdeac4985f97231fe6a86b1443cc45886f1b9e1c7 [Pipeline] // withDockerContainer [Pipeline] sh 00:56:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:56:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:56:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:56:39 + ls -al . 00:56:39 total 232 00:56:39 drwxrwxr-x 10 jenkins jenkins 4096 May 11 00:56 . 00:56:39 drwxrwxr-x 4 jenkins jenkins 4096 May 11 00:54 .. 00:56:39 drwxrwxr-x 8 jenkins jenkins 4096 May 11 00:55 .git 00:56:39 drwxrwxr-x 3 jenkins jenkins 4096 May 11 00:54 .github 00:56:39 -rw-rw-r-- 1 jenkins jenkins 496 May 11 00:54 .gitignore 00:56:39 -rw-rw-r-- 1 jenkins jenkins 42 May 11 00:54 .golangci.yml 00:56:39 drwxr-xr-x 3 jenkins jenkins 4096 May 11 00:55 .semver 00:56:39 -rw-rw-r-- 1 jenkins jenkins 10087 May 11 00:54 Attribution.txt 00:56:39 -rw-rw-r-- 1 jenkins jenkins 6312 May 11 00:54 CHANGELOG.md 00:56:39 -rw-rw-r-- 1 jenkins jenkins 1574 May 11 00:54 Dockerfile 00:56:39 -rw-rw-r-- 1 jenkins jenkins 677 May 11 00:54 GOVERNANCE.md 00:56:39 -rw-rw-r-- 1 jenkins jenkins 734 May 11 00:54 Jenkinsfile 00:56:39 -rw-rw-r-- 1 jenkins jenkins 11348 May 11 00:54 LICENSE 00:56:39 -rw-rw-r-- 1 jenkins jenkins 2751 May 11 00:54 Makefile 00:56:39 -rw-rw-r-- 1 jenkins jenkins 625 May 11 00:54 OWNERS.md 00:56:39 -rw-rw-r-- 1 jenkins jenkins 2690 May 11 00:54 README.md 00:56:39 -rw-rw-r-- 1 jenkins jenkins 5 May 11 00:55 VERSION 00:56:39 drwxrwxr-x 2 jenkins jenkins 4096 May 11 00:54 bin 00:56:39 drwxrwxr-x 3 jenkins jenkins 4096 May 11 00:54 cmd 00:56:39 -rw-r--r-- 1 jenkins jenkins 78459 May 11 00:56 coverage.out 00:56:39 drwxrwxr-x 4 jenkins jenkins 4096 May 11 00:54 doc 00:56:39 -rw-rw-r-- 1 jenkins jenkins 3642 May 11 00:54 go.mod 00:56:39 -rw-rw-r-- 1 jenkins jenkins 33491 May 11 00:54 go.sum 00:56:39 drwxrwxr-x 4 jenkins jenkins 4096 May 11 00:54 internal 00:56:39 drwxrwxr-x 4 jenkins jenkins 4096 May 11 00:54 snap 00:56:39 -rw-rw-r-- 1 jenkins jenkins 236 May 11 00:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:40 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=2efac9f858049441aca0a06e4b7bd0e9cdc0159d --label arch=amd64 --label version=0.0.0 . 00:56:40 Sending build context to Docker daemon 22.13MB 00:56:40 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 00:56:40 Step 2/26 : FROM ${BASE} AS builder 00:56:40 ---> 7f5ba5252e83 00:56:40 Step 3/26 : ARG ADD_BUILD_TAGS="" 00:56:40 ---> Running in efa2954e243e 00:56:40 Removing intermediate container efa2954e243e 00:56:40 ---> 68bccd0f6447 00:56:40 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:56:40 ---> Running in 3e2571cd99d1 00:56:40 Removing intermediate container 3e2571cd99d1 00:56:40 ---> 4236d0e3efbd 00:56:40 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 00:56:40 ---> Running in 8cc090b4af99 00:56:40 Removing intermediate container 8cc090b4af99 00:56:40 ---> ca721156628d 00:56:40 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 00:56:40 ---> Running in 41fd3b3a9109 00:56:40 Removing intermediate container 41fd3b3a9109 00:56:40 ---> e6f26bf0f41d 00:56:40 Step 7/26 : LABEL Name=edgex-device-onvif-camera 00:56:40 ---> Running in 37d6d2ad97fb 00:56:40 Removing intermediate container 37d6d2ad97fb 00:56:40 ---> 84b7bdf64690 00:56:40 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:56:40 ---> Running in 2b378bd99ef7 00:56:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:56:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:56:41 OK: 265 MiB in 53 packages 00:56:41 Removing intermediate container 2b378bd99ef7 00:56:41 ---> 0aae87808534 00:56:41 Step 9/26 : WORKDIR /device-onvif-camera 00:56:41 ---> Running in 1a7212294abb 00:56:41 Removing intermediate container 1a7212294abb 00:56:41 ---> 5e7cf0121fb0 00:56:41 Step 10/26 : COPY go.mod vendor* ./ 00:56:41 ---> 2e6a8ffc4414 00:56:41 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:56:41 ---> Running in 64c1f4059301 00:56:42 Removing intermediate container 64c1f4059301 00:56:42 ---> 708fde7bba75 00:56:42 Step 12/26 : COPY . . 00:56:43 ---> ae44158e062b 00:56:43 Step 13/26 : RUN ${MAKE} 00:56:43 ---> Running in d9d414b6d2fa 00:56:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 00:57:05 Removing intermediate container d9d414b6d2fa 00:57:05 ---> 0c446672166c 00:57:05 Step 14/26 : FROM alpine:3.17 00:57:05 3.17: Pulling from library/alpine 00:57:05 f56be85fc22e: Already exists 00:57:05 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:57:05 Status: Downloaded newer image for alpine:3.17 00:57:05 ---> 9ed4aefc74f6 00:57:05 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:57:05 ---> Running in 896d58ddf359 00:57:05 Removing intermediate container 896d58ddf359 00:57:05 ---> c2a39d070832 00:57:05 Step 16/26 : RUN apk add --update --no-cache dumb-init 00:57:05 ---> Running in d58f000edcf8 00:57:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:57:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:57:05 (1/1) Installing dumb-init (1.2.5-r2) 00:57:05 Executing busybox-1.35.0-r29.trigger 00:57:05 OK: 7 MiB in 16 packages 00:57:05 Removing intermediate container d58f000edcf8 00:57:05 ---> 4ad5adec3c43 00:57:05 Step 17/26 : WORKDIR / 00:57:05 ---> Running in 53b901155a98 00:57:05 Removing intermediate container 53b901155a98 00:57:05 ---> 584cd1af9f96 00:57:05 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:57:05 ---> 0c129b5613e8 00:57:05 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:57:05 ---> f936be2678f8 00:57:05 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:57:05 ---> 7270aa0b5d6f 00:57:05 Step 21/26 : EXPOSE 59984 00:57:05 ---> Running in c13b0dd0548f 00:57:05 Removing intermediate container c13b0dd0548f 00:57:05 ---> 491ad4b91014 00:57:05 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:57:05 ---> Running in 31307b9644d5 00:57:05 Removing intermediate container 31307b9644d5 00:57:05 ---> f8a75759aa58 00:57:05 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 00:57:05 ---> Running in dd63f9c1af72 00:57:05 Removing intermediate container dd63f9c1af72 00:57:05 ---> b0562d9bd502 00:57:05 Step 24/26 : LABEL arch=amd64 00:57:05 ---> Running in 5b5f0653c860 00:57:05 Removing intermediate container 5b5f0653c860 00:57:05 ---> 9a3a0e4ed445 00:57:05 Step 25/26 : LABEL git_sha=2efac9f858049441aca0a06e4b7bd0e9cdc0159d 00:57:05 ---> Running in 8eb313d25555 00:57:05 Removing intermediate container 8eb313d25555 00:57:05 ---> b7cc518741f6 00:57:05 Step 26/26 : LABEL version=0.0.0 00:57:05 ---> Running in cf376e89dcc1 00:57:05 Removing intermediate container cf376e89dcc1 00:57:05 ---> 348a75c89fce 00:57:05 [Warning] One or more build-args [ARCH] were not consumed 00:57:05 Successfully built 348a75c89fce 00:57:05 Successfully tagged device-onvif-camera: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 00:57:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:06 00:57:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:06 latest: Pulling from edgex-lftools-log-publisher 00:57:06 5eb5b503b376: Pulling fs layer 00:57:06 5c69ac0246d0: Pulling fs layer 00:57:06 ec43610c2a17: Pulling fs layer 00:57:06 3a2ae6a8a46f: Pulling fs layer 00:57:06 33b1e0a273af: Pulling fs layer 00:57:06 5d3b04190fa2: Pulling fs layer 00:57:06 2f39f015ded8: Pulling fs layer 00:57:06 3a2ae6a8a46f: Waiting 00:57:06 33b1e0a273af: Waiting 00:57:06 5d3b04190fa2: Waiting 00:57:06 2f39f015ded8: Waiting 00:57:06 5c69ac0246d0: Download complete 00:57:06 3a2ae6a8a46f: Verifying Checksum 00:57:06 3a2ae6a8a46f: Download complete 00:57:06 ec43610c2a17: Verifying Checksum 00:57:06 ec43610c2a17: Download complete 00:57:06 33b1e0a273af: Verifying Checksum 00:57:06 33b1e0a273af: Download complete 00:57:06 5d3b04190fa2: Verifying Checksum 00:57:06 5d3b04190fa2: Download complete 00:57:06 5eb5b503b376: Verifying Checksum 00:57:06 5eb5b503b376: Download complete 00:57:07 2f39f015ded8: Download complete 00:57:07 5eb5b503b376: Pull complete 00:57:07 5c69ac0246d0: Pull complete 00:57:08 ec43610c2a17: Pull complete 00:57:08 3a2ae6a8a46f: Pull complete 00:57:08 33b1e0a273af: Pull complete 00:57:08 5d3b04190fa2: Pull complete 00:57:12 2f39f015ded8: Pull complete 00:57:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:57:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:57:13 prd-ubuntu20.04-docker-8c-8g-15136 does not seem to be running inside a container 00:57:13 $ 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/undry_device-onvif-camera_PR-357 -v /w/workspace/undry_device-onvif-camera_PR-357:/w/workspace/undry_device-onvif-camera_PR-357:rw,z -v /w/workspace/undry_device-onvif-camera_PR-357@tmp:/w/workspace/undry_device-onvif-camera_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:57:18 $ docker top 5ad73f91ca22a97c6695174a6b54e97def8a169674efb0edf48cf7ef2ea3bda3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:57:18 ---> job-cost.sh 00:57:18 lf-activate-venv: SKIPPING 00:57:18 INFO: No Stack... 00:57:18 INFO: Retrieving Pricing Info for: v3-standard-8 00:57:19 INFO: Archiving Costs [Pipeline] sh 00:57:19 + cat /w/workspace/undry_device-onvif-camera_PR-357/archives/cost.csv 00:57:19 + cut -d, -f6 [Pipeline] lock 00:57:19 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-357-2-stack-cost] 00:57:19 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-357-2-stack-cost] did not exist. Created. 00:57:19 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-357-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:57:19 + echo total: 0.2199999988079071 [Pipeline] stash 00:57:19 Stashed 1 file(s) [Pipeline] } 00:57:19 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-357-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:57:19 $ docker stop --time=1 5ad73f91ca22a97c6695174a6b54e97def8a169674efb0edf48cf7ef2ea3bda3 00:57:21 $ docker rm -f --volumes 5ad73f91ca22a97c6695174a6b54e97def8a169674efb0edf48cf7ef2ea3bda3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:58:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15138 in /w/workspace/undry_device-onvif-camera_PR-357 [Pipeline] { [Pipeline] ws 00:58:38 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 00:58:38 The recommended git tool is: git 00:58:45 using credential edgex-jenkins-ssh 00:58:45 Cloning the remote Git repository 00:58:45 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 00:58:45 > git init /w/workspace/device-onvif-camera/2 # timeout=10 00:58:46 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:58:46 > git --version # timeout=10 00:58:46 > git --version # 'git version 2.25.1' 00:58:46 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:58:47 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:58:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:58:49 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:58:49 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:58:49 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:49 Merging remotes/origin/main commit 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea into PR head commit 2efac9f858049441aca0a06e4b7bd0e9cdc0159d 00:58:50 Merge succeeded, producing 2efac9f858049441aca0a06e4b7bd0e9cdc0159d 00:58:50 Checking out Revision 2efac9f858049441aca0a06e4b7bd0e9cdc0159d (PR-357) 00:58:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:58:49 > git config core.sparsecheckout # timeout=10 00:58:49 > git checkout -f 2efac9f858049441aca0a06e4b7bd0e9cdc0159d # timeout=10 00:58:50 > git remote # timeout=10 00:58:50 > git config --get remote.origin.url # timeout=10 00:58:50 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:50 > git merge 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea # timeout=10 00:58:50 > git rev-parse HEAD^{commit} # timeout=10 00:58:50 > git config core.sparsecheckout # timeout=10 00:58:50 > git checkout -f 2efac9f858049441aca0a06e4b7bd0e9cdc0159d # timeout=10 00:58:53 Commit message: "fix: update names of postman calls" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:58:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:58:54 % Total % Received % Xferd Average Speed Time Time Time Current 00:58:54 Dload Upload Total Spent Left Speed 00:58:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh 00:58:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:58:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:58:56 + sudo tee /etc/docker/daemon.new 00:58:56 { 00:58:56 "registry-mirrors": [ 00:58:56 "https://nexus3.edgexfoundry.org:10001" 00:58:56 ], 00:58:56 "bip": "10.250.0.254/24", 00:58:56 "hosts": [ 00:58:56 "tcp://0.0.0.0:5555", 00:58:56 "unix:///var/run/docker.sock" 00:58:56 ], 00:58:56 "mtu": 1458, 00:58:56 "selinux-enabled": true, 00:58:56 "seccomp-profile": "/etc/docker/seccomp.json" 00:58:56 } [Pipeline] sh 00:58:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:58:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:59:15 provisioning config files... 00:59:15 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config4650312763222509619tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:59:15 ---> docker-login.sh 00:59:15 nexus3.edgexfoundry.org:10001 00:59:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:16 Configure a credential helper to remove this warning. See 00:59:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:16 00:59:16 Login Succeeded 00:59:16 nexus3.edgexfoundry.org:10002 00:59:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:16 Configure a credential helper to remove this warning. See 00:59:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:16 00:59:16 Login Succeeded 00:59:16 nexus3.edgexfoundry.org:10003 00:59:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:16 Configure a credential helper to remove this warning. See 00:59:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:16 00:59:16 Login Succeeded 00:59:16 nexus3.edgexfoundry.org:10004 00:59:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:17 Configure a credential helper to remove this warning. See 00:59:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:17 00:59:17 Login Succeeded 00:59:17 docker.io 00:59:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:17 Configure a credential helper to remove this warning. See 00:59:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:17 00:59:17 Login Succeeded 00:59:17 ---> docker-login.sh ends [Pipeline] } 00:59:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:59:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:59:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:59:18 ========================================================= 00:59:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:59:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:18 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:59:19 Sending build context to Docker daemon 14.57MB 00:59:19 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 00:59:19 Step 2/13 : FROM ${BASE} AS builder 00:59:19 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:59:19 c41833b44d91: Pulling fs layer 00:59:19 ed15518f5707: Pulling fs layer 00:59:19 feae8fd75edb: Pulling fs layer 00:59:19 242c74f7c9fa: Pulling fs layer 00:59:19 3cdef696dda3: Pulling fs layer 00:59:19 2ced38df9373: Pulling fs layer 00:59:19 58f1dce35555: Pulling fs layer 00:59:19 3cdef696dda3: Waiting 00:59:19 2ced38df9373: Waiting 00:59:19 58f1dce35555: Waiting 00:59:19 242c74f7c9fa: Waiting 00:59:19 ed15518f5707: Verifying Checksum 00:59:19 ed15518f5707: Download complete 00:59:19 242c74f7c9fa: Download complete 00:59:19 3cdef696dda3: Download complete 00:59:19 c41833b44d91: Verifying Checksum 00:59:19 c41833b44d91: Download complete 00:59:20 c41833b44d91: Pull complete 00:59:21 58f1dce35555: Verifying Checksum 00:59:21 58f1dce35555: Download complete 00:59:21 ed15518f5707: Pull complete 00:59:22 feae8fd75edb: Verifying Checksum 00:59:22 feae8fd75edb: Download complete 00:59:22 2ced38df9373: Verifying Checksum 00:59:22 2ced38df9373: Download complete 00:59:32 feae8fd75edb: Pull complete 00:59:32 242c74f7c9fa: Pull complete 00:59:32 3cdef696dda3: Pull complete 00:59:39 2ced38df9373: Pull complete 00:59:40 58f1dce35555: Pull complete 00:59:40 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:59:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:59:40 ---> fadd8f120f05 00:59:40 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:59:42 ---> Running in 16f1452f9fcc 00:59:42 Removing intermediate container 16f1452f9fcc 00:59:42 ---> d7fdd9b53d54 00:59:42 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:59:42 ---> Running in 8b24f752bfb3 00:59:43 Removing intermediate container 8b24f752bfb3 00:59:43 ---> 10c7fabcc427 00:59:43 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 00:59:43 ---> Running in 22838599aebc 00:59:43 Removing intermediate container 22838599aebc 00:59:43 ---> 2c856eefbce5 00:59:43 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 00:59:43 ---> Running in 009b4a860c76 00:59:43 Removing intermediate container 009b4a860c76 00:59:43 ---> 39235b0c4cc9 00:59:43 Step 7/13 : LABEL Name=edgex-device-onvif-camera 00:59:43 ---> Running in 53306a4b98b8 00:59:44 Removing intermediate container 53306a4b98b8 00:59:44 ---> 632f8ec6cdfa 00:59:44 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:59:44 ---> Running in 5c159e9adec5 00:59:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:59:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:59:47 OK: 263 MiB in 53 packages 00:59:47 Removing intermediate container 5c159e9adec5 00:59:47 ---> 7c6e3bf8d316 00:59:47 Step 9/13 : WORKDIR /device-onvif-camera 00:59:48 ---> Running in 20555d6fa86b 00:59:48 Removing intermediate container 20555d6fa86b 00:59:48 ---> 4ca6a604c206 00:59:48 Step 10/13 : COPY go.mod vendor* ./ 00:59:49 ---> 20e9de7034ab 00:59:49 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:59:49 ---> Running in f0b592cd7142 01:00:57 Removing intermediate container f0b592cd7142 01:00:57 ---> 33919e1ec097 01:00:57 Step 12/13 : COPY . . 01:00:57 ---> c3abd4df4fc5 01:00:57 Step 13/13 : RUN ${MAKE} 01:00:57 ---> Running in b41b90f2461c 01:00:57 noop 01:00:57 Removing intermediate container b41b90f2461c 01:00:57 ---> 267d0db9228f 01:00:57 Successfully built 267d0db9228f 01:00:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:57 + docker inspect -f . ci-base-image-arm64 01:00:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:00:57 prd-ubuntu20.04-docker-arm64-4c-16g-15138 does not seem to be running inside a container 01:00:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:00:59 $ docker top d45291b9584eb0ba165f2d45a2246c0c2f76f316672e7855eb652169b4e55bd2 -eo pid,comm [Pipeline] { [Pipeline] sh 01:00:59 + go version 01:00:59 go version go1.20.2 linux/arm64 [Pipeline] } 01:00:59 $ docker stop --time=1 d45291b9584eb0ba165f2d45a2246c0c2f76f316672e7855eb652169b4e55bd2 01:01:01 $ docker rm -f --volumes d45291b9584eb0ba165f2d45a2246c0c2f76f316672e7855eb652169b4e55bd2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:02 + docker inspect -f . ci-base-image-arm64 01:01:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:01:02 prd-ubuntu20.04-docker-arm64-4c-16g-15138 does not seem to be running inside a container 01:01:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:01:03 $ docker top a17312c32b036da5311e3972610ca9eb48e45a9f0646d28031373464dc2a19ee -eo pid,comm [Pipeline] { [Pipeline] sh 01:01:04 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 01:01:05 + make test 01:01:05 go test ./... -coverprofile=coverage.out ./... 01:01:44 ? github.com/edgexfoundry/device-onvif-camera [no test files] 01:04:21 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 01:04:21 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 01:04:22 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.215s coverage: 31.4% of statements 01:04:54 --- FAIL: TestIpGenerator (0.01s) 01:04:54 --- FAIL: TestIpGenerator/basic_/8_subnet (30.19s) 01:04:54 util_test.go:180: 01:04:54 Error Trace: /w/workspace/device-onvif-camera/2/internal/netscan/util_test.go:180 01:04:54 Error: Not equal: 01:04:54 expected: 0xfffffe 01:04:54 actual : 0xfbb579 01:04:54 Test: TestIpGenerator/basic_/8_subnet 01:04:54 util_test.go:183: 01:04:54 Error Trace: /w/workspace/device-onvif-camera/2/internal/netscan/util_test.go:183 01:04:54 Error: Not equal: 01:04:54 expected: "10.255.255.254" 01:04:54 actual : "10.251.181.121" 01:04:54 01:04:54 Diff: 01:04:54 --- Expected 01:04:54 +++ Actual 01:04:54 @@ -1 +1 @@ 01:04:54 -10.255.255.254 01:04:54 +10.251.181.121 01:04:54 Test: TestIpGenerator/basic_/8_subnet 01:04:54 FAIL 01:04:54 github.com/edgexfoundry/device-onvif-camera/internal/netscan coverage: 86.5% of statements 01:04:54 FAIL github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.397s 01:04:54 FAIL 01:04:54 make: *** [Makefile:58: unittest] Error 1 [Pipeline] } 01:04:54 $ docker stop --time=1 a17312c32b036da5311e3972610ca9eb48e45a9f0646d28031373464dc2a19ee 01:04:56 $ docker rm -f --volumes a17312c32b036da5311e3972610ca9eb48e45a9f0646d28031373464dc2a19ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:04:57 01:04:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:04:58 arm64: Pulling from edgex-lftools-log-publisher 01:04:58 8998bd30e6a1: Pulling fs layer 01:04:58 04944245beec: Pulling fs layer 01:04:58 699f458cf7ca: Pulling fs layer 01:04:58 765212b225bb: Pulling fs layer 01:04:58 f23df028b6ca: Pulling fs layer 01:04:58 d65c8cfc05b1: Pulling fs layer 01:04:58 2437ff75d9bd: Pulling fs layer 01:04:58 f23df028b6ca: Waiting 01:04:58 d65c8cfc05b1: Waiting 01:04:58 2437ff75d9bd: Waiting 01:04:58 765212b225bb: Waiting 01:04:58 04944245beec: Verifying Checksum 01:04:58 04944245beec: Download complete 01:04:58 765212b225bb: Verifying Checksum 01:04:58 765212b225bb: Download complete 01:04:58 f23df028b6ca: Download complete 01:04:58 d65c8cfc05b1: Verifying Checksum 01:04:58 d65c8cfc05b1: Download complete 01:04:58 699f458cf7ca: Verifying Checksum 01:04:58 699f458cf7ca: Download complete 01:04:58 8998bd30e6a1: Verifying Checksum 01:04:58 8998bd30e6a1: Download complete 01:05:00 2437ff75d9bd: Verifying Checksum 01:05:00 2437ff75d9bd: Download complete 01:05:02 8998bd30e6a1: Pull complete 01:05:03 04944245beec: Pull complete 01:05:04 699f458cf7ca: Pull complete 01:05:04 765212b225bb: Pull complete 01:05:06 f23df028b6ca: Pull complete 01:05:06 d65c8cfc05b1: Pull complete 01:05:21 2437ff75d9bd: Pull complete 01:05:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:05:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:05:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:05:22 prd-ubuntu20.04-docker-arm64-4c-16g-15138 does not seem to be running inside a container 01:05:22 $ 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-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:05:25 $ docker top ca8995c274e928f752c26a8b3f112f94a7c55b2963acee7a527d0eefbcdd00bb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:05:26 ---> job-cost.sh 01:05:26 lf-activate-venv: SKIPPING 01:05:26 INFO: No Stack... 01:05:26 INFO: Retrieving Pricing Info for: v3-standard-4 01:05:27 INFO: Archiving Costs [Pipeline] sh 01:05:28 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 01:05:28 + cut -d, -f6 [Pipeline] lock 01:05:28 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-357-2-stack-cost] 01:05:28 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-357-2-stack-cost] did not exist. Created. 01:05:28 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-357-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:05:29 /w/workspace/device-onvif-camera/2@tmp/durable-0a6067dc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:05:29 + echo total: 0.10999999940395355 [Pipeline] stash 01:05:29 Warning: overwriting stash ‘stack-cost’ 01:05:30 Stashed 1 file(s) [Pipeline] } 01:05:30 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-357-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:05:30 $ docker stop --time=1 ca8995c274e928f752c26a8b3f112f94a7c55b2963acee7a527d0eefbcdd00bb 01:05:32 $ docker rm -f --volumes ca8995c274e928f752c26a8b3f112f94a7c55b2963acee7a527d0eefbcdd00bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:05:32 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:05:33 + [ -d /w/workspace/undry_device-onvif-camera_PR-357/archives ] 01:05:33 + ls -al /w/workspace/undry_device-onvif-camera_PR-357/archives 01:05:33 total 16 01:05:33 drwxr-xr-x 3 root root 4096 May 11 00:57 . 01:05:33 drwxrwxr-x 11 jenkins jenkins 4096 May 11 00:57 .. 01:05:33 drwxr-xr-x 2 root root 4096 May 11 00:57 cost 01:05:33 -rw-r--r-- 1 root root 91 May 11 00:57 cost.csv 01:05:33 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-357/archives 01:05:33 + ls -al /w/workspace/undry_device-onvif-camera_PR-357/archives 01:05:33 total 16 01:05:33 drwxr-xr-x 3 jenkins jenkins 4096 May 11 00:57 . 01:05:33 drwxrwxr-x 11 jenkins jenkins 4096 May 11 00:57 .. 01:05:33 drwxr-xr-x 2 jenkins jenkins 4096 May 11 00:57 cost 01:05:33 -rw-r--r-- 1 jenkins jenkins 91 May 11 00:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:05:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:05:34 ---> package-listing.sh 01:05:34 ++ facter osfamily 01:05:34 ++ tr '[:upper:]' '[:lower:]' 01:05:34 + OS_FAMILY=debian 01:05:34 + workspace=/w/workspace/undry_device-onvif-camera_PR-357 01:05:34 + START_PACKAGES=/tmp/packages_start.txt 01:05:34 + END_PACKAGES=/tmp/packages_end.txt 01:05:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:05:34 + PACKAGES=/tmp/packages_start.txt 01:05:34 + '[' /w/workspace/undry_device-onvif-camera_PR-357 ']' 01:05:34 + PACKAGES=/tmp/packages_end.txt 01:05:34 + case "${OS_FAMILY}" in 01:05:34 + dpkg -l 01:05:34 + grep '^ii' 01:05:34 + '[' -f /tmp/packages_start.txt ']' 01:05:34 + '[' -f /tmp/packages_end.txt ']' 01:05:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:05:34 + '[' /w/workspace/undry_device-onvif-camera_PR-357 ']' 01:05:34 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-357/archives/ 01:05:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-357/archives/ [Pipeline] echo 01:05:34 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/undry_device-onvif-camera_PR-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:05:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:05:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:05:35 prd-ubuntu20.04-docker-8c-8g-15136 does not seem to be running inside a container 01:05:35 $ 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/undry_device-onvif-camera_PR-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-357 -v /w/workspace/undry_device-onvif-camera_PR-357:/w/workspace/undry_device-onvif-camera_PR-357:rw,z -v /w/workspace/undry_device-onvif-camera_PR-357@tmp:/w/workspace/undry_device-onvif-camera_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:05:35 $ docker top 25c82619bb03c805bfa0628cd7c80f1ca1e8e335924851e358072a51c761bc05 -eo pid,comm [Pipeline] { [Pipeline] sh 01:05:36 + touch /tmp/pre-build-complete [Pipeline] sh 01:05:36 + mkdir -p /var/log/sysstat [Pipeline] sh 01:05:36 + ls /var/log/sa-host 01:05:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:05:36 provisioning config files... 01:05:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-357@tmp/config2760602717690692883tmp [Pipeline] { [Pipeline] echo 01:05:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:05:37 ---> create-netrc.sh [Pipeline] } 01:05:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:05:37 ---> python-tools-install.sh [Pipeline] echo 01:05:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:05:37 ---> sudo-logs.sh 01:05:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:05:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:05:38 ---> job-cost.sh 01:05:38 lf-activate-venv: SKIPPING 01:05:38 DEBUG: total: 0.2199999988079071 01:05:38 INFO: Retrieving Stack Cost... 01:05:38 INFO: Retrieving Pricing Info for: v3-standard-8 01:05:38 INFO: Archiving Costs [Pipeline] echo 01:05:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:05:39 ---> logs-deploy.sh 01:05:39 lf-activate-venv: SKIPPING 01:05:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-357/2 01:05:39 INFO: archiving workspace using pattern(s): 01:05:40 Archives upload complete. 01:05:40 INFO: archiving logs to Nexus