Pull request #92 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ab15992500c62fa849ba21fc3df49cf331fce359+8374ad439d5c8571ae7424cc77de71a785d5a0ca (a06b103c54dcd28e6428bf587e25ebd6d422a32e) 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-ssh17195576610699759721.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-ssh10960165413782660199.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-92/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-92/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9223163686407272619.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-92/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5473249722571761094.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-ssh1873235188543189545.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-92/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-92/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh589754789635673269.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16054 in /w/workspace/oundry_device-onvif-camera_PR-92 [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-92 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit ab15992500c62fa849ba21fc3df49cf331fce359 Merge succeeded, producing ab15992500c62fa849ba21fc3df49cf331fce359 Checking out Revision ab15992500c62fa849ba21fc3df49cf331fce359 (PR-92) > 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/92/head:refs/remotes/origin/PR-92 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ab15992500c62fa849ba21fc3df49cf331fce359 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ab15992500c62fa849ba21fc3df49cf331fce359 # timeout=10 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.7.2 to 1.7.5" 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-27T03:32:46.781Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-27T03:32:46.956Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-27T03:32:47.057Z] ========================================================= [2022-06-27T03:32:47.057Z] EdgeX Global Pipelines Version Info [2022-06-27T03:32:47.057Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-27T03:32:47.849Z] ------------------- [2022-06-27T03:32:47.849Z] stable info: [2022-06-27T03:32:47.849Z] ------------------- [2022-06-27T03:32:47.849Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-27T03:32:47.849Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T03:32:47.849Z] Message: update stable to v1.0.234 [2022-06-27T03:32:48.425Z] ------------------- [2022-06-27T03:32:48.425Z] experimental info: [2022-06-27T03:32:48.425Z] ------------------- [2022-06-27T03:32:48.425Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-27T03:32:48.425Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T03:32:48.425Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-27T03:32:48.799Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-27T03:32:48.849Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-27T03:32:48.890Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-27T03:32:48.929Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-27T03:32:48.973Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-27T03:32:49.018Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-27T03:32:49.060Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-27T03:32:49.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-27T03:32:49.144Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-27T03:32:49.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-27T03:32:49.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-27T03:32:49.269Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-27T03:32:49.311Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-27T03:32:49.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-27T03:32:49.391Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T03:32:49.428Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T03:32:49.471Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T03:32:49.514Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T03:32:49.555Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-27T03:32:49.592Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-27T03:32:49.631Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-27T03:32:49.673Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-27T03:32:49.713Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-27T03:32:49.756Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-27T03:32:49.796Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-27T03:32:49.837Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-27T03:32:49.881Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-27T03:32:49.925Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-92 [Pipeline] echo [2022-06-27T03:32:49.964Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-92 [Pipeline] echo [2022-06-27T03:32:50.001Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-92 [Pipeline] echo [2022-06-27T03:32:50.037Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ab15992500c62fa849ba21fc3df49cf331fce359 [Pipeline] echo [2022-06-27T03:32:50.079Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ab15992 [Pipeline] echo [2022-06-27T03:32:50.118Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T03:32:50.291Z] provisioning config files... [2022-06-27T03:32:50.304Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-92@tmp/config2717372183994133547tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T03:32:50.656Z] ---> docker-login.sh [2022-06-27T03:32:50.656Z] nexus3.edgexfoundry.org:10001 [2022-06-27T03:32:50.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T03:32:50.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T03:32:50.916Z] Configure a credential helper to remove this warning. See [2022-06-27T03:32:50.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T03:32:50.916Z] [2022-06-27T03:32:50.916Z] Login Succeeded [2022-06-27T03:32:50.916Z] nexus3.edgexfoundry.org:10002 [2022-06-27T03:32:51.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T03:32:51.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T03:32:51.178Z] Configure a credential helper to remove this warning. See [2022-06-27T03:32:51.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T03:32:51.178Z] [2022-06-27T03:32:51.178Z] Login Succeeded [2022-06-27T03:32:51.178Z] nexus3.edgexfoundry.org:10003 [2022-06-27T03:32:51.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T03:32:51.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T03:32:51.178Z] Configure a credential helper to remove this warning. See [2022-06-27T03:32:51.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T03:32:51.178Z] [2022-06-27T03:32:51.178Z] Login Succeeded [2022-06-27T03:32:51.178Z] nexus3.edgexfoundry.org:10004 [2022-06-27T03:32:51.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T03:32:51.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T03:32:51.439Z] Configure a credential helper to remove this warning. See [2022-06-27T03:32:51.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T03:32:51.439Z] [2022-06-27T03:32:51.439Z] Login Succeeded [2022-06-27T03:32:51.439Z] docker.io [2022-06-27T03:32:51.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T03:32:52.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T03:32:52.014Z] Configure a credential helper to remove this warning. See [2022-06-27T03:32:52.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T03:32:52.014Z] [2022-06-27T03:32:52.014Z] Login Succeeded [2022-06-27T03:32:52.014Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T03:32:52.044Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-27T03:32:52.736Z] + git rev-list -1 --merges ab15992500c62fa849ba21fc3df49cf331fce359~1..ab15992500c62fa849ba21fc3df49cf331fce359 [Pipeline] echo [2022-06-27T03:32:52.781Z] -----------> git rev-list -1 --merges ab15992500c62fa849ba21fc3df49cf331fce359~1..ab15992500c62fa849ba21fc3df49cf331fce359 ab15992500c62fa849ba21fc3df49cf331fce359 [false] [Pipeline] sh [2022-06-27T03:32:53.097Z] + git log --format=format:%s -1 ab15992500c62fa849ba21fc3df49cf331fce359 [Pipeline] echo [2022-06-27T03:32:53.132Z] ========================================================= [2022-06-27T03:32:53.132Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-27T03:32:53.132Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T03:32:53.577Z] + git log --format=format:%s -1 ab15992500c62fa849ba21fc3df49cf331fce359 [Pipeline] echo [2022-06-27T03:32:53.605Z] [semverPrep] GIT_COMMIT: ab15992500c62fa849ba21fc3df49cf331fce359, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.7.2 to 1.7.5 [Pipeline] echo [2022-06-27T03:32:53.629Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-27T03:32:54.016Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T03:32:54.016Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-27T03:32:54.016Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-27T03:32:54.016Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-27T03:32:54.017Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-27T03:32:54.017Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-27T03:32:54.017Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T03:32:54.512Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T03:32:54.512Z] [2022-06-27T03:32:54.512Z] 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-27T03:32:54.895Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T03:32:54.895Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-27T03:32:54.895Z] 42c077c10790: Pulling fs layer [2022-06-27T03:32:54.895Z] f63e77b7563a: Pulling fs layer [2022-06-27T03:32:54.895Z] bd5fdadae976: Pulling fs layer [2022-06-27T03:32:54.895Z] 205491f53016: Pulling fs layer [2022-06-27T03:32:54.895Z] df18705c85c3: Pulling fs layer [2022-06-27T03:32:54.895Z] bdb3f477010e: Pulling fs layer [2022-06-27T03:32:54.895Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-27T03:32:54.895Z] 2c6e9b1d212d: Pulling fs layer [2022-06-27T03:32:54.895Z] bdb8f0575790: Pulling fs layer [2022-06-27T03:32:54.895Z] 386e3cb2ff24: Pulling fs layer [2022-06-27T03:32:54.895Z] 2343380bae48: Pulling fs layer [2022-06-27T03:32:54.895Z] 205491f53016: Waiting [2022-06-27T03:32:54.895Z] df18705c85c3: Waiting [2022-06-27T03:32:54.895Z] bdb8f0575790: Waiting [2022-06-27T03:32:54.895Z] 386e3cb2ff24: Waiting [2022-06-27T03:32:54.895Z] 2343380bae48: Waiting [2022-06-27T03:32:54.895Z] bdb3f477010e: Waiting [2022-06-27T03:32:54.895Z] 2c6e9b1d212d: Waiting [2022-06-27T03:32:54.895Z] c8a8fc8e1c8f: Waiting [2022-06-27T03:32:54.895Z] f63e77b7563a: Verifying Checksum [2022-06-27T03:32:54.895Z] f63e77b7563a: Download complete [2022-06-27T03:32:54.895Z] 205491f53016: Download complete [2022-06-27T03:32:55.161Z] df18705c85c3: Verifying Checksum [2022-06-27T03:32:55.161Z] df18705c85c3: Download complete [2022-06-27T03:32:55.161Z] bdb3f477010e: Verifying Checksum [2022-06-27T03:32:55.161Z] bdb3f477010e: Download complete [2022-06-27T03:32:55.161Z] bd5fdadae976: Verifying Checksum [2022-06-27T03:32:55.161Z] bd5fdadae976: Download complete [2022-06-27T03:32:55.161Z] 2c6e9b1d212d: Verifying Checksum [2022-06-27T03:32:55.161Z] 2c6e9b1d212d: Download complete [2022-06-27T03:32:55.161Z] bdb8f0575790: Download complete [2022-06-27T03:32:55.161Z] 386e3cb2ff24: Download complete [2022-06-27T03:32:55.161Z] 2343380bae48: Verifying Checksum [2022-06-27T03:32:55.161Z] 2343380bae48: Download complete [2022-06-27T03:32:55.425Z] 42c077c10790: Verifying Checksum [2022-06-27T03:32:55.425Z] 42c077c10790: Download complete [2022-06-27T03:32:55.686Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-27T03:32:55.686Z] c8a8fc8e1c8f: Download complete [2022-06-27T03:32:56.642Z] 42c077c10790: Pull complete [2022-06-27T03:32:56.903Z] f63e77b7563a: Pull complete [2022-06-27T03:32:57.473Z] bd5fdadae976: Pull complete [2022-06-27T03:32:57.473Z] 205491f53016: Pull complete [2022-06-27T03:32:57.737Z] df18705c85c3: Pull complete [2022-06-27T03:32:57.998Z] bdb3f477010e: Pull complete [2022-06-27T03:32:59.912Z] c8a8fc8e1c8f: Pull complete [2022-06-27T03:32:59.912Z] 2c6e9b1d212d: Pull complete [2022-06-27T03:33:00.174Z] bdb8f0575790: Pull complete [2022-06-27T03:33:00.174Z] 386e3cb2ff24: Pull complete [2022-06-27T03:33:00.435Z] 2343380bae48: Pull complete [2022-06-27T03:33:00.435Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-27T03:33:00.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T03:33:00.435Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T03:33:00.669Z] prd-ubuntu20.04-docker-8c-8g-16054 does not seem to be running inside a container [2022-06-27T03:33:00.709Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-92 -v /w/workspace/oundry_device-onvif-camera_PR-92:/w/workspace/oundry_device-onvif-camera_PR-92:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-92@tmp:/w/workspace/oundry_device-onvif-camera_PR-92@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-27T03:33:01.935Z] $ docker top 12bd049e647e11858b82bd35e4773f6d75b6f922d0278a67f97c85a4677298ac -eo pid,comm [2022-06-27T03:33:02.009Z] 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-27T03:33:02.009Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T03:33:02.136Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T03:33:02.136Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T03:33:02.274Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T03:33:02.277Z] $ docker exec 12bd049e647e11858b82bd35e4773f6d75b6f922d0278a67f97c85a4677298ac ssh-agent [2022-06-27T03:33:02.413Z] SSH_AUTH_SOCK=/tmp/ssh-zcHpPMU79KoB/agent.33 [2022-06-27T03:33:02.413Z] SSH_AGENT_PID=39 [2022-06-27T03:33:02.420Z] Running ssh-add (command line suppressed) [2022-06-27T03:33:02.549Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-92@tmp/private_key_1347589318392155577.key (/w/workspace/oundry_device-onvif-camera_PR-92@tmp/private_key_1347589318392155577.key) [2022-06-27T03:33:02.566Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T03:33:02.896Z] + git tag --points-at HEAD [Pipeline] } [2022-06-27T03:33:02.922Z] $ docker exec --env ******** --env ******** 12bd049e647e11858b82bd35e4773f6d75b6f922d0278a67f97c85a4677298ac ssh-agent -k [2022-06-27T03:33:03.057Z] unset SSH_AUTH_SOCK; [2022-06-27T03:33:03.058Z] unset SSH_AGENT_PID; [2022-06-27T03:33:03.058Z] echo Agent pid 39 killed; [2022-06-27T03:33:03.069Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-27T03:33:03.154Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T03:33:03.154Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T03:33:03.282Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T03:33:03.285Z] $ docker exec 12bd049e647e11858b82bd35e4773f6d75b6f922d0278a67f97c85a4677298ac ssh-agent [2022-06-27T03:33:03.421Z] SSH_AUTH_SOCK=/tmp/ssh-rX9atCECHtKw/agent.72 [2022-06-27T03:33:03.421Z] SSH_AGENT_PID=78 [2022-06-27T03:33:03.426Z] Running ssh-add (command line suppressed) [2022-06-27T03:33:03.545Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-92@tmp/private_key_8769044526456693011.key (/w/workspace/oundry_device-onvif-camera_PR-92@tmp/private_key_8769044526456693011.key) [2022-06-27T03:33:03.562Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T03:33:03.896Z] + git semver init [2022-06-27T03:33:04.160Z] 2022-06-27 03:33:04,098 [run_init] DEBUG init version:0.0.0 force:False [2022-06-27T03:33:04.160Z] 2022-06-27 03:33:04,098 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-92/.semver [2022-06-27T03:33:04.160Z] 2022-06-27 03:33:04,099 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-92/.semver [2022-06-27T03:33:04.160Z] 2022-06-27 03:33:04,099 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-92/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-92, universal_newlines=False, shell=None, istream=None) [2022-06-27T03:33:05.103Z] 2022-06-27 03:33:04,770 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-92/.git/info/exclude [2022-06-27T03:33:05.103Z] 2022-06-27 03:33:04,770 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-92/.semver/PR-92 with force:False [2022-06-27T03:33:05.103Z] 2022-06-27 03:33:04,770 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-92/.semver/PR-92 [2022-06-27T03:33:05.103Z] 2022-06-27 03:33:04,775 [execute] INFO git cat-file --batch-check [2022-06-27T03:33:05.103Z] 2022-06-27 03:33:04,775 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-92/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T03:33:05.103Z] 2022-06-27 03:33:04,782 [execute] INFO git cat-file --batch [2022-06-27T03:33:05.103Z] 2022-06-27 03:33:04,782 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-92/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T03:33:05.103Z] 2022-06-27 03:33:04,788 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-92/.semver/PR-92 [2022-06-27T03:33:05.103Z] 0.0.0 [Pipeline] } [2022-06-27T03:33:05.129Z] $ docker exec --env ******** --env ******** 12bd049e647e11858b82bd35e4773f6d75b6f922d0278a67f97c85a4677298ac ssh-agent -k [2022-06-27T03:33:05.261Z] unset SSH_AUTH_SOCK; [2022-06-27T03:33:05.261Z] unset SSH_AGENT_PID; [2022-06-27T03:33:05.261Z] echo Agent pid 78 killed; [2022-06-27T03:33:05.275Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T03:33:05.716Z] + git semver [Pipeline] } [2022-06-27T03:33:06.006Z] $ docker stop --time=1 12bd049e647e11858b82bd35e4773f6d75b6f922d0278a67f97c85a4677298ac [2022-06-27T03:33:07.338Z] $ docker rm -f 12bd049e647e11858b82bd35e4773f6d75b6f922d0278a67f97c85a4677298ac [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T03:33:07.859Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-27T03:33:08.161Z] Stashed 1 file(s) [Pipeline] echo [2022-06-27T03:33:08.257Z] [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-27T03:33:08.852Z] provisioning config files... [2022-06-27T03:33:08.866Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-92@tmp/config6780877817112826334tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T03:33:09.212Z] ---> docker-login.sh [2022-06-27T03:33:09.212Z] nexus3.edgexfoundry.org:10001 [2022-06-27T03:33:09.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T03:33:09.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T03:33:09.212Z] Configure a credential helper to remove this warning. See [2022-06-27T03:33:09.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T03:33:09.212Z] [2022-06-27T03:33:09.212Z] Login Succeeded [2022-06-27T03:33:09.212Z] nexus3.edgexfoundry.org:10002 [2022-06-27T03:33:09.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T03:33:09.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T03:33:09.474Z] Configure a credential helper to remove this warning. See [2022-06-27T03:33:09.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T03:33:09.474Z] [2022-06-27T03:33:09.474Z] Login Succeeded [2022-06-27T03:33:09.474Z] nexus3.edgexfoundry.org:10003 [2022-06-27T03:33:09.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T03:33:09.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T03:33:09.474Z] Configure a credential helper to remove this warning. See [2022-06-27T03:33:09.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T03:33:09.474Z] [2022-06-27T03:33:09.474Z] Login Succeeded [2022-06-27T03:33:09.474Z] nexus3.edgexfoundry.org:10004 [2022-06-27T03:33:09.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T03:33:09.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T03:33:09.735Z] Configure a credential helper to remove this warning. See [2022-06-27T03:33:09.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T03:33:09.735Z] [2022-06-27T03:33:09.735Z] Login Succeeded [2022-06-27T03:33:09.735Z] docker.io [2022-06-27T03:33:09.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T03:33:09.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T03:33:09.999Z] Configure a credential helper to remove this warning. See [2022-06-27T03:33:09.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T03:33:09.999Z] [2022-06-27T03:33:09.999Z] Login Succeeded [2022-06-27T03:33:09.999Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T03:33:10.025Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T03:33:10.235Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T03:33:10.273Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T03:33:10.304Z] ========================================================= [2022-06-27T03:33:10.304Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-27T03:33:10.304Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T03:33:10.754Z] + 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-27T03:33:10.754Z] Sending build context to Docker daemon 8.765MB [2022-06-27T03:33:10.754Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T03:33:10.754Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-27T03:33:10.754Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-27T03:33:10.754Z] 59bf1c3509f3: Pulling fs layer [2022-06-27T03:33:10.754Z] 666ba61612fd: Pulling fs layer [2022-06-27T03:33:10.754Z] 8ed8ca486205: Pulling fs layer [2022-06-27T03:33:10.755Z] cc1cd167ecdc: Pulling fs layer [2022-06-27T03:33:10.755Z] c516ae0d96e1: Pulling fs layer [2022-06-27T03:33:10.755Z] 684cea983483: Pulling fs layer [2022-06-27T03:33:10.755Z] dd3240ac7de5: Pulling fs layer [2022-06-27T03:33:10.755Z] b1e948a4e11c: Pulling fs layer [2022-06-27T03:33:10.755Z] a8fd76ee1af6: Pulling fs layer [2022-06-27T03:33:10.755Z] 646ad004c059: Pulling fs layer [2022-06-27T03:33:10.755Z] cc1cd167ecdc: Waiting [2022-06-27T03:33:10.755Z] c516ae0d96e1: Waiting [2022-06-27T03:33:10.755Z] 684cea983483: Waiting [2022-06-27T03:33:10.755Z] dd3240ac7de5: Waiting [2022-06-27T03:33:10.755Z] b1e948a4e11c: Waiting [2022-06-27T03:33:10.755Z] a8fd76ee1af6: Waiting [2022-06-27T03:33:10.755Z] 646ad004c059: Waiting [2022-06-27T03:33:10.755Z] 8ed8ca486205: Download complete [2022-06-27T03:33:10.755Z] 666ba61612fd: Verifying Checksum [2022-06-27T03:33:10.755Z] 666ba61612fd: Download complete [2022-06-27T03:33:11.021Z] c516ae0d96e1: Verifying Checksum [2022-06-27T03:33:11.021Z] c516ae0d96e1: Download complete [2022-06-27T03:33:11.021Z] 684cea983483: Verifying Checksum [2022-06-27T03:33:11.021Z] 59bf1c3509f3: Verifying Checksum [2022-06-27T03:33:11.021Z] 59bf1c3509f3: Download complete [2022-06-27T03:33:11.021Z] dd3240ac7de5: Verifying Checksum [2022-06-27T03:33:11.021Z] dd3240ac7de5: Download complete [2022-06-27T03:33:11.021Z] b1e948a4e11c: Verifying Checksum [2022-06-27T03:33:11.021Z] b1e948a4e11c: Download complete [2022-06-27T03:33:11.022Z] 59bf1c3509f3: Pull complete [2022-06-27T03:33:11.295Z] 666ba61612fd: Pull complete [2022-06-27T03:33:11.295Z] 8ed8ca486205: Pull complete [2022-06-27T03:33:12.302Z] a8fd76ee1af6: Verifying Checksum [2022-06-27T03:33:12.302Z] a8fd76ee1af6: Download complete [2022-06-27T03:33:12.302Z] cc1cd167ecdc: Verifying Checksum [2022-06-27T03:33:12.302Z] cc1cd167ecdc: Download complete [2022-06-27T03:33:12.302Z] 646ad004c059: Verifying Checksum [2022-06-27T03:33:12.302Z] 646ad004c059: Download complete [2022-06-27T03:33:16.520Z] cc1cd167ecdc: Pull complete [2022-06-27T03:33:16.520Z] c516ae0d96e1: Pull complete [2022-06-27T03:33:16.520Z] 684cea983483: Pull complete [2022-06-27T03:33:16.520Z] dd3240ac7de5: Pull complete [2022-06-27T03:33:16.779Z] b1e948a4e11c: Pull complete [2022-06-27T03:33:19.319Z] a8fd76ee1af6: Pull complete [2022-06-27T03:33:19.887Z] 646ad004c059: Pull complete [2022-06-27T03:33:19.887Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-27T03:33:19.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-27T03:33:19.887Z] ---> 8f69c11f6b0c [2022-06-27T03:33:19.887Z] Step 3/13 : ARG MAKE="make build" [2022-06-27T03:33:21.272Z] ---> Running in fbd3cd589d32 [2022-06-27T03:33:21.272Z] Removing intermediate container fbd3cd589d32 [2022-06-27T03:33:21.272Z] ---> 44758f8090a3 [2022-06-27T03:33:21.272Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T03:33:21.272Z] ---> Running in ded9af21f7fa [2022-06-27T03:33:21.272Z] Removing intermediate container ded9af21f7fa [2022-06-27T03:33:21.272Z] ---> e03d406bab1d [2022-06-27T03:33:21.272Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T03:33:21.272Z] ---> Running in c8835d56ce63 [2022-06-27T03:33:21.272Z] Removing intermediate container c8835d56ce63 [2022-06-27T03:33:21.272Z] ---> 6fe5bcc7f86c [2022-06-27T03:33:21.272Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-27T03:33:21.272Z] ---> Running in 667fb7fb92c2 [2022-06-27T03:33:21.533Z] Removing intermediate container 667fb7fb92c2 [2022-06-27T03:33:21.533Z] ---> c918d038e62f [2022-06-27T03:33:21.533Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T03:33:21.533Z] ---> Running in 10b517280a06 [2022-06-27T03:33:22.107Z] Removing intermediate container 10b517280a06 [2022-06-27T03:33:22.107Z] ---> 63fbd32345be [2022-06-27T03:33:22.107Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T03:33:22.107Z] ---> Running in 53b95d866e87 [2022-06-27T03:33:22.369Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T03:33:23.307Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T03:33:23.569Z] OK: 221 MiB in 52 packages [2022-06-27T03:33:23.694Z] Still waiting to schedule task [2022-06-27T03:33:23.695Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-27T03:33:23.831Z] Removing intermediate container 53b95d866e87 [2022-06-27T03:33:23.831Z] ---> 8d33b889741a [2022-06-27T03:33:23.831Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-27T03:33:23.831Z] ---> Running in 869866ea4c6b [2022-06-27T03:33:24.091Z] Removing intermediate container 869866ea4c6b [2022-06-27T03:33:24.091Z] ---> 54932d1e6643 [2022-06-27T03:33:24.091Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-27T03:33:24.091Z] ---> eca08de6ad91 [2022-06-27T03:33:24.091Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T03:33:24.091Z] ---> Running in 492a6f4ff6f4 [2022-06-27T03:33:38.996Z] Removing intermediate container 492a6f4ff6f4 [2022-06-27T03:33:38.996Z] ---> 64c9fa331662 [2022-06-27T03:33:38.996Z] Step 12/13 : COPY . . [2022-06-27T03:33:38.996Z] ---> 65e9c39234c3 [2022-06-27T03:33:38.996Z] Step 13/13 : RUN ${MAKE} [2022-06-27T03:33:38.996Z] ---> Running in de2bcb302904 [2022-06-27T03:33:38.996Z] noop [2022-06-27T03:33:38.996Z] Removing intermediate container de2bcb302904 [2022-06-27T03:33:38.996Z] ---> fdfae9b00760 [2022-06-27T03:33:38.996Z] Successfully built fdfae9b00760 [2022-06-27T03:33:38.996Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T03:33:39.525Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T03:33:39.525Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T03:33:39.686Z] prd-ubuntu20.04-docker-8c-8g-16054 does not seem to be running inside a container [2022-06-27T03:33:39.723Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-92 -v /w/workspace/oundry_device-onvif-camera_PR-92:/w/workspace/oundry_device-onvif-camera_PR-92:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-92@tmp:/w/workspace/oundry_device-onvif-camera_PR-92@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 ******** ci-base-image-x86_64 cat [2022-06-27T03:33:40.076Z] $ docker top ee3dc91b867032cb7de37a7c9422b0145f7f601f865fde122f95afe95006faf8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T03:33:40.474Z] + go version [2022-06-27T03:33:40.474Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-27T03:33:40.513Z] $ docker stop --time=1 ee3dc91b867032cb7de37a7c9422b0145f7f601f865fde122f95afe95006faf8 [2022-06-27T03:33:41.785Z] $ docker rm -f ee3dc91b867032cb7de37a7c9422b0145f7f601f865fde122f95afe95006faf8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T03:33:42.580Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T03:33:42.580Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T03:33:42.721Z] prd-ubuntu20.04-docker-8c-8g-16054 does not seem to be running inside a container [2022-06-27T03:33:42.755Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-92 -v /w/workspace/oundry_device-onvif-camera_PR-92:/w/workspace/oundry_device-onvif-camera_PR-92:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-92@tmp:/w/workspace/oundry_device-onvif-camera_PR-92@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 ******** ci-base-image-x86_64 cat [2022-06-27T03:33:43.132Z] $ docker top aa4f747a61e0255df843ea81c098be155437a7948f66cfd993f9252d18818fc8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T03:33:43.585Z] + make test [2022-06-27T03:33:43.586Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T03:33:43.847Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-27T03:33:53.840Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-27T03:33:53.840Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.016s coverage: 1.2% of statements [2022-06-27T03:33:58.050Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.849s coverage: 13.8% of statements [2022-06-27T03:34:04.651Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T03:34:08.859Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T03:34:08.859Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T03:34:08.859Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T03:34:08.900Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T03:34:08.930Z] $ docker stop --time=1 aa4f747a61e0255df843ea81c098be155437a7948f66cfd993f9252d18818fc8 [2022-06-27T03:34:10.642Z] $ docker rm -f aa4f747a61e0255df843ea81c098be155437a7948f66cfd993f9252d18818fc8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T03:34:11.159Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T03:34:11.227Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-27T03:34:11.959Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T03:34:12.279Z] + ls -al . [2022-06-27T03:34:12.279Z] total 236 [2022-06-27T03:34:12.279Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 27 03:34 . [2022-06-27T03:34:12.279Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 03:32 .. [2022-06-27T03:34:12.279Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 03:33 .git [2022-06-27T03:34:12.279Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 03:32 .github [2022-06-27T03:34:12.279Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 27 03:32 .gitignore [2022-06-27T03:34:12.279Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 27 03:32 .golangci.yml [2022-06-27T03:34:12.279Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 03:33 .semver [2022-06-27T03:34:12.279Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 27 03:32 Attribution.txt [2022-06-27T03:34:12.279Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 27 03:32 CHANGELOG.md [2022-06-27T03:34:12.279Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 27 03:32 Dockerfile [2022-06-27T03:34:12.279Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 03:32 GOVERNANCE.md [2022-06-27T03:34:12.279Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 27 03:32 Jenkinsfile [2022-06-27T03:34:12.279Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 27 03:32 LICENSE [2022-06-27T03:34:12.279Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 27 03:32 Makefile [2022-06-27T03:34:12.279Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 27 03:32 OWNERS.md [2022-06-27T03:34:12.279Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 27 03:32 README.md [2022-06-27T03:34:12.279Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 03:33 VERSION [2022-06-27T03:34:12.279Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 03:32 bin [2022-06-27T03:34:12.279Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 03:32 cmd [2022-06-27T03:34:12.279Z] -rw-r--r-- 1 jenkins jenkins 59480 Jun 27 03:33 coverage.out [2022-06-27T03:34:12.279Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 03:32 doc [2022-06-27T03:34:12.279Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 27 03:32 go.mod [2022-06-27T03:34:12.279Z] -rw-rw-r-- 1 jenkins jenkins 37492 Jun 27 03:32 go.sum [2022-06-27T03:34:12.279Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 03:32 internal [2022-06-27T03:34:12.279Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 27 03:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T03:34:12.686Z] + 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=ab15992500c62fa849ba21fc3df49cf331fce359 --label arch=amd64 --label version=0.0.0 . [2022-06-27T03:34:12.686Z] Sending build context to Docker daemon 8.826MB [2022-06-27T03:34:12.686Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T03:34:12.686Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-27T03:34:12.686Z] ---> fdfae9b00760 [2022-06-27T03:34:12.686Z] Step 3/26 : ARG MAKE="make build" [2022-06-27T03:34:12.686Z] ---> Running in c807aa252368 [2022-06-27T03:34:12.947Z] Removing intermediate container c807aa252368 [2022-06-27T03:34:12.947Z] ---> f6098f52f51e [2022-06-27T03:34:12.947Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T03:34:12.947Z] ---> Running in 482f6c9ca620 [2022-06-27T03:34:12.947Z] Removing intermediate container 482f6c9ca620 [2022-06-27T03:34:12.947Z] ---> e80a98d654ac [2022-06-27T03:34:12.947Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T03:34:12.947Z] ---> Running in 9b93ef2f6795 [2022-06-27T03:34:13.208Z] Removing intermediate container 9b93ef2f6795 [2022-06-27T03:34:13.208Z] ---> 756f09f06ec4 [2022-06-27T03:34:13.208Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-27T03:34:13.208Z] ---> Running in ddc13cceacda [2022-06-27T03:34:13.208Z] Removing intermediate container ddc13cceacda [2022-06-27T03:34:13.208Z] ---> 50df0d819520 [2022-06-27T03:34:13.208Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T03:34:13.208Z] ---> Running in 662ac50876e6 [2022-06-27T03:34:13.780Z] Removing intermediate container 662ac50876e6 [2022-06-27T03:34:13.780Z] ---> 1c8ea96e7d50 [2022-06-27T03:34:13.780Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T03:34:13.780Z] ---> Running in cf1cb276f071 [2022-06-27T03:34:14.040Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T03:34:14.990Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T03:34:15.250Z] OK: 221 MiB in 52 packages [2022-06-27T03:34:15.511Z] Removing intermediate container cf1cb276f071 [2022-06-27T03:34:15.511Z] ---> 8b73fa4f6061 [2022-06-27T03:34:15.511Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-27T03:34:15.511Z] ---> Running in a8b4f6bf01aa [2022-06-27T03:34:15.771Z] Removing intermediate container a8b4f6bf01aa [2022-06-27T03:34:15.771Z] ---> 265ec950d8d7 [2022-06-27T03:34:15.771Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-27T03:34:15.771Z] ---> 19d03ad8f38c [2022-06-27T03:34:15.771Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T03:34:15.771Z] ---> Running in a30920032062 [2022-06-27T03:34:16.710Z] Removing intermediate container a30920032062 [2022-06-27T03:34:16.710Z] ---> 95394943e214 [2022-06-27T03:34:16.710Z] Step 12/26 : COPY . . [2022-06-27T03:34:16.710Z] ---> 940eb83f0d3a [2022-06-27T03:34:16.710Z] Step 13/26 : RUN ${MAKE} [2022-06-27T03:34:16.710Z] ---> Running in 06da9d311b98 [2022-06-27T03:34:16.970Z] 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-27T03:34:38.934Z] Removing intermediate container 06da9d311b98 [2022-06-27T03:34:38.934Z] ---> 38d5c1f95663 [2022-06-27T03:34:38.934Z] Step 14/26 : FROM alpine:3.15 [2022-06-27T03:34:38.934Z] 3.15: Pulling from library/alpine [2022-06-27T03:34:38.934Z] df9b9388f04a: Pulling fs layer [2022-06-27T03:34:38.934Z] df9b9388f04a: Verifying Checksum [2022-06-27T03:34:38.934Z] df9b9388f04a: Download complete [2022-06-27T03:34:38.934Z] df9b9388f04a: Pull complete [2022-06-27T03:34:38.934Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-27T03:34:38.934Z] Status: Downloaded newer image for alpine:3.15 [2022-06-27T03:34:38.934Z] ---> 0ac33e5f5afa [2022-06-27T03:34:38.934Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-27T03:34:38.934Z] ---> Running in 8a220c5adca7 [2022-06-27T03:34:38.934Z] Removing intermediate container 8a220c5adca7 [2022-06-27T03:34:38.934Z] ---> 084bbc4337cc [2022-06-27T03:34:38.934Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-27T03:34:38.934Z] ---> Running in abab818d3244 [2022-06-27T03:34:38.934Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T03:34:38.934Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T03:34:38.934Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-27T03:34:38.934Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-27T03:34:38.934Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-27T03:34:38.934Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-27T03:34:38.934Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-27T03:34:38.934Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-27T03:34:38.934Z] Executing busybox-1.34.1-r5.trigger [2022-06-27T03:34:38.934Z] OK: 8 MiB in 20 packages [2022-06-27T03:34:38.934Z] Removing intermediate container abab818d3244 [2022-06-27T03:34:38.934Z] ---> a85db3e5d6b1 [2022-06-27T03:34:38.934Z] Step 17/26 : WORKDIR / [2022-06-27T03:34:38.934Z] ---> Running in ef5c691377cc [2022-06-27T03:34:38.934Z] Removing intermediate container ef5c691377cc [2022-06-27T03:34:38.934Z] ---> 26f7a2f7ac7c [2022-06-27T03:34:38.934Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-27T03:34:38.934Z] ---> 49bb4aa1fca8 [2022-06-27T03:34:38.934Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-27T03:34:38.934Z] ---> e5f8f36a7601 [2022-06-27T03:34:38.934Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-27T03:34:38.934Z] ---> 6f0f62df9f8f [2022-06-27T03:34:38.934Z] Step 21/26 : EXPOSE 59984 [2022-06-27T03:34:38.934Z] ---> Running in ede4d7ac3dc4 [2022-06-27T03:34:38.934Z] Removing intermediate container ede4d7ac3dc4 [2022-06-27T03:34:38.934Z] ---> c6a432bd029b [2022-06-27T03:34:38.934Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-27T03:34:38.934Z] ---> Running in 401aaa21dcea [2022-06-27T03:34:38.934Z] Removing intermediate container 401aaa21dcea [2022-06-27T03:34:38.934Z] ---> 37d5255174b2 [2022-06-27T03:34:38.934Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-27T03:34:39.194Z] ---> Running in 4fd503bee502 [2022-06-27T03:34:39.194Z] Removing intermediate container 4fd503bee502 [2022-06-27T03:34:39.194Z] ---> aa6915294dda [2022-06-27T03:34:39.194Z] Step 24/26 : LABEL arch=amd64 [2022-06-27T03:34:39.194Z] ---> Running in 1b24d6c1cb27 [2022-06-27T03:34:39.194Z] Removing intermediate container 1b24d6c1cb27 [2022-06-27T03:34:39.194Z] ---> faccf9fdcded [2022-06-27T03:34:39.194Z] Step 25/26 : LABEL git_sha=ab15992500c62fa849ba21fc3df49cf331fce359 [2022-06-27T03:34:39.194Z] ---> Running in 0bfff6b9f0f0 [2022-06-27T03:34:39.454Z] Removing intermediate container 0bfff6b9f0f0 [2022-06-27T03:34:39.454Z] ---> 171e64bcf626 [2022-06-27T03:34:39.454Z] Step 26/26 : LABEL version=0.0.0 [2022-06-27T03:34:39.454Z] ---> Running in 7f9a77cb1ea2 [2022-06-27T03:34:39.454Z] Removing intermediate container 7f9a77cb1ea2 [2022-06-27T03:34:39.454Z] ---> 8fd4f0c68cac [2022-06-27T03:34:39.454Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T03:34:39.454Z] Successfully built 8fd4f0c68cac [2022-06-27T03:34:39.454Z] 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-27T03:34:40.305Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T03:34:40.305Z] [2022-06-27T03:34:40.305Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T03:34:40.686Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T03:34:40.686Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-27T03:34:40.686Z] 5eb5b503b376: Pulling fs layer [2022-06-27T03:34:40.686Z] 5c69ac0246d0: Pulling fs layer [2022-06-27T03:34:40.686Z] ec43610c2a17: Pulling fs layer [2022-06-27T03:34:40.686Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-27T03:34:40.686Z] 33b1e0a273af: Pulling fs layer [2022-06-27T03:34:40.686Z] 5d3b04190fa2: Pulling fs layer [2022-06-27T03:34:40.686Z] 2f39f015ded8: Pulling fs layer [2022-06-27T03:34:40.686Z] 3a2ae6a8a46f: Waiting [2022-06-27T03:34:40.686Z] 33b1e0a273af: Waiting [2022-06-27T03:34:40.686Z] 2f39f015ded8: Waiting [2022-06-27T03:34:40.686Z] 5c69ac0246d0: Verifying Checksum [2022-06-27T03:34:40.686Z] 5c69ac0246d0: Download complete [2022-06-27T03:34:40.686Z] 3a2ae6a8a46f: Download complete [2022-06-27T03:34:40.686Z] 33b1e0a273af: Verifying Checksum [2022-06-27T03:34:40.686Z] 33b1e0a273af: Download complete [2022-06-27T03:34:40.951Z] 5d3b04190fa2: Verifying Checksum [2022-06-27T03:34:40.951Z] 5d3b04190fa2: Download complete [2022-06-27T03:34:40.951Z] ec43610c2a17: Verifying Checksum [2022-06-27T03:34:40.951Z] ec43610c2a17: Download complete [2022-06-27T03:34:40.951Z] 5eb5b503b376: Verifying Checksum [2022-06-27T03:34:40.951Z] 5eb5b503b376: Download complete [2022-06-27T03:34:41.518Z] 2f39f015ded8: Download complete [2022-06-27T03:34:42.459Z] 5eb5b503b376: Pull complete [2022-06-27T03:34:42.459Z] 5c69ac0246d0: Pull complete [2022-06-27T03:34:42.718Z] ec43610c2a17: Pull complete [2022-06-27T03:34:42.978Z] 3a2ae6a8a46f: Pull complete [2022-06-27T03:34:43.238Z] 33b1e0a273af: Pull complete [2022-06-27T03:34:43.238Z] 5d3b04190fa2: Pull complete [2022-06-27T03:34:48.519Z] 2f39f015ded8: Pull complete [2022-06-27T03:34:48.519Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-27T03:34:48.519Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T03:34:48.519Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T03:34:48.746Z] prd-ubuntu20.04-docker-8c-8g-16054 does not seem to be running inside a container [2022-06-27T03:34:48.782Z] $ 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-92 -v /w/workspace/oundry_device-onvif-camera_PR-92:/w/workspace/oundry_device-onvif-camera_PR-92:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-92@tmp:/w/workspace/oundry_device-onvif-camera_PR-92@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T03:34:50.123Z] $ docker top a08f82b895391b79fff014ab03d7f41a53dab4b49f9274d3bb4c2dde951d96ec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T03:34:50.604Z] ---> job-cost.sh [2022-06-27T03:34:50.604Z] lf-activate-venv: SKIPPING [2022-06-27T03:34:50.604Z] INFO: No Stack... [2022-06-27T03:34:51.175Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T03:34:51.437Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T03:34:51.769Z] + cat /w/workspace/oundry_device-onvif-camera_PR-92/archives/cost.csv [2022-06-27T03:34:51.769Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T03:34:51.891Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-92-1-stack-cost] [2022-06-27T03:34:51.896Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-92-1-stack-cost] did not exist. Created. [2022-06-27T03:34:51.896Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-92-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T03:34:52.424Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-27T03:34:52.480Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T03:34:52.519Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-92-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T03:34:52.599Z] $ docker stop --time=1 a08f82b895391b79fff014ab03d7f41a53dab4b49f9274d3bb4c2dde951d96ec [2022-06-27T03:34:53.772Z] $ docker rm -f a08f82b895391b79fff014ab03d7f41a53dab4b49f9274d3bb4c2dde951d96ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T03:35:01.604Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16055 in /w/workspace/oundry_device-onvif-camera_PR-92 [Pipeline] { [Pipeline] ws [2022-06-27T03:35:01.644Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-06-27T03:35:01.738Z] Selected Git installation does not exist. Using Default [2022-06-27T03:35:01.738Z] The recommended git tool is: NONE [2022-06-27T03:35:07.110Z] using credential edgex-jenkins-ssh [2022-06-27T03:35:07.127Z] Cloning the remote Git repository [2022-06-27T03:35:07.178Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-27T03:35:07.254Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-06-27T03:35:07.349Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-27T03:35:07.350Z] > git --version # timeout=10 [2022-06-27T03:35:07.381Z] > git --version # 'git version 2.25.1' [2022-06-27T03:35:07.383Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T03:35:07.470Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T03:35:08.234Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-27T03:35:08.251Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T03:35:08.273Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-27T03:35:08.303Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-27T03:35:08.304Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T03:35:08.317Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/92/head:refs/remotes/origin/PR-92 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-27T03:35:08.787Z] Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit ab15992500c62fa849ba21fc3df49cf331fce359 [2022-06-27T03:35:09.049Z] Merge succeeded, producing ab15992500c62fa849ba21fc3df49cf331fce359 [2022-06-27T03:35:09.049Z] Checking out Revision ab15992500c62fa849ba21fc3df49cf331fce359 (PR-92) [2022-06-27T03:35:08.808Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T03:35:08.822Z] > git checkout -f ab15992500c62fa849ba21fc3df49cf331fce359 # timeout=10 [2022-06-27T03:35:08.955Z] > git remote # timeout=10 [2022-06-27T03:35:08.970Z] > git config --get remote.origin.url # timeout=10 [2022-06-27T03:35:08.982Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T03:35:08.997Z] > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 [2022-06-27T03:35:09.035Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-27T03:35:09.056Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T03:35:09.067Z] > git checkout -f ab15992500c62fa849ba21fc3df49cf331fce359 # timeout=10 [2022-06-27T03:35:13.283Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.7.2 to 1.7.5" [2022-06-27T03:35:13.353Z] > git --version # timeout=10 [2022-06-27T03:35:13.364Z] > git --version # 'git version 2.25.1' [2022-06-27T03:35:13.377Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T03:35:14.464Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-27T03:35:14.464Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T03:35:14.464Z] Dload Upload Total Spent Left Speed [2022-06-27T03:35:14.464Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 83353 0 --:--:-- --:--:-- --:--:-- 83353 [Pipeline] sh [2022-06-27T03:35:15.158Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-27T03:35:15.592Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-27T03:35:15.592Z] + sudo tee /etc/docker/daemon.new [2022-06-27T03:35:15.592Z] { [2022-06-27T03:35:15.592Z] "registry-mirrors": [ [2022-06-27T03:35:15.592Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-27T03:35:15.592Z] ], [2022-06-27T03:35:15.592Z] "bip": "10.250.0.254/24", [2022-06-27T03:35:15.592Z] "hosts": [ [2022-06-27T03:35:15.592Z] "tcp://0.0.0.0:5555", [2022-06-27T03:35:15.592Z] "unix:///var/run/docker.sock" [2022-06-27T03:35:15.592Z] ], [2022-06-27T03:35:15.592Z] "mtu": 1458, [2022-06-27T03:35:15.592Z] "selinux-enabled": true, [2022-06-27T03:35:15.592Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-27T03:35:15.592Z] } [Pipeline] sh [2022-06-27T03:35:15.997Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-27T03:35:16.354Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T03:35:34.774Z] provisioning config files... [2022-06-27T03:35:34.800Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config1887529303225581453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T03:35:35.206Z] ---> docker-login.sh [2022-06-27T03:35:35.206Z] nexus3.edgexfoundry.org:10001 [2022-06-27T03:35:35.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T03:35:36.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T03:35:36.080Z] Configure a credential helper to remove this warning. See [2022-06-27T03:35:36.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T03:35:36.080Z] [2022-06-27T03:35:36.080Z] Login Succeeded [2022-06-27T03:35:36.080Z] nexus3.edgexfoundry.org:10002 [2022-06-27T03:35:36.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T03:35:36.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T03:35:36.630Z] Configure a credential helper to remove this warning. See [2022-06-27T03:35:36.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T03:35:36.630Z] [2022-06-27T03:35:36.630Z] Login Succeeded [2022-06-27T03:35:36.630Z] nexus3.edgexfoundry.org:10003 [2022-06-27T03:35:36.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T03:35:36.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T03:35:36.907Z] Configure a credential helper to remove this warning. See [2022-06-27T03:35:36.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T03:35:36.907Z] [2022-06-27T03:35:36.907Z] Login Succeeded [2022-06-27T03:35:36.907Z] nexus3.edgexfoundry.org:10004 [2022-06-27T03:35:37.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T03:35:37.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T03:35:37.509Z] Configure a credential helper to remove this warning. See [2022-06-27T03:35:37.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T03:35:37.509Z] [2022-06-27T03:35:37.509Z] Login Succeeded [2022-06-27T03:35:37.509Z] docker.io [2022-06-27T03:35:37.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T03:35:38.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T03:35:38.057Z] Configure a credential helper to remove this warning. See [2022-06-27T03:35:38.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T03:35:38.057Z] [2022-06-27T03:35:38.057Z] Login Succeeded [2022-06-27T03:35:38.057Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T03:35:38.086Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T03:35:38.460Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T03:35:38.492Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T03:35:38.527Z] ========================================================= [2022-06-27T03:35:38.528Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-27T03:35:38.528Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T03:35:39.040Z] + 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-27T03:35:39.314Z] Sending build context to Docker daemon 5.969MB [2022-06-27T03:35:39.314Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T03:35:39.314Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-27T03:35:39.590Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-27T03:35:39.590Z] 9b3977197b4f: Pulling fs layer [2022-06-27T03:35:39.590Z] 1a89e8eeedd5: Pulling fs layer [2022-06-27T03:35:39.590Z] 94645a83ff95: Pulling fs layer [2022-06-27T03:35:39.590Z] e6fb740bc735: Pulling fs layer [2022-06-27T03:35:39.590Z] 3a77bd46dcc9: Pulling fs layer [2022-06-27T03:35:39.590Z] 355e64cbe906: Pulling fs layer [2022-06-27T03:35:39.590Z] 63ab81a10011: Pulling fs layer [2022-06-27T03:35:39.590Z] 555d1d1c4555: Pulling fs layer [2022-06-27T03:35:39.590Z] 7d9057610161: Pulling fs layer [2022-06-27T03:35:39.590Z] e6fb740bc735: Waiting [2022-06-27T03:35:39.590Z] 3a77bd46dcc9: Waiting [2022-06-27T03:35:39.590Z] 355e64cbe906: Waiting [2022-06-27T03:35:39.590Z] 63ab81a10011: Waiting [2022-06-27T03:35:39.590Z] 555d1d1c4555: Waiting [2022-06-27T03:35:39.590Z] 7d9057610161: Waiting [2022-06-27T03:35:39.590Z] 94645a83ff95: Download complete [2022-06-27T03:35:39.590Z] 1a89e8eeedd5: Verifying Checksum [2022-06-27T03:35:39.590Z] 1a89e8eeedd5: Download complete [2022-06-27T03:35:39.590Z] 3a77bd46dcc9: Verifying Checksum [2022-06-27T03:35:39.590Z] 3a77bd46dcc9: Download complete [2022-06-27T03:35:39.590Z] 9b3977197b4f: Download complete [2022-06-27T03:35:39.590Z] 355e64cbe906: Verifying Checksum [2022-06-27T03:35:39.590Z] 355e64cbe906: Download complete [2022-06-27T03:35:39.590Z] 63ab81a10011: Verifying Checksum [2022-06-27T03:35:39.590Z] 63ab81a10011: Download complete [2022-06-27T03:35:40.591Z] 9b3977197b4f: Pull complete [2022-06-27T03:35:40.591Z] 7d9057610161: Verifying Checksum [2022-06-27T03:35:40.591Z] 7d9057610161: Download complete [2022-06-27T03:35:41.197Z] 1a89e8eeedd5: Pull complete [2022-06-27T03:35:41.472Z] 94645a83ff95: Pull complete [2022-06-27T03:35:42.068Z] 555d1d1c4555: Verifying Checksum [2022-06-27T03:35:42.068Z] 555d1d1c4555: Download complete [2022-06-27T03:35:42.342Z] e6fb740bc735: Verifying Checksum [2022-06-27T03:35:42.342Z] e6fb740bc735: Download complete [2022-06-27T03:35:54.753Z] e6fb740bc735: Pull complete [2022-06-27T03:35:54.753Z] 3a77bd46dcc9: Pull complete [2022-06-27T03:35:54.753Z] 355e64cbe906: Pull complete [2022-06-27T03:35:54.753Z] 63ab81a10011: Pull complete [2022-06-27T03:36:01.487Z] 555d1d1c4555: Pull complete [2022-06-27T03:36:02.945Z] 7d9057610161: Pull complete [2022-06-27T03:36:02.945Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-27T03:36:02.945Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-27T03:36:02.945Z] ---> 819e984ddca1 [2022-06-27T03:36:02.945Z] Step 3/13 : ARG MAKE="make build" [2022-06-27T03:36:04.938Z] ---> Running in df7f74004e0a [2022-06-27T03:36:04.938Z] Removing intermediate container df7f74004e0a [2022-06-27T03:36:04.938Z] ---> 3a5cbadfa9e9 [2022-06-27T03:36:04.938Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T03:36:05.218Z] ---> Running in b6b39fbbe3b9 [2022-06-27T03:36:05.495Z] Removing intermediate container b6b39fbbe3b9 [2022-06-27T03:36:05.495Z] ---> c82e124e296b [2022-06-27T03:36:05.495Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T03:36:05.495Z] ---> Running in e712ba00193b [2022-06-27T03:36:06.943Z] Removing intermediate container e712ba00193b [2022-06-27T03:36:06.943Z] ---> 81f0cce44384 [2022-06-27T03:36:06.943Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-27T03:36:06.943Z] ---> Running in 9c5566c136b8 [2022-06-27T03:36:07.222Z] Removing intermediate container 9c5566c136b8 [2022-06-27T03:36:07.222Z] ---> 5a2976288f00 [2022-06-27T03:36:07.222Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T03:36:07.222Z] ---> Running in e1271ddf6d2f [2022-06-27T03:36:09.207Z] Removing intermediate container e1271ddf6d2f [2022-06-27T03:36:09.207Z] ---> 3d9d6c2ab44e [2022-06-27T03:36:09.207Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T03:36:09.207Z] ---> Running in 39f4cb8163cc [2022-06-27T03:36:10.188Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T03:36:10.786Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T03:36:11.766Z] OK: 220 MiB in 52 packages [2022-06-27T03:36:12.744Z] Removing intermediate container 39f4cb8163cc [2022-06-27T03:36:12.745Z] ---> 474f8254d083 [2022-06-27T03:36:12.745Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-27T03:36:12.745Z] ---> Running in a20094f1177a [2022-06-27T03:36:13.018Z] Removing intermediate container a20094f1177a [2022-06-27T03:36:13.018Z] ---> 37f1bf90d081 [2022-06-27T03:36:13.018Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-27T03:36:13.620Z] ---> f96f58720943 [2022-06-27T03:36:13.620Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T03:36:13.620Z] ---> Running in d5f0ee726df0 [2022-06-27T03:37:00.621Z] Removing intermediate container d5f0ee726df0 [2022-06-27T03:37:00.621Z] ---> 34fe4abea5d4 [2022-06-27T03:37:00.621Z] Step 12/13 : COPY . . [2022-06-27T03:37:00.899Z] ---> c00539907fc7 [2022-06-27T03:37:00.899Z] Step 13/13 : RUN ${MAKE} [2022-06-27T03:37:00.899Z] ---> Running in f69160741622 [2022-06-27T03:37:01.896Z] noop [2022-06-27T03:37:02.879Z] Removing intermediate container f69160741622 [2022-06-27T03:37:02.879Z] ---> 9a73cd4ced99 [2022-06-27T03:37:02.879Z] Successfully built 9a73cd4ced99 [2022-06-27T03:37:02.879Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T03:37:03.362Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T03:37:03.362Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T03:37:03.740Z] prd-ubuntu20.04-docker-arm64-4c-16g-16055 does not seem to be running inside a container [2022-06-27T03:37:03.819Z] $ 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 ******** ci-base-image-arm64 cat [2022-06-27T03:37:05.072Z] $ docker top 4fd57e34e44ad6cf263c497fa2d8bbcd4ad60bfd7f014cfc99813bb2446e3e0e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T03:37:06.039Z] + go version [2022-06-27T03:37:06.040Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-27T03:37:06.078Z] $ docker stop --time=1 4fd57e34e44ad6cf263c497fa2d8bbcd4ad60bfd7f014cfc99813bb2446e3e0e [2022-06-27T03:37:07.727Z] $ docker rm -f 4fd57e34e44ad6cf263c497fa2d8bbcd4ad60bfd7f014cfc99813bb2446e3e0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T03:37:08.673Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T03:37:08.673Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T03:37:08.993Z] prd-ubuntu20.04-docker-arm64-4c-16g-16055 does not seem to be running inside a container [2022-06-27T03:37:09.076Z] $ 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 ******** ci-base-image-arm64 cat [2022-06-27T03:37:10.378Z] $ docker top bb3f5818a1a418e2560a2a03b8f852b9f6afbd93bd06d37e59d91915b48f26bf -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T03:37:11.413Z] + make test [2022-06-27T03:37:11.413Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T03:37:12.863Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-27T03:38:49.736Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-27T03:38:49.736Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.091s coverage: 1.2% of statements [2022-06-27T03:39:08.042Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 35.007s coverage: 13.8% of statements [2022-06-27T03:39:08.042Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-27T03:39:08.042Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T03:39:34.868Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T03:39:34.868Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T03:39:35.141Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T03:39:38.563Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T03:39:38.593Z] $ docker stop --time=1 bb3f5818a1a418e2560a2a03b8f852b9f6afbd93bd06d37e59d91915b48f26bf [2022-06-27T03:39:40.397Z] $ docker rm -f bb3f5818a1a418e2560a2a03b8f852b9f6afbd93bd06d37e59d91915b48f26bf [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T03:39:41.434Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T03:39:41.468Z] Warning: overwriting stash ‘coverage-report’ [2022-06-27T03:39:41.965Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T03:39:42.533Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T03:39:42.890Z] + ls -al . [2022-06-27T03:39:42.890Z] total 232 [2022-06-27T03:39:42.890Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 03:39 . [2022-06-27T03:39:42.890Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 03:35 .. [2022-06-27T03:39:42.890Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 03:35 .git [2022-06-27T03:39:42.890Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 03:35 .github [2022-06-27T03:39:42.890Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 27 03:35 .gitignore [2022-06-27T03:39:42.890Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 27 03:35 .golangci.yml [2022-06-27T03:39:42.890Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 27 03:35 Attribution.txt [2022-06-27T03:39:42.890Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 27 03:35 CHANGELOG.md [2022-06-27T03:39:42.890Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 27 03:35 Dockerfile [2022-06-27T03:39:42.890Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 03:35 GOVERNANCE.md [2022-06-27T03:39:42.890Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 27 03:35 Jenkinsfile [2022-06-27T03:39:42.890Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 27 03:35 LICENSE [2022-06-27T03:39:42.890Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 27 03:35 Makefile [2022-06-27T03:39:42.890Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 27 03:35 OWNERS.md [2022-06-27T03:39:42.890Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 27 03:35 README.md [2022-06-27T03:39:42.890Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 03:33 VERSION [2022-06-27T03:39:42.890Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 03:35 bin [2022-06-27T03:39:42.890Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 03:35 cmd [2022-06-27T03:39:42.890Z] -rw-r--r-- 1 jenkins jenkins 59480 Jun 27 03:39 coverage.out [2022-06-27T03:39:42.890Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 03:35 doc [2022-06-27T03:39:42.890Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 27 03:35 go.mod [2022-06-27T03:39:42.890Z] -rw-rw-r-- 1 jenkins jenkins 37492 Jun 27 03:35 go.sum [2022-06-27T03:39:42.890Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 03:35 internal [2022-06-27T03:39:42.890Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 27 03:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T03:39:43.322Z] + 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=ab15992500c62fa849ba21fc3df49cf331fce359 --label arch=arm64 --label version=0.0.0 . [2022-06-27T03:39:43.599Z] Sending build context to Docker daemon 6.029MB [2022-06-27T03:39:43.599Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T03:39:43.599Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-27T03:39:43.599Z] ---> 9a73cd4ced99 [2022-06-27T03:39:43.599Z] Step 3/26 : ARG MAKE="make build" [2022-06-27T03:39:43.877Z] ---> Running in 73eca8ed66b0 [2022-06-27T03:39:44.157Z] Removing intermediate container 73eca8ed66b0 [2022-06-27T03:39:44.157Z] ---> db8d65e813f0 [2022-06-27T03:39:44.157Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T03:39:44.157Z] ---> Running in 77593dae7e20 [2022-06-27T03:39:44.440Z] Removing intermediate container 77593dae7e20 [2022-06-27T03:39:44.440Z] ---> 1f492b12c5d3 [2022-06-27T03:39:44.440Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T03:39:44.440Z] ---> Running in a65ee7695d9f [2022-06-27T03:39:45.053Z] Removing intermediate container a65ee7695d9f [2022-06-27T03:39:45.053Z] ---> 77a0fea426da [2022-06-27T03:39:45.053Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-27T03:39:45.053Z] ---> Running in 6b317d58088b [2022-06-27T03:39:45.327Z] Removing intermediate container 6b317d58088b [2022-06-27T03:39:45.327Z] ---> 025e566ec46d [2022-06-27T03:39:45.327Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T03:39:45.327Z] ---> Running in a0114a299a9a [2022-06-27T03:39:47.312Z] Removing intermediate container a0114a299a9a [2022-06-27T03:39:47.312Z] ---> e6ea1ed0afec [2022-06-27T03:39:47.312Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T03:39:47.312Z] ---> Running in e4aab4b6764e [2022-06-27T03:39:47.911Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T03:39:48.888Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T03:39:49.867Z] OK: 220 MiB in 52 packages [2022-06-27T03:39:50.472Z] Removing intermediate container e4aab4b6764e [2022-06-27T03:39:50.472Z] ---> 556ce0770955 [2022-06-27T03:39:50.472Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-27T03:39:50.472Z] ---> Running in de3f4c6d8ef1 [2022-06-27T03:39:50.744Z] Removing intermediate container de3f4c6d8ef1 [2022-06-27T03:39:50.744Z] ---> 96fc0e1e1a69 [2022-06-27T03:39:50.744Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-27T03:39:51.343Z] ---> 569c2fa6e693 [2022-06-27T03:39:51.343Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T03:39:51.343Z] ---> Running in 73a288eedc30 [2022-06-27T03:39:53.328Z] Removing intermediate container 73a288eedc30 [2022-06-27T03:39:53.328Z] ---> a375b7be7d7d [2022-06-27T03:39:53.328Z] Step 12/26 : COPY . . [2022-06-27T03:39:54.772Z] ---> 3d024c1a25cb [2022-06-27T03:39:54.772Z] Step 13/26 : RUN ${MAKE} [2022-06-27T03:39:54.772Z] ---> Running in a8156765825d [2022-06-27T03:39:55.756Z] 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-27T03:42:02.693Z] Removing intermediate container a8156765825d [2022-06-27T03:42:02.693Z] ---> c80e64fc4a59 [2022-06-27T03:42:02.693Z] Step 14/26 : FROM alpine:3.15 [2022-06-27T03:42:02.693Z] 3.15: Pulling from library/alpine [2022-06-27T03:42:02.693Z] 9981e73032c8: Pulling fs layer [2022-06-27T03:42:02.693Z] 9981e73032c8: Download complete [2022-06-27T03:42:02.693Z] 9981e73032c8: Pull complete [2022-06-27T03:42:02.693Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-27T03:42:02.693Z] Status: Downloaded newer image for alpine:3.15 [2022-06-27T03:42:02.693Z] ---> 3fb3c9af89a9 [2022-06-27T03:42:02.693Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-27T03:42:02.693Z] ---> Running in 7b4d7348079d [2022-06-27T03:42:02.693Z] Removing intermediate container 7b4d7348079d [2022-06-27T03:42:02.693Z] ---> 3e1aa70ff999 [2022-06-27T03:42:02.693Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-27T03:42:02.693Z] ---> Running in 0c7d11f2c109 [2022-06-27T03:42:02.693Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T03:42:02.693Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T03:42:02.693Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-27T03:42:02.693Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-27T03:42:02.693Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-27T03:42:02.693Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-27T03:42:02.693Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-27T03:42:02.693Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-27T03:42:02.693Z] Executing busybox-1.34.1-r5.trigger [2022-06-27T03:42:02.693Z] OK: 8 MiB in 20 packages [2022-06-27T03:42:02.693Z] Removing intermediate container 0c7d11f2c109 [2022-06-27T03:42:02.693Z] ---> 4144c562ade5 [2022-06-27T03:42:02.693Z] Step 17/26 : WORKDIR / [2022-06-27T03:42:02.693Z] ---> Running in abd18d5243d3 [2022-06-27T03:42:02.693Z] Removing intermediate container abd18d5243d3 [2022-06-27T03:42:02.693Z] ---> ce0a1afd7116 [2022-06-27T03:42:02.693Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-27T03:42:02.693Z] ---> a9398c163cdc [2022-06-27T03:42:02.693Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-27T03:42:02.693Z] ---> 07d629675ccb [2022-06-27T03:42:02.693Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-27T03:42:02.693Z] ---> 6c0c41ee0e8b [2022-06-27T03:42:02.693Z] Step 21/26 : EXPOSE 59984 [2022-06-27T03:42:02.693Z] ---> Running in e85587ed7214 [2022-06-27T03:42:02.964Z] Removing intermediate container e85587ed7214 [2022-06-27T03:42:02.964Z] ---> db135c8f1ce6 [2022-06-27T03:42:02.964Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-27T03:42:02.964Z] ---> Running in 89010427ac3f [2022-06-27T03:42:03.237Z] Removing intermediate container 89010427ac3f [2022-06-27T03:42:03.237Z] ---> c34926229c8d [2022-06-27T03:42:03.237Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-27T03:42:03.237Z] ---> Running in 31bc256f56a6 [2022-06-27T03:42:03.517Z] Removing intermediate container 31bc256f56a6 [2022-06-27T03:42:03.517Z] ---> 80f51c598a08 [2022-06-27T03:42:03.517Z] Step 24/26 : LABEL arch=arm64 [2022-06-27T03:42:03.791Z] ---> Running in 67543367e276 [2022-06-27T03:42:04.065Z] Removing intermediate container 67543367e276 [2022-06-27T03:42:04.065Z] ---> 7a91a31d3c9b [2022-06-27T03:42:04.065Z] Step 25/26 : LABEL git_sha=ab15992500c62fa849ba21fc3df49cf331fce359 [2022-06-27T03:42:04.065Z] ---> Running in 72a5e1a9d2c8 [2022-06-27T03:42:04.336Z] Removing intermediate container 72a5e1a9d2c8 [2022-06-27T03:42:04.336Z] ---> a7715f81c8a8 [2022-06-27T03:42:04.336Z] Step 26/26 : LABEL version=0.0.0 [2022-06-27T03:42:04.336Z] ---> Running in 0ed32a1a8908 [2022-06-27T03:42:04.610Z] Removing intermediate container 0ed32a1a8908 [2022-06-27T03:42:04.610Z] ---> 1a0dd424a9c1 [2022-06-27T03:42:04.610Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T03:42:04.610Z] Successfully built 1a0dd424a9c1 [2022-06-27T03:42:04.610Z] 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-27T03:42:05.684Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T03:42:05.684Z] [2022-06-27T03:42:05.684Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T03:42:06.089Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T03:42:06.370Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-27T03:42:06.370Z] 8998bd30e6a1: Pulling fs layer [2022-06-27T03:42:06.370Z] 04944245beec: Pulling fs layer [2022-06-27T03:42:06.370Z] 699f458cf7ca: Pulling fs layer [2022-06-27T03:42:06.370Z] 765212b225bb: Pulling fs layer [2022-06-27T03:42:06.370Z] f23df028b6ca: Pulling fs layer [2022-06-27T03:42:06.370Z] d65c8cfc05b1: Pulling fs layer [2022-06-27T03:42:06.370Z] 2437ff75d9bd: Pulling fs layer [2022-06-27T03:42:06.370Z] f23df028b6ca: Waiting [2022-06-27T03:42:06.370Z] d65c8cfc05b1: Waiting [2022-06-27T03:42:06.370Z] 2437ff75d9bd: Waiting [2022-06-27T03:42:06.370Z] 765212b225bb: Waiting [2022-06-27T03:42:06.370Z] 04944245beec: Verifying Checksum [2022-06-27T03:42:06.370Z] 04944245beec: Download complete [2022-06-27T03:42:06.370Z] 765212b225bb: Verifying Checksum [2022-06-27T03:42:06.370Z] 765212b225bb: Download complete [2022-06-27T03:42:06.370Z] f23df028b6ca: Verifying Checksum [2022-06-27T03:42:06.370Z] f23df028b6ca: Download complete [2022-06-27T03:42:06.370Z] d65c8cfc05b1: Verifying Checksum [2022-06-27T03:42:06.370Z] d65c8cfc05b1: Download complete [2022-06-27T03:42:06.649Z] 699f458cf7ca: Verifying Checksum [2022-06-27T03:42:06.649Z] 699f458cf7ca: Download complete [2022-06-27T03:42:06.921Z] 8998bd30e6a1: Verifying Checksum [2022-06-27T03:42:06.921Z] 8998bd30e6a1: Download complete [2022-06-27T03:42:09.545Z] 2437ff75d9bd: Verifying Checksum [2022-06-27T03:42:09.545Z] 2437ff75d9bd: Download complete [2022-06-27T03:42:10.985Z] 8998bd30e6a1: Pull complete [2022-06-27T03:42:11.581Z] 04944245beec: Pull complete [2022-06-27T03:42:13.022Z] 699f458cf7ca: Pull complete [2022-06-27T03:42:13.297Z] 765212b225bb: Pull complete [2022-06-27T03:42:14.283Z] f23df028b6ca: Pull complete [2022-06-27T03:42:14.283Z] d65c8cfc05b1: Pull complete [2022-06-27T03:42:29.383Z] 2437ff75d9bd: Pull complete [2022-06-27T03:42:29.383Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-27T03:42:29.383Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T03:42:29.383Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T03:42:29.765Z] prd-ubuntu20.04-docker-arm64-4c-16g-16055 does not seem to be running inside a container [2022-06-27T03:42:29.853Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-27T03:42:32.382Z] $ docker top 64ba187904030092cea59778d88ac6aceab28170ab520cccfa3c216ee55ead53 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T03:42:33.346Z] ---> job-cost.sh [2022-06-27T03:42:33.346Z] lf-activate-venv: SKIPPING [2022-06-27T03:42:33.346Z] INFO: No Stack... [2022-06-27T03:42:33.620Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-27T03:42:34.595Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T03:42:35.272Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-06-27T03:42:35.272Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T03:42:35.354Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-92-1-stack-cost] [2022-06-27T03:42:35.358Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-92-1-stack-cost] did not exist. Created. [2022-06-27T03:42:35.358Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-92-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T03:42:36.094Z] /w/workspace/device-onvif-camera/1@tmp/durable-f260ac2e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-27T03:42:36.791Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-27T03:42:36.826Z] Warning: overwriting stash ‘stack-cost’ [2022-06-27T03:42:36.877Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T03:42:36.892Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-92-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T03:42:36.968Z] $ docker stop --time=1 64ba187904030092cea59778d88ac6aceab28170ab520cccfa3c216ee55ead53 [2022-06-27T03:42:38.477Z] $ docker rm -f 64ba187904030092cea59778d88ac6aceab28170ab520cccfa3c216ee55ead53 [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-27T03:42:39.496Z] provisioning config files... [2022-06-27T03:42:39.506Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-92@tmp/config2467862979754215520tmp [Pipeline] { [Pipeline] sh [2022-06-27T03:42:39.842Z] + set +x [2022-06-27T03:42:39.842Z] + + curl -s https://codecov.io/bash [2022-06-27T03:42:39.842Z] bash -s -- [2022-06-27T03:42:39.842Z] [2022-06-27T03:42:39.842Z] _____ _ [2022-06-27T03:42:39.842Z] / ____| | | [2022-06-27T03:42:39.842Z] | | ___ __| | ___ ___ _____ __ [2022-06-27T03:42:39.842Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-27T03:42:39.842Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-27T03:42:39.842Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-27T03:42:39.842Z] Bash-1.0.6 [2022-06-27T03:42:39.842Z] [2022-06-27T03:42:39.842Z] [2022-06-27T03:42:39.842Z] ==> git version 2.25.1 found [2022-06-27T03:42:39.842Z] ==> 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-27T03:42:39.842Z] Release-Date: 2020-01-08 [2022-06-27T03:42:39.842Z] 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-27T03:42:39.842Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-27T03:42:39.842Z] ==> Jenkins CI detected. [2022-06-27T03:42:39.842Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-92 [2022-06-27T03:42:39.842Z] project root: . [2022-06-27T03:42:39.842Z] --> token set from env [2022-06-27T03:42:39.842Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-27T03:42:39.842Z] ==> Running gcov in . (disable via -X gcov) [2022-06-27T03:42:39.842Z] ==> Python coveragepy not found [2022-06-27T03:42:39.842Z] ==> Searching for coverage reports in: [2022-06-27T03:42:39.842Z] + . [2022-06-27T03:42:39.842Z] -> Found 1 reports [2022-06-27T03:42:39.842Z] ==> Detecting git/mercurial file structure [2022-06-27T03:42:39.842Z] ==> Reading reports [2022-06-27T03:42:39.842Z] + ./coverage.out bytes=59480 [2022-06-27T03:42:39.842Z] ==> Appending adjustments [2022-06-27T03:42:39.842Z] https://docs.codecov.io/docs/fixing-reports [2022-06-27T03:42:40.103Z] + Found adjustments [2022-06-27T03:42:40.103Z] ==> Gzipping contents [2022-06-27T03:42:40.103Z] 8.0K /tmp/codecov.Fy6xsr.gz [2022-06-27T03:42:40.103Z] ==> Uploading reports [2022-06-27T03:42:40.103Z] url: https://codecov.io [2022-06-27T03:42:40.103Z] query: branch=PR-92&commit=ab15992500c62fa849ba21fc3df49cf331fce359&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-92%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=92&job=&cmd_args= [2022-06-27T03:42:40.103Z] -> Pinging Codecov [2022-06-27T03:42:40.103Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-92&commit=ab15992500c62fa849ba21fc3df49cf331fce359&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-92%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=92&job=&cmd_args= [2022-06-27T03:42:40.363Z] -> Uploading to [2022-06-27T03:42:40.363Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-27/F29A59C45E3A92E06B3E522C9905F8EF/ab15992500c62fa849ba21fc3df49cf331fce359/ce380e5c-2545-41dd-a6cf-9ca85e8abbdb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220627T034240Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6a83860b8054f7f9ee2915e866025e08cded0c3aa7dcccabcf18b165cc84b466 [2022-06-27T03:42:40.363Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T03:42:40.363Z] Dload Upload Total Spent Left Speed [2022-06-27T03:42:40.623Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7683 0 0 100 7683 0 35243 --:--:-- --:--:-- --:--:-- 35405 [2022-06-27T03:42:40.623Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/ab15992500c62fa849ba21fc3df49cf331fce359 [Pipeline] } [2022-06-27T03:42:40.647Z] 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-27T03:42:42.301Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-92/archives ] [2022-06-27T03:42:42.301Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-92/archives [2022-06-27T03:42:42.301Z] total 16 [2022-06-27T03:42:42.301Z] drwxr-xr-x 3 root root 4096 Jun 27 03:34 . [2022-06-27T03:42:42.301Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 03:34 .. [2022-06-27T03:42:42.301Z] drwxr-xr-x 2 root root 4096 Jun 27 03:34 cost [2022-06-27T03:42:42.301Z] -rw-r--r-- 1 root root 89 Jun 27 03:34 cost.csv [2022-06-27T03:42:42.301Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-92/archives [2022-06-27T03:42:42.301Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-92/archives [2022-06-27T03:42:42.301Z] total 16 [2022-06-27T03:42:42.301Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 03:34 . [2022-06-27T03:42:42.301Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 03:34 .. [2022-06-27T03:42:42.301Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 03:34 cost [2022-06-27T03:42:42.301Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 27 03:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-27T03:42:42.632Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T03:42:43.529Z] ---> package-listing.sh [2022-06-27T03:42:43.529Z] ++ facter osfamily [2022-06-27T03:42:43.529Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-27T03:42:43.789Z] + OS_FAMILY=debian [2022-06-27T03:42:43.789Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-92 [2022-06-27T03:42:43.789Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-27T03:42:43.789Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-27T03:42:43.789Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-27T03:42:43.789Z] + PACKAGES=/tmp/packages_start.txt [2022-06-27T03:42:43.789Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-92 ']' [2022-06-27T03:42:43.789Z] + PACKAGES=/tmp/packages_end.txt [2022-06-27T03:42:43.789Z] + case "${OS_FAMILY}" in [2022-06-27T03:42:43.789Z] + dpkg -l [2022-06-27T03:42:43.789Z] + grep '^ii' [2022-06-27T03:42:43.789Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-27T03:42:43.789Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-27T03:42:43.789Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-27T03:42:43.789Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-92 ']' [2022-06-27T03:42:43.789Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-92/archives/ [2022-06-27T03:42:43.789Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-92/archives/ [Pipeline] echo [2022-06-27T03:42:43.818Z] 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-92/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-27T03:42:44.111Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T03:42:44.730Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T03:42:44.730Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T03:42:44.880Z] prd-ubuntu20.04-docker-8c-8g-16054 does not seem to be running inside a container [2022-06-27T03:42:44.911Z] $ 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-92/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-92 -v /w/workspace/oundry_device-onvif-camera_PR-92:/w/workspace/oundry_device-onvif-camera_PR-92:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-92@tmp:/w/workspace/oundry_device-onvif-camera_PR-92@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T03:42:45.118Z] $ docker top 2e943e1889b087fbe4f62f47bfcfaa1661f4dcf302965e35eae740377dd51220 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T03:42:45.521Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-27T03:42:45.828Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-27T03:42:46.135Z] + ls /var/log/sa-host [2022-06-27T03:42:46.135Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T03:42:46.333Z] provisioning config files... [2022-06-27T03:42:46.344Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-92@tmp/config3580041786729168146tmp [Pipeline] { [Pipeline] echo [2022-06-27T03:42:46.394Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T03:42:46.706Z] ---> create-netrc.sh [Pipeline] } [2022-06-27T03:42:46.737Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-27T03:42:47.152Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-27T03:42:47.186Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T03:42:47.502Z] ---> sudo-logs.sh [2022-06-27T03:42:47.502Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-27T03:42:47.594Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T03:42:47.909Z] ---> job-cost.sh [2022-06-27T03:42:47.909Z] lf-activate-venv: SKIPPING [2022-06-27T03:42:47.909Z] DEBUG: total: 0.2199999988079071 [2022-06-27T03:42:47.909Z] INFO: Retrieving Stack Cost... [2022-06-27T03:42:48.481Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T03:42:49.053Z] INFO: Archiving Costs [Pipeline] echo [2022-06-27T03:42:49.090Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T03:42:49.404Z] ---> logs-deploy.sh [2022-06-27T03:42:49.405Z] lf-activate-venv: SKIPPING [2022-06-27T03:42:49.405Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-92/1 [2022-06-27T03:42:49.405Z] INFO: archiving workspace using pattern(s): [2022-06-27T03:42:50.346Z] Archives upload complete. [2022-06-27T03:42:50.346Z] INFO: archiving logs to Nexus