Pull request #95 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 006eaa6c590a4f21dc6472d2aee4b53a17da5b50+cba106416024542bb09af345da5a1638a965ef9b (b490c8cda83d32b3836d4cc2f9393c420d93724a) 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-ssh6850934580406904856.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-ssh8168808825541358675.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-95/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-95/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17480076744256881976.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-95/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6435492926036314044.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh15164434782289350921.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-95/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-95/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7241295765364592209.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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 Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16480’ Running on prd-ubuntu20.04-docker-8c-8g-16483 in /w/workspace/oundry_device-onvif-camera_PR-95 [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-95 # 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 cba106416024542bb09af345da5a1638a965ef9b into PR head commit 006eaa6c590a4f21dc6472d2aee4b53a17da5b50 Merge succeeded, producing 006eaa6c590a4f21dc6472d2aee4b53a17da5b50 Checking out Revision 006eaa6c590a4f21dc6472d2aee4b53a17da5b50 (PR-95) > 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/95/head:refs/remotes/origin/PR-95 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 006eaa6c590a4f21dc6472d2aee4b53a17da5b50 # 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 cba106416024542bb09af345da5a1638a965ef9b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 006eaa6c590a4f21dc6472d2aee4b53a17da5b50 # timeout=10 Commit message: "docs: Remove compose folder and update doc" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-30T12:14:07.436Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-30T12:14:07.606Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-30T12:14:07.708Z] ========================================================= [2022-06-30T12:14:07.708Z] EdgeX Global Pipelines Version Info [2022-06-30T12:14:07.708Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:14:08.521Z] ------------------- [2022-06-30T12:14:08.521Z] stable info: [2022-06-30T12:14:08.521Z] ------------------- [2022-06-30T12:14:08.521Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-30T12:14:08.521Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-30T12:14:08.521Z] Message: update stable to v1.0.234 [2022-06-30T12:14:09.096Z] ------------------- [2022-06-30T12:14:09.096Z] experimental info: [2022-06-30T12:14:09.096Z] ------------------- [2022-06-30T12:14:09.096Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-30T12:14:09.096Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-06-30T12:14:09.096Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-30T12:14:09.510Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-30T12:14:09.546Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-30T12:14:09.581Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-30T12:14:09.618Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-30T12:14:09.655Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-30T12:14:09.699Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-30T12:14:09.737Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-30T12:14:09.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-30T12:14:09.818Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-30T12:14:09.857Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-30T12:14:09.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-30T12:14:09.931Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-30T12:14:09.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-30T12:14:09.999Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-30T12:14:10.034Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-30T12:14:10.074Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-30T12:14:10.109Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-30T12:14:10.146Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-30T12:14:10.182Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-30T12:14:10.218Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-30T12:14:10.260Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-30T12:14:10.300Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-30T12:14:10.337Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-30T12:14:10.374Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-30T12:14:10.411Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-30T12:14:10.449Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-30T12:14:10.488Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-30T12:14:10.531Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-95 [Pipeline] echo [2022-06-30T12:14:10.573Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-95 [Pipeline] echo [2022-06-30T12:14:10.609Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-95 [Pipeline] echo [2022-06-30T12:14:10.653Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 006eaa6c590a4f21dc6472d2aee4b53a17da5b50 [Pipeline] echo [2022-06-30T12:14:10.691Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 006eaa6 [Pipeline] echo [2022-06-30T12:14:10.727Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-30T12:14:10.834Z] provisioning config files... [2022-06-30T12:14:10.851Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-95@tmp/config526362842938492251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:14:11.192Z] ---> docker-login.sh [2022-06-30T12:14:11.192Z] nexus3.edgexfoundry.org:10001 [2022-06-30T12:14:11.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:14:11.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:14:11.453Z] Configure a credential helper to remove this warning. See [2022-06-30T12:14:11.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:14:11.453Z] [2022-06-30T12:14:11.453Z] Login Succeeded [2022-06-30T12:14:11.453Z] nexus3.edgexfoundry.org:10002 [2022-06-30T12:14:11.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:14:11.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:14:11.714Z] Configure a credential helper to remove this warning. See [2022-06-30T12:14:11.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:14:11.714Z] [2022-06-30T12:14:11.714Z] Login Succeeded [2022-06-30T12:14:11.714Z] nexus3.edgexfoundry.org:10003 [2022-06-30T12:14:11.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:14:11.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:14:11.714Z] Configure a credential helper to remove this warning. See [2022-06-30T12:14:11.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:14:11.714Z] [2022-06-30T12:14:11.714Z] Login Succeeded [2022-06-30T12:14:11.993Z] nexus3.edgexfoundry.org:10004 [2022-06-30T12:14:11.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:14:11.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:14:11.993Z] Configure a credential helper to remove this warning. See [2022-06-30T12:14:11.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:14:11.993Z] [2022-06-30T12:14:11.993Z] Login Succeeded [2022-06-30T12:14:11.993Z] docker.io [2022-06-30T12:14:11.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:14:12.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:14:12.567Z] Configure a credential helper to remove this warning. See [2022-06-30T12:14:12.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:14:12.567Z] [2022-06-30T12:14:12.567Z] Login Succeeded [2022-06-30T12:14:12.567Z] ---> docker-login.sh ends [Pipeline] } [2022-06-30T12:14:12.598Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-30T12:14:13.208Z] + git rev-list -1 --merges 006eaa6c590a4f21dc6472d2aee4b53a17da5b50~1..006eaa6c590a4f21dc6472d2aee4b53a17da5b50 [Pipeline] echo [2022-06-30T12:14:13.256Z] -----------> git rev-list -1 --merges 006eaa6c590a4f21dc6472d2aee4b53a17da5b50~1..006eaa6c590a4f21dc6472d2aee4b53a17da5b50 006eaa6c590a4f21dc6472d2aee4b53a17da5b50 [false] [Pipeline] sh [2022-06-30T12:14:13.571Z] + git log --format=format:%s -1 006eaa6c590a4f21dc6472d2aee4b53a17da5b50 [Pipeline] echo [2022-06-30T12:14:13.615Z] ========================================================= [2022-06-30T12:14:13.615Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-30T12:14:13.615Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-30T12:14:14.058Z] + git log --format=format:%s -1 006eaa6c590a4f21dc6472d2aee4b53a17da5b50 [Pipeline] echo [2022-06-30T12:14:14.089Z] [semverPrep] GIT_COMMIT: 006eaa6c590a4f21dc6472d2aee4b53a17da5b50, Commit Message: docs: Remove compose folder and update doc [Pipeline] echo [2022-06-30T12:14:14.116Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-30T12:14:14.480Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-30T12:14:14.480Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-30T12:14:14.480Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-30T12:14:14.480Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-30T12:14:14.480Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-30T12:14:14.480Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-30T12:14:14.480Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:14:14.912Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-30T12:14:14.912Z] [2022-06-30T12:14:14.912Z] 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-30T12:14:15.284Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-30T12:14:15.284Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-30T12:14:15.284Z] 42c077c10790: Pulling fs layer [2022-06-30T12:14:15.284Z] f63e77b7563a: Pulling fs layer [2022-06-30T12:14:15.284Z] bd5fdadae976: Pulling fs layer [2022-06-30T12:14:15.284Z] 205491f53016: Pulling fs layer [2022-06-30T12:14:15.284Z] df18705c85c3: Pulling fs layer [2022-06-30T12:14:15.284Z] bdb3f477010e: Pulling fs layer [2022-06-30T12:14:15.284Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-30T12:14:15.284Z] 2c6e9b1d212d: Pulling fs layer [2022-06-30T12:14:15.284Z] 205491f53016: Waiting [2022-06-30T12:14:15.284Z] bdb8f0575790: Pulling fs layer [2022-06-30T12:14:15.284Z] 386e3cb2ff24: Pulling fs layer [2022-06-30T12:14:15.284Z] 2343380bae48: Pulling fs layer [2022-06-30T12:14:15.284Z] df18705c85c3: Waiting [2022-06-30T12:14:15.284Z] c8a8fc8e1c8f: Waiting [2022-06-30T12:14:15.284Z] 2c6e9b1d212d: Waiting [2022-06-30T12:14:15.284Z] bdb8f0575790: Waiting [2022-06-30T12:14:15.284Z] 386e3cb2ff24: Waiting [2022-06-30T12:14:15.284Z] 2343380bae48: Waiting [2022-06-30T12:14:15.284Z] bdb3f477010e: Waiting [2022-06-30T12:14:15.284Z] f63e77b7563a: Verifying Checksum [2022-06-30T12:14:15.284Z] f63e77b7563a: Download complete [2022-06-30T12:14:15.284Z] 205491f53016: Download complete [2022-06-30T12:14:15.545Z] bd5fdadae976: Verifying Checksum [2022-06-30T12:14:15.545Z] bd5fdadae976: Download complete [2022-06-30T12:14:15.545Z] df18705c85c3: Verifying Checksum [2022-06-30T12:14:15.545Z] df18705c85c3: Download complete [2022-06-30T12:14:15.545Z] bdb3f477010e: Verifying Checksum [2022-06-30T12:14:15.545Z] bdb3f477010e: Download complete [2022-06-30T12:14:15.545Z] 2c6e9b1d212d: Verifying Checksum [2022-06-30T12:14:15.545Z] 2c6e9b1d212d: Download complete [2022-06-30T12:14:15.545Z] bdb8f0575790: Verifying Checksum [2022-06-30T12:14:15.545Z] bdb8f0575790: Download complete [2022-06-30T12:14:15.545Z] 386e3cb2ff24: Download complete [2022-06-30T12:14:15.545Z] 2343380bae48: Download complete [2022-06-30T12:14:15.545Z] 42c077c10790: Verifying Checksum [2022-06-30T12:14:15.545Z] 42c077c10790: Download complete [2022-06-30T12:14:15.805Z] c8a8fc8e1c8f: Download complete [2022-06-30T12:14:17.191Z] 42c077c10790: Pull complete [2022-06-30T12:14:17.191Z] f63e77b7563a: Pull complete [2022-06-30T12:14:17.765Z] bd5fdadae976: Pull complete [2022-06-30T12:14:17.765Z] 205491f53016: Pull complete [2022-06-30T12:14:18.027Z] df18705c85c3: Pull complete [2022-06-30T12:14:18.287Z] bdb3f477010e: Pull complete [2022-06-30T12:14:20.208Z] c8a8fc8e1c8f: Pull complete [2022-06-30T12:14:20.470Z] 2c6e9b1d212d: Pull complete [2022-06-30T12:14:20.470Z] bdb8f0575790: Pull complete [2022-06-30T12:14:20.732Z] 386e3cb2ff24: Pull complete [2022-06-30T12:14:20.732Z] 2343380bae48: Pull complete [2022-06-30T12:14:20.732Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-30T12:14:20.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-30T12:14:20.732Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T12:14:20.960Z] prd-ubuntu20.04-docker-8c-8g-16483 does not seem to be running inside a container [2022-06-30T12:14:21.001Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-95 -v /w/workspace/oundry_device-onvif-camera_PR-95:/w/workspace/oundry_device-onvif-camera_PR-95:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-95@tmp:/w/workspace/oundry_device-onvif-camera_PR-95@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-30T12:14:22.526Z] $ docker top 3585666f01bb3c52546b392c6a31994656664b2fc08d9a5518e7317bce7c2209 -eo pid,comm [2022-06-30T12:14:22.596Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-30T12:14:22.596Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-30T12:14:22.726Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-30T12:14:22.726Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-30T12:14:22.852Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-30T12:14:22.856Z] $ docker exec 3585666f01bb3c52546b392c6a31994656664b2fc08d9a5518e7317bce7c2209 ssh-agent [2022-06-30T12:14:22.986Z] SSH_AUTH_SOCK=/tmp/ssh-4OO1BseXE4vT/agent.33 [2022-06-30T12:14:22.986Z] SSH_AGENT_PID=39 [2022-06-30T12:14:22.993Z] Running ssh-add (command line suppressed) [2022-06-30T12:14:23.112Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-95@tmp/private_key_37657000195251051.key (/w/workspace/oundry_device-onvif-camera_PR-95@tmp/private_key_37657000195251051.key) [2022-06-30T12:14:23.130Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-30T12:14:23.465Z] + git tag --points-at HEAD [Pipeline] } [2022-06-30T12:14:23.492Z] $ docker exec --env ******** --env ******** 3585666f01bb3c52546b392c6a31994656664b2fc08d9a5518e7317bce7c2209 ssh-agent -k [2022-06-30T12:14:23.611Z] unset SSH_AUTH_SOCK; [2022-06-30T12:14:23.611Z] unset SSH_AGENT_PID; [2022-06-30T12:14:23.611Z] echo Agent pid 39 killed; [2022-06-30T12:14:23.622Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-30T12:14:23.714Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-30T12:14:23.714Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-30T12:14:23.848Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-30T12:14:23.852Z] $ docker exec 3585666f01bb3c52546b392c6a31994656664b2fc08d9a5518e7317bce7c2209 ssh-agent [2022-06-30T12:14:23.981Z] SSH_AUTH_SOCK=/tmp/ssh-JBRJ2GVP9qb5/agent.71 [2022-06-30T12:14:23.981Z] SSH_AGENT_PID=77 [2022-06-30T12:14:23.988Z] Running ssh-add (command line suppressed) [2022-06-30T12:14:24.113Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-95@tmp/private_key_4950499349117983884.key (/w/workspace/oundry_device-onvif-camera_PR-95@tmp/private_key_4950499349117983884.key) [2022-06-30T12:14:24.128Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-30T12:14:24.462Z] + git semver init [2022-06-30T12:14:24.725Z] 2022-06-30 12:14:24,665 [run_init] DEBUG init version:0.0.0 force:False [2022-06-30T12:14:24.725Z] 2022-06-30 12:14:24,666 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-95/.semver [2022-06-30T12:14:24.726Z] 2022-06-30 12:14:24,666 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-95/.semver [2022-06-30T12:14:24.726Z] 2022-06-30 12:14:24,666 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-95/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-95, universal_newlines=False, shell=None, istream=None) [2022-06-30T12:14:25.668Z] 2022-06-30 12:14:25,337 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-95/.git/info/exclude [2022-06-30T12:14:25.668Z] 2022-06-30 12:14:25,337 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-95/.semver/PR-95 with force:False [2022-06-30T12:14:25.668Z] 2022-06-30 12:14:25,337 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-95/.semver/PR-95 [2022-06-30T12:14:25.668Z] 2022-06-30 12:14:25,341 [execute] INFO git cat-file --batch-check [2022-06-30T12:14:25.668Z] 2022-06-30 12:14:25,342 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-95/.semver, universal_newlines=False, shell=None, istream=) [2022-06-30T12:14:25.668Z] 2022-06-30 12:14:25,349 [execute] INFO git cat-file --batch [2022-06-30T12:14:25.668Z] 2022-06-30 12:14:25,349 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-95/.semver, universal_newlines=False, shell=None, istream=) [2022-06-30T12:14:25.668Z] 2022-06-30 12:14:25,354 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-95/.semver/PR-95 [2022-06-30T12:14:25.668Z] 0.0.0 [Pipeline] } [2022-06-30T12:14:25.694Z] $ docker exec --env ******** --env ******** 3585666f01bb3c52546b392c6a31994656664b2fc08d9a5518e7317bce7c2209 ssh-agent -k [2022-06-30T12:14:25.813Z] unset SSH_AUTH_SOCK; [2022-06-30T12:14:25.814Z] unset SSH_AGENT_PID; [2022-06-30T12:14:25.814Z] echo Agent pid 77 killed; [2022-06-30T12:14:25.826Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-30T12:14:26.252Z] + git semver [Pipeline] } [2022-06-30T12:14:26.541Z] $ docker stop --time=1 3585666f01bb3c52546b392c6a31994656664b2fc08d9a5518e7317bce7c2209 [2022-06-30T12:14:27.887Z] $ docker rm -f 3585666f01bb3c52546b392c6a31994656664b2fc08d9a5518e7317bce7c2209 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-30T12:14:28.301Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-30T12:14:28.614Z] Stashed 1 file(s) [Pipeline] echo [2022-06-30T12:14:28.634Z] [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-30T12:14:29.171Z] provisioning config files... [2022-06-30T12:14:29.183Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-95@tmp/config4236307545705724289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:14:29.530Z] ---> docker-login.sh [2022-06-30T12:14:29.531Z] nexus3.edgexfoundry.org:10001 [2022-06-30T12:14:29.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:14:29.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:14:29.531Z] Configure a credential helper to remove this warning. See [2022-06-30T12:14:29.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:14:29.531Z] [2022-06-30T12:14:29.531Z] Login Succeeded [2022-06-30T12:14:29.531Z] nexus3.edgexfoundry.org:10002 [2022-06-30T12:14:29.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:14:29.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:14:29.792Z] Configure a credential helper to remove this warning. See [2022-06-30T12:14:29.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:14:29.792Z] [2022-06-30T12:14:29.792Z] Login Succeeded [2022-06-30T12:14:29.792Z] nexus3.edgexfoundry.org:10003 [2022-06-30T12:14:29.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:14:29.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:14:29.792Z] Configure a credential helper to remove this warning. See [2022-06-30T12:14:29.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:14:29.792Z] [2022-06-30T12:14:29.792Z] Login Succeeded [2022-06-30T12:14:29.792Z] nexus3.edgexfoundry.org:10004 [2022-06-30T12:14:30.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:14:30.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:14:30.053Z] Configure a credential helper to remove this warning. See [2022-06-30T12:14:30.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:14:30.053Z] [2022-06-30T12:14:30.053Z] Login Succeeded [2022-06-30T12:14:30.053Z] docker.io [2022-06-30T12:14:30.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:14:30.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:14:30.315Z] Configure a credential helper to remove this warning. See [2022-06-30T12:14:30.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:14:30.315Z] [2022-06-30T12:14:30.315Z] Login Succeeded [2022-06-30T12:14:30.315Z] ---> docker-login.sh ends [Pipeline] } [2022-06-30T12:14:30.341Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-30T12:14:30.550Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-30T12:14:30.591Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-30T12:14:30.628Z] ========================================================= [2022-06-30T12:14:30.628Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-30T12:14:30.628Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:14:31.100Z] + 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-30T12:14:31.100Z] Sending build context to Docker daemon 9.31MB [2022-06-30T12:14:31.100Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-30T12:14:31.100Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-30T12:14:31.100Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-30T12:14:31.100Z] 59bf1c3509f3: Pulling fs layer [2022-06-30T12:14:31.100Z] 666ba61612fd: Pulling fs layer [2022-06-30T12:14:31.100Z] 8ed8ca486205: Pulling fs layer [2022-06-30T12:14:31.100Z] cc1cd167ecdc: Pulling fs layer [2022-06-30T12:14:31.100Z] c516ae0d96e1: Pulling fs layer [2022-06-30T12:14:31.100Z] 684cea983483: Pulling fs layer [2022-06-30T12:14:31.100Z] dd3240ac7de5: Pulling fs layer [2022-06-30T12:14:31.100Z] b1e948a4e11c: Pulling fs layer [2022-06-30T12:14:31.100Z] a8fd76ee1af6: Pulling fs layer [2022-06-30T12:14:31.100Z] 646ad004c059: Pulling fs layer [2022-06-30T12:14:31.100Z] dd3240ac7de5: Waiting [2022-06-30T12:14:31.100Z] b1e948a4e11c: Waiting [2022-06-30T12:14:31.100Z] cc1cd167ecdc: Waiting [2022-06-30T12:14:31.100Z] a8fd76ee1af6: Waiting [2022-06-30T12:14:31.100Z] 646ad004c059: Waiting [2022-06-30T12:14:31.100Z] c516ae0d96e1: Waiting [2022-06-30T12:14:31.100Z] 684cea983483: Waiting [2022-06-30T12:14:31.100Z] 8ed8ca486205: Verifying Checksum [2022-06-30T12:14:31.100Z] 8ed8ca486205: Download complete [2022-06-30T12:14:31.365Z] 666ba61612fd: Verifying Checksum [2022-06-30T12:14:31.365Z] 666ba61612fd: Download complete [2022-06-30T12:14:31.365Z] c516ae0d96e1: Verifying Checksum [2022-06-30T12:14:31.365Z] c516ae0d96e1: Download complete [2022-06-30T12:14:31.365Z] 684cea983483: Download complete [2022-06-30T12:14:31.365Z] dd3240ac7de5: Verifying Checksum [2022-06-30T12:14:31.365Z] dd3240ac7de5: Download complete [2022-06-30T12:14:31.365Z] 59bf1c3509f3: Verifying Checksum [2022-06-30T12:14:31.365Z] 59bf1c3509f3: Download complete [2022-06-30T12:14:31.365Z] b1e948a4e11c: Verifying Checksum [2022-06-30T12:14:31.365Z] b1e948a4e11c: Download complete [2022-06-30T12:14:31.365Z] 59bf1c3509f3: Pull complete [2022-06-30T12:14:31.637Z] 666ba61612fd: Pull complete [2022-06-30T12:14:31.637Z] 8ed8ca486205: Pull complete [2022-06-30T12:14:31.904Z] 646ad004c059: Verifying Checksum [2022-06-30T12:14:31.904Z] 646ad004c059: Download complete [2022-06-30T12:14:32.166Z] cc1cd167ecdc: Verifying Checksum [2022-06-30T12:14:32.166Z] cc1cd167ecdc: Download complete [2022-06-30T12:14:32.166Z] a8fd76ee1af6: Verifying Checksum [2022-06-30T12:14:32.166Z] a8fd76ee1af6: Download complete [2022-06-30T12:14:36.365Z] cc1cd167ecdc: Pull complete [2022-06-30T12:14:36.365Z] c516ae0d96e1: Pull complete [2022-06-30T12:14:36.625Z] 684cea983483: Pull complete [2022-06-30T12:14:36.625Z] dd3240ac7de5: Pull complete [2022-06-30T12:14:36.625Z] b1e948a4e11c: Pull complete [2022-06-30T12:14:39.169Z] a8fd76ee1af6: Pull complete [2022-06-30T12:14:39.738Z] 646ad004c059: Pull complete [2022-06-30T12:14:39.738Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-30T12:14:39.738Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-30T12:14:39.738Z] ---> 8f69c11f6b0c [2022-06-30T12:14:39.738Z] Step 3/13 : ARG MAKE="make build" [2022-06-30T12:14:41.655Z] ---> Running in ee25e53305e5 [2022-06-30T12:14:41.655Z] Removing intermediate container ee25e53305e5 [2022-06-30T12:14:41.655Z] ---> b11256634f52 [2022-06-30T12:14:41.655Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-30T12:14:41.655Z] ---> Running in 21899ca23d05 [2022-06-30T12:14:41.655Z] Removing intermediate container 21899ca23d05 [2022-06-30T12:14:41.655Z] ---> b770a3fe678d [2022-06-30T12:14:41.655Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-30T12:14:41.921Z] ---> Running in a87e607bf08e [2022-06-30T12:14:41.921Z] Removing intermediate container a87e607bf08e [2022-06-30T12:14:41.921Z] ---> 93afc88518df [2022-06-30T12:14:41.921Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-30T12:14:41.921Z] ---> Running in 0db32327cb04 [2022-06-30T12:14:42.182Z] Removing intermediate container 0db32327cb04 [2022-06-30T12:14:42.182Z] ---> ec0a1dfa075d [2022-06-30T12:14:42.182Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-30T12:14:42.182Z] ---> Running in a2a5abf55dd9 [2022-06-30T12:14:42.756Z] Removing intermediate container a2a5abf55dd9 [2022-06-30T12:14:42.756Z] ---> 56cf90caf13c [2022-06-30T12:14:42.756Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-30T12:14:42.756Z] ---> Running in 5d29df0102a0 [2022-06-30T12:14:43.020Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-30T12:14:43.961Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-30T12:14:44.017Z] Still waiting to schedule task [2022-06-30T12:14:44.018Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16482’ is offline [2022-06-30T12:14:44.224Z] OK: 221 MiB in 52 packages [2022-06-30T12:14:44.504Z] Removing intermediate container 5d29df0102a0 [2022-06-30T12:14:44.504Z] ---> a045a5a2d56d [2022-06-30T12:14:44.504Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-30T12:14:44.765Z] ---> Running in ed053aeb6322 [2022-06-30T12:14:44.765Z] Removing intermediate container ed053aeb6322 [2022-06-30T12:14:44.765Z] ---> 47f0b8ecb48c [2022-06-30T12:14:44.765Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-30T12:14:45.026Z] ---> e9a7426091b6 [2022-06-30T12:14:45.026Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-30T12:14:45.026Z] ---> Running in a4304d0c0e43 [2022-06-30T12:15:31.755Z] Removing intermediate container a4304d0c0e43 [2022-06-30T12:15:31.755Z] ---> 5911e16ac5b3 [2022-06-30T12:15:31.755Z] Step 12/13 : COPY . . [2022-06-30T12:15:31.755Z] ---> 88e1b4c0caae [2022-06-30T12:15:31.755Z] Step 13/13 : RUN ${MAKE} [2022-06-30T12:15:31.755Z] ---> Running in 4ef9af5564c4 [2022-06-30T12:15:31.755Z] noop [2022-06-30T12:15:31.755Z] Removing intermediate container 4ef9af5564c4 [2022-06-30T12:15:31.755Z] ---> ccf853577125 [2022-06-30T12:15:31.755Z] Successfully built ccf853577125 [2022-06-30T12:15:31.755Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:15:32.233Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-30T12:15:32.233Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T12:15:32.432Z] prd-ubuntu20.04-docker-8c-8g-16483 does not seem to be running inside a container [2022-06-30T12:15:32.480Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-95 -v /w/workspace/oundry_device-onvif-camera_PR-95:/w/workspace/oundry_device-onvif-camera_PR-95:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-95@tmp:/w/workspace/oundry_device-onvif-camera_PR-95@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-30T12:15:32.887Z] $ docker top b94c0b7bd9195f5be6f9f154a104eb080c1b9eb7cbf66f28c72e60959277a039 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-30T12:15:33.294Z] + go version [2022-06-30T12:15:33.294Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-30T12:15:33.325Z] $ docker stop --time=1 b94c0b7bd9195f5be6f9f154a104eb080c1b9eb7cbf66f28c72e60959277a039 [2022-06-30T12:15:34.626Z] $ docker rm -f b94c0b7bd9195f5be6f9f154a104eb080c1b9eb7cbf66f28c72e60959277a039 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:15:35.354Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-30T12:15:35.354Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T12:15:35.522Z] prd-ubuntu20.04-docker-8c-8g-16483 does not seem to be running inside a container [2022-06-30T12:15:35.561Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-95 -v /w/workspace/oundry_device-onvif-camera_PR-95:/w/workspace/oundry_device-onvif-camera_PR-95:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-95@tmp:/w/workspace/oundry_device-onvif-camera_PR-95@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-30T12:15:35.968Z] $ docker top 75614ea798f25bf27f337ee495b361e2ecdcb2b080dab9eeb7f00180d5fb757c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-30T12:15:36.432Z] + make test [2022-06-30T12:15:36.432Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-30T12:15:36.693Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-30T12:15:48.919Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-30T12:15:48.919Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.018s coverage: 7.0% of statements [2022-06-30T12:15:48.919Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-06-30T12:15:52.221Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.537s coverage: 13.8% of statements [2022-06-30T12:16:00.349Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-30T12:16:04.555Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-30T12:16:04.555Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-30T12:16:04.555Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-30T12:16:05.149Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-30T12:16:05.178Z] $ docker stop --time=1 75614ea798f25bf27f337ee495b361e2ecdcb2b080dab9eeb7f00180d5fb757c [2022-06-30T12:16:07.191Z] $ docker rm -f 75614ea798f25bf27f337ee495b361e2ecdcb2b080dab9eeb7f00180d5fb757c [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-30T12:16:07.734Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-30T12:16:07.808Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-30T12:16:08.409Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-30T12:16:08.723Z] + ls -al . [2022-06-30T12:16:08.723Z] total 248 [2022-06-30T12:16:08.723Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 30 12:16 . [2022-06-30T12:16:08.723Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 12:14 .. [2022-06-30T12:16:08.723Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 12:14 .git [2022-06-30T12:16:08.723Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 12:14 .github [2022-06-30T12:16:08.723Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 30 12:14 .gitignore [2022-06-30T12:16:08.723Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 30 12:14 .golangci.yml [2022-06-30T12:16:08.723Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 30 12:14 .semver [2022-06-30T12:16:08.723Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jun 30 12:14 Attribution.txt [2022-06-30T12:16:08.723Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 30 12:14 CHANGELOG.md [2022-06-30T12:16:08.723Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 30 12:14 Dockerfile [2022-06-30T12:16:08.723Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 30 12:14 GOVERNANCE.md [2022-06-30T12:16:08.723Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 30 12:14 Jenkinsfile [2022-06-30T12:16:08.723Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 30 12:14 LICENSE [2022-06-30T12:16:08.723Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 30 12:14 Makefile [2022-06-30T12:16:08.723Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 30 12:14 OWNERS.md [2022-06-30T12:16:08.723Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jun 30 12:14 README.md [2022-06-30T12:16:08.723Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 30 12:14 VERSION [2022-06-30T12:16:08.723Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 12:14 bin [2022-06-30T12:16:08.723Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 12:14 cmd [2022-06-30T12:16:08.723Z] -rw-r--r-- 1 jenkins jenkins 70262 Jun 30 12:15 coverage.out [2022-06-30T12:16:08.723Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 12:14 doc [2022-06-30T12:16:08.723Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jun 30 12:14 go.mod [2022-06-30T12:16:08.723Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jun 30 12:14 go.sum [2022-06-30T12:16:08.723Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 12:14 internal [2022-06-30T12:16:08.723Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 30 12:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:16:09.115Z] + 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=006eaa6c590a4f21dc6472d2aee4b53a17da5b50 --label arch=amd64 --label version=0.0.0 . [2022-06-30T12:16:09.115Z] Sending build context to Docker daemon 9.381MB [2022-06-30T12:16:09.115Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-30T12:16:09.115Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-30T12:16:09.115Z] ---> ccf853577125 [2022-06-30T12:16:09.115Z] Step 3/26 : ARG MAKE="make build" [2022-06-30T12:16:09.379Z] ---> Running in 83b8d7d00785 [2022-06-30T12:16:09.379Z] Removing intermediate container 83b8d7d00785 [2022-06-30T12:16:09.379Z] ---> 3bbee3c967d7 [2022-06-30T12:16:09.379Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-30T12:16:09.379Z] ---> Running in bdbf032e832f [2022-06-30T12:16:09.638Z] Removing intermediate container bdbf032e832f [2022-06-30T12:16:09.638Z] ---> 76260e1d0dce [2022-06-30T12:16:09.638Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-30T12:16:09.638Z] ---> Running in 0f90abd7cd7f [2022-06-30T12:16:09.638Z] Removing intermediate container 0f90abd7cd7f [2022-06-30T12:16:09.638Z] ---> d6a2406e34c6 [2022-06-30T12:16:09.638Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-30T12:16:09.638Z] ---> Running in 245c277787ff [2022-06-30T12:16:09.898Z] Removing intermediate container 245c277787ff [2022-06-30T12:16:09.898Z] ---> fc194b2084a1 [2022-06-30T12:16:09.898Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-30T12:16:09.898Z] ---> Running in 9b0f2dcb7a87 [2022-06-30T12:16:10.468Z] Removing intermediate container 9b0f2dcb7a87 [2022-06-30T12:16:10.468Z] ---> 60c4c110eba4 [2022-06-30T12:16:10.468Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-30T12:16:10.468Z] ---> Running in 03ffba9db775 [2022-06-30T12:16:10.729Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-30T12:16:11.674Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-30T12:16:12.248Z] OK: 221 MiB in 52 packages [2022-06-30T12:16:12.508Z] Removing intermediate container 03ffba9db775 [2022-06-30T12:16:12.508Z] ---> b79ce7bbffcd [2022-06-30T12:16:12.508Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-30T12:16:12.508Z] ---> Running in af125334e729 [2022-06-30T12:16:12.508Z] Removing intermediate container af125334e729 [2022-06-30T12:16:12.508Z] ---> 1ea3e3a2cbf9 [2022-06-30T12:16:12.508Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-30T12:16:12.772Z] ---> c3d0c78f82ec [2022-06-30T12:16:12.772Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-30T12:16:12.772Z] ---> Running in 31e520723e89 [2022-06-30T12:16:13.713Z] Removing intermediate container 31e520723e89 [2022-06-30T12:16:13.713Z] ---> b14042901bf2 [2022-06-30T12:16:13.713Z] Step 12/26 : COPY . . [2022-06-30T12:16:13.971Z] ---> 77a8a27f47d9 [2022-06-30T12:16:13.971Z] Step 13/26 : RUN ${MAKE} [2022-06-30T12:16:13.971Z] ---> Running in c60be5eb2265 [2022-06-30T12:16:14.229Z] 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-30T12:16:21.451Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16484 in /w/workspace/oundry_device-onvif-camera_PR-95 [Pipeline] { [Pipeline] ws [2022-06-30T12:16:21.490Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-06-30T12:16:21.566Z] Selected Git installation does not exist. Using Default [2022-06-30T12:16:21.566Z] The recommended git tool is: NONE [2022-06-30T12:16:26.970Z] using credential edgex-jenkins-ssh [2022-06-30T12:16:26.987Z] Cloning the remote Git repository [2022-06-30T12:16:27.041Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-30T12:16:27.115Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-06-30T12:16:27.182Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-30T12:16:27.183Z] > git --version # timeout=10 [2022-06-30T12:16:27.206Z] > git --version # 'git version 2.25.1' [2022-06-30T12:16:27.209Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-30T12:16:27.330Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-30T12:16:28.671Z] Merging remotes/origin/main commit cba106416024542bb09af345da5a1638a965ef9b into PR head commit 006eaa6c590a4f21dc6472d2aee4b53a17da5b50 [2022-06-30T12:16:28.929Z] Merge succeeded, producing 006eaa6c590a4f21dc6472d2aee4b53a17da5b50 [2022-06-30T12:16:28.930Z] Checking out Revision 006eaa6c590a4f21dc6472d2aee4b53a17da5b50 (PR-95) [2022-06-30T12:16:28.110Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-30T12:16:28.127Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-30T12:16:28.153Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-30T12:16:28.187Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-30T12:16:28.188Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-30T12:16:28.202Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/95/head:refs/remotes/origin/PR-95 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-30T12:16:28.691Z] > git config core.sparsecheckout # timeout=10 [2022-06-30T12:16:28.711Z] > git checkout -f 006eaa6c590a4f21dc6472d2aee4b53a17da5b50 # timeout=10 [2022-06-30T12:16:28.849Z] > git remote # timeout=10 [2022-06-30T12:16:28.864Z] > git config --get remote.origin.url # timeout=10 [2022-06-30T12:16:28.879Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-30T12:16:28.891Z] > git merge cba106416024542bb09af345da5a1638a965ef9b # timeout=10 [2022-06-30T12:16:28.915Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-30T12:16:28.936Z] > git config core.sparsecheckout # timeout=10 [2022-06-30T12:16:28.956Z] > git checkout -f 006eaa6c590a4f21dc6472d2aee4b53a17da5b50 # timeout=10 [2022-06-30T12:16:33.127Z] Commit message: "docs: Remove compose folder and update doc" [2022-06-30T12:16:33.178Z] > git --version # timeout=10 [2022-06-30T12:16:33.194Z] > git --version # 'git version 2.25.1' [2022-06-30T12:16:33.208Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-30T12:16:34.350Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-30T12:16:34.350Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-30T12:16:34.350Z] Dload Upload Total Spent Left Speed [2022-06-30T12:16:34.350Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 92127 0 --:--:-- --:--:-- --:--:-- 92825 [Pipeline] sh [2022-06-30T12:16:35.202Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-30T12:16:35.557Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2022-06-30T12:16:35.558Z] /etc/docker/daemon.json [2022-06-30T12:16:35.558Z] { [2022-06-30T12:16:35.558Z] "registry-mirrors": [ [2022-06-30T12:16:35.558Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-30T12:16:35.558Z] ], [2022-06-30T12:16:35.558Z] "bip": "10.250.0.254/24", [2022-06-30T12:16:35.558Z] "hosts": [ [2022-06-30T12:16:35.558Z] "tcp://0.0.0.0:5555", [2022-06-30T12:16:35.558Z] "unix:///var/run/docker.sock" [2022-06-30T12:16:35.558Z] ], [2022-06-30T12:16:35.558Z] "mtu": 1458, [2022-06-30T12:16:35.558Z] "selinux-enabled": true, [2022-06-30T12:16:35.558Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-30T12:16:35.558Z] } [Pipeline] sh [2022-06-30T12:16:35.914Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-30T12:16:36.170Z] Removing intermediate container c60be5eb2265 [2022-06-30T12:16:36.170Z] ---> de4b62bdd4ef [2022-06-30T12:16:36.170Z] Step 14/26 : FROM alpine:3.15 [2022-06-30T12:16:36.170Z] 3.15: Pulling from library/alpine [2022-06-30T12:16:36.170Z] df9b9388f04a: Pulling fs layer [2022-06-30T12:16:36.170Z] df9b9388f04a: Verifying Checksum [2022-06-30T12:16:36.170Z] df9b9388f04a: Download complete [2022-06-30T12:16:36.170Z] df9b9388f04a: Pull complete [2022-06-30T12:16:36.170Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-30T12:16:36.170Z] Status: Downloaded newer image for alpine:3.15 [2022-06-30T12:16:36.170Z] ---> 0ac33e5f5afa [2022-06-30T12:16:36.170Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-30T12:16:36.170Z] ---> Running in a7775ca27f5c [2022-06-30T12:16:36.170Z] Removing intermediate container a7775ca27f5c [2022-06-30T12:16:36.170Z] ---> 1264ca358c2c [2022-06-30T12:16:36.170Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-30T12:16:36.170Z] ---> Running in 72e35f4a95f1 [2022-06-30T12:16:36.269Z] + sudo service docker restart [2022-06-30T12:16:36.431Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-30T12:16:36.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-30T12:16:36.692Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-30T12:16:36.953Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-30T12:16:36.953Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-30T12:16:36.953Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-30T12:16:36.953Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-30T12:16:36.953Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-30T12:16:36.953Z] Executing busybox-1.34.1-r5.trigger [2022-06-30T12:16:36.953Z] OK: 8 MiB in 20 packages [2022-06-30T12:16:37.215Z] Removing intermediate container 72e35f4a95f1 [2022-06-30T12:16:37.215Z] ---> 27e13be72f44 [2022-06-30T12:16:37.215Z] Step 17/26 : WORKDIR / [2022-06-30T12:16:37.475Z] ---> Running in a20ed7607b58 [2022-06-30T12:16:37.475Z] Removing intermediate container a20ed7607b58 [2022-06-30T12:16:37.475Z] ---> a4d2f5b8a577 [2022-06-30T12:16:37.475Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-30T12:16:38.044Z] ---> c67c0f6bcb51 [2022-06-30T12:16:38.044Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-30T12:16:38.304Z] ---> f05ed4727f50 [2022-06-30T12:16:38.304Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-30T12:16:38.564Z] ---> e6501ebc4e8a [2022-06-30T12:16:38.564Z] Step 21/26 : EXPOSE 59984 [2022-06-30T12:16:38.564Z] ---> Running in d8d04ad60b7b [2022-06-30T12:16:38.564Z] Removing intermediate container d8d04ad60b7b [2022-06-30T12:16:38.564Z] ---> 1dc275116094 [2022-06-30T12:16:38.564Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-30T12:16:38.825Z] ---> Running in 593b9395080c [2022-06-30T12:16:38.825Z] Removing intermediate container 593b9395080c [2022-06-30T12:16:38.825Z] ---> 967a6f9b1c21 [2022-06-30T12:16:38.825Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-30T12:16:38.825Z] ---> Running in fae9cdb12718 [2022-06-30T12:16:38.825Z] Removing intermediate container fae9cdb12718 [2022-06-30T12:16:38.825Z] ---> 1eaa8f7fe5cd [2022-06-30T12:16:38.825Z] Step 24/26 : LABEL arch=amd64 [2022-06-30T12:16:39.085Z] ---> Running in 57beab38a33e [2022-06-30T12:16:39.085Z] Removing intermediate container 57beab38a33e [2022-06-30T12:16:39.085Z] ---> 965e51abf089 [2022-06-30T12:16:39.085Z] Step 25/26 : LABEL git_sha=006eaa6c590a4f21dc6472d2aee4b53a17da5b50 [2022-06-30T12:16:39.085Z] ---> Running in fb7cd4d8e27f [2022-06-30T12:16:39.346Z] Removing intermediate container fb7cd4d8e27f [2022-06-30T12:16:39.346Z] ---> 65aadc958fc2 [2022-06-30T12:16:39.346Z] Step 26/26 : LABEL version=0.0.0 [2022-06-30T12:16:39.346Z] ---> Running in 886a714514d3 [2022-06-30T12:16:39.346Z] Removing intermediate container 886a714514d3 [2022-06-30T12:16:39.346Z] ---> 64c941035263 [2022-06-30T12:16:39.346Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-30T12:16:39.346Z] Successfully built 64c941035263 [2022-06-30T12:16:39.346Z] 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-30T12:16:40.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-30T12:16:40.224Z] [2022-06-30T12:16:40.224Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:16:40.613Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-30T12:16:40.613Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-30T12:16:40.613Z] 5eb5b503b376: Pulling fs layer [2022-06-30T12:16:40.613Z] 5c69ac0246d0: Pulling fs layer [2022-06-30T12:16:40.613Z] ec43610c2a17: Pulling fs layer [2022-06-30T12:16:40.613Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-30T12:16:40.613Z] 33b1e0a273af: Pulling fs layer [2022-06-30T12:16:40.613Z] 5d3b04190fa2: Pulling fs layer [2022-06-30T12:16:40.613Z] 2f39f015ded8: Pulling fs layer [2022-06-30T12:16:40.613Z] 3a2ae6a8a46f: Waiting [2022-06-30T12:16:40.613Z] 5d3b04190fa2: Waiting [2022-06-30T12:16:40.613Z] 2f39f015ded8: Waiting [2022-06-30T12:16:40.613Z] 33b1e0a273af: Waiting [2022-06-30T12:16:40.613Z] 5c69ac0246d0: Download complete [2022-06-30T12:16:40.613Z] 3a2ae6a8a46f: Download complete [2022-06-30T12:16:40.613Z] 33b1e0a273af: Verifying Checksum [2022-06-30T12:16:40.613Z] 33b1e0a273af: Download complete [2022-06-30T12:16:40.613Z] 5d3b04190fa2: Verifying Checksum [2022-06-30T12:16:40.613Z] 5d3b04190fa2: Download complete [2022-06-30T12:16:40.875Z] ec43610c2a17: Verifying Checksum [2022-06-30T12:16:40.875Z] ec43610c2a17: Download complete [2022-06-30T12:16:40.875Z] 5eb5b503b376: Verifying Checksum [2022-06-30T12:16:40.875Z] 5eb5b503b376: Download complete [2022-06-30T12:16:41.444Z] 2f39f015ded8: Download complete [2022-06-30T12:16:42.385Z] 5eb5b503b376: Pull complete [2022-06-30T12:16:42.645Z] 5c69ac0246d0: Pull complete [2022-06-30T12:16:42.909Z] ec43610c2a17: Pull complete [2022-06-30T12:16:43.169Z] 3a2ae6a8a46f: Pull complete [2022-06-30T12:16:43.428Z] 33b1e0a273af: Pull complete [2022-06-30T12:16:43.428Z] 5d3b04190fa2: Pull complete [2022-06-30T12:16:48.707Z] 2f39f015ded8: Pull complete [2022-06-30T12:16:48.707Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-30T12:16:48.707Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-30T12:16:48.707Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T12:16:48.936Z] prd-ubuntu20.04-docker-8c-8g-16483 does not seem to be running inside a container [2022-06-30T12:16:48.975Z] $ 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-95 -v /w/workspace/oundry_device-onvif-camera_PR-95:/w/workspace/oundry_device-onvif-camera_PR-95:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-95@tmp:/w/workspace/oundry_device-onvif-camera_PR-95@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-30T12:16:50.768Z] $ docker top a4af4e9c51a6d2d30baf386b946b5cc92dea7769926a75c7779eebeb8008c022 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:16:51.238Z] ---> job-cost.sh [2022-06-30T12:16:51.238Z] lf-activate-venv: SKIPPING [2022-06-30T12:16:51.238Z] INFO: No Stack... [2022-06-30T12:16:51.498Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-30T12:16:52.070Z] INFO: Archiving Costs [Pipeline] sh [2022-06-30T12:16:52.421Z] + cat /w/workspace/oundry_device-onvif-camera_PR-95/archives/cost.csv [2022-06-30T12:16:52.421Z] + cut -d, -f6 [Pipeline] lock [2022-06-30T12:16:52.488Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-95-1-stack-cost] [2022-06-30T12:16:52.493Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-95-1-stack-cost] did not exist. Created. [2022-06-30T12:16:52.493Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-95-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-30T12:16:52.902Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-30T12:16:52.953Z] Stashed 1 file(s) [Pipeline] } [2022-06-30T12:16:52.978Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-95-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-30T12:16:53.058Z] $ docker stop --time=1 a4af4e9c51a6d2d30baf386b946b5cc92dea7769926a75c7779eebeb8008c022 [2022-06-30T12:16:54.245Z] $ docker rm -f a4af4e9c51a6d2d30baf386b946b5cc92dea7769926a75c7779eebeb8008c022 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-30T12:16:54.855Z] provisioning config files... [2022-06-30T12:16:54.880Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config7826027803232360501tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:16:55.276Z] ---> docker-login.sh [2022-06-30T12:16:55.276Z] nexus3.edgexfoundry.org:10001 [2022-06-30T12:16:55.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:16:56.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:16:56.159Z] Configure a credential helper to remove this warning. See [2022-06-30T12:16:56.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:16:56.159Z] [2022-06-30T12:16:56.159Z] Login Succeeded [2022-06-30T12:16:56.159Z] nexus3.edgexfoundry.org:10002 [2022-06-30T12:16:56.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:16:56.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:16:56.435Z] Configure a credential helper to remove this warning. See [2022-06-30T12:16:56.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:16:56.435Z] [2022-06-30T12:16:56.435Z] Login Succeeded [2022-06-30T12:16:56.709Z] nexus3.edgexfoundry.org:10003 [2022-06-30T12:16:56.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:16:56.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:16:56.989Z] Configure a credential helper to remove this warning. See [2022-06-30T12:16:56.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:16:56.989Z] [2022-06-30T12:16:56.989Z] Login Succeeded [2022-06-30T12:16:56.989Z] nexus3.edgexfoundry.org:10004 [2022-06-30T12:16:57.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:16:57.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:16:57.590Z] Configure a credential helper to remove this warning. See [2022-06-30T12:16:57.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:16:57.590Z] [2022-06-30T12:16:57.590Z] Login Succeeded [2022-06-30T12:16:57.590Z] docker.io [2022-06-30T12:16:57.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:16:58.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:16:58.139Z] Configure a credential helper to remove this warning. See [2022-06-30T12:16:58.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:16:58.139Z] [2022-06-30T12:16:58.139Z] Login Succeeded [2022-06-30T12:16:58.139Z] ---> docker-login.sh ends [Pipeline] } [2022-06-30T12:16:58.169Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-30T12:16:58.555Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-30T12:16:58.596Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-30T12:16:58.631Z] ========================================================= [2022-06-30T12:16:58.631Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-30T12:16:58.631Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:16:59.149Z] + 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-30T12:16:59.421Z] Sending build context to Docker daemon 6.396MB [2022-06-30T12:16:59.701Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-30T12:16:59.701Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-30T12:16:59.701Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-30T12:16:59.701Z] 9b3977197b4f: Pulling fs layer [2022-06-30T12:16:59.701Z] 1a89e8eeedd5: Pulling fs layer [2022-06-30T12:16:59.701Z] 94645a83ff95: Pulling fs layer [2022-06-30T12:16:59.701Z] e6fb740bc735: Pulling fs layer [2022-06-30T12:16:59.701Z] 3a77bd46dcc9: Pulling fs layer [2022-06-30T12:16:59.701Z] 355e64cbe906: Pulling fs layer [2022-06-30T12:16:59.701Z] 63ab81a10011: Pulling fs layer [2022-06-30T12:16:59.701Z] 555d1d1c4555: Pulling fs layer [2022-06-30T12:16:59.701Z] 3a77bd46dcc9: Waiting [2022-06-30T12:16:59.701Z] 355e64cbe906: Waiting [2022-06-30T12:16:59.701Z] e6fb740bc735: Waiting [2022-06-30T12:16:59.701Z] 7d9057610161: Pulling fs layer [2022-06-30T12:16:59.701Z] 63ab81a10011: Waiting [2022-06-30T12:16:59.701Z] 555d1d1c4555: Waiting [2022-06-30T12:16:59.701Z] 7d9057610161: Waiting [2022-06-30T12:16:59.701Z] 94645a83ff95: Download complete [2022-06-30T12:16:59.701Z] 1a89e8eeedd5: Verifying Checksum [2022-06-30T12:16:59.701Z] 1a89e8eeedd5: Download complete [2022-06-30T12:16:59.701Z] 3a77bd46dcc9: Download complete [2022-06-30T12:16:59.701Z] 355e64cbe906: Verifying Checksum [2022-06-30T12:16:59.701Z] 355e64cbe906: Download complete [2022-06-30T12:16:59.978Z] 9b3977197b4f: Verifying Checksum [2022-06-30T12:16:59.978Z] 9b3977197b4f: Download complete [2022-06-30T12:16:59.978Z] 63ab81a10011: Verifying Checksum [2022-06-30T12:16:59.978Z] 63ab81a10011: Download complete [2022-06-30T12:17:00.992Z] 9b3977197b4f: Pull complete [2022-06-30T12:17:00.992Z] 7d9057610161: Verifying Checksum [2022-06-30T12:17:00.992Z] 7d9057610161: Download complete [2022-06-30T12:17:01.596Z] 1a89e8eeedd5: Pull complete [2022-06-30T12:17:01.873Z] 94645a83ff95: Pull complete [2022-06-30T12:17:02.150Z] 555d1d1c4555: Verifying Checksum [2022-06-30T12:17:02.150Z] 555d1d1c4555: Download complete [2022-06-30T12:17:02.748Z] e6fb740bc735: Verifying Checksum [2022-06-30T12:17:02.748Z] e6fb740bc735: Download complete [2022-06-30T12:17:15.167Z] e6fb740bc735: Pull complete [2022-06-30T12:17:15.167Z] 3a77bd46dcc9: Pull complete [2022-06-30T12:17:15.167Z] 355e64cbe906: Pull complete [2022-06-30T12:17:15.443Z] 63ab81a10011: Pull complete [2022-06-30T12:17:22.174Z] 555d1d1c4555: Pull complete [2022-06-30T12:17:23.609Z] 7d9057610161: Pull complete [2022-06-30T12:17:23.885Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-30T12:17:23.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-30T12:17:23.885Z] ---> 819e984ddca1 [2022-06-30T12:17:23.885Z] Step 3/13 : ARG MAKE="make build" [2022-06-30T12:17:25.328Z] ---> Running in 6b3a14a1ce9d [2022-06-30T12:17:25.610Z] Removing intermediate container 6b3a14a1ce9d [2022-06-30T12:17:25.610Z] ---> 43025da54bc8 [2022-06-30T12:17:25.610Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-30T12:17:25.892Z] ---> Running in 063060e9815e [2022-06-30T12:17:26.168Z] Removing intermediate container 063060e9815e [2022-06-30T12:17:26.168Z] ---> 4e8ab1365896 [2022-06-30T12:17:26.168Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-30T12:17:26.168Z] ---> Running in aaf11126c29a [2022-06-30T12:17:27.626Z] Removing intermediate container aaf11126c29a [2022-06-30T12:17:27.626Z] ---> fbbb30bcfbb7 [2022-06-30T12:17:27.626Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-30T12:17:27.626Z] ---> Running in 04dc04d9c123 [2022-06-30T12:17:27.900Z] Removing intermediate container 04dc04d9c123 [2022-06-30T12:17:27.900Z] ---> 11a007582baa [2022-06-30T12:17:27.900Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-30T12:17:27.900Z] ---> Running in d9ca1bfea88a [2022-06-30T12:17:29.878Z] Removing intermediate container d9ca1bfea88a [2022-06-30T12:17:29.878Z] ---> 2ecce57e7c74 [2022-06-30T12:17:29.878Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-30T12:17:29.878Z] ---> Running in 569a1c79ee0d [2022-06-30T12:17:30.474Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-30T12:17:31.448Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-30T12:17:32.429Z] OK: 220 MiB in 52 packages [2022-06-30T12:17:33.027Z] Removing intermediate container 569a1c79ee0d [2022-06-30T12:17:33.027Z] ---> 2663354d2d1c [2022-06-30T12:17:33.027Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-30T12:17:33.309Z] ---> Running in 61639393ed1a [2022-06-30T12:17:33.581Z] Removing intermediate container 61639393ed1a [2022-06-30T12:17:33.581Z] ---> 35cee1e3abb3 [2022-06-30T12:17:33.581Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-30T12:17:34.186Z] ---> 9a0e838fb98e [2022-06-30T12:17:34.186Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-30T12:17:34.186Z] ---> Running in e8b40a0c6059 [2022-06-30T12:18:21.171Z] Removing intermediate container e8b40a0c6059 [2022-06-30T12:18:21.171Z] ---> ee6b9081d5c0 [2022-06-30T12:18:21.171Z] Step 12/13 : COPY . . [2022-06-30T12:18:21.171Z] ---> 18acb52e6464 [2022-06-30T12:18:21.171Z] Step 13/13 : RUN ${MAKE} [2022-06-30T12:18:21.171Z] ---> Running in 2d37691d680d [2022-06-30T12:18:21.171Z] noop [2022-06-30T12:18:22.154Z] Removing intermediate container 2d37691d680d [2022-06-30T12:18:22.154Z] ---> cf91a5bba1de [2022-06-30T12:18:22.154Z] Successfully built cf91a5bba1de [2022-06-30T12:18:22.154Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:18:22.651Z] + docker inspect -f . ci-base-image-arm64 [2022-06-30T12:18:22.652Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T12:18:22.987Z] prd-ubuntu20.04-docker-arm64-4c-16g-16484 does not seem to be running inside a container [2022-06-30T12:18:23.077Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-30T12:18:24.360Z] $ docker top 67fc1434ae73120d3e1943c20494c6257fc005dc93e06757a776ab2ee6855866 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-30T12:18:25.317Z] + go version [2022-06-30T12:18:25.317Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-30T12:18:25.352Z] $ docker stop --time=1 67fc1434ae73120d3e1943c20494c6257fc005dc93e06757a776ab2ee6855866 [2022-06-30T12:18:26.994Z] $ docker rm -f 67fc1434ae73120d3e1943c20494c6257fc005dc93e06757a776ab2ee6855866 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:18:27.893Z] + docker inspect -f . ci-base-image-arm64 [2022-06-30T12:18:27.893Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T12:18:28.211Z] prd-ubuntu20.04-docker-arm64-4c-16g-16484 does not seem to be running inside a container [2022-06-30T12:18:28.292Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-30T12:18:29.577Z] $ docker top d3d3bdf471a490ffcd3840b14577aa1001dc6742294a36ecff21aaf4e141de35 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-30T12:18:30.608Z] + make test [2022-06-30T12:18:30.609Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-30T12:18:32.597Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-30T12:20:09.490Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-30T12:20:09.490Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.096s coverage: 7.0% of statements [2022-06-30T12:20:09.490Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-06-30T12:20:19.652Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.852s coverage: 13.8% of statements [2022-06-30T12:20:19.652Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-30T12:20:19.652Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-30T12:20:52.044Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-30T12:20:52.044Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-30T12:20:52.044Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-30T12:20:52.080Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-30T12:20:52.105Z] $ docker stop --time=1 d3d3bdf471a490ffcd3840b14577aa1001dc6742294a36ecff21aaf4e141de35 [2022-06-30T12:20:53.810Z] $ docker rm -f d3d3bdf471a490ffcd3840b14577aa1001dc6742294a36ecff21aaf4e141de35 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-30T12:20:54.831Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-30T12:20:54.867Z] Warning: overwriting stash ‘coverage-report’ [2022-06-30T12:20:55.368Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-30T12:20:55.980Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-30T12:20:56.327Z] + ls -al . [2022-06-30T12:20:56.327Z] total 244 [2022-06-30T12:20:56.327Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 12:20 . [2022-06-30T12:20:56.327Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 12:16 .. [2022-06-30T12:20:56.327Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 12:16 .git [2022-06-30T12:20:56.327Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 12:16 .github [2022-06-30T12:20:56.327Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 30 12:16 .gitignore [2022-06-30T12:20:56.327Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 30 12:16 .golangci.yml [2022-06-30T12:20:56.327Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jun 30 12:16 Attribution.txt [2022-06-30T12:20:56.327Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 30 12:16 CHANGELOG.md [2022-06-30T12:20:56.327Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 30 12:16 Dockerfile [2022-06-30T12:20:56.327Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 30 12:16 GOVERNANCE.md [2022-06-30T12:20:56.327Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 30 12:16 Jenkinsfile [2022-06-30T12:20:56.327Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 30 12:16 LICENSE [2022-06-30T12:20:56.327Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 30 12:16 Makefile [2022-06-30T12:20:56.327Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 30 12:16 OWNERS.md [2022-06-30T12:20:56.327Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jun 30 12:16 README.md [2022-06-30T12:20:56.327Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 30 12:14 VERSION [2022-06-30T12:20:56.327Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 12:16 bin [2022-06-30T12:20:56.327Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 12:16 cmd [2022-06-30T12:20:56.327Z] -rw-r--r-- 1 jenkins jenkins 70262 Jun 30 12:20 coverage.out [2022-06-30T12:20:56.327Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 12:16 doc [2022-06-30T12:20:56.327Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jun 30 12:16 go.mod [2022-06-30T12:20:56.327Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jun 30 12:16 go.sum [2022-06-30T12:20:56.327Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 12:16 internal [2022-06-30T12:20:56.327Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 30 12:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:20:56.768Z] + 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=006eaa6c590a4f21dc6472d2aee4b53a17da5b50 --label arch=arm64 --label version=0.0.0 . [2022-06-30T12:20:57.046Z] Sending build context to Docker daemon 6.468MB [2022-06-30T12:20:57.046Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-30T12:20:57.046Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-30T12:20:57.046Z] ---> cf91a5bba1de [2022-06-30T12:20:57.046Z] Step 3/26 : ARG MAKE="make build" [2022-06-30T12:20:57.318Z] ---> Running in 18d8d4e48afc [2022-06-30T12:20:57.593Z] Removing intermediate container 18d8d4e48afc [2022-06-30T12:20:57.593Z] ---> c3b9f8875c9a [2022-06-30T12:20:57.593Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-30T12:20:57.593Z] ---> Running in 40febfd8ee37 [2022-06-30T12:20:57.869Z] Removing intermediate container 40febfd8ee37 [2022-06-30T12:20:57.869Z] ---> 4dee1b3c251c [2022-06-30T12:20:57.869Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-30T12:20:58.148Z] ---> Running in 09dfb0087714 [2022-06-30T12:20:58.421Z] Removing intermediate container 09dfb0087714 [2022-06-30T12:20:58.421Z] ---> 00e8ba0e6295 [2022-06-30T12:20:58.421Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-30T12:20:58.421Z] ---> Running in 041931605d05 [2022-06-30T12:20:58.702Z] Removing intermediate container 041931605d05 [2022-06-30T12:20:58.702Z] ---> 7be06ace8c1a [2022-06-30T12:20:58.702Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-30T12:20:58.702Z] ---> Running in 1506562b8c58 [2022-06-30T12:21:00.678Z] Removing intermediate container 1506562b8c58 [2022-06-30T12:21:00.678Z] ---> 9a1d6993d746 [2022-06-30T12:21:00.678Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-30T12:21:00.678Z] ---> Running in e5228ad38e55 [2022-06-30T12:21:01.272Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-30T12:21:02.244Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-30T12:21:03.225Z] OK: 220 MiB in 52 packages [2022-06-30T12:21:03.830Z] Removing intermediate container e5228ad38e55 [2022-06-30T12:21:03.830Z] ---> 94956638494d [2022-06-30T12:21:03.830Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-30T12:21:04.107Z] ---> Running in 0e4ea6eb1058 [2022-06-30T12:21:04.384Z] Removing intermediate container 0e4ea6eb1058 [2022-06-30T12:21:04.384Z] ---> 95f54ee03fda [2022-06-30T12:21:04.384Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-30T12:21:04.982Z] ---> 8ae695d27190 [2022-06-30T12:21:04.982Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-30T12:21:04.982Z] ---> Running in 52f2b2ec818a [2022-06-30T12:21:06.963Z] Removing intermediate container 52f2b2ec818a [2022-06-30T12:21:06.963Z] ---> 7c0d3b6cd0c7 [2022-06-30T12:21:06.963Z] Step 12/26 : COPY . . [2022-06-30T12:21:07.948Z] ---> 5d92660c20d9 [2022-06-30T12:21:07.948Z] Step 13/26 : RUN ${MAKE} [2022-06-30T12:21:07.948Z] ---> Running in f0e0009e2162 [2022-06-30T12:21:08.955Z] 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-30T12:23:15.843Z] Removing intermediate container f0e0009e2162 [2022-06-30T12:23:15.843Z] ---> fe2b24b42e72 [2022-06-30T12:23:15.843Z] Step 14/26 : FROM alpine:3.15 [2022-06-30T12:23:15.843Z] 3.15: Pulling from library/alpine [2022-06-30T12:23:15.843Z] 9981e73032c8: Pulling fs layer [2022-06-30T12:23:15.843Z] 9981e73032c8: Verifying Checksum [2022-06-30T12:23:15.843Z] 9981e73032c8: Download complete [2022-06-30T12:23:15.843Z] 9981e73032c8: Pull complete [2022-06-30T12:23:15.843Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-30T12:23:15.843Z] Status: Downloaded newer image for alpine:3.15 [2022-06-30T12:23:15.843Z] ---> 3fb3c9af89a9 [2022-06-30T12:23:15.843Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-30T12:23:15.843Z] ---> Running in b4e8c0a2ca64 [2022-06-30T12:23:15.843Z] Removing intermediate container b4e8c0a2ca64 [2022-06-30T12:23:15.843Z] ---> fe691d3737e2 [2022-06-30T12:23:15.844Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-30T12:23:15.844Z] ---> Running in 4166505ea221 [2022-06-30T12:23:15.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-30T12:23:15.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-30T12:23:15.844Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-30T12:23:15.844Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-30T12:23:15.844Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-30T12:23:15.844Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-30T12:23:15.844Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-30T12:23:15.844Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-30T12:23:15.844Z] Executing busybox-1.34.1-r5.trigger [2022-06-30T12:23:15.844Z] OK: 8 MiB in 20 packages [2022-06-30T12:23:15.844Z] Removing intermediate container 4166505ea221 [2022-06-30T12:23:15.844Z] ---> 5eac9ed64386 [2022-06-30T12:23:15.844Z] Step 17/26 : WORKDIR / [2022-06-30T12:23:15.844Z] ---> Running in 3ad2bdb276f1 [2022-06-30T12:23:15.844Z] Removing intermediate container 3ad2bdb276f1 [2022-06-30T12:23:15.844Z] ---> 5e8f56cd46e0 [2022-06-30T12:23:15.844Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-30T12:23:15.844Z] ---> ccc1b6cbcce2 [2022-06-30T12:23:15.844Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-30T12:23:16.445Z] ---> 91d25935ef33 [2022-06-30T12:23:16.445Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-30T12:23:16.721Z] ---> 2b2afacf8c3c [2022-06-30T12:23:16.721Z] Step 21/26 : EXPOSE 59984 [2022-06-30T12:23:16.996Z] ---> Running in 21ffe80f8eec [2022-06-30T12:23:17.270Z] Removing intermediate container 21ffe80f8eec [2022-06-30T12:23:17.270Z] ---> 330708dffeb5 [2022-06-30T12:23:17.270Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-30T12:23:17.270Z] ---> Running in 8234adfa0e0b [2022-06-30T12:23:17.545Z] Removing intermediate container 8234adfa0e0b [2022-06-30T12:23:17.545Z] ---> 4acbd52e1ec8 [2022-06-30T12:23:17.545Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-30T12:23:17.545Z] ---> Running in d5e90b2286ed [2022-06-30T12:23:17.818Z] Removing intermediate container d5e90b2286ed [2022-06-30T12:23:17.818Z] ---> e1d43e6dd8a6 [2022-06-30T12:23:17.818Z] Step 24/26 : LABEL arch=arm64 [2022-06-30T12:23:18.093Z] ---> Running in 5ae35a72da99 [2022-06-30T12:23:18.368Z] Removing intermediate container 5ae35a72da99 [2022-06-30T12:23:18.368Z] ---> 376ef8df24b5 [2022-06-30T12:23:18.368Z] Step 25/26 : LABEL git_sha=006eaa6c590a4f21dc6472d2aee4b53a17da5b50 [2022-06-30T12:23:18.368Z] ---> Running in 7a430e6fef90 [2022-06-30T12:23:18.655Z] Removing intermediate container 7a430e6fef90 [2022-06-30T12:23:18.655Z] ---> 924d9131a010 [2022-06-30T12:23:18.655Z] Step 26/26 : LABEL version=0.0.0 [2022-06-30T12:23:18.655Z] ---> Running in 2ce9f1c1d257 [2022-06-30T12:23:19.254Z] Removing intermediate container 2ce9f1c1d257 [2022-06-30T12:23:19.254Z] ---> 37ed45def1f9 [2022-06-30T12:23:19.254Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-30T12:23:19.254Z] Successfully built 37ed45def1f9 [2022-06-30T12:23:19.254Z] 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-30T12:23:20.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-30T12:23:20.282Z] [2022-06-30T12:23:20.282Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:23:20.697Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-30T12:23:20.971Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-30T12:23:20.971Z] 8998bd30e6a1: Pulling fs layer [2022-06-30T12:23:20.971Z] 04944245beec: Pulling fs layer [2022-06-30T12:23:20.971Z] 699f458cf7ca: Pulling fs layer [2022-06-30T12:23:20.971Z] 765212b225bb: Pulling fs layer [2022-06-30T12:23:20.971Z] f23df028b6ca: Pulling fs layer [2022-06-30T12:23:20.971Z] 765212b225bb: Waiting [2022-06-30T12:23:20.971Z] d65c8cfc05b1: Pulling fs layer [2022-06-30T12:23:20.971Z] 2437ff75d9bd: Pulling fs layer [2022-06-30T12:23:20.971Z] d65c8cfc05b1: Waiting [2022-06-30T12:23:20.971Z] 2437ff75d9bd: Waiting [2022-06-30T12:23:20.971Z] f23df028b6ca: Waiting [2022-06-30T12:23:20.971Z] 04944245beec: Verifying Checksum [2022-06-30T12:23:20.971Z] 04944245beec: Download complete [2022-06-30T12:23:20.971Z] 765212b225bb: Verifying Checksum [2022-06-30T12:23:20.971Z] 765212b225bb: Download complete [2022-06-30T12:23:20.971Z] f23df028b6ca: Verifying Checksum [2022-06-30T12:23:20.971Z] f23df028b6ca: Download complete [2022-06-30T12:23:20.971Z] d65c8cfc05b1: Verifying Checksum [2022-06-30T12:23:20.971Z] d65c8cfc05b1: Download complete [2022-06-30T12:23:21.247Z] 699f458cf7ca: Verifying Checksum [2022-06-30T12:23:21.247Z] 699f458cf7ca: Download complete [2022-06-30T12:23:21.521Z] 8998bd30e6a1: Verifying Checksum [2022-06-30T12:23:21.521Z] 8998bd30e6a1: Download complete [2022-06-30T12:23:24.145Z] 2437ff75d9bd: Verifying Checksum [2022-06-30T12:23:24.145Z] 2437ff75d9bd: Download complete [2022-06-30T12:23:26.125Z] 8998bd30e6a1: Pull complete [2022-06-30T12:23:26.398Z] 04944245beec: Pull complete [2022-06-30T12:23:27.839Z] 699f458cf7ca: Pull complete [2022-06-30T12:23:28.113Z] 765212b225bb: Pull complete [2022-06-30T12:23:29.097Z] f23df028b6ca: Pull complete [2022-06-30T12:23:29.097Z] d65c8cfc05b1: Pull complete [2022-06-30T12:23:44.209Z] 2437ff75d9bd: Pull complete [2022-06-30T12:23:44.209Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-30T12:23:44.209Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-30T12:23:44.209Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T12:23:44.593Z] prd-ubuntu20.04-docker-arm64-4c-16g-16484 does not seem to be running inside a container [2022-06-30T12:23:44.681Z] $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-30T12:23:47.200Z] $ docker top e0aaa79fdc6cfa9515d73e574f87634c55eafe68f2d7af3a8a2fe7a77ecfde06 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:23:48.209Z] ---> job-cost.sh [2022-06-30T12:23:48.209Z] lf-activate-venv: SKIPPING [2022-06-30T12:23:48.209Z] INFO: No Stack... [2022-06-30T12:23:48.482Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-30T12:23:49.458Z] INFO: Archiving Costs [Pipeline] sh [2022-06-30T12:23:50.144Z] + cut -d, -f6 [2022-06-30T12:23:50.144Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2022-06-30T12:23:50.231Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-95-1-stack-cost] [2022-06-30T12:23:50.236Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-95-1-stack-cost] did not exist. Created. [2022-06-30T12:23:50.236Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-95-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-30T12:23:50.994Z] /w/workspace/device-onvif-camera/1@tmp/durable-dd7c0f28/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-30T12:23:51.690Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-30T12:23:51.727Z] Warning: overwriting stash ‘stack-cost’ [2022-06-30T12:23:51.777Z] Stashed 1 file(s) [Pipeline] } [2022-06-30T12:23:51.792Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-95-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-30T12:23:51.872Z] $ docker stop --time=1 e0aaa79fdc6cfa9515d73e574f87634c55eafe68f2d7af3a8a2fe7a77ecfde06 [2022-06-30T12:23:53.353Z] $ docker rm -f e0aaa79fdc6cfa9515d73e574f87634c55eafe68f2d7af3a8a2fe7a77ecfde06 [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-30T12:23:54.364Z] provisioning config files... [2022-06-30T12:23:54.373Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-95@tmp/config923926646427362062tmp [Pipeline] { [Pipeline] sh [2022-06-30T12:23:54.706Z] + set +x [2022-06-30T12:23:54.706Z] + curl -s https://codecov.io/bash [2022-06-30T12:23:54.706Z] + bash -s -- [2022-06-30T12:23:54.706Z] [2022-06-30T12:23:54.706Z] _____ _ [2022-06-30T12:23:54.706Z] / ____| | | [2022-06-30T12:23:54.706Z] | | ___ __| | ___ ___ _____ __ [2022-06-30T12:23:54.706Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-30T12:23:54.706Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-30T12:23:54.706Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-30T12:23:54.706Z] Bash-1.0.6 [2022-06-30T12:23:54.706Z] [2022-06-30T12:23:54.706Z] [2022-06-30T12:23:54.706Z] ==> git version 2.25.1 found [2022-06-30T12:23:54.706Z] ==> 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-30T12:23:54.706Z] Release-Date: 2020-01-08 [2022-06-30T12:23:54.706Z] 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-30T12:23:54.706Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-30T12:23:54.706Z] ==> Jenkins CI detected. [2022-06-30T12:23:54.706Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-95 [2022-06-30T12:23:54.706Z] project root: . [2022-06-30T12:23:54.706Z] --> token set from env [2022-06-30T12:23:54.706Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-30T12:23:54.706Z] ==> Running gcov in . (disable via -X gcov) [2022-06-30T12:23:54.706Z] ==> Python coveragepy not found [2022-06-30T12:23:54.706Z] ==> Searching for coverage reports in: [2022-06-30T12:23:54.706Z] + . [2022-06-30T12:23:54.706Z] -> Found 1 reports [2022-06-30T12:23:54.706Z] ==> Detecting git/mercurial file structure [2022-06-30T12:23:54.706Z] ==> Reading reports [2022-06-30T12:23:54.706Z] + ./coverage.out bytes=70262 [2022-06-30T12:23:54.706Z] ==> Appending adjustments [2022-06-30T12:23:54.706Z] https://docs.codecov.io/docs/fixing-reports [2022-06-30T12:23:54.967Z] + Found adjustments [2022-06-30T12:23:54.967Z] ==> Gzipping contents [2022-06-30T12:23:54.967Z] 12K /tmp/codecov.IwU4vo.gz [2022-06-30T12:23:54.967Z] ==> Uploading reports [2022-06-30T12:23:54.967Z] url: https://codecov.io [2022-06-30T12:23:54.967Z] query: branch=PR-95&commit=006eaa6c590a4f21dc6472d2aee4b53a17da5b50&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-95%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=95&job=&cmd_args= [2022-06-30T12:23:54.967Z] -> Pinging Codecov [2022-06-30T12:23:54.967Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-95&commit=006eaa6c590a4f21dc6472d2aee4b53a17da5b50&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-95%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=95&job=&cmd_args= [2022-06-30T12:23:55.232Z] -> Uploading to [2022-06-30T12:23:55.232Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-30/F29A59C45E3A92E06B3E522C9905F8EF/006eaa6c590a4f21dc6472d2aee4b53a17da5b50/33eb006e-3a58-4c62-818c-32c4447293a1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220630%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220630T122355Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a6780e527616ce3150037f20e8ab753cba4f6773ff5c6866b8a5dcabae88c21b [2022-06-30T12:23:55.232Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-30T12:23:55.232Z] Dload Upload Total Spent Left Speed [2022-06-30T12:23:55.493Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9297 0 0 100 9297 0 39730 --:--:-- --:--:-- --:--:-- 39901 [2022-06-30T12:23:55.493Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/006eaa6c590a4f21dc6472d2aee4b53a17da5b50 [Pipeline] } [2022-06-30T12:23:55.520Z] 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-30T12:23:57.233Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-95/archives ] [2022-06-30T12:23:57.234Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-95/archives [2022-06-30T12:23:57.234Z] total 16 [2022-06-30T12:23:57.234Z] drwxr-xr-x 3 root root 4096 Jun 30 12:16 . [2022-06-30T12:23:57.234Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 30 12:16 .. [2022-06-30T12:23:57.234Z] drwxr-xr-x 2 root root 4096 Jun 30 12:16 cost [2022-06-30T12:23:57.234Z] -rw-r--r-- 1 root root 89 Jun 30 12:16 cost.csv [2022-06-30T12:23:57.234Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-95/archives [2022-06-30T12:23:57.234Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-95/archives [2022-06-30T12:23:57.234Z] total 16 [2022-06-30T12:23:57.234Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 30 12:16 . [2022-06-30T12:23:57.234Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 30 12:16 .. [2022-06-30T12:23:57.234Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 30 12:16 cost [2022-06-30T12:23:57.234Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 30 12:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:23:57.560Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:23:58.451Z] ---> package-listing.sh [2022-06-30T12:23:58.451Z] ++ facter osfamily [2022-06-30T12:23:58.451Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-30T12:23:58.714Z] + OS_FAMILY=debian [2022-06-30T12:23:58.714Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-95 [2022-06-30T12:23:58.714Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-30T12:23:58.714Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-30T12:23:58.714Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-30T12:23:58.714Z] + PACKAGES=/tmp/packages_start.txt [2022-06-30T12:23:58.714Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-95 ']' [2022-06-30T12:23:58.714Z] + PACKAGES=/tmp/packages_end.txt [2022-06-30T12:23:58.714Z] + case "${OS_FAMILY}" in [2022-06-30T12:23:58.714Z] + dpkg -l [2022-06-30T12:23:58.714Z] + grep '^ii' [2022-06-30T12:23:58.714Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-30T12:23:58.714Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-30T12:23:58.714Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-30T12:23:58.714Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-95 ']' [2022-06-30T12:23:58.714Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-95/archives/ [2022-06-30T12:23:58.714Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-95/archives/ [Pipeline] echo [2022-06-30T12:23:58.747Z] 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-95/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-30T12:23:59.037Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:23:59.669Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-30T12:23:59.669Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T12:23:59.825Z] prd-ubuntu20.04-docker-8c-8g-16483 does not seem to be running inside a container [2022-06-30T12:23:59.858Z] $ 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-95/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-95 -v /w/workspace/oundry_device-onvif-camera_PR-95:/w/workspace/oundry_device-onvif-camera_PR-95:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-95@tmp:/w/workspace/oundry_device-onvif-camera_PR-95@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-30T12:24:00.100Z] $ docker top d7e6c414f88b7ed0461bc62e77edfe36cfff8b6e9334698d918649933251a5eb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-30T12:24:00.504Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-30T12:24:00.819Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-30T12:24:01.131Z] + ls /var/log/sa-host [2022-06-30T12:24:01.131Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-30T12:24:01.265Z] provisioning config files... [2022-06-30T12:24:01.274Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-95@tmp/config8369920570959342384tmp [Pipeline] { [Pipeline] echo [2022-06-30T12:24:01.335Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:24:01.647Z] ---> create-netrc.sh [Pipeline] } [2022-06-30T12:24:01.672Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:24:02.074Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-30T12:24:02.105Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:24:02.414Z] ---> sudo-logs.sh [2022-06-30T12:24:02.414Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-30T12:24:02.500Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:24:02.810Z] ---> job-cost.sh [2022-06-30T12:24:02.810Z] lf-activate-venv: SKIPPING [2022-06-30T12:24:02.810Z] DEBUG: total: 0.2199999988079071 [2022-06-30T12:24:02.810Z] INFO: Retrieving Stack Cost... [2022-06-30T12:24:03.070Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-30T12:24:03.639Z] INFO: Archiving Costs [Pipeline] echo [2022-06-30T12:24:03.671Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:24:03.986Z] ---> logs-deploy.sh [2022-06-30T12:24:03.986Z] lf-activate-venv: SKIPPING [2022-06-30T12:24:03.986Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-95/1 [2022-06-30T12:24:03.986Z] INFO: archiving workspace using pattern(s): [2022-06-30T12:24:04.934Z] Archives upload complete. [2022-06-30T12:24:04.934Z] INFO: archiving logs to Nexus