Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ChristianDarr-personal for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 8374ad439d5c8571ae7424cc77de71a785d5a0ca rather than 7f56b5113b5ae1679364fc43f06d5c542e86837a Obtained Jenkinsfile from 8374ad439d5c8571ae7424cc77de71a785d5a0ca 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-ssh11787991507488314509.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh3306437258242629840.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-87/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-87/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10936616779668819728.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh2264239061070074942.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-87/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-87/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1076415290660736064.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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] ========================================================= [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.17 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: 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 Running on prd-ubuntu20.04-docker-8c-8g-15432 in /w/workspace/oundry_device-onvif-camera_PR-87 [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-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-87 # 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 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 7f56b5113b5ae1679364fc43f06d5c542e86837a Merge succeeded, producing fb53c113294468c6710bfb985bd8458753e62a0b Checking out Revision fb53c113294468c6710bfb985bd8458753e62a0b (PR-87) > 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 > 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/87/head:refs/remotes/origin/PR-87 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7f56b5113b5ae1679364fc43f06d5c542e86837a # 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 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb53c113294468c6710bfb985bd8458753e62a0b # timeout=10 Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-23T10:09:26.786Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-23T10:09:26.861Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-23T10:09:26.880Z] ========================================================= [2022-06-23T10:09:26.880Z] EdgeX Global Pipelines Version Info [2022-06-23T10:09:26.880Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk eb27a6a6c9d76b6440e4e3fa5e877dcb2e597d36 # timeout=10 [2022-06-23T10:09:27.646Z] ------------------- [2022-06-23T10:09:27.646Z] stable info: [2022-06-23T10:09:27.646Z] ------------------- [2022-06-23T10:09:27.646Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-23T10:09:27.646Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-23T10:09:27.646Z] Message: update stable to v1.0.234 [2022-06-23T10:09:28.217Z] ------------------- [2022-06-23T10:09:28.217Z] experimental info: [2022-06-23T10:09:28.217Z] ------------------- [2022-06-23T10:09:28.217Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-23T10:09:28.217Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-23T10:09:28.217Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-23T10:09:28.376Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-23T10:09:28.395Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-23T10:09:28.410Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-23T10:09:28.423Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-23T10:09:28.436Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-23T10:09:28.447Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-23T10:09:28.462Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-23T10:09:28.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-23T10:09:28.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-23T10:09:28.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-23T10:09:28.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-23T10:09:28.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-23T10:09:28.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-23T10:09:28.553Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-23T10:09:28.563Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-23T10:09:28.575Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-23T10:09:28.586Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-23T10:09:28.597Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-23T10:09:28.608Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-23T10:09:28.620Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-23T10:09:28.631Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-23T10:09:28.642Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-23T10:09:28.653Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-23T10:09:28.667Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-23T10:09:28.677Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-23T10:09:28.692Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-23T10:09:28.709Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-23T10:09:28.727Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-87 [Pipeline] echo [2022-06-23T10:09:28.746Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-87 [Pipeline] echo [2022-06-23T10:09:28.763Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-87 [Pipeline] echo [2022-06-23T10:09:28.780Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fb53c113294468c6710bfb985bd8458753e62a0b [Pipeline] echo [2022-06-23T10:09:28.792Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fb53c11 [Pipeline] echo [2022-06-23T10:09:28.811Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T10:09:28.863Z] provisioning config files... [2022-06-23T10:09:28.876Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config5478001084770737218tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T10:09:29.183Z] ---> docker-login.sh [2022-06-23T10:09:29.183Z] nexus3.edgexfoundry.org:10001 [2022-06-23T10:09:29.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:09:29.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:09:29.445Z] Configure a credential helper to remove this warning. See [2022-06-23T10:09:29.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:09:29.445Z] [2022-06-23T10:09:29.445Z] Login Succeeded [2022-06-23T10:09:29.445Z] nexus3.edgexfoundry.org:10002 [2022-06-23T10:09:29.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:09:29.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:09:29.704Z] Configure a credential helper to remove this warning. See [2022-06-23T10:09:29.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:09:29.704Z] [2022-06-23T10:09:29.704Z] Login Succeeded [2022-06-23T10:09:29.704Z] nexus3.edgexfoundry.org:10003 [2022-06-23T10:09:29.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:09:29.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:09:29.704Z] Configure a credential helper to remove this warning. See [2022-06-23T10:09:29.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:09:29.704Z] [2022-06-23T10:09:29.704Z] Login Succeeded [2022-06-23T10:09:29.704Z] nexus3.edgexfoundry.org:10004 [2022-06-23T10:09:29.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:09:29.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:09:29.965Z] Configure a credential helper to remove this warning. See [2022-06-23T10:09:29.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:09:29.965Z] [2022-06-23T10:09:29.965Z] Login Succeeded [2022-06-23T10:09:29.965Z] docker.io [2022-06-23T10:09:29.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:09:30.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:09:30.226Z] Configure a credential helper to remove this warning. See [2022-06-23T10:09:30.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:09:30.226Z] [2022-06-23T10:09:30.226Z] Login Succeeded [2022-06-23T10:09:30.226Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T10:09:30.235Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-23T10:09:30.615Z] + git rev-list -1 --merges fb53c113294468c6710bfb985bd8458753e62a0b~1..fb53c113294468c6710bfb985bd8458753e62a0b [Pipeline] echo [2022-06-23T10:09:30.628Z] -----------> git rev-list -1 --merges fb53c113294468c6710bfb985bd8458753e62a0b~1..fb53c113294468c6710bfb985bd8458753e62a0b fb53c113294468c6710bfb985bd8458753e62a0b [2022-06-23T10:09:30.628Z] fb53c113294468c6710bfb985bd8458753e62a0b [false] [Pipeline] sh [2022-06-23T10:09:30.917Z] + git log --format=format:%s -1 fb53c113294468c6710bfb985bd8458753e62a0b [Pipeline] echo [2022-06-23T10:09:30.934Z] ========================================================= [2022-06-23T10:09:30.934Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-23T10:09:30.934Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T10:09:31.274Z] + git log --format=format:%s -1 fb53c113294468c6710bfb985bd8458753e62a0b [Pipeline] echo [2022-06-23T10:09:31.286Z] [semverPrep] GIT_COMMIT: fb53c113294468c6710bfb985bd8458753e62a0b, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo [2022-06-23T10:09:31.300Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-23T10:09:31.661Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-23T10:09:31.661Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-23T10:09:31.661Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-23T10:09:31.661Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-23T10:09:31.661Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-23T10:09:31.661Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-23T10:09:31.661Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T10:09:32.091Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T10:09:32.092Z] [2022-06-23T10:09:32.092Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T10:09:32.396Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T10:09:32.396Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-23T10:09:32.396Z] 42c077c10790: Pulling fs layer [2022-06-23T10:09:32.396Z] f63e77b7563a: Pulling fs layer [2022-06-23T10:09:32.396Z] bd5fdadae976: Pulling fs layer [2022-06-23T10:09:32.396Z] 205491f53016: Pulling fs layer [2022-06-23T10:09:32.396Z] df18705c85c3: Pulling fs layer [2022-06-23T10:09:32.396Z] bdb3f477010e: Pulling fs layer [2022-06-23T10:09:32.396Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-23T10:09:32.396Z] 2c6e9b1d212d: Pulling fs layer [2022-06-23T10:09:32.396Z] bdb8f0575790: Pulling fs layer [2022-06-23T10:09:32.396Z] 386e3cb2ff24: Pulling fs layer [2022-06-23T10:09:32.396Z] 2343380bae48: Pulling fs layer [2022-06-23T10:09:32.396Z] df18705c85c3: Waiting [2022-06-23T10:09:32.396Z] 386e3cb2ff24: Waiting [2022-06-23T10:09:32.396Z] bdb3f477010e: Waiting [2022-06-23T10:09:32.396Z] 2c6e9b1d212d: Waiting [2022-06-23T10:09:32.396Z] c8a8fc8e1c8f: Waiting [2022-06-23T10:09:32.396Z] bdb8f0575790: Waiting [2022-06-23T10:09:32.396Z] 205491f53016: Waiting [2022-06-23T10:09:32.396Z] 2343380bae48: Waiting [2022-06-23T10:09:32.396Z] f63e77b7563a: Download complete [2022-06-23T10:09:32.396Z] 205491f53016: Verifying Checksum [2022-06-23T10:09:32.396Z] 205491f53016: Download complete [2022-06-23T10:09:32.656Z] df18705c85c3: Verifying Checksum [2022-06-23T10:09:32.656Z] df18705c85c3: Download complete [2022-06-23T10:09:32.656Z] bd5fdadae976: Verifying Checksum [2022-06-23T10:09:32.656Z] bd5fdadae976: Download complete [2022-06-23T10:09:32.656Z] bdb3f477010e: Verifying Checksum [2022-06-23T10:09:32.656Z] bdb3f477010e: Download complete [2022-06-23T10:09:32.656Z] 2c6e9b1d212d: Download complete [2022-06-23T10:09:32.656Z] bdb8f0575790: Verifying Checksum [2022-06-23T10:09:32.656Z] bdb8f0575790: Download complete [2022-06-23T10:09:32.656Z] 386e3cb2ff24: Verifying Checksum [2022-06-23T10:09:32.656Z] 386e3cb2ff24: Download complete [2022-06-23T10:09:32.656Z] 2343380bae48: Verifying Checksum [2022-06-23T10:09:32.656Z] 2343380bae48: Download complete [2022-06-23T10:09:32.656Z] 42c077c10790: Download complete [2022-06-23T10:09:32.915Z] c8a8fc8e1c8f: Download complete [2022-06-23T10:09:33.851Z] 42c077c10790: Pull complete [2022-06-23T10:09:34.111Z] f63e77b7563a: Pull complete [2022-06-23T10:09:34.680Z] bd5fdadae976: Pull complete [2022-06-23T10:09:34.680Z] 205491f53016: Pull complete [2022-06-23T10:09:34.941Z] df18705c85c3: Pull complete [2022-06-23T10:09:34.941Z] bdb3f477010e: Pull complete [2022-06-23T10:09:36.848Z] c8a8fc8e1c8f: Pull complete [2022-06-23T10:09:36.848Z] 2c6e9b1d212d: Pull complete [2022-06-23T10:09:36.848Z] bdb8f0575790: Pull complete [2022-06-23T10:09:36.848Z] 386e3cb2ff24: Pull complete [2022-06-23T10:09:36.848Z] 2343380bae48: Pull complete [2022-06-23T10:09:36.848Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-23T10:09:37.108Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T10:09:37.108Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T10:09:37.209Z] prd-ubuntu20.04-docker-8c-8g-15432 does not seem to be running inside a container [2022-06-23T10:09:37.245Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-23T10:09:38.856Z] $ docker top fd29e67e41f31c7bbb957d7a9d92551a0abc746baf4fc7bc2842275d530114d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-23T10:09:38.959Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-23T10:09:38.959Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-23T10:09:39.090Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-23T10:09:39.099Z] $ docker exec fd29e67e41f31c7bbb957d7a9d92551a0abc746baf4fc7bc2842275d530114d4 ssh-agent [2022-06-23T10:09:39.237Z] SSH_AUTH_SOCK=/tmp/ssh-kjoBzrNCM48v/agent.33 [2022-06-23T10:09:39.237Z] SSH_AGENT_PID=39 [2022-06-23T10:09:39.243Z] Running ssh-add (command line suppressed) [2022-06-23T10:09:39.366Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_8114865807437193268.key (/w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_8114865807437193268.key) [2022-06-23T10:09:39.377Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-23T10:09:39.670Z] + git tag --points-at HEAD [Pipeline] } [2022-06-23T10:09:39.694Z] $ docker exec --env ******** --env ******** fd29e67e41f31c7bbb957d7a9d92551a0abc746baf4fc7bc2842275d530114d4 ssh-agent -k [2022-06-23T10:09:39.807Z] unset SSH_AUTH_SOCK; [2022-06-23T10:09:39.808Z] unset SSH_AGENT_PID; [2022-06-23T10:09:39.808Z] echo Agent pid 39 killed; [2022-06-23T10:09:39.815Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-23T10:09:39.838Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-23T10:09:39.839Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-23T10:09:39.964Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-23T10:09:39.972Z] $ docker exec fd29e67e41f31c7bbb957d7a9d92551a0abc746baf4fc7bc2842275d530114d4 ssh-agent [2022-06-23T10:09:40.083Z] SSH_AUTH_SOCK=/tmp/ssh-F7MvDLPGNYxS/agent.73 [2022-06-23T10:09:40.083Z] SSH_AGENT_PID=79 [2022-06-23T10:09:40.087Z] Running ssh-add (command line suppressed) [2022-06-23T10:09:40.215Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_4174587850103593669.key (/w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_4174587850103593669.key) [2022-06-23T10:09:40.224Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-23T10:09:40.511Z] + git semver init [2022-06-23T10:09:40.772Z] 2022-06-23 10:09:40,683 [run_init] DEBUG init version:0.0.0 force:False [2022-06-23T10:09:40.772Z] 2022-06-23 10:09:40,684 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-87/.semver [2022-06-23T10:09:40.772Z] 2022-06-23 10:09:40,685 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-87/.semver [2022-06-23T10:09:40.772Z] 2022-06-23 10:09:40,685 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-87/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87, universal_newlines=False, shell=None, istream=None) [2022-06-23T10:09:41.714Z] 2022-06-23 10:09:41,378 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-87/.git/info/exclude [2022-06-23T10:09:41.714Z] 2022-06-23 10:09:41,378 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 with force:False [2022-06-23T10:09:41.714Z] 2022-06-23 10:09:41,378 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 [2022-06-23T10:09:41.714Z] 2022-06-23 10:09:41,382 [execute] INFO git cat-file --batch-check [2022-06-23T10:09:41.714Z] 2022-06-23 10:09:41,383 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87/.semver, universal_newlines=False, shell=None, istream=) [2022-06-23T10:09:41.714Z] 2022-06-23 10:09:41,389 [execute] INFO git cat-file --batch [2022-06-23T10:09:41.714Z] 2022-06-23 10:09:41,389 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87/.semver, universal_newlines=False, shell=None, istream=) [2022-06-23T10:09:41.714Z] 2022-06-23 10:09:41,394 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 [2022-06-23T10:09:41.714Z] 0.0.0 [Pipeline] } [2022-06-23T10:09:41.731Z] $ docker exec --env ******** --env ******** fd29e67e41f31c7bbb957d7a9d92551a0abc746baf4fc7bc2842275d530114d4 ssh-agent -k [2022-06-23T10:09:41.833Z] unset SSH_AUTH_SOCK; [2022-06-23T10:09:41.834Z] unset SSH_AGENT_PID; [2022-06-23T10:09:41.834Z] echo Agent pid 79 killed; [2022-06-23T10:09:41.840Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-23T10:09:42.150Z] + git semver [Pipeline] } [2022-06-23T10:09:42.429Z] $ docker stop --time=1 fd29e67e41f31c7bbb957d7a9d92551a0abc746baf4fc7bc2842275d530114d4 [2022-06-23T10:09:43.752Z] $ docker rm -f fd29e67e41f31c7bbb957d7a9d92551a0abc746baf4fc7bc2842275d530114d4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-23T10:09:44.090Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-23T10:09:44.335Z] Stashed 1 file(s) [Pipeline] echo [2022-06-23T10:09:44.338Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T10:09:44.477Z] provisioning config files... [2022-06-23T10:09:44.486Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config2396435087913357837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T10:09:44.786Z] ---> docker-login.sh [2022-06-23T10:09:44.787Z] nexus3.edgexfoundry.org:10001 [2022-06-23T10:09:44.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:09:44.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:09:44.787Z] Configure a credential helper to remove this warning. See [2022-06-23T10:09:44.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:09:44.787Z] [2022-06-23T10:09:44.787Z] Login Succeeded [2022-06-23T10:09:44.787Z] nexus3.edgexfoundry.org:10002 [2022-06-23T10:09:44.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:09:45.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:09:45.047Z] Configure a credential helper to remove this warning. See [2022-06-23T10:09:45.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:09:45.047Z] [2022-06-23T10:09:45.047Z] Login Succeeded [2022-06-23T10:09:45.047Z] nexus3.edgexfoundry.org:10003 [2022-06-23T10:09:45.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:09:45.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:09:45.047Z] Configure a credential helper to remove this warning. See [2022-06-23T10:09:45.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:09:45.047Z] [2022-06-23T10:09:45.047Z] Login Succeeded [2022-06-23T10:09:45.047Z] nexus3.edgexfoundry.org:10004 [2022-06-23T10:09:45.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:09:45.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:09:45.308Z] Configure a credential helper to remove this warning. See [2022-06-23T10:09:45.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:09:45.308Z] [2022-06-23T10:09:45.308Z] Login Succeeded [2022-06-23T10:09:45.308Z] docker.io [2022-06-23T10:09:45.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:09:45.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:09:45.569Z] Configure a credential helper to remove this warning. See [2022-06-23T10:09:45.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:09:45.569Z] [2022-06-23T10:09:45.569Z] Login Succeeded [2022-06-23T10:09:45.569Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T10:09:45.577Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-23T10:09:45.644Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T10:09:45.661Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T10:09:45.673Z] ========================================================= [2022-06-23T10:09:45.673Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-23T10:09:45.673Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T10:09:45.996Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-23T10:09:45.996Z] Sending build context to Docker daemon 8.824MB [2022-06-23T10:09:45.996Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T10:09:45.996Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-23T10:09:45.996Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-23T10:09:45.996Z] 59bf1c3509f3: Pulling fs layer [2022-06-23T10:09:45.996Z] 666ba61612fd: Pulling fs layer [2022-06-23T10:09:45.996Z] 8ed8ca486205: Pulling fs layer [2022-06-23T10:09:45.996Z] cc1cd167ecdc: Pulling fs layer [2022-06-23T10:09:45.996Z] c516ae0d96e1: Pulling fs layer [2022-06-23T10:09:45.996Z] 684cea983483: Pulling fs layer [2022-06-23T10:09:45.996Z] cc1cd167ecdc: Waiting [2022-06-23T10:09:45.996Z] c516ae0d96e1: Waiting [2022-06-23T10:09:45.996Z] dd3240ac7de5: Pulling fs layer [2022-06-23T10:09:45.996Z] b1e948a4e11c: Pulling fs layer [2022-06-23T10:09:45.996Z] a8fd76ee1af6: Pulling fs layer [2022-06-23T10:09:45.996Z] 646ad004c059: Pulling fs layer [2022-06-23T10:09:45.996Z] a8fd76ee1af6: Waiting [2022-06-23T10:09:45.996Z] 646ad004c059: Waiting [2022-06-23T10:09:45.996Z] 8ed8ca486205: Download complete [2022-06-23T10:09:45.996Z] 666ba61612fd: Verifying Checksum [2022-06-23T10:09:45.996Z] 666ba61612fd: Download complete [2022-06-23T10:09:45.996Z] c516ae0d96e1: Download complete [2022-06-23T10:09:46.259Z] 684cea983483: Verifying Checksum [2022-06-23T10:09:46.259Z] 684cea983483: Download complete [2022-06-23T10:09:46.259Z] dd3240ac7de5: Verifying Checksum [2022-06-23T10:09:46.259Z] dd3240ac7de5: Download complete [2022-06-23T10:09:46.259Z] 59bf1c3509f3: Verifying Checksum [2022-06-23T10:09:46.259Z] 59bf1c3509f3: Download complete [2022-06-23T10:09:46.259Z] b1e948a4e11c: Download complete [2022-06-23T10:09:46.259Z] 59bf1c3509f3: Pull complete [2022-06-23T10:09:46.519Z] 666ba61612fd: Pull complete [2022-06-23T10:09:46.519Z] 8ed8ca486205: Pull complete [2022-06-23T10:09:46.780Z] 646ad004c059: Verifying Checksum [2022-06-23T10:09:46.780Z] 646ad004c059: Download complete [2022-06-23T10:09:46.780Z] a8fd76ee1af6: Verifying Checksum [2022-06-23T10:09:46.780Z] a8fd76ee1af6: Download complete [2022-06-23T10:09:47.041Z] cc1cd167ecdc: Verifying Checksum [2022-06-23T10:09:47.041Z] cc1cd167ecdc: Download complete [2022-06-23T10:09:50.642Z] cc1cd167ecdc: Pull complete [2022-06-23T10:09:50.642Z] c516ae0d96e1: Pull complete [2022-06-23T10:09:50.642Z] 684cea983483: Pull complete [2022-06-23T10:09:50.642Z] dd3240ac7de5: Pull complete [2022-06-23T10:09:50.642Z] b1e948a4e11c: Pull complete [2022-06-23T10:09:53.177Z] a8fd76ee1af6: Pull complete [2022-06-23T10:09:53.437Z] 646ad004c059: Pull complete [2022-06-23T10:09:53.437Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-23T10:09:53.437Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-23T10:09:53.437Z] ---> 8f69c11f6b0c [2022-06-23T10:09:53.437Z] Step 3/13 : ARG MAKE="make build" [2022-06-23T10:09:55.352Z] ---> Running in 63d977628fcf [2022-06-23T10:09:55.613Z] Removing intermediate container 63d977628fcf [2022-06-23T10:09:55.613Z] ---> bef3ed418256 [2022-06-23T10:09:55.613Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T10:09:55.613Z] ---> Running in 40a405235293 [2022-06-23T10:09:55.613Z] Removing intermediate container 40a405235293 [2022-06-23T10:09:55.613Z] ---> 5cec7c53d25e [2022-06-23T10:09:55.613Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T10:09:55.613Z] ---> Running in 9aaef5b3cfff [2022-06-23T10:09:55.873Z] Removing intermediate container 9aaef5b3cfff [2022-06-23T10:09:55.873Z] ---> 23be9f33a1f6 [2022-06-23T10:09:55.873Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-23T10:09:55.873Z] ---> Running in 65ffcfcc3bad [2022-06-23T10:09:55.873Z] Removing intermediate container 65ffcfcc3bad [2022-06-23T10:09:55.873Z] ---> 9d1fc4d1f12b [2022-06-23T10:09:55.873Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T10:09:55.873Z] ---> Running in e4eaca907796 [2022-06-23T10:09:56.444Z] Removing intermediate container e4eaca907796 [2022-06-23T10:09:56.444Z] ---> 52e44c667699 [2022-06-23T10:09:56.444Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T10:09:56.444Z] ---> Running in c9323bf20f85 [2022-06-23T10:09:57.020Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T10:09:57.961Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-23T10:09:58.222Z] OK: 221 MiB in 52 packages [2022-06-23T10:09:58.482Z] Removing intermediate container c9323bf20f85 [2022-06-23T10:09:58.482Z] ---> 7767203eb958 [2022-06-23T10:09:58.482Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-23T10:09:58.776Z] ---> Running in f4828d1481f8 [2022-06-23T10:09:58.776Z] Removing intermediate container f4828d1481f8 [2022-06-23T10:09:58.776Z] ---> 09c23a92a9d8 [2022-06-23T10:09:58.776Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-23T10:09:58.776Z] ---> 188a2c813e14 [2022-06-23T10:09:58.776Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T10:09:59.035Z] ---> Running in edb12f727251 [2022-06-23T10:09:59.442Z] Still waiting to schedule task [2022-06-23T10:09:59.442Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-23T10:10:17.149Z] Removing intermediate container edb12f727251 [2022-06-23T10:10:17.149Z] ---> 8b04d4548876 [2022-06-23T10:10:17.149Z] Step 12/13 : COPY . . [2022-06-23T10:10:17.149Z] ---> c215efd37acb [2022-06-23T10:10:17.149Z] Step 13/13 : RUN ${MAKE} [2022-06-23T10:10:17.410Z] ---> Running in a71f48cfc7f5 [2022-06-23T10:10:17.669Z] noop [2022-06-23T10:10:17.930Z] Removing intermediate container a71f48cfc7f5 [2022-06-23T10:10:17.930Z] ---> 1f4bd392bf8b [2022-06-23T10:10:17.930Z] Successfully built 1f4bd392bf8b [2022-06-23T10:10:17.930Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T10:10:18.253Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-23T10:10:18.253Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T10:10:18.336Z] prd-ubuntu20.04-docker-8c-8g-15432 does not seem to be running inside a container [2022-06-23T10:10:18.380Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@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 ******** ci-base-image-x86_64 cat [2022-06-23T10:10:18.792Z] $ docker top f9717626f157d7af84680045579c67278c7d04682a91f15a625914c15ab8187a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-23T10:10:19.148Z] + go version [2022-06-23T10:10:19.148Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-23T10:10:19.166Z] $ docker stop --time=1 f9717626f157d7af84680045579c67278c7d04682a91f15a625914c15ab8187a [2022-06-23T10:10:20.466Z] $ docker rm -f f9717626f157d7af84680045579c67278c7d04682a91f15a625914c15ab8187a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T10:10:20.893Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-23T10:10:20.894Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T10:10:20.975Z] prd-ubuntu20.04-docker-8c-8g-15432 does not seem to be running inside a container [2022-06-23T10:10:21.020Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@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 ******** ci-base-image-x86_64 cat [2022-06-23T10:10:21.393Z] $ docker top ca0c151d9dd5c1b735689139e9446a1ef1bb151c559922d4e2c4dc8ea7c77016 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-23T10:10:21.755Z] + make test [2022-06-23T10:10:21.755Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-23T10:10:22.016Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-23T10:10:32.126Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-23T10:10:32.126Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.016s coverage: 4.6% of statements [2022-06-23T10:10:35.433Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.311s coverage: 13.8% of statements [2022-06-23T10:10:42.008Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-23T10:10:45.312Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-23T10:10:45.312Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-23T10:10:45.312Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-23T10:10:45.895Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-23T10:10:45.914Z] $ docker stop --time=1 ca0c151d9dd5c1b735689139e9446a1ef1bb151c559922d4e2c4dc8ea7c77016 [2022-06-23T10:10:47.892Z] $ docker rm -f ca0c151d9dd5c1b735689139e9446a1ef1bb151c559922d4e2c4dc8ea7c77016 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-23T10:10:48.325Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-23T10:10:48.376Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-23T10:10:48.884Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-23T10:10:49.171Z] + ls -al . [2022-06-23T10:10:49.171Z] total 240 [2022-06-23T10:10:49.171Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 23 10:10 . [2022-06-23T10:10:49.171Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 10:09 .. [2022-06-23T10:10:49.171Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 10:09 .git [2022-06-23T10:10:49.171Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 10:09 .github [2022-06-23T10:10:49.171Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 23 10:09 .gitignore [2022-06-23T10:10:49.171Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 23 10:09 .golangci.yml [2022-06-23T10:10:49.171Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 10:09 .semver [2022-06-23T10:10:49.171Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 23 10:09 Attribution.txt [2022-06-23T10:10:49.171Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 23 10:09 CHANGELOG.md [2022-06-23T10:10:49.171Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 23 10:09 Dockerfile [2022-06-23T10:10:49.171Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 23 10:09 GOVERNANCE.md [2022-06-23T10:10:49.171Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 23 10:09 Jenkinsfile [2022-06-23T10:10:49.171Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 23 10:09 LICENSE [2022-06-23T10:10:49.171Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 23 10:09 Makefile [2022-06-23T10:10:49.171Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 23 10:09 OWNERS.md [2022-06-23T10:10:49.171Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 23 10:09 README.md [2022-06-23T10:10:49.171Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 10:09 VERSION [2022-06-23T10:10:49.171Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 10:09 bin [2022-06-23T10:10:49.171Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 10:09 cmd [2022-06-23T10:10:49.171Z] -rw-r--r-- 1 jenkins jenkins 63108 Jun 23 10:10 coverage.out [2022-06-23T10:10:49.171Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 10:09 doc [2022-06-23T10:10:49.171Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 23 10:09 go.mod [2022-06-23T10:10:49.171Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 23 10:09 go.sum [2022-06-23T10:10:49.171Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 10:09 internal [2022-06-23T10:10:49.171Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 23 10:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T10:10:49.479Z] + 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=fb53c113294468c6710bfb985bd8458753e62a0b --label arch=amd64 --label version=0.0.0 . [2022-06-23T10:10:49.479Z] Sending build context to Docker daemon 8.888MB [2022-06-23T10:10:49.479Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T10:10:49.479Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-23T10:10:49.479Z] ---> 1f4bd392bf8b [2022-06-23T10:10:49.479Z] Step 3/26 : ARG MAKE="make build" [2022-06-23T10:10:49.751Z] ---> Running in cb58fca2d05c [2022-06-23T10:10:49.751Z] Removing intermediate container cb58fca2d05c [2022-06-23T10:10:49.751Z] ---> 7d75423ec705 [2022-06-23T10:10:49.751Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T10:10:49.751Z] ---> Running in c061288af746 [2022-06-23T10:10:49.751Z] Removing intermediate container c061288af746 [2022-06-23T10:10:49.751Z] ---> e01226645340 [2022-06-23T10:10:49.751Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T10:10:50.012Z] ---> Running in 2176349cf1e2 [2022-06-23T10:10:50.012Z] Removing intermediate container 2176349cf1e2 [2022-06-23T10:10:50.012Z] ---> cb4e733d77c9 [2022-06-23T10:10:50.012Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-23T10:10:50.012Z] ---> Running in 4854fc55cab6 [2022-06-23T10:10:50.271Z] Removing intermediate container 4854fc55cab6 [2022-06-23T10:10:50.271Z] ---> b6831439177a [2022-06-23T10:10:50.271Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T10:10:50.271Z] ---> Running in 9d32365d7dce [2022-06-23T10:10:50.843Z] Removing intermediate container 9d32365d7dce [2022-06-23T10:10:50.843Z] ---> 2c5e3f677333 [2022-06-23T10:10:50.843Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T10:10:50.843Z] ---> Running in 429f294e9c06 [2022-06-23T10:10:51.103Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T10:10:52.049Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-23T10:10:52.309Z] OK: 221 MiB in 52 packages [2022-06-23T10:10:52.568Z] Removing intermediate container 429f294e9c06 [2022-06-23T10:10:52.568Z] ---> bcf191f59414 [2022-06-23T10:10:52.568Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-23T10:10:52.568Z] ---> Running in f495c0f47d1d [2022-06-23T10:10:52.828Z] Removing intermediate container f495c0f47d1d [2022-06-23T10:10:52.828Z] ---> 5e405e7f2fa9 [2022-06-23T10:10:52.828Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-23T10:10:52.828Z] ---> d5f16369be0a [2022-06-23T10:10:52.828Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T10:10:53.087Z] ---> Running in 8312afa097df [2022-06-23T10:10:53.656Z] Removing intermediate container 8312afa097df [2022-06-23T10:10:53.656Z] ---> 0e4e30a40dbe [2022-06-23T10:10:53.656Z] Step 12/26 : COPY . . [2022-06-23T10:10:54.224Z] ---> 01ec8fe289b3 [2022-06-23T10:10:54.224Z] Step 13/26 : RUN ${MAKE} [2022-06-23T10:10:54.224Z] ---> Running in 73b72da880f4 [2022-06-23T10:10:54.484Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-23T10:11:16.436Z] Removing intermediate container 73b72da880f4 [2022-06-23T10:11:16.436Z] ---> a1dab77b4a9d [2022-06-23T10:11:16.436Z] Step 14/26 : FROM alpine:3.15 [2022-06-23T10:11:16.436Z] 3.15: Pulling from library/alpine [2022-06-23T10:11:16.436Z] df9b9388f04a: Pulling fs layer [2022-06-23T10:11:16.436Z] df9b9388f04a: Verifying Checksum [2022-06-23T10:11:16.436Z] df9b9388f04a: Download complete [2022-06-23T10:11:16.436Z] df9b9388f04a: Pull complete [2022-06-23T10:11:16.436Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-23T10:11:16.436Z] Status: Downloaded newer image for alpine:3.15 [2022-06-23T10:11:16.436Z] ---> 0ac33e5f5afa [2022-06-23T10:11:16.436Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-23T10:11:16.436Z] ---> Running in 5515eee30173 [2022-06-23T10:11:16.436Z] Removing intermediate container 5515eee30173 [2022-06-23T10:11:16.436Z] ---> bb960dfcfa57 [2022-06-23T10:11:16.436Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-23T10:11:16.436Z] ---> Running in 7e966d48b190 [2022-06-23T10:11:16.436Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T10:11:16.436Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-23T10:11:16.436Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-23T10:11:16.436Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-23T10:11:16.436Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-23T10:11:16.436Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-23T10:11:16.436Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-23T10:11:16.436Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-23T10:11:16.436Z] Executing busybox-1.34.1-r5.trigger [2022-06-23T10:11:16.436Z] OK: 8 MiB in 20 packages [2022-06-23T10:11:16.436Z] Removing intermediate container 7e966d48b190 [2022-06-23T10:11:16.436Z] ---> 0b8b85ddc518 [2022-06-23T10:11:16.436Z] Step 17/26 : WORKDIR / [2022-06-23T10:11:16.436Z] ---> Running in a0d76adc307d [2022-06-23T10:11:16.436Z] Removing intermediate container a0d76adc307d [2022-06-23T10:11:16.436Z] ---> 66f7f4c3388f [2022-06-23T10:11:16.436Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-23T10:11:16.697Z] ---> b5fe7d385d77 [2022-06-23T10:11:16.697Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-23T10:11:16.697Z] ---> 9fc64b3b33b9 [2022-06-23T10:11:16.697Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-23T10:11:16.964Z] ---> 3635cb95fc84 [2022-06-23T10:11:16.964Z] Step 21/26 : EXPOSE 59984 [2022-06-23T10:11:16.964Z] ---> Running in ffe211ef257c [2022-06-23T10:11:17.225Z] Removing intermediate container ffe211ef257c [2022-06-23T10:11:17.225Z] ---> d1d7fbdaad45 [2022-06-23T10:11:17.225Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-23T10:11:17.225Z] ---> Running in e7b2284739b2 [2022-06-23T10:11:17.225Z] Removing intermediate container e7b2284739b2 [2022-06-23T10:11:17.225Z] ---> 8d864511b3b8 [2022-06-23T10:11:17.225Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-23T10:11:17.225Z] ---> Running in 3f708ccb4438 [2022-06-23T10:11:17.485Z] Removing intermediate container 3f708ccb4438 [2022-06-23T10:11:17.485Z] ---> f18e7a50d238 [2022-06-23T10:11:17.485Z] Step 24/26 : LABEL arch=amd64 [2022-06-23T10:11:17.485Z] ---> Running in 8692a7c69342 [2022-06-23T10:11:17.485Z] Removing intermediate container 8692a7c69342 [2022-06-23T10:11:17.485Z] ---> 6ac5072ba2e7 [2022-06-23T10:11:17.485Z] Step 25/26 : LABEL git_sha=fb53c113294468c6710bfb985bd8458753e62a0b [2022-06-23T10:11:17.745Z] ---> Running in 4681637f7dcb [2022-06-23T10:11:17.745Z] Removing intermediate container 4681637f7dcb [2022-06-23T10:11:17.745Z] ---> b40f1c686590 [2022-06-23T10:11:17.745Z] Step 26/26 : LABEL version=0.0.0 [2022-06-23T10:11:17.745Z] ---> Running in e37afda6a979 [2022-06-23T10:11:17.745Z] Removing intermediate container e37afda6a979 [2022-06-23T10:11:17.745Z] ---> 72011653edc0 [2022-06-23T10:11:17.745Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-23T10:11:17.745Z] Successfully built 72011653edc0 [2022-06-23T10:11:17.745Z] 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 [2022-06-23T10:11:18.207Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T10:11:18.207Z] [2022-06-23T10:11:18.207Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T10:11:18.518Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T10:11:18.518Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-23T10:11:18.518Z] 5eb5b503b376: Pulling fs layer [2022-06-23T10:11:18.518Z] 5c69ac0246d0: Pulling fs layer [2022-06-23T10:11:18.518Z] ec43610c2a17: Pulling fs layer [2022-06-23T10:11:18.518Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-23T10:11:18.518Z] 33b1e0a273af: Pulling fs layer [2022-06-23T10:11:18.518Z] 5d3b04190fa2: Pulling fs layer [2022-06-23T10:11:18.518Z] 2f39f015ded8: Pulling fs layer [2022-06-23T10:11:18.518Z] 33b1e0a273af: Waiting [2022-06-23T10:11:18.518Z] 5d3b04190fa2: Waiting [2022-06-23T10:11:18.518Z] 2f39f015ded8: Waiting [2022-06-23T10:11:18.518Z] 3a2ae6a8a46f: Waiting [2022-06-23T10:11:18.518Z] 5c69ac0246d0: Verifying Checksum [2022-06-23T10:11:18.518Z] 5c69ac0246d0: Download complete [2022-06-23T10:11:18.518Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-23T10:11:18.518Z] 3a2ae6a8a46f: Download complete [2022-06-23T10:11:18.518Z] ec43610c2a17: Verifying Checksum [2022-06-23T10:11:18.518Z] ec43610c2a17: Download complete [2022-06-23T10:11:18.778Z] 33b1e0a273af: Verifying Checksum [2022-06-23T10:11:18.778Z] 33b1e0a273af: Download complete [2022-06-23T10:11:18.778Z] 5d3b04190fa2: Verifying Checksum [2022-06-23T10:11:18.778Z] 5d3b04190fa2: Download complete [2022-06-23T10:11:18.778Z] 5eb5b503b376: Verifying Checksum [2022-06-23T10:11:18.778Z] 5eb5b503b376: Download complete [2022-06-23T10:11:19.351Z] 2f39f015ded8: Download complete [2022-06-23T10:11:19.921Z] 5eb5b503b376: Pull complete [2022-06-23T10:11:20.182Z] 5c69ac0246d0: Pull complete [2022-06-23T10:11:20.443Z] ec43610c2a17: Pull complete [2022-06-23T10:11:20.703Z] 3a2ae6a8a46f: Pull complete [2022-06-23T10:11:20.963Z] 33b1e0a273af: Pull complete [2022-06-23T10:11:20.963Z] 5d3b04190fa2: Pull complete [2022-06-23T10:11:25.151Z] 2f39f015ded8: Pull complete [2022-06-23T10:11:25.151Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-23T10:11:25.151Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T10:11:25.151Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T10:11:25.256Z] prd-ubuntu20.04-docker-8c-8g-15432 does not seem to be running inside a container [2022-06-23T10:11:25.296Z] $ 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/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@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 [2022-06-23T10:11:27.641Z] $ docker top 912ad0bd09cb70ef5fe983fd5274c5bcd36f40ba31f4edeb624b5ae713c7e211 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T10:11:28.045Z] ---> job-cost.sh [2022-06-23T10:11:28.046Z] lf-activate-venv: SKIPPING [2022-06-23T10:11:28.046Z] INFO: No Stack... [2022-06-23T10:11:28.307Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-23T10:11:28.876Z] INFO: Archiving Costs [Pipeline] sh [2022-06-23T10:11:29.170Z] + + cut -d, -f6 [2022-06-23T10:11:29.170Z] cat /w/workspace/oundry_device-onvif-camera_PR-87/archives/cost.csv [Pipeline] lock [2022-06-23T10:11:29.184Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-87-6-stack-cost] [2022-06-23T10:11:29.190Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-6-stack-cost] did not exist. Created. [2022-06-23T10:11:29.190Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-87-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-23T10:11:29.497Z] + echo total: 0.8799999952316284 [Pipeline] stash [2022-06-23T10:11:29.526Z] Stashed 1 file(s) [Pipeline] } [2022-06-23T10:11:29.533Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-23T10:11:29.556Z] $ docker stop --time=1 912ad0bd09cb70ef5fe983fd5274c5bcd36f40ba31f4edeb624b5ae713c7e211 [2022-06-23T10:11:30.731Z] $ docker rm -f 912ad0bd09cb70ef5fe983fd5274c5bcd36f40ba31f4edeb624b5ae713c7e211 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-23T10:11:42.837Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15438 in /w/workspace/oundry_device-onvif-camera_PR-87 [Pipeline] { [Pipeline] ws [2022-06-23T10:11:42.850Z] Running in /w/workspace/device-onvif-camera/6 [Pipeline] { [Pipeline] checkout [2022-06-23T10:11:42.889Z] Selected Git installation does not exist. Using Default [2022-06-23T10:11:42.889Z] The recommended git tool is: NONE [2022-06-23T10:11:48.601Z] using credential edgex-jenkins-ssh [2022-06-23T10:11:48.629Z] Cloning the remote Git repository [2022-06-23T10:11:48.688Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-23T10:11:48.768Z] > git init /w/workspace/device-onvif-camera/6 # timeout=10 [2022-06-23T10:11:48.858Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-23T10:11:48.859Z] > git --version # timeout=10 [2022-06-23T10:11:48.877Z] > git --version # 'git version 2.25.1' [2022-06-23T10:11:48.879Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-23T10:11:48.963Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-23T10:11:50.556Z] Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 7f56b5113b5ae1679364fc43f06d5c542e86837a [2022-06-23T10:11:49.922Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-23T10:11:49.947Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-23T10:11:49.983Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-23T10:11:50.025Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-23T10:11:50.026Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-23T10:11:50.047Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/87/head:refs/remotes/origin/PR-87 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-23T10:11:50.590Z] > git config core.sparsecheckout # timeout=10 [2022-06-23T10:11:50.619Z] > git checkout -f 7f56b5113b5ae1679364fc43f06d5c542e86837a # timeout=10 [2022-06-23T10:11:50.768Z] > git remote # timeout=10 [2022-06-23T10:11:50.785Z] > git config --get remote.origin.url # timeout=10 [2022-06-23T10:11:50.806Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-23T10:11:50.818Z] > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 [2022-06-23T10:11:51.040Z] Merge succeeded, producing f5bdda2df7736f008aeaee640873ceac743246c7 [2022-06-23T10:11:51.041Z] Checking out Revision f5bdda2df7736f008aeaee640873ceac743246c7 (PR-87) [2022-06-23T10:11:51.024Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-23T10:11:51.052Z] > git config core.sparsecheckout # timeout=10 [2022-06-23T10:11:51.070Z] > git checkout -f f5bdda2df7736f008aeaee640873ceac743246c7 # timeout=10 [2022-06-23T10:11:55.365Z] Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" [2022-06-23T10:11:55.392Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T10:11:56.289Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-23T10:11:56.289Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-23T10:11:56.289Z] Dload Upload Total Spent Left Speed [2022-06-23T10:11:56.289Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 82790 0 --:--:-- --:--:-- --:--:-- 82790 [2022-06-23T10:11:55.377Z] > git rev-list --no-walk eb27a6a6c9d76b6440e4e3fa5e877dcb2e597d36 # timeout=10 [Pipeline] sh [2022-06-23T10:11:57.114Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-23T10:11:57.454Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-23T10:11:57.454Z] + sudo tee /etc/docker/daemon.new [2022-06-23T10:11:57.454Z] { [2022-06-23T10:11:57.454Z] "registry-mirrors": [ [2022-06-23T10:11:57.454Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-23T10:11:57.454Z] ], [2022-06-23T10:11:57.454Z] "bip": "10.250.0.254/24", [2022-06-23T10:11:57.454Z] "hosts": [ [2022-06-23T10:11:57.454Z] "tcp://0.0.0.0:5555", [2022-06-23T10:11:57.454Z] "unix:///var/run/docker.sock" [2022-06-23T10:11:57.454Z] ], [2022-06-23T10:11:57.454Z] "mtu": 1458, [2022-06-23T10:11:57.454Z] "selinux-enabled": true, [2022-06-23T10:11:57.454Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-23T10:11:57.454Z] } [Pipeline] sh [2022-06-23T10:11:57.794Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-23T10:11:58.142Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T10:12:16.479Z] provisioning config files... [2022-06-23T10:12:16.502Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config7860292972712641899tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T10:12:16.868Z] ---> docker-login.sh [2022-06-23T10:12:16.868Z] nexus3.edgexfoundry.org:10001 [2022-06-23T10:12:17.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:12:17.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:12:17.744Z] Configure a credential helper to remove this warning. See [2022-06-23T10:12:17.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:12:17.744Z] [2022-06-23T10:12:17.744Z] Login Succeeded [2022-06-23T10:12:17.744Z] nexus3.edgexfoundry.org:10002 [2022-06-23T10:12:18.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:12:18.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:12:18.296Z] Configure a credential helper to remove this warning. See [2022-06-23T10:12:18.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:12:18.296Z] [2022-06-23T10:12:18.296Z] Login Succeeded [2022-06-23T10:12:18.296Z] nexus3.edgexfoundry.org:10003 [2022-06-23T10:12:18.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:12:18.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:12:18.572Z] Configure a credential helper to remove this warning. See [2022-06-23T10:12:18.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:12:18.572Z] [2022-06-23T10:12:18.572Z] Login Succeeded [2022-06-23T10:12:18.572Z] nexus3.edgexfoundry.org:10004 [2022-06-23T10:12:19.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:12:19.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:12:19.176Z] Configure a credential helper to remove this warning. See [2022-06-23T10:12:19.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:12:19.176Z] [2022-06-23T10:12:19.176Z] Login Succeeded [2022-06-23T10:12:19.176Z] docker.io [2022-06-23T10:12:19.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T10:12:20.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T10:12:20.046Z] Configure a credential helper to remove this warning. See [2022-06-23T10:12:20.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T10:12:20.046Z] [2022-06-23T10:12:20.046Z] Login Succeeded [2022-06-23T10:12:20.046Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T10:12:20.065Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-23T10:12:20.632Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T10:12:20.644Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T10:12:20.652Z] ========================================================= [2022-06-23T10:12:20.652Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-23T10:12:20.652Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T10:12:21.021Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-23T10:12:21.629Z] Sending build context to Docker daemon 6.03MB [2022-06-23T10:12:21.629Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T10:12:21.629Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-23T10:12:21.629Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-23T10:12:21.629Z] 9b3977197b4f: Pulling fs layer [2022-06-23T10:12:21.629Z] 1a89e8eeedd5: Pulling fs layer [2022-06-23T10:12:21.629Z] 94645a83ff95: Pulling fs layer [2022-06-23T10:12:21.629Z] e6fb740bc735: Pulling fs layer [2022-06-23T10:12:21.629Z] 3a77bd46dcc9: Pulling fs layer [2022-06-23T10:12:21.629Z] 355e64cbe906: Pulling fs layer [2022-06-23T10:12:21.629Z] 63ab81a10011: Pulling fs layer [2022-06-23T10:12:21.629Z] 555d1d1c4555: Pulling fs layer [2022-06-23T10:12:21.629Z] 7d9057610161: Pulling fs layer [2022-06-23T10:12:21.629Z] 355e64cbe906: Waiting [2022-06-23T10:12:21.629Z] 555d1d1c4555: Waiting [2022-06-23T10:12:21.629Z] 7d9057610161: Waiting [2022-06-23T10:12:21.629Z] 63ab81a10011: Waiting [2022-06-23T10:12:21.629Z] e6fb740bc735: Waiting [2022-06-23T10:12:21.629Z] 3a77bd46dcc9: Waiting [2022-06-23T10:12:21.629Z] 94645a83ff95: Download complete [2022-06-23T10:12:21.629Z] 1a89e8eeedd5: Verifying Checksum [2022-06-23T10:12:21.629Z] 1a89e8eeedd5: Download complete [2022-06-23T10:12:21.629Z] 3a77bd46dcc9: Verifying Checksum [2022-06-23T10:12:21.629Z] 3a77bd46dcc9: Download complete [2022-06-23T10:12:21.629Z] 355e64cbe906: Verifying Checksum [2022-06-23T10:12:21.629Z] 355e64cbe906: Download complete [2022-06-23T10:12:21.629Z] 9b3977197b4f: Verifying Checksum [2022-06-23T10:12:21.629Z] 9b3977197b4f: Download complete [2022-06-23T10:12:21.912Z] 63ab81a10011: Verifying Checksum [2022-06-23T10:12:21.912Z] 63ab81a10011: Download complete [2022-06-23T10:12:22.911Z] 9b3977197b4f: Pull complete [2022-06-23T10:12:22.911Z] 7d9057610161: Verifying Checksum [2022-06-23T10:12:22.911Z] 7d9057610161: Download complete [2022-06-23T10:12:23.512Z] 1a89e8eeedd5: Pull complete [2022-06-23T10:12:23.795Z] 94645a83ff95: Pull complete [2022-06-23T10:12:24.071Z] 555d1d1c4555: Verifying Checksum [2022-06-23T10:12:24.071Z] 555d1d1c4555: Download complete [2022-06-23T10:12:24.674Z] e6fb740bc735: Verifying Checksum [2022-06-23T10:12:24.674Z] e6fb740bc735: Download complete [2022-06-23T10:12:37.094Z] e6fb740bc735: Pull complete [2022-06-23T10:12:37.094Z] 3a77bd46dcc9: Pull complete [2022-06-23T10:12:37.094Z] 355e64cbe906: Pull complete [2022-06-23T10:12:37.094Z] 63ab81a10011: Pull complete [2022-06-23T10:12:43.833Z] 555d1d1c4555: Pull complete [2022-06-23T10:12:45.820Z] 7d9057610161: Pull complete [2022-06-23T10:12:45.820Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-23T10:12:45.820Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-23T10:12:45.820Z] ---> 819e984ddca1 [2022-06-23T10:12:45.820Z] Step 3/13 : ARG MAKE="make build" [2022-06-23T10:12:47.811Z] ---> Running in 0244da3c8e48 [2022-06-23T10:12:47.811Z] Removing intermediate container 0244da3c8e48 [2022-06-23T10:12:47.811Z] ---> b4f47d69301a [2022-06-23T10:12:47.811Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T10:12:47.811Z] ---> Running in c667d7cd7683 [2022-06-23T10:12:48.086Z] Removing intermediate container c667d7cd7683 [2022-06-23T10:12:48.086Z] ---> b2de0f13355e [2022-06-23T10:12:48.086Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T10:12:48.364Z] ---> Running in 83ef54583cbd [2022-06-23T10:12:48.642Z] Removing intermediate container 83ef54583cbd [2022-06-23T10:12:48.642Z] ---> 31108746b85f [2022-06-23T10:12:48.642Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-23T10:12:48.642Z] ---> Running in 8ad388d921eb [2022-06-23T10:12:48.917Z] Removing intermediate container 8ad388d921eb [2022-06-23T10:12:48.917Z] ---> a6df3ff83ed9 [2022-06-23T10:12:48.917Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T10:12:48.917Z] ---> Running in 49eab4329898 [2022-06-23T10:12:50.903Z] Removing intermediate container 49eab4329898 [2022-06-23T10:12:50.903Z] ---> bb9f742dafd4 [2022-06-23T10:12:50.903Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T10:12:50.903Z] ---> Running in 829db5f14d35 [2022-06-23T10:12:51.895Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T10:12:52.871Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-23T10:12:53.473Z] OK: 220 MiB in 52 packages [2022-06-23T10:12:54.455Z] Removing intermediate container 829db5f14d35 [2022-06-23T10:12:54.455Z] ---> 840ea84eb4ae [2022-06-23T10:12:54.455Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-23T10:12:54.455Z] ---> Running in d322b5be3a42 [2022-06-23T10:12:54.728Z] Removing intermediate container d322b5be3a42 [2022-06-23T10:12:54.728Z] ---> 9fbc6a6d6753 [2022-06-23T10:12:54.728Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-23T10:12:55.325Z] ---> 1034f44da5fb [2022-06-23T10:12:55.325Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T10:12:55.325Z] ---> Running in 8cb5c52d1812 [2022-06-23T10:13:42.350Z] Removing intermediate container 8cb5c52d1812 [2022-06-23T10:13:42.351Z] ---> 4adc400381d7 [2022-06-23T10:13:42.351Z] Step 12/13 : COPY . . [2022-06-23T10:13:42.351Z] ---> 6eb304cd0d6e [2022-06-23T10:13:42.351Z] Step 13/13 : RUN ${MAKE} [2022-06-23T10:13:42.351Z] ---> Running in f9da6cff90de [2022-06-23T10:13:42.351Z] noop [2022-06-23T10:13:42.950Z] Removing intermediate container f9da6cff90de [2022-06-23T10:13:42.950Z] ---> 9cf664bdd2ed [2022-06-23T10:13:42.950Z] Successfully built 9cf664bdd2ed [2022-06-23T10:13:42.950Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T10:13:43.313Z] + docker inspect -f . ci-base-image-arm64 [2022-06-23T10:13:43.314Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T10:13:43.565Z] prd-ubuntu20.04-docker-arm64-4c-16g-15438 does not seem to be running inside a container [2022-06-23T10:13:43.655Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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 ******** ci-base-image-arm64 cat [2022-06-23T10:13:44.898Z] $ docker top 0a5f6ba193fdd0faf8ed9bff2764cae8f0853c7216c3a0688962bef909a93b15 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-23T10:13:45.806Z] + go version [2022-06-23T10:13:45.806Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-23T10:13:45.834Z] $ docker stop --time=1 0a5f6ba193fdd0faf8ed9bff2764cae8f0853c7216c3a0688962bef909a93b15 [2022-06-23T10:13:47.453Z] $ docker rm -f 0a5f6ba193fdd0faf8ed9bff2764cae8f0853c7216c3a0688962bef909a93b15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T10:13:48.088Z] + docker inspect -f . ci-base-image-arm64 [2022-06-23T10:13:48.088Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T10:13:48.316Z] prd-ubuntu20.04-docker-arm64-4c-16g-15438 does not seem to be running inside a container [2022-06-23T10:13:48.407Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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 ******** ci-base-image-arm64 cat [2022-06-23T10:13:49.644Z] $ docker top d6f1cb505e30bbf02e70b7c0efa5e16d5ae4cb994cb37bcc1d239331f8711a93 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-23T10:13:50.577Z] + make test [2022-06-23T10:13:50.577Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-23T10:13:52.557Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-23T10:15:14.388Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-23T10:15:14.661Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.093s coverage: 4.6% of statements [2022-06-23T10:15:41.462Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.623s coverage: 13.8% of statements [2022-06-23T10:15:41.462Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-23T10:15:41.462Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-23T10:16:08.281Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-23T10:16:08.281Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-23T10:16:08.281Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-23T10:16:09.287Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-23T10:16:09.303Z] $ docker stop --time=1 d6f1cb505e30bbf02e70b7c0efa5e16d5ae4cb994cb37bcc1d239331f8711a93 [2022-06-23T10:16:11.092Z] $ docker rm -f d6f1cb505e30bbf02e70b7c0efa5e16d5ae4cb994cb37bcc1d239331f8711a93 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-23T10:16:12.036Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-23T10:16:12.062Z] Warning: overwriting stash ‘coverage-report’ [2022-06-23T10:16:12.557Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T10:16:12.988Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-23T10:16:13.382Z] + ls -al . [2022-06-23T10:16:13.382Z] total 236 [2022-06-23T10:16:13.382Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 10:16 . [2022-06-23T10:16:13.382Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 10:11 .. [2022-06-23T10:16:13.382Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 10:11 .git [2022-06-23T10:16:13.382Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 10:11 .github [2022-06-23T10:16:13.382Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 23 10:11 .gitignore [2022-06-23T10:16:13.382Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 23 10:11 .golangci.yml [2022-06-23T10:16:13.382Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 23 10:11 Attribution.txt [2022-06-23T10:16:13.382Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 23 10:11 CHANGELOG.md [2022-06-23T10:16:13.382Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 23 10:11 Dockerfile [2022-06-23T10:16:13.382Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 23 10:11 GOVERNANCE.md [2022-06-23T10:16:13.382Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 23 10:11 Jenkinsfile [2022-06-23T10:16:13.382Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 23 10:11 LICENSE [2022-06-23T10:16:13.382Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 23 10:11 Makefile [2022-06-23T10:16:13.382Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 23 10:11 OWNERS.md [2022-06-23T10:16:13.382Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 23 10:11 README.md [2022-06-23T10:16:13.382Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 10:09 VERSION [2022-06-23T10:16:13.382Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 10:11 bin [2022-06-23T10:16:13.382Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 10:11 cmd [2022-06-23T10:16:13.382Z] -rw-r--r-- 1 jenkins jenkins 63108 Jun 23 10:15 coverage.out [2022-06-23T10:16:13.382Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 10:11 doc [2022-06-23T10:16:13.382Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 23 10:11 go.mod [2022-06-23T10:16:13.382Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 23 10:11 go.sum [2022-06-23T10:16:13.382Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 10:11 internal [2022-06-23T10:16:13.382Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 23 10:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T10:16:13.774Z] + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f5bdda2df7736f008aeaee640873ceac743246c7 --label arch=arm64 --label version=0.0.0 . [2022-06-23T10:16:14.469Z] Sending build context to Docker daemon 6.094MB [2022-06-23T10:16:14.469Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T10:16:14.469Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-23T10:16:14.469Z] ---> 9cf664bdd2ed [2022-06-23T10:16:14.469Z] Step 3/26 : ARG MAKE="make build" [2022-06-23T10:16:14.469Z] ---> Running in 7c5ac8165bee [2022-06-23T10:16:14.783Z] Removing intermediate container 7c5ac8165bee [2022-06-23T10:16:14.783Z] ---> ee797cbb7e6f [2022-06-23T10:16:14.783Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T10:16:15.092Z] ---> Running in a9e62a1e03fb [2022-06-23T10:16:15.378Z] Removing intermediate container a9e62a1e03fb [2022-06-23T10:16:15.378Z] ---> 54e6ee5dce1d [2022-06-23T10:16:15.378Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T10:16:15.378Z] ---> Running in bc03f1641bfd [2022-06-23T10:16:15.656Z] Removing intermediate container bc03f1641bfd [2022-06-23T10:16:15.656Z] ---> 9f9a35857524 [2022-06-23T10:16:15.656Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-23T10:16:15.929Z] ---> Running in 7033612a4ac2 [2022-06-23T10:16:16.204Z] Removing intermediate container 7033612a4ac2 [2022-06-23T10:16:16.204Z] ---> 6b0037703fad [2022-06-23T10:16:16.204Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T10:16:16.204Z] ---> Running in a7d211687b34 [2022-06-23T10:16:18.188Z] Removing intermediate container a7d211687b34 [2022-06-23T10:16:18.188Z] ---> 955ce7b7b7a3 [2022-06-23T10:16:18.188Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T10:16:18.188Z] ---> Running in 2d333db98ac8 [2022-06-23T10:16:19.172Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T10:16:19.793Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-23T10:16:20.776Z] OK: 220 MiB in 52 packages [2022-06-23T10:16:21.369Z] Removing intermediate container 2d333db98ac8 [2022-06-23T10:16:21.369Z] ---> 4fb25e494fbe [2022-06-23T10:16:21.369Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-23T10:16:21.369Z] ---> Running in 355880c61642 [2022-06-23T10:16:21.969Z] Removing intermediate container 355880c61642 [2022-06-23T10:16:21.969Z] ---> 0211dfe286ed [2022-06-23T10:16:21.969Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-23T10:16:22.247Z] ---> 8217bbc4c4fb [2022-06-23T10:16:22.247Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T10:16:22.529Z] ---> Running in b27cce879022 [2022-06-23T10:16:24.507Z] Removing intermediate container b27cce879022 [2022-06-23T10:16:24.507Z] ---> 7599bc3e74dc [2022-06-23T10:16:24.507Z] Step 12/26 : COPY . . [2022-06-23T10:16:25.487Z] ---> 99d7d203a927 [2022-06-23T10:16:25.487Z] Step 13/26 : RUN ${MAKE} [2022-06-23T10:16:25.487Z] ---> Running in 3a810812066b [2022-06-23T10:16:26.469Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-23T10:18:48.350Z] Removing intermediate container 3a810812066b [2022-06-23T10:18:48.350Z] ---> 7879d1874fd7 [2022-06-23T10:18:48.350Z] Step 14/26 : FROM alpine:3.15 [2022-06-23T10:18:48.350Z] 3.15: Pulling from library/alpine [2022-06-23T10:18:48.350Z] 9981e73032c8: Pulling fs layer [2022-06-23T10:18:48.350Z] 9981e73032c8: Download complete [2022-06-23T10:18:48.350Z] 9981e73032c8: Pull complete [2022-06-23T10:18:48.350Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-23T10:18:48.350Z] Status: Downloaded newer image for alpine:3.15 [2022-06-23T10:18:48.350Z] ---> 3fb3c9af89a9 [2022-06-23T10:18:48.350Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-23T10:18:48.350Z] ---> Running in 5bc2ca2f7096 [2022-06-23T10:18:48.350Z] Removing intermediate container 5bc2ca2f7096 [2022-06-23T10:18:48.350Z] ---> 6cfca9dc6fcd [2022-06-23T10:18:48.350Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-23T10:18:48.350Z] ---> Running in ec9ab6f089c5 [2022-06-23T10:18:48.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T10:18:48.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-23T10:18:48.350Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-23T10:18:48.350Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-23T10:18:48.350Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-23T10:18:48.350Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-23T10:18:48.350Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-23T10:18:48.350Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-23T10:18:48.350Z] Executing busybox-1.34.1-r5.trigger [2022-06-23T10:18:48.350Z] OK: 8 MiB in 20 packages [2022-06-23T10:18:48.350Z] Removing intermediate container ec9ab6f089c5 [2022-06-23T10:18:48.350Z] ---> 8a4fd687a56e [2022-06-23T10:18:48.350Z] Step 17/26 : WORKDIR / [2022-06-23T10:18:48.350Z] ---> Running in a823eb697487 [2022-06-23T10:18:48.350Z] Removing intermediate container a823eb697487 [2022-06-23T10:18:48.350Z] ---> 70a167076bec [2022-06-23T10:18:48.350Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-23T10:18:48.350Z] ---> 8159238f503c [2022-06-23T10:18:48.350Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-23T10:18:48.350Z] ---> 152e8475f31e [2022-06-23T10:18:48.350Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-23T10:18:48.350Z] ---> 83b375511dca [2022-06-23T10:18:48.350Z] Step 21/26 : EXPOSE 59984 [2022-06-23T10:18:48.350Z] ---> Running in f666e444ab1f [2022-06-23T10:18:48.350Z] Removing intermediate container f666e444ab1f [2022-06-23T10:18:48.350Z] ---> fc9b35a83ffd [2022-06-23T10:18:48.350Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-23T10:18:48.350Z] ---> Running in a0b860710c58 [2022-06-23T10:18:48.350Z] Removing intermediate container a0b860710c58 [2022-06-23T10:18:48.350Z] ---> 3615d830f8a8 [2022-06-23T10:18:48.350Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-23T10:18:48.350Z] ---> Running in 91e5f8880e8c [2022-06-23T10:18:48.350Z] Removing intermediate container 91e5f8880e8c [2022-06-23T10:18:48.350Z] ---> 873135714df9 [2022-06-23T10:18:48.350Z] Step 24/26 : LABEL arch=arm64 [2022-06-23T10:18:48.350Z] ---> Running in eb06fb540394 [2022-06-23T10:18:48.350Z] Removing intermediate container eb06fb540394 [2022-06-23T10:18:48.350Z] ---> 907e67c1234e [2022-06-23T10:18:48.350Z] Step 25/26 : LABEL git_sha=f5bdda2df7736f008aeaee640873ceac743246c7 [2022-06-23T10:18:48.350Z] ---> Running in ac7e6672f155 [2022-06-23T10:18:48.350Z] Removing intermediate container ac7e6672f155 [2022-06-23T10:18:48.350Z] ---> af73f3965103 [2022-06-23T10:18:48.350Z] Step 26/26 : LABEL version=0.0.0 [2022-06-23T10:18:48.350Z] ---> Running in 985831e39e25 [2022-06-23T10:18:48.350Z] Removing intermediate container 985831e39e25 [2022-06-23T10:18:48.350Z] ---> 559dc53ec1f5 [2022-06-23T10:18:48.350Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-23T10:18:48.350Z] Successfully built 559dc53ec1f5 [2022-06-23T10:18:48.350Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T10:18:48.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-23T10:18:48.812Z] [2022-06-23T10:18:48.812Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T10:18:49.169Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-23T10:18:49.446Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-23T10:18:49.446Z] 8998bd30e6a1: Pulling fs layer [2022-06-23T10:18:49.446Z] 04944245beec: Pulling fs layer [2022-06-23T10:18:49.446Z] 699f458cf7ca: Pulling fs layer [2022-06-23T10:18:49.446Z] 765212b225bb: Pulling fs layer [2022-06-23T10:18:49.446Z] f23df028b6ca: Pulling fs layer [2022-06-23T10:18:49.446Z] d65c8cfc05b1: Pulling fs layer [2022-06-23T10:18:49.446Z] 2437ff75d9bd: Pulling fs layer [2022-06-23T10:18:49.446Z] d65c8cfc05b1: Waiting [2022-06-23T10:18:49.446Z] 765212b225bb: Waiting [2022-06-23T10:18:49.446Z] 2437ff75d9bd: Waiting [2022-06-23T10:18:49.446Z] f23df028b6ca: Waiting [2022-06-23T10:18:49.446Z] 04944245beec: Verifying Checksum [2022-06-23T10:18:49.446Z] 04944245beec: Download complete [2022-06-23T10:18:49.446Z] 765212b225bb: Download complete [2022-06-23T10:18:49.446Z] f23df028b6ca: Verifying Checksum [2022-06-23T10:18:49.446Z] f23df028b6ca: Download complete [2022-06-23T10:18:49.725Z] d65c8cfc05b1: Verifying Checksum [2022-06-23T10:18:49.725Z] d65c8cfc05b1: Download complete [2022-06-23T10:18:49.725Z] 699f458cf7ca: Verifying Checksum [2022-06-23T10:18:49.725Z] 699f458cf7ca: Download complete [2022-06-23T10:18:49.998Z] 8998bd30e6a1: Download complete [2022-06-23T10:18:52.634Z] 2437ff75d9bd: Verifying Checksum [2022-06-23T10:18:52.634Z] 2437ff75d9bd: Download complete [2022-06-23T10:18:54.613Z] 8998bd30e6a1: Pull complete [2022-06-23T10:18:54.889Z] 04944245beec: Pull complete [2022-06-23T10:18:56.328Z] 699f458cf7ca: Pull complete [2022-06-23T10:18:56.603Z] 765212b225bb: Pull complete [2022-06-23T10:18:57.600Z] f23df028b6ca: Pull complete [2022-06-23T10:18:57.874Z] d65c8cfc05b1: Pull complete [2022-06-23T10:19:12.973Z] 2437ff75d9bd: Pull complete [2022-06-23T10:19:12.973Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-23T10:19:12.973Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-23T10:19:12.973Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T10:19:13.247Z] prd-ubuntu20.04-docker-arm64-4c-16g-15438 does not seem to be running inside a container [2022-06-23T10:19:13.332Z] $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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:arm64 cat [2022-06-23T10:19:16.093Z] $ docker top 762749b51cec7d4d698bb085ad99114928b34d9c8939c9dbd88694bec03f9b14 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T10:19:17.038Z] ---> job-cost.sh [2022-06-23T10:19:17.038Z] lf-activate-venv: SKIPPING [2022-06-23T10:19:17.038Z] INFO: No Stack... [2022-06-23T10:19:17.311Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-23T10:19:18.292Z] INFO: Archiving Costs [Pipeline] sh [2022-06-23T10:19:18.970Z] + cat /w/workspace/device-onvif-camera/6/archives/cost.csv [2022-06-23T10:19:18.970Z] + cut -d, -f6 [Pipeline] lock [2022-06-23T10:19:19.053Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-87-6-stack-cost] [2022-06-23T10:19:19.059Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-6-stack-cost] did not exist. Created. [2022-06-23T10:19:19.059Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-87-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-23T10:19:19.777Z] /w/workspace/device-onvif-camera/6@tmp/durable-c18d31f0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-23T10:19:20.638Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-23T10:19:20.666Z] Warning: overwriting stash ‘stack-cost’ [2022-06-23T10:19:20.724Z] Stashed 1 file(s) [Pipeline] } [2022-06-23T10:19:20.730Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-23T10:19:20.751Z] $ docker stop --time=1 762749b51cec7d4d698bb085ad99114928b34d9c8939c9dbd88694bec03f9b14 [2022-06-23T10:19:22.334Z] $ docker rm -f 762749b51cec7d4d698bb085ad99114928b34d9c8939c9dbd88694bec03f9b14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-06-23T10:19:22.801Z] provisioning config files... [2022-06-23T10:19:22.809Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config8358683635278538154tmp [Pipeline] { [Pipeline] sh [2022-06-23T10:19:23.100Z] + set +x [2022-06-23T10:19:23.100Z] + + curl -sbash https://codecov.io/bash -s [2022-06-23T10:19:23.100Z] -- [2022-06-23T10:19:23.100Z] [2022-06-23T10:19:23.100Z] _____ _ [2022-06-23T10:19:23.100Z] / ____| | | [2022-06-23T10:19:23.100Z] | | ___ __| | ___ ___ _____ __ [2022-06-23T10:19:23.100Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-23T10:19:23.100Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-23T10:19:23.100Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-23T10:19:23.100Z] Bash-1.0.6 [2022-06-23T10:19:23.100Z] [2022-06-23T10:19:23.100Z] [2022-06-23T10:19:23.100Z] ==> git version 2.25.1 found [2022-06-23T10:19:23.100Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-23T10:19:23.100Z] Release-Date: 2020-01-08 [2022-06-23T10:19:23.100Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-23T10:19:23.100Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-23T10:19:23.100Z] ==> Jenkins CI detected. [2022-06-23T10:19:23.100Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-87 [2022-06-23T10:19:23.100Z] project root: . [2022-06-23T10:19:23.100Z] --> token set from env [2022-06-23T10:19:23.100Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-23T10:19:23.100Z] ==> Running gcov in . (disable via -X gcov) [2022-06-23T10:19:23.100Z] ==> Python coveragepy not found [2022-06-23T10:19:23.100Z] ==> Searching for coverage reports in: [2022-06-23T10:19:23.100Z] + . [2022-06-23T10:19:23.100Z] -> Found 1 reports [2022-06-23T10:19:23.100Z] ==> Detecting git/mercurial file structure [2022-06-23T10:19:23.100Z] ==> Reading reports [2022-06-23T10:19:23.100Z] + ./coverage.out bytes=63108 [2022-06-23T10:19:23.100Z] ==> Appending adjustments [2022-06-23T10:19:23.100Z] https://docs.codecov.io/docs/fixing-reports [2022-06-23T10:19:23.360Z] + Found adjustments [2022-06-23T10:19:23.360Z] ==> Gzipping contents [2022-06-23T10:19:23.360Z] 8.0K /tmp/codecov.DUbeP7.gz [2022-06-23T10:19:23.360Z] ==> Uploading reports [2022-06-23T10:19:23.360Z] url: https://codecov.io [2022-06-23T10:19:23.360Z] query: branch=PR-87&commit=fb53c113294468c6710bfb985bd8458753e62a0b&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-87%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=87&job=&cmd_args= [2022-06-23T10:19:23.360Z] -> Pinging Codecov [2022-06-23T10:19:23.360Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-87&commit=fb53c113294468c6710bfb985bd8458753e62a0b&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-87%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=87&job=&cmd_args= [2022-06-23T10:19:23.621Z] -> Uploading to [2022-06-23T10:19:23.621Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-23/F29A59C45E3A92E06B3E522C9905F8EF/fb53c113294468c6710bfb985bd8458753e62a0b/f67bb73b-f3f7-4ee0-bdd4-26c73247a1ea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220623%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220623T101923Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a759a42b4eb3d094b5c39e4d110be90c5a19b87c508e55f1ae1b8aa47cacb638 [2022-06-23T10:19:23.621Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-23T10:19:23.621Z] Dload Upload Total Spent Left Speed [2022-06-23T10:19:23.882Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8016 0 0 100 8016 0 35157 --:--:-- --:--:-- --:--:-- 35157 [2022-06-23T10:19:23.882Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/fb53c113294468c6710bfb985bd8458753e62a0b [Pipeline] } [2022-06-23T10:19:23.890Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-23T10:19:24.546Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-87/archives ] [2022-06-23T10:19:24.546Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-23T10:19:24.546Z] total 16 [2022-06-23T10:19:24.546Z] drwxr-xr-x 3 root root 4096 Jun 23 10:11 . [2022-06-23T10:19:24.546Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 10:11 .. [2022-06-23T10:19:24.546Z] drwxr-xr-x 2 root root 4096 Jun 23 10:11 cost [2022-06-23T10:19:24.546Z] -rw-r--r-- 1 root root 91 Jun 23 10:11 cost.csv [2022-06-23T10:19:24.546Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-23T10:19:24.546Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-23T10:19:24.546Z] total 16 [2022-06-23T10:19:24.546Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 10:11 . [2022-06-23T10:19:24.546Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 10:11 .. [2022-06-23T10:19:24.546Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 23 10:11 cost [2022-06-23T10:19:24.546Z] -rw-r--r-- 1 jenkins jenkins 91 Jun 23 10:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-23T10:19:24.837Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T10:19:25.698Z] ---> package-listing.sh [2022-06-23T10:19:25.698Z] ++ facter osfamily [2022-06-23T10:19:25.698Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-23T10:19:25.958Z] + OS_FAMILY=debian [2022-06-23T10:19:25.958Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-87 [2022-06-23T10:19:25.958Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-23T10:19:25.958Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-23T10:19:25.958Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-23T10:19:25.958Z] + PACKAGES=/tmp/packages_start.txt [2022-06-23T10:19:25.958Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-87 ']' [2022-06-23T10:19:25.958Z] + PACKAGES=/tmp/packages_end.txt [2022-06-23T10:19:25.958Z] + case "${OS_FAMILY}" in [2022-06-23T10:19:25.958Z] + dpkg -l [2022-06-23T10:19:25.958Z] + grep '^ii' [2022-06-23T10:19:25.958Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-23T10:19:25.958Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-23T10:19:25.958Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-23T10:19:25.958Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-87 ']' [2022-06-23T10:19:25.958Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-87/archives/ [2022-06-23T10:19:25.958Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-87/archives/ [Pipeline] echo [2022-06-23T10:19:25.969Z] 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/oundry_device-onvif-camera_PR-87/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-23T10:19:26.247Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T10:19:26.808Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T10:19:26.808Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T10:19:26.888Z] prd-ubuntu20.04-docker-8c-8g-15432 does not seem to be running inside a container [2022-06-23T10:19:26.930Z] $ 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/oundry_device-onvif-camera_PR-87/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-23T10:19:27.162Z] $ docker top b9c101cdbfd270037b1373f1214f1ddb725c306d00d31d5b9e903f61dcd0096b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-23T10:19:27.515Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-23T10:19:27.804Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-23T10:19:28.092Z] + ls /var/log/sa-host [2022-06-23T10:19:28.092Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T10:19:28.219Z] provisioning config files... [2022-06-23T10:19:28.227Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config5414111398995039728tmp [Pipeline] { [Pipeline] echo [2022-06-23T10:19:28.239Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T10:19:28.521Z] ---> create-netrc.sh [Pipeline] } [2022-06-23T10:19:28.528Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-23T10:19:28.854Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-23T10:19:28.861Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T10:19:29.140Z] ---> sudo-logs.sh [2022-06-23T10:19:29.140Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-23T10:19:29.166Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T10:19:29.448Z] ---> job-cost.sh [2022-06-23T10:19:29.448Z] lf-activate-venv: SKIPPING [2022-06-23T10:19:29.448Z] DEBUG: total: 0.8799999952316284 [2022-06-23T10:19:29.448Z] INFO: Retrieving Stack Cost... [2022-06-23T10:19:30.020Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-23T10:19:30.281Z] INFO: Archiving Costs [Pipeline] echo [2022-06-23T10:19:30.290Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T10:19:30.571Z] ---> logs-deploy.sh [2022-06-23T10:19:30.571Z] lf-activate-venv: SKIPPING [2022-06-23T10:19:30.571Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-87/6 [2022-06-23T10:19:30.571Z] INFO: archiving workspace using pattern(s): [2022-06-23T10:19:31.510Z] Archives upload complete. [2022-06-23T10:19:31.510Z] INFO: archiving logs to Nexus