Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 534d54d80dfdf3cc40f745c878f64c5fa0889f6b+ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 (150787d8087158341fa3b6f6fee29b818420e4b5) 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-ssh18294592937822046805.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-ssh13136207965993770081.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-77/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-77/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1721613073499316306.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6593799898262580749.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-77/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-77/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh662757900222482738.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-2550’ is offline Running on prd-ubuntu20.04-docker-8c-8g-2553 in /w/workspace/oundry_device-onvif-camera_PR-77 [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-77 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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/77/head:refs/remotes/origin/PR-77 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 into PR head commit 534d54d80dfdf3cc40f745c878f64c5fa0889f6b Merge succeeded, producing a765ad747df4f73c660bcbdf51b401c1e81ac212 Checking out Revision a765ad747df4f73c660bcbdf51b401c1e81ac212 (PR-77) > git config core.sparsecheckout # timeout=10 > git checkout -f 534d54d80dfdf3cc40f745c878f64c5fa0889f6b # 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 ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a765ad747df4f73c660bcbdf51b401c1e81ac212 # timeout=10 Commit message: "Merge commit 'ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-17T10:10:21.153Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-17T10:10:21.221Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-17T10:10:21.233Z] ========================================================= [2022-06-17T10:10:21.233Z] EdgeX Global Pipelines Version Info [2022-06-17T10:10:21.233Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e38ac52691ab06881740a7fea051eb446b26a705 # timeout=10 [2022-06-17T10:10:22.013Z] ------------------- [2022-06-17T10:10:22.013Z] stable info: [2022-06-17T10:10:22.013Z] ------------------- [2022-06-17T10:10:22.013Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-17T10:10:22.013Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T10:10:22.013Z] Message: update stable to v1.0.234 [2022-06-17T10:10:22.584Z] ------------------- [2022-06-17T10:10:22.584Z] experimental info: [2022-06-17T10:10:22.584Z] ------------------- [2022-06-17T10:10:22.584Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-17T10:10:22.584Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T10:10:22.584Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-17T10:10:22.776Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-17T10:10:22.788Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-17T10:10:22.799Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-17T10:10:22.811Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-17T10:10:22.823Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-17T10:10:22.835Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-17T10:10:22.849Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-17T10:10:22.863Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-17T10:10:22.878Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-17T10:10:22.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-17T10:10:22.903Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-17T10:10:22.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-17T10:10:22.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-17T10:10:22.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-17T10:10:22.955Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T10:10:22.966Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T10:10:22.977Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T10:10:22.985Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T10:10:22.996Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-17T10:10:23.006Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-17T10:10:23.022Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-17T10:10:23.031Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-17T10:10:23.039Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-17T10:10:23.057Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-17T10:10:23.073Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-17T10:10:23.085Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-17T10:10:23.097Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-17T10:10:23.109Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-77 [Pipeline] echo [2022-06-17T10:10:23.122Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-77 [Pipeline] echo [2022-06-17T10:10:23.140Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-77 [Pipeline] echo [2022-06-17T10:10:23.150Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a765ad747df4f73c660bcbdf51b401c1e81ac212 [Pipeline] echo [2022-06-17T10:10:23.164Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a765ad7 [Pipeline] echo [2022-06-17T10:10:23.178Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T10:10:23.218Z] provisioning config files... [2022-06-17T10:10:23.232Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-77@tmp/config3152559000444893406tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:10:23.534Z] ---> docker-login.sh [2022-06-17T10:10:23.535Z] nexus3.edgexfoundry.org:10001 [2022-06-17T10:10:23.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:10:23.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:10:23.798Z] Configure a credential helper to remove this warning. See [2022-06-17T10:10:23.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:10:23.798Z] [2022-06-17T10:10:23.798Z] Login Succeeded [2022-06-17T10:10:23.798Z] nexus3.edgexfoundry.org:10002 [2022-06-17T10:10:24.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:10:24.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:10:24.059Z] Configure a credential helper to remove this warning. See [2022-06-17T10:10:24.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:10:24.059Z] [2022-06-17T10:10:24.059Z] Login Succeeded [2022-06-17T10:10:24.059Z] nexus3.edgexfoundry.org:10003 [2022-06-17T10:10:24.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:10:24.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:10:24.320Z] Configure a credential helper to remove this warning. See [2022-06-17T10:10:24.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:10:24.320Z] [2022-06-17T10:10:24.320Z] Login Succeeded [2022-06-17T10:10:24.320Z] nexus3.edgexfoundry.org:10004 [2022-06-17T10:10:24.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:10:24.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:10:24.320Z] Configure a credential helper to remove this warning. See [2022-06-17T10:10:24.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:10:24.320Z] [2022-06-17T10:10:24.320Z] Login Succeeded [2022-06-17T10:10:24.320Z] docker.io [2022-06-17T10:10:24.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:10:24.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:10:24.582Z] Configure a credential helper to remove this warning. See [2022-06-17T10:10:24.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:10:24.582Z] [2022-06-17T10:10:24.582Z] Login Succeeded [2022-06-17T10:10:24.582Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T10:10:24.591Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-17T10:10:24.986Z] + git rev-list -1 --merges a765ad747df4f73c660bcbdf51b401c1e81ac212~1..a765ad747df4f73c660bcbdf51b401c1e81ac212 [Pipeline] echo [2022-06-17T10:10:25.015Z] -----------> git rev-list -1 --merges a765ad747df4f73c660bcbdf51b401c1e81ac212~1..a765ad747df4f73c660bcbdf51b401c1e81ac212 a765ad747df4f73c660bcbdf51b401c1e81ac212 [2022-06-17T10:10:25.015Z] a765ad747df4f73c660bcbdf51b401c1e81ac212 [false] [Pipeline] sh [2022-06-17T10:10:25.309Z] + git log --format=format:%s -1 a765ad747df4f73c660bcbdf51b401c1e81ac212 [Pipeline] echo [2022-06-17T10:10:25.326Z] ========================================================= [2022-06-17T10:10:25.326Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-17T10:10:25.326Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T10:10:25.685Z] + git log --format=format:%s -1 a765ad747df4f73c660bcbdf51b401c1e81ac212 [Pipeline] echo [2022-06-17T10:10:25.698Z] [semverPrep] GIT_COMMIT: a765ad747df4f73c660bcbdf51b401c1e81ac212, Commit Message: Merge commit 'ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52' into HEAD [Pipeline] echo [2022-06-17T10:10:25.706Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-17T10:10:26.090Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-17T10:10:26.090Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-17T10:10:26.090Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-17T10:10:26.090Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-17T10:10:26.090Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-17T10:10:26.090Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-17T10:10:26.090Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:10:26.512Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T10:10:26.512Z] [2022-06-17T10:10:26.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-17T10:10:26.812Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T10:10:26.812Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-17T10:10:26.812Z] 42c077c10790: Pulling fs layer [2022-06-17T10:10:26.812Z] f63e77b7563a: Pulling fs layer [2022-06-17T10:10:26.812Z] bd5fdadae976: Pulling fs layer [2022-06-17T10:10:26.812Z] 205491f53016: Pulling fs layer [2022-06-17T10:10:26.812Z] df18705c85c3: Pulling fs layer [2022-06-17T10:10:26.812Z] 205491f53016: Waiting [2022-06-17T10:10:26.812Z] df18705c85c3: Waiting [2022-06-17T10:10:26.812Z] bdb3f477010e: Pulling fs layer [2022-06-17T10:10:26.812Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-17T10:10:26.812Z] 2c6e9b1d212d: Pulling fs layer [2022-06-17T10:10:26.812Z] bdb8f0575790: Pulling fs layer [2022-06-17T10:10:26.812Z] 386e3cb2ff24: Pulling fs layer [2022-06-17T10:10:26.812Z] c8a8fc8e1c8f: Waiting [2022-06-17T10:10:26.812Z] 2c6e9b1d212d: Waiting [2022-06-17T10:10:26.812Z] bdb3f477010e: Waiting [2022-06-17T10:10:26.812Z] bdb8f0575790: Waiting [2022-06-17T10:10:26.812Z] 2343380bae48: Pulling fs layer [2022-06-17T10:10:26.812Z] 386e3cb2ff24: Waiting [2022-06-17T10:10:26.812Z] 2343380bae48: Waiting [2022-06-17T10:10:26.812Z] f63e77b7563a: Download complete [2022-06-17T10:10:26.812Z] 205491f53016: Download complete [2022-06-17T10:10:27.073Z] df18705c85c3: Verifying Checksum [2022-06-17T10:10:27.073Z] df18705c85c3: Download complete [2022-06-17T10:10:27.073Z] bdb3f477010e: Verifying Checksum [2022-06-17T10:10:27.073Z] bdb3f477010e: Download complete [2022-06-17T10:10:27.073Z] bd5fdadae976: Verifying Checksum [2022-06-17T10:10:27.073Z] bd5fdadae976: Download complete [2022-06-17T10:10:27.073Z] 2c6e9b1d212d: Download complete [2022-06-17T10:10:27.073Z] bdb8f0575790: Download complete [2022-06-17T10:10:27.073Z] 386e3cb2ff24: Download complete [2022-06-17T10:10:27.073Z] 2343380bae48: Verifying Checksum [2022-06-17T10:10:27.073Z] 2343380bae48: Download complete [2022-06-17T10:10:27.073Z] 42c077c10790: Verifying Checksum [2022-06-17T10:10:27.073Z] 42c077c10790: Download complete [2022-06-17T10:10:27.334Z] c8a8fc8e1c8f: Download complete [2022-06-17T10:10:28.714Z] 42c077c10790: Pull complete [2022-06-17T10:10:28.714Z] f63e77b7563a: Pull complete [2022-06-17T10:10:29.283Z] bd5fdadae976: Pull complete [2022-06-17T10:10:29.283Z] 205491f53016: Pull complete [2022-06-17T10:10:29.545Z] df18705c85c3: Pull complete [2022-06-17T10:10:29.545Z] bdb3f477010e: Pull complete [2022-06-17T10:10:32.090Z] c8a8fc8e1c8f: Pull complete [2022-06-17T10:10:32.090Z] 2c6e9b1d212d: Pull complete [2022-06-17T10:10:32.090Z] bdb8f0575790: Pull complete [2022-06-17T10:10:32.090Z] 386e3cb2ff24: Pull complete [2022-06-17T10:10:32.090Z] 2343380bae48: Pull complete [2022-06-17T10:10:32.090Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-17T10:10:32.090Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T10:10:32.090Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:10:32.250Z] prd-ubuntu20.04-docker-8c-8g-2553 does not seem to be running inside a container [2022-06-17T10:10:32.290Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-77 -v /w/workspace/oundry_device-onvif-camera_PR-77:/w/workspace/oundry_device-onvif-camera_PR-77:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-77@tmp:/w/workspace/oundry_device-onvif-camera_PR-77@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-17T10:10:33.938Z] $ docker top 0435c071647ffa33ab4cf2d691ca2f7c4e0f33256f130be97d9af1027766160d -eo pid,comm [2022-06-17T10:10:34.002Z] 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-17T10:10:34.002Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-17T10:10:34.038Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T10:10:34.038Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T10:10:34.163Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T10:10:34.172Z] $ docker exec 0435c071647ffa33ab4cf2d691ca2f7c4e0f33256f130be97d9af1027766160d ssh-agent [2022-06-17T10:10:34.301Z] SSH_AUTH_SOCK=/tmp/ssh-yKrsRrpHEF2c/agent.33 [2022-06-17T10:10:34.301Z] SSH_AGENT_PID=39 [2022-06-17T10:10:34.307Z] Running ssh-add (command line suppressed) [2022-06-17T10:10:34.443Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-77@tmp/private_key_1775819001820848491.key (/w/workspace/oundry_device-onvif-camera_PR-77@tmp/private_key_1775819001820848491.key) [2022-06-17T10:10:34.455Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T10:10:34.746Z] + git tag --points-at HEAD [Pipeline] } [2022-06-17T10:10:34.770Z] $ docker exec --env ******** --env ******** 0435c071647ffa33ab4cf2d691ca2f7c4e0f33256f130be97d9af1027766160d ssh-agent -k [2022-06-17T10:10:34.889Z] unset SSH_AUTH_SOCK; [2022-06-17T10:10:34.889Z] unset SSH_AGENT_PID; [2022-06-17T10:10:34.890Z] echo Agent pid 39 killed; [2022-06-17T10:10:34.898Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-17T10:10:34.928Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T10:10:34.928Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T10:10:35.063Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T10:10:35.073Z] $ docker exec 0435c071647ffa33ab4cf2d691ca2f7c4e0f33256f130be97d9af1027766160d ssh-agent [2022-06-17T10:10:35.204Z] SSH_AUTH_SOCK=/tmp/ssh-aNfMjrz8qjP1/agent.71 [2022-06-17T10:10:35.204Z] SSH_AGENT_PID=77 [2022-06-17T10:10:35.210Z] Running ssh-add (command line suppressed) [2022-06-17T10:10:35.339Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-77@tmp/private_key_1525099810822925923.key (/w/workspace/oundry_device-onvif-camera_PR-77@tmp/private_key_1525099810822925923.key) [2022-06-17T10:10:35.351Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T10:10:35.637Z] + git semver init [2022-06-17T10:10:35.898Z] 2022-06-17 10:10:35,863 [run_init] DEBUG init version:0.0.0 force:False [2022-06-17T10:10:35.898Z] 2022-06-17 10:10:35,864 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-77/.semver [2022-06-17T10:10:35.898Z] 2022-06-17 10:10:35,864 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-77/.semver [2022-06-17T10:10:35.898Z] 2022-06-17 10:10:35,865 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-77/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-77, universal_newlines=False, shell=None, istream=None) [2022-06-17T10:10:36.840Z] 2022-06-17 10:10:36,551 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-77/.git/info/exclude [2022-06-17T10:10:36.840Z] 2022-06-17 10:10:36,552 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-77/.semver/PR-77 with force:False [2022-06-17T10:10:36.840Z] 2022-06-17 10:10:36,552 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-77/.semver/PR-77 [2022-06-17T10:10:36.840Z] 2022-06-17 10:10:36,557 [execute] INFO git cat-file --batch-check [2022-06-17T10:10:36.840Z] 2022-06-17 10:10:36,557 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-77/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T10:10:36.840Z] 2022-06-17 10:10:36,563 [execute] INFO git cat-file --batch [2022-06-17T10:10:36.840Z] 2022-06-17 10:10:36,563 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-77/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T10:10:36.840Z] 2022-06-17 10:10:36,569 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-77/.semver/PR-77 [2022-06-17T10:10:36.840Z] 0.0.0 [Pipeline] } [2022-06-17T10:10:36.857Z] $ docker exec --env ******** --env ******** 0435c071647ffa33ab4cf2d691ca2f7c4e0f33256f130be97d9af1027766160d ssh-agent -k [2022-06-17T10:10:36.970Z] unset SSH_AUTH_SOCK; [2022-06-17T10:10:36.971Z] unset SSH_AGENT_PID; [2022-06-17T10:10:36.971Z] echo Agent pid 77 killed; [2022-06-17T10:10:36.976Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-17T10:10:37.281Z] + git semver [Pipeline] } [2022-06-17T10:10:37.561Z] $ docker stop --time=1 0435c071647ffa33ab4cf2d691ca2f7c4e0f33256f130be97d9af1027766160d [2022-06-17T10:10:38.897Z] $ docker rm -f 0435c071647ffa33ab4cf2d691ca2f7c4e0f33256f130be97d9af1027766160d [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T10:10:39.249Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-17T10:10:39.501Z] Stashed 1 file(s) [Pipeline] echo [2022-06-17T10:10:39.504Z] [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-17T10:10:39.636Z] provisioning config files... [2022-06-17T10:10:39.645Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-77@tmp/config4320220254874150062tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:10:39.946Z] ---> docker-login.sh [2022-06-17T10:10:39.946Z] nexus3.edgexfoundry.org:10001 [2022-06-17T10:10:39.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:10:39.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:10:39.946Z] Configure a credential helper to remove this warning. See [2022-06-17T10:10:39.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:10:39.946Z] [2022-06-17T10:10:39.946Z] Login Succeeded [2022-06-17T10:10:39.946Z] nexus3.edgexfoundry.org:10002 [2022-06-17T10:10:39.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:10:40.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:10:40.206Z] Configure a credential helper to remove this warning. See [2022-06-17T10:10:40.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:10:40.206Z] [2022-06-17T10:10:40.206Z] Login Succeeded [2022-06-17T10:10:40.206Z] nexus3.edgexfoundry.org:10003 [2022-06-17T10:10:40.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:10:40.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:10:40.206Z] Configure a credential helper to remove this warning. See [2022-06-17T10:10:40.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:10:40.206Z] [2022-06-17T10:10:40.206Z] Login Succeeded [2022-06-17T10:10:40.206Z] nexus3.edgexfoundry.org:10004 [2022-06-17T10:10:40.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:10:40.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:10:40.467Z] Configure a credential helper to remove this warning. See [2022-06-17T10:10:40.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:10:40.467Z] [2022-06-17T10:10:40.467Z] Login Succeeded [2022-06-17T10:10:40.467Z] docker.io [2022-06-17T10:10:40.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:10:40.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:10:40.727Z] Configure a credential helper to remove this warning. See [2022-06-17T10:10:40.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:10:40.727Z] [2022-06-17T10:10:40.727Z] Login Succeeded [2022-06-17T10:10:40.727Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T10:10:40.736Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T10:10:40.802Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T10:10:40.811Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T10:10:40.817Z] ========================================================= [2022-06-17T10:10:40.817Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-17T10:10:40.817Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:10:41.140Z] + 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-17T10:10:41.140Z] Sending build context to Docker daemon 8.75MB [2022-06-17T10:10:41.140Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T10:10:41.140Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-17T10:10:41.140Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-17T10:10:41.140Z] 59bf1c3509f3: Pulling fs layer [2022-06-17T10:10:41.140Z] 666ba61612fd: Pulling fs layer [2022-06-17T10:10:41.140Z] 8ed8ca486205: Pulling fs layer [2022-06-17T10:10:41.140Z] cc1cd167ecdc: Pulling fs layer [2022-06-17T10:10:41.140Z] c516ae0d96e1: Pulling fs layer [2022-06-17T10:10:41.140Z] 684cea983483: Pulling fs layer [2022-06-17T10:10:41.140Z] dd3240ac7de5: Pulling fs layer [2022-06-17T10:10:41.140Z] b1e948a4e11c: Pulling fs layer [2022-06-17T10:10:41.140Z] a8fd76ee1af6: Pulling fs layer [2022-06-17T10:10:41.140Z] 646ad004c059: Pulling fs layer [2022-06-17T10:10:41.140Z] b1e948a4e11c: Waiting [2022-06-17T10:10:41.140Z] 684cea983483: Waiting [2022-06-17T10:10:41.140Z] cc1cd167ecdc: Waiting [2022-06-17T10:10:41.140Z] dd3240ac7de5: Waiting [2022-06-17T10:10:41.140Z] c516ae0d96e1: Waiting [2022-06-17T10:10:41.401Z] 8ed8ca486205: Download complete [2022-06-17T10:10:41.401Z] 666ba61612fd: Download complete [2022-06-17T10:10:41.401Z] c516ae0d96e1: Verifying Checksum [2022-06-17T10:10:41.401Z] c516ae0d96e1: Download complete [2022-06-17T10:10:41.401Z] 684cea983483: Verifying Checksum [2022-06-17T10:10:41.401Z] 684cea983483: Download complete [2022-06-17T10:10:41.401Z] dd3240ac7de5: Download complete [2022-06-17T10:10:41.401Z] 59bf1c3509f3: Download complete [2022-06-17T10:10:41.401Z] b1e948a4e11c: Verifying Checksum [2022-06-17T10:10:41.401Z] b1e948a4e11c: Download complete [2022-06-17T10:10:41.401Z] 59bf1c3509f3: Pull complete [2022-06-17T10:10:41.662Z] 666ba61612fd: Pull complete [2022-06-17T10:10:41.662Z] 646ad004c059: Download complete [2022-06-17T10:10:41.662Z] 8ed8ca486205: Pull complete [2022-06-17T10:10:41.923Z] a8fd76ee1af6: Verifying Checksum [2022-06-17T10:10:41.923Z] a8fd76ee1af6: Download complete [2022-06-17T10:10:42.182Z] cc1cd167ecdc: Verifying Checksum [2022-06-17T10:10:42.182Z] cc1cd167ecdc: Download complete [2022-06-17T10:10:46.377Z] cc1cd167ecdc: Pull complete [2022-06-17T10:10:46.377Z] c516ae0d96e1: Pull complete [2022-06-17T10:10:46.377Z] 684cea983483: Pull complete [2022-06-17T10:10:46.377Z] dd3240ac7de5: Pull complete [2022-06-17T10:10:46.377Z] b1e948a4e11c: Pull complete [2022-06-17T10:10:48.278Z] a8fd76ee1af6: Pull complete [2022-06-17T10:10:48.846Z] 646ad004c059: Pull complete [2022-06-17T10:10:48.846Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-17T10:10:48.846Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-17T10:10:48.846Z] ---> 8f69c11f6b0c [2022-06-17T10:10:48.846Z] Step 3/13 : ARG MAKE="make build" [2022-06-17T10:10:50.762Z] ---> Running in 7703fc9f5173 [2022-06-17T10:10:50.762Z] Removing intermediate container 7703fc9f5173 [2022-06-17T10:10:50.762Z] ---> 3e09f75159b3 [2022-06-17T10:10:50.762Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T10:10:50.762Z] ---> Running in 1b00c080ce7d [2022-06-17T10:10:51.021Z] Removing intermediate container 1b00c080ce7d [2022-06-17T10:10:51.021Z] ---> c71a79cfe04e [2022-06-17T10:10:51.021Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T10:10:51.021Z] ---> Running in c18c34ee54af [2022-06-17T10:10:51.021Z] Removing intermediate container c18c34ee54af [2022-06-17T10:10:51.021Z] ---> da510e0cce2b [2022-06-17T10:10:51.021Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-17T10:10:51.021Z] ---> Running in ec3eaee44729 [2022-06-17T10:10:51.284Z] Removing intermediate container ec3eaee44729 [2022-06-17T10:10:51.284Z] ---> 51d8576272d9 [2022-06-17T10:10:51.284Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T10:10:51.284Z] ---> Running in bc9a3e94baaf [2022-06-17T10:10:51.858Z] Removing intermediate container bc9a3e94baaf [2022-06-17T10:10:51.858Z] ---> 6da5c5c624ec [2022-06-17T10:10:51.858Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T10:10:51.858Z] ---> Running in 0ac840bbc93b [2022-06-17T10:10:52.119Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T10:10:53.059Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T10:10:53.318Z] OK: 221 MiB in 52 packages [2022-06-17T10:10:53.577Z] Removing intermediate container 0ac840bbc93b [2022-06-17T10:10:53.577Z] ---> 1ce324318d8f [2022-06-17T10:10:53.577Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-17T10:10:53.577Z] ---> Running in e4bfcba21001 [2022-06-17T10:10:53.840Z] Removing intermediate container e4bfcba21001 [2022-06-17T10:10:53.840Z] ---> 5dc1e9c44167 [2022-06-17T10:10:53.840Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-17T10:10:53.840Z] ---> ff55205398fd [2022-06-17T10:10:53.840Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T10:10:54.104Z] ---> Running in 2c3595155284 [2022-06-17T10:10:54.608Z] Still waiting to schedule task [2022-06-17T10:10:54.609Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2551’ is offline [2022-06-17T10:11:16.064Z] Removing intermediate container 2c3595155284 [2022-06-17T10:11:16.064Z] ---> 9e4c5c093994 [2022-06-17T10:11:16.064Z] Step 12/13 : COPY . . [2022-06-17T10:11:16.064Z] ---> c4f8ff673517 [2022-06-17T10:11:16.064Z] Step 13/13 : RUN ${MAKE} [2022-06-17T10:11:16.064Z] ---> Running in 56f8d4843b9f [2022-06-17T10:11:16.064Z] noop [2022-06-17T10:11:16.064Z] Removing intermediate container 56f8d4843b9f [2022-06-17T10:11:16.064Z] ---> e984e7d0ae7f [2022-06-17T10:11:16.064Z] Successfully built e984e7d0ae7f [2022-06-17T10:11:16.064Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:11:16.379Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T10:11:16.379Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:11:16.456Z] prd-ubuntu20.04-docker-8c-8g-2553 does not seem to be running inside a container [2022-06-17T10:11:16.496Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-77 -v /w/workspace/oundry_device-onvif-camera_PR-77:/w/workspace/oundry_device-onvif-camera_PR-77:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-77@tmp:/w/workspace/oundry_device-onvif-camera_PR-77@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-17T10:11:16.875Z] $ docker top 6441a45c526ec98b37467d32a06e21deb995819bbcb2370e9fe79c7c479f5413 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T10:11:17.291Z] + go version [2022-06-17T10:11:17.291Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-17T10:11:17.304Z] $ docker stop --time=1 6441a45c526ec98b37467d32a06e21deb995819bbcb2370e9fe79c7c479f5413 [2022-06-17T10:11:18.589Z] $ docker rm -f 6441a45c526ec98b37467d32a06e21deb995819bbcb2370e9fe79c7c479f5413 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:11:19.010Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T10:11:19.010Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:11:19.092Z] prd-ubuntu20.04-docker-8c-8g-2553 does not seem to be running inside a container [2022-06-17T10:11:19.136Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-77 -v /w/workspace/oundry_device-onvif-camera_PR-77:/w/workspace/oundry_device-onvif-camera_PR-77:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-77@tmp:/w/workspace/oundry_device-onvif-camera_PR-77@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-17T10:11:19.552Z] $ docker top b4a595c847dd2d305d4682a4b4e9f85925a18ecef59456581bc76cda1990942d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T10:11:19.920Z] + make test [2022-06-17T10:11:19.920Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-17T10:11:20.178Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-17T10:11:30.151Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-17T10:11:30.151Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 1.2% of statements [2022-06-17T10:11:33.450Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.790s coverage: 13.8% of statements [2022-06-17T10:11:40.029Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-17T10:11:43.341Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T10:11:43.341Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T10:11:43.341Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T10:11:43.925Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T10:11:43.943Z] $ docker stop --time=1 b4a595c847dd2d305d4682a4b4e9f85925a18ecef59456581bc76cda1990942d [2022-06-17T10:11:45.865Z] $ docker rm -f b4a595c847dd2d305d4682a4b4e9f85925a18ecef59456581bc76cda1990942d [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T10:11:46.314Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T10:11:46.384Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-17T10:11:46.896Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T10:11:47.188Z] + ls -al . [2022-06-17T10:11:47.188Z] total 236 [2022-06-17T10:11:47.188Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 17 10:11 . [2022-06-17T10:11:47.188Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 10:10 .. [2022-06-17T10:11:47.188Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 10:10 .git [2022-06-17T10:11:47.188Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 10:10 .github [2022-06-17T10:11:47.188Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 17 10:10 .gitignore [2022-06-17T10:11:47.188Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 17 10:10 .golangci.yml [2022-06-17T10:11:47.188Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 10:10 .semver [2022-06-17T10:11:47.188Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 17 10:10 Attribution.txt [2022-06-17T10:11:47.188Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 17 10:10 CHANGELOG.md [2022-06-17T10:11:47.188Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 17 10:10 Dockerfile [2022-06-17T10:11:47.188Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 10:10 GOVERNANCE.md [2022-06-17T10:11:47.188Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 17 10:10 Jenkinsfile [2022-06-17T10:11:47.188Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 17 10:10 LICENSE [2022-06-17T10:11:47.188Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 17 10:10 Makefile [2022-06-17T10:11:47.188Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 17 10:10 OWNERS.md [2022-06-17T10:11:47.188Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 17 10:10 README.md [2022-06-17T10:11:47.188Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 10:10 VERSION [2022-06-17T10:11:47.188Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 10:10 bin [2022-06-17T10:11:47.188Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 10:10 cmd [2022-06-17T10:11:47.188Z] -rw-r--r-- 1 jenkins jenkins 59480 Jun 17 10:11 coverage.out [2022-06-17T10:11:47.188Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 10:10 doc [2022-06-17T10:11:47.188Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 17 10:10 go.mod [2022-06-17T10:11:47.188Z] -rw-rw-r-- 1 jenkins jenkins 37502 Jun 17 10:10 go.sum [2022-06-17T10:11:47.188Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 10:10 internal [2022-06-17T10:11:47.188Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 17 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:11:47.510Z] + 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=a765ad747df4f73c660bcbdf51b401c1e81ac212 --label arch=amd64 --label version=0.0.0 . [2022-06-17T10:11:47.511Z] Sending build context to Docker daemon 8.81MB [2022-06-17T10:11:47.511Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T10:11:47.511Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-17T10:11:47.511Z] ---> e984e7d0ae7f [2022-06-17T10:11:47.511Z] Step 3/26 : ARG MAKE="make build" [2022-06-17T10:11:47.771Z] ---> Running in fd2ebfa1c0d1 [2022-06-17T10:11:47.771Z] Removing intermediate container fd2ebfa1c0d1 [2022-06-17T10:11:47.771Z] ---> 37980aca7b94 [2022-06-17T10:11:47.771Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T10:11:47.771Z] ---> Running in f98991b68760 [2022-06-17T10:11:48.030Z] Removing intermediate container f98991b68760 [2022-06-17T10:11:48.030Z] ---> cab0a0311c5c [2022-06-17T10:11:48.030Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T10:11:48.030Z] ---> Running in ea322e58baef [2022-06-17T10:11:48.030Z] Removing intermediate container ea322e58baef [2022-06-17T10:11:48.030Z] ---> 4d0d6e01321e [2022-06-17T10:11:48.030Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-17T10:11:48.030Z] ---> Running in 17f22214108a [2022-06-17T10:11:48.289Z] Removing intermediate container 17f22214108a [2022-06-17T10:11:48.289Z] ---> a38976e0f76e [2022-06-17T10:11:48.289Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T10:11:48.289Z] ---> Running in 5d659b81334e [2022-06-17T10:11:48.860Z] Removing intermediate container 5d659b81334e [2022-06-17T10:11:48.860Z] ---> d1392e683540 [2022-06-17T10:11:48.860Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T10:11:48.860Z] ---> Running in 78bece63d124 [2022-06-17T10:11:49.121Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T10:11:50.065Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T10:11:50.325Z] OK: 221 MiB in 52 packages [2022-06-17T10:11:50.585Z] Removing intermediate container 78bece63d124 [2022-06-17T10:11:50.585Z] ---> eb0bb10c2163 [2022-06-17T10:11:50.585Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-17T10:11:50.585Z] ---> Running in d89451ff8523 [2022-06-17T10:11:50.845Z] Removing intermediate container d89451ff8523 [2022-06-17T10:11:50.845Z] ---> a46a49b6e618 [2022-06-17T10:11:50.845Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-17T10:11:50.845Z] ---> b0360b86f96d [2022-06-17T10:11:50.845Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T10:11:51.105Z] ---> Running in ab1b4eb032c2 [2022-06-17T10:11:51.673Z] Removing intermediate container ab1b4eb032c2 [2022-06-17T10:11:51.673Z] ---> ca749a0ab2b8 [2022-06-17T10:11:51.673Z] Step 12/26 : COPY . . [2022-06-17T10:11:51.933Z] ---> 25fa689f1b50 [2022-06-17T10:11:51.933Z] Step 13/26 : RUN ${MAKE} [2022-06-17T10:11:51.933Z] ---> Running in 70928bc673a0 [2022-06-17T10:11:52.193Z] 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-17T10:12:14.148Z] Removing intermediate container 70928bc673a0 [2022-06-17T10:12:14.148Z] ---> d2fe1dfbcc7b [2022-06-17T10:12:14.148Z] Step 14/26 : FROM alpine:3.15 [2022-06-17T10:12:14.148Z] 3.15: Pulling from library/alpine [2022-06-17T10:12:14.148Z] df9b9388f04a: Pulling fs layer [2022-06-17T10:12:14.148Z] df9b9388f04a: Verifying Checksum [2022-06-17T10:12:14.148Z] df9b9388f04a: Download complete [2022-06-17T10:12:14.148Z] df9b9388f04a: Pull complete [2022-06-17T10:12:14.148Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-17T10:12:14.148Z] Status: Downloaded newer image for alpine:3.15 [2022-06-17T10:12:14.148Z] ---> 0ac33e5f5afa [2022-06-17T10:12:14.148Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-17T10:12:14.148Z] ---> Running in b98a458d31e1 [2022-06-17T10:12:14.148Z] Removing intermediate container b98a458d31e1 [2022-06-17T10:12:14.148Z] ---> cbdc4d45e7ff [2022-06-17T10:12:14.148Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-17T10:12:14.148Z] ---> Running in 33961bdc10e7 [2022-06-17T10:12:14.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T10:12:14.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T10:12:14.148Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-17T10:12:14.149Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-17T10:12:14.149Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-17T10:12:14.149Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-17T10:12:14.149Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-17T10:12:14.149Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-17T10:12:14.149Z] Executing busybox-1.34.1-r5.trigger [2022-06-17T10:12:14.149Z] OK: 8 MiB in 20 packages [2022-06-17T10:12:14.149Z] Removing intermediate container 33961bdc10e7 [2022-06-17T10:12:14.149Z] ---> a741e56b5db4 [2022-06-17T10:12:14.149Z] Step 17/26 : WORKDIR / [2022-06-17T10:12:14.149Z] ---> Running in 9ad9b0ba9aba [2022-06-17T10:12:14.149Z] Removing intermediate container 9ad9b0ba9aba [2022-06-17T10:12:14.149Z] ---> a8079837f2b3 [2022-06-17T10:12:14.149Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-17T10:12:14.718Z] ---> 49eb5491b8ae [2022-06-17T10:12:14.718Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-17T10:12:14.978Z] ---> e7260a347b70 [2022-06-17T10:12:14.978Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-17T10:12:14.978Z] ---> b16fe7790bb1 [2022-06-17T10:12:14.978Z] Step 21/26 : EXPOSE 59984 [2022-06-17T10:12:14.978Z] ---> Running in fff7f37652e9 [2022-06-17T10:12:15.238Z] Removing intermediate container fff7f37652e9 [2022-06-17T10:12:15.238Z] ---> bbfc7422cbec [2022-06-17T10:12:15.238Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-17T10:12:15.238Z] ---> Running in cb2c1e7b2b22 [2022-06-17T10:12:15.238Z] Removing intermediate container cb2c1e7b2b22 [2022-06-17T10:12:15.238Z] ---> 3cc3a2fa2707 [2022-06-17T10:12:15.238Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T10:12:15.238Z] ---> Running in d15e8ea0008d [2022-06-17T10:12:15.499Z] Removing intermediate container d15e8ea0008d [2022-06-17T10:12:15.499Z] ---> b3b11329c681 [2022-06-17T10:12:15.499Z] Step 24/26 : LABEL arch=amd64 [2022-06-17T10:12:15.499Z] ---> Running in aa069dc3acb4 [2022-06-17T10:12:15.499Z] Removing intermediate container aa069dc3acb4 [2022-06-17T10:12:15.499Z] ---> 5363d97956c5 [2022-06-17T10:12:15.499Z] Step 25/26 : LABEL git_sha=a765ad747df4f73c660bcbdf51b401c1e81ac212 [2022-06-17T10:12:15.499Z] ---> Running in 23c39a150a92 [2022-06-17T10:12:15.759Z] Removing intermediate container 23c39a150a92 [2022-06-17T10:12:15.759Z] ---> b4328d96ea89 [2022-06-17T10:12:15.759Z] Step 26/26 : LABEL version=0.0.0 [2022-06-17T10:12:15.759Z] ---> Running in eeba4cfe56d8 [2022-06-17T10:12:15.759Z] Removing intermediate container eeba4cfe56d8 [2022-06-17T10:12:15.759Z] ---> d6c1c199061d [2022-06-17T10:12:15.759Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T10:12:15.759Z] Successfully built d6c1c199061d [2022-06-17T10:12:15.759Z] 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-17T10:12:16.192Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T10:12:16.192Z] [2022-06-17T10:12:16.192Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:12:16.500Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T10:12:16.500Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-17T10:12:16.500Z] 5eb5b503b376: Pulling fs layer [2022-06-17T10:12:16.500Z] 5c69ac0246d0: Pulling fs layer [2022-06-17T10:12:16.500Z] ec43610c2a17: Pulling fs layer [2022-06-17T10:12:16.500Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-17T10:12:16.500Z] 33b1e0a273af: Pulling fs layer [2022-06-17T10:12:16.500Z] 5d3b04190fa2: Pulling fs layer [2022-06-17T10:12:16.500Z] 2f39f015ded8: Pulling fs layer [2022-06-17T10:12:16.500Z] 3a2ae6a8a46f: Waiting [2022-06-17T10:12:16.500Z] 33b1e0a273af: Waiting [2022-06-17T10:12:16.500Z] 5d3b04190fa2: Waiting [2022-06-17T10:12:16.500Z] 2f39f015ded8: Waiting [2022-06-17T10:12:16.500Z] 5c69ac0246d0: Download complete [2022-06-17T10:12:16.500Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-17T10:12:16.500Z] 3a2ae6a8a46f: Download complete [2022-06-17T10:12:16.500Z] 33b1e0a273af: Verifying Checksum [2022-06-17T10:12:16.500Z] 33b1e0a273af: Download complete [2022-06-17T10:12:16.500Z] ec43610c2a17: Verifying Checksum [2022-06-17T10:12:16.500Z] ec43610c2a17: Download complete [2022-06-17T10:12:16.500Z] 5d3b04190fa2: Verifying Checksum [2022-06-17T10:12:16.500Z] 5d3b04190fa2: Download complete [2022-06-17T10:12:16.760Z] 5eb5b503b376: Verifying Checksum [2022-06-17T10:12:16.760Z] 5eb5b503b376: Download complete [2022-06-17T10:12:17.331Z] 2f39f015ded8: Download complete [2022-06-17T10:12:17.899Z] 5eb5b503b376: Pull complete [2022-06-17T10:12:18.159Z] 5c69ac0246d0: Pull complete [2022-06-17T10:12:18.419Z] ec43610c2a17: Pull complete [2022-06-17T10:12:18.682Z] 3a2ae6a8a46f: Pull complete [2022-06-17T10:12:18.682Z] 33b1e0a273af: Pull complete [2022-06-17T10:12:18.942Z] 5d3b04190fa2: Pull complete [2022-06-17T10:12:23.139Z] 2f39f015ded8: Pull complete [2022-06-17T10:12:23.139Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-17T10:12:23.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T10:12:23.139Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:12:23.232Z] prd-ubuntu20.04-docker-8c-8g-2553 does not seem to be running inside a container [2022-06-17T10:12:23.272Z] $ 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-77 -v /w/workspace/oundry_device-onvif-camera_PR-77:/w/workspace/oundry_device-onvif-camera_PR-77:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-77@tmp:/w/workspace/oundry_device-onvif-camera_PR-77@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-17T10:12:25.036Z] $ docker top 0802e0961f4a09b4d0e6dd118863bac524f726fc46b6472c29fbda141cc93f0c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:12:25.431Z] ---> job-cost.sh [2022-06-17T10:12:25.431Z] lf-activate-venv: SKIPPING [2022-06-17T10:12:25.431Z] INFO: No Stack... [2022-06-17T10:12:26.001Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T10:12:26.261Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T10:12:26.552Z] + cat /w/workspace/oundry_device-onvif-camera_PR-77/archives/cost.csv [2022-06-17T10:12:26.553Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T10:12:26.566Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-77-7-stack-cost] [2022-06-17T10:12:26.571Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-77-7-stack-cost] did not exist. Created. [2022-06-17T10:12:26.571Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-77-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T10:12:26.876Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-17T10:12:26.909Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T10:12:26.917Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-77-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T10:12:26.940Z] $ docker stop --time=1 0802e0961f4a09b4d0e6dd118863bac524f726fc46b6472c29fbda141cc93f0c [2022-06-17T10:12:28.124Z] $ docker rm -f 0802e0961f4a09b4d0e6dd118863bac524f726fc46b6472c29fbda141cc93f0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-17T10:12:29.515Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2555 in /w/workspace/oundry_device-onvif-camera_PR-77 [Pipeline] { [Pipeline] ws [2022-06-17T10:12:29.527Z] Running in /w/workspace/device-onvif-camera/7 [Pipeline] { [Pipeline] checkout [2022-06-17T10:12:29.572Z] Selected Git installation does not exist. Using Default [2022-06-17T10:12:29.572Z] The recommended git tool is: NONE [2022-06-17T10:12:35.888Z] using credential edgex-jenkins-ssh [2022-06-17T10:12:35.906Z] Cloning the remote Git repository [2022-06-17T10:12:35.957Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-17T10:12:36.028Z] > git init /w/workspace/device-onvif-camera/7 # timeout=10 [2022-06-17T10:12:36.114Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-17T10:12:36.115Z] > git --version # timeout=10 [2022-06-17T10:12:36.134Z] > git --version # 'git version 2.25.1' [2022-06-17T10:12:36.136Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T10:12:36.226Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T10:12:37.004Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-17T10:12:37.085Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T10:12:37.117Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-17T10:12:37.638Z] Merging remotes/origin/main commit ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 into PR head commit 534d54d80dfdf3cc40f745c878f64c5fa0889f6b [2022-06-17T10:12:38.036Z] Merge succeeded, producing 3ab19ee4bec51e252f0261831ff520c146391d69 [2022-06-17T10:12:38.036Z] Checking out Revision 3ab19ee4bec51e252f0261831ff520c146391d69 (PR-77) [2022-06-17T10:12:37.178Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-17T10:12:37.179Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T10:12:37.203Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/77/head:refs/remotes/origin/PR-77 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-17T10:12:37.659Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T10:12:37.675Z] > git checkout -f 534d54d80dfdf3cc40f745c878f64c5fa0889f6b # timeout=10 [2022-06-17T10:12:37.808Z] > git remote # timeout=10 [2022-06-17T10:12:37.825Z] > git config --get remote.origin.url # timeout=10 [2022-06-17T10:12:37.843Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T10:12:37.854Z] > git merge ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 # timeout=10 [2022-06-17T10:12:38.024Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-17T10:12:38.045Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T10:12:38.069Z] > git checkout -f 3ab19ee4bec51e252f0261831ff520c146391d69 # timeout=10 [2022-06-17T10:12:42.294Z] Commit message: "Merge commit 'ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52' into HEAD" [2022-06-17T10:12:42.319Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T10:12:42.304Z] > git rev-list --no-walk e38ac52691ab06881740a7fea051eb446b26a705 # timeout=10 [2022-06-17T10:12:43.165Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-17T10:12:43.165Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T10:12:43.165Z] Dload Upload Total Spent Left Speed [2022-06-17T10:12:43.165Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 66956 0 --:--:-- --:--:-- --:--:-- 66956 [Pipeline] sh [2022-06-17T10:12:43.821Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-17T10:12:44.160Z] + sudo tee /etc/docker/daemon.new [2022-06-17T10:12:44.160Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-17T10:12:44.160Z] { [2022-06-17T10:12:44.160Z] "registry-mirrors": [ [2022-06-17T10:12:44.160Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-17T10:12:44.160Z] ], [2022-06-17T10:12:44.160Z] "bip": "10.250.0.254/24", [2022-06-17T10:12:44.160Z] "hosts": [ [2022-06-17T10:12:44.160Z] "tcp://0.0.0.0:5555", [2022-06-17T10:12:44.160Z] "unix:///var/run/docker.sock" [2022-06-17T10:12:44.160Z] ], [2022-06-17T10:12:44.160Z] "mtu": 1458, [2022-06-17T10:12:44.160Z] "selinux-enabled": true, [2022-06-17T10:12:44.160Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-17T10:12:44.160Z] } [Pipeline] sh [2022-06-17T10:12:44.563Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-17T10:12:44.895Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T10:13:03.222Z] provisioning config files... [2022-06-17T10:13:03.248Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/7@tmp/config217319948744303605tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:13:03.603Z] ---> docker-login.sh [2022-06-17T10:13:03.603Z] nexus3.edgexfoundry.org:10001 [2022-06-17T10:13:04.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:13:04.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:13:04.472Z] Configure a credential helper to remove this warning. See [2022-06-17T10:13:04.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:13:04.472Z] [2022-06-17T10:13:04.472Z] Login Succeeded [2022-06-17T10:13:04.472Z] nexus3.edgexfoundry.org:10002 [2022-06-17T10:13:04.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:13:05.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:13:05.018Z] Configure a credential helper to remove this warning. See [2022-06-17T10:13:05.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:13:05.018Z] [2022-06-17T10:13:05.018Z] Login Succeeded [2022-06-17T10:13:05.018Z] nexus3.edgexfoundry.org:10003 [2022-06-17T10:13:05.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:13:05.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:13:05.292Z] Configure a credential helper to remove this warning. See [2022-06-17T10:13:05.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:13:05.292Z] [2022-06-17T10:13:05.292Z] Login Succeeded [2022-06-17T10:13:05.292Z] nexus3.edgexfoundry.org:10004 [2022-06-17T10:13:05.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:13:05.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:13:05.899Z] Configure a credential helper to remove this warning. See [2022-06-17T10:13:05.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:13:05.899Z] [2022-06-17T10:13:05.899Z] Login Succeeded [2022-06-17T10:13:05.899Z] docker.io [2022-06-17T10:13:06.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:13:06.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:13:06.775Z] Configure a credential helper to remove this warning. See [2022-06-17T10:13:06.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:13:06.775Z] [2022-06-17T10:13:06.775Z] Login Succeeded [2022-06-17T10:13:06.775Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T10:13:06.801Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T10:13:07.387Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T10:13:07.402Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T10:13:07.410Z] ========================================================= [2022-06-17T10:13:07.410Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-17T10:13:07.410Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:13:07.791Z] + 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-17T10:13:08.394Z] Sending build context to Docker daemon 5.962MB [2022-06-17T10:13:08.394Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T10:13:08.394Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-17T10:13:08.394Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-17T10:13:08.394Z] 9b3977197b4f: Pulling fs layer [2022-06-17T10:13:08.394Z] 1a89e8eeedd5: Pulling fs layer [2022-06-17T10:13:08.394Z] 94645a83ff95: Pulling fs layer [2022-06-17T10:13:08.394Z] e6fb740bc735: Pulling fs layer [2022-06-17T10:13:08.394Z] 3a77bd46dcc9: Pulling fs layer [2022-06-17T10:13:08.394Z] 355e64cbe906: Pulling fs layer [2022-06-17T10:13:08.394Z] 63ab81a10011: Pulling fs layer [2022-06-17T10:13:08.394Z] 555d1d1c4555: Pulling fs layer [2022-06-17T10:13:08.394Z] 7d9057610161: Pulling fs layer [2022-06-17T10:13:08.394Z] 355e64cbe906: Waiting [2022-06-17T10:13:08.394Z] 63ab81a10011: Waiting [2022-06-17T10:13:08.394Z] 7d9057610161: Waiting [2022-06-17T10:13:08.394Z] 555d1d1c4555: Waiting [2022-06-17T10:13:08.394Z] e6fb740bc735: Waiting [2022-06-17T10:13:08.394Z] 3a77bd46dcc9: Waiting [2022-06-17T10:13:08.394Z] 94645a83ff95: Verifying Checksum [2022-06-17T10:13:08.394Z] 94645a83ff95: Download complete [2022-06-17T10:13:08.394Z] 1a89e8eeedd5: Verifying Checksum [2022-06-17T10:13:08.394Z] 1a89e8eeedd5: Download complete [2022-06-17T10:13:08.394Z] 3a77bd46dcc9: Verifying Checksum [2022-06-17T10:13:08.394Z] 3a77bd46dcc9: Download complete [2022-06-17T10:13:08.394Z] 355e64cbe906: Verifying Checksum [2022-06-17T10:13:08.394Z] 355e64cbe906: Download complete [2022-06-17T10:13:08.682Z] 63ab81a10011: Verifying Checksum [2022-06-17T10:13:08.682Z] 63ab81a10011: Download complete [2022-06-17T10:13:08.682Z] 9b3977197b4f: Verifying Checksum [2022-06-17T10:13:09.691Z] 9b3977197b4f: Pull complete [2022-06-17T10:13:09.691Z] 7d9057610161: Verifying Checksum [2022-06-17T10:13:09.691Z] 7d9057610161: Download complete [2022-06-17T10:13:10.301Z] 1a89e8eeedd5: Pull complete [2022-06-17T10:13:10.580Z] 94645a83ff95: Pull complete [2022-06-17T10:13:10.580Z] 555d1d1c4555: Verifying Checksum [2022-06-17T10:13:10.580Z] 555d1d1c4555: Download complete [2022-06-17T10:13:11.189Z] e6fb740bc735: Verifying Checksum [2022-06-17T10:13:11.189Z] e6fb740bc735: Download complete [2022-06-17T10:13:23.601Z] e6fb740bc735: Pull complete [2022-06-17T10:13:23.601Z] 3a77bd46dcc9: Pull complete [2022-06-17T10:13:23.875Z] 355e64cbe906: Pull complete [2022-06-17T10:13:24.149Z] 63ab81a10011: Pull complete [2022-06-17T10:13:30.895Z] 555d1d1c4555: Pull complete [2022-06-17T10:13:33.516Z] 7d9057610161: Pull complete [2022-06-17T10:13:33.516Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-17T10:13:33.516Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-17T10:13:33.516Z] ---> 819e984ddca1 [2022-06-17T10:13:33.516Z] Step 3/13 : ARG MAKE="make build" [2022-06-17T10:13:34.113Z] ---> Running in 3ee026e686c8 [2022-06-17T10:13:34.113Z] Removing intermediate container 3ee026e686c8 [2022-06-17T10:13:34.113Z] ---> 216e504d5a77 [2022-06-17T10:13:34.113Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T10:13:34.384Z] ---> Running in d492bf56a276 [2022-06-17T10:13:34.664Z] Removing intermediate container d492bf56a276 [2022-06-17T10:13:34.664Z] ---> 2e90ece7741a [2022-06-17T10:13:34.664Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T10:13:34.664Z] ---> Running in 78d9576a16b3 [2022-06-17T10:13:34.939Z] Removing intermediate container 78d9576a16b3 [2022-06-17T10:13:34.939Z] ---> a16dde95e58a [2022-06-17T10:13:34.939Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-17T10:13:34.939Z] ---> Running in aabf50dbde25 [2022-06-17T10:13:35.221Z] Removing intermediate container aabf50dbde25 [2022-06-17T10:13:35.221Z] ---> 2b3687e4c4c8 [2022-06-17T10:13:35.221Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T10:13:35.494Z] ---> Running in 95b41d2901e8 [2022-06-17T10:13:38.903Z] Removing intermediate container 95b41d2901e8 [2022-06-17T10:13:38.903Z] ---> 8fe9cdda7195 [2022-06-17T10:13:38.903Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T10:13:38.903Z] ---> Running in fb643a541344 [2022-06-17T10:13:39.505Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T10:13:40.482Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T10:13:41.079Z] OK: 220 MiB in 52 packages [2022-06-17T10:13:42.070Z] Removing intermediate container fb643a541344 [2022-06-17T10:13:42.070Z] ---> 5937dbac0991 [2022-06-17T10:13:42.070Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-17T10:13:42.070Z] ---> Running in a7bfeee33c29 [2022-06-17T10:13:42.345Z] Removing intermediate container a7bfeee33c29 [2022-06-17T10:13:42.345Z] ---> 0031986923da [2022-06-17T10:13:42.345Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-17T10:13:42.949Z] ---> fadcd4b3b535 [2022-06-17T10:13:42.949Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T10:13:42.949Z] ---> Running in d80dcaf028df [2022-06-17T10:14:29.948Z] Removing intermediate container d80dcaf028df [2022-06-17T10:14:29.948Z] ---> 1caaf874b07e [2022-06-17T10:14:29.948Z] Step 12/13 : COPY . . [2022-06-17T10:14:30.552Z] ---> a8ae6479ca6e [2022-06-17T10:14:30.552Z] Step 13/13 : RUN ${MAKE} [2022-06-17T10:14:30.837Z] ---> Running in 0c871b2bcfbb [2022-06-17T10:14:31.826Z] noop [2022-06-17T10:14:32.422Z] Removing intermediate container 0c871b2bcfbb [2022-06-17T10:14:32.422Z] ---> 0d9cdb0e822b [2022-06-17T10:14:32.422Z] Successfully built 0d9cdb0e822b [2022-06-17T10:14:32.422Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:14:32.797Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T10:14:32.798Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:14:33.079Z] prd-ubuntu20.04-docker-arm64-4c-16g-2555 does not seem to be running inside a container [2022-06-17T10:14:33.175Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-17T10:14:34.495Z] $ docker top 5d8896d6c742a24b37864b3203b90c8c9f73f2d0e016a76c699161105d9277e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T10:14:35.422Z] + go version [2022-06-17T10:14:35.422Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-17T10:14:35.449Z] $ docker stop --time=1 5d8896d6c742a24b37864b3203b90c8c9f73f2d0e016a76c699161105d9277e1 [2022-06-17T10:14:37.107Z] $ docker rm -f 5d8896d6c742a24b37864b3203b90c8c9f73f2d0e016a76c699161105d9277e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:14:37.692Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T10:14:37.693Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:14:37.922Z] prd-ubuntu20.04-docker-arm64-4c-16g-2555 does not seem to be running inside a container [2022-06-17T10:14:38.007Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-17T10:14:39.344Z] $ docker top bb3851eebd75a0f2e677c485e15e4a8fb68aed14f58637e6549b4e9834040a30 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T10:14:40.245Z] + make test [2022-06-17T10:14:40.246Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-17T10:14:42.230Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-17T10:16:19.089Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-17T10:16:19.089Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.079s coverage: 1.2% of statements [2022-06-17T10:16:31.480Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.286s coverage: 13.8% of statements [2022-06-17T10:16:31.480Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-17T10:16:31.480Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-17T10:16:58.310Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T10:16:58.310Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T10:16:58.310Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T10:17:02.626Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T10:17:02.643Z] $ docker stop --time=1 bb3851eebd75a0f2e677c485e15e4a8fb68aed14f58637e6549b4e9834040a30 [2022-06-17T10:17:04.378Z] $ docker rm -f bb3851eebd75a0f2e677c485e15e4a8fb68aed14f58637e6549b4e9834040a30 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T10:17:05.345Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T10:17:05.371Z] Warning: overwriting stash ‘coverage-report’ [2022-06-17T10:17:05.862Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T10:17:06.248Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T10:17:06.580Z] + ls -al . [2022-06-17T10:17:06.580Z] total 232 [2022-06-17T10:17:06.580Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 10:17 . [2022-06-17T10:17:06.580Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 10:12 .. [2022-06-17T10:17:06.580Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 10:12 .git [2022-06-17T10:17:06.580Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 10:12 .github [2022-06-17T10:17:06.580Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 17 10:12 .gitignore [2022-06-17T10:17:06.580Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 17 10:12 .golangci.yml [2022-06-17T10:17:06.580Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 17 10:12 Attribution.txt [2022-06-17T10:17:06.580Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 17 10:12 CHANGELOG.md [2022-06-17T10:17:06.580Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 17 10:12 Dockerfile [2022-06-17T10:17:06.580Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 10:12 GOVERNANCE.md [2022-06-17T10:17:06.580Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 17 10:12 Jenkinsfile [2022-06-17T10:17:06.580Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 17 10:12 LICENSE [2022-06-17T10:17:06.580Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 17 10:12 Makefile [2022-06-17T10:17:06.580Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 17 10:12 OWNERS.md [2022-06-17T10:17:06.580Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 17 10:12 README.md [2022-06-17T10:17:06.580Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 10:10 VERSION [2022-06-17T10:17:06.580Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 10:12 bin [2022-06-17T10:17:06.580Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 10:12 cmd [2022-06-17T10:17:06.580Z] -rw-r--r-- 1 jenkins jenkins 59480 Jun 17 10:16 coverage.out [2022-06-17T10:17:06.580Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 10:12 doc [2022-06-17T10:17:06.580Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 17 10:12 go.mod [2022-06-17T10:17:06.580Z] -rw-rw-r-- 1 jenkins jenkins 37502 Jun 17 10:12 go.sum [2022-06-17T10:17:06.580Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 10:12 internal [2022-06-17T10:17:06.580Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 17 10:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:17:06.927Z] + 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=3ab19ee4bec51e252f0261831ff520c146391d69 --label arch=arm64 --label version=0.0.0 . [2022-06-17T10:17:07.217Z] Sending build context to Docker daemon 6.023MB [2022-06-17T10:17:07.217Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T10:17:07.217Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-17T10:17:07.217Z] ---> 0d9cdb0e822b [2022-06-17T10:17:07.217Z] Step 3/26 : ARG MAKE="make build" [2022-06-17T10:17:07.487Z] ---> Running in b532ae4f10b6 [2022-06-17T10:17:07.759Z] Removing intermediate container b532ae4f10b6 [2022-06-17T10:17:07.759Z] ---> d74d0b32233b [2022-06-17T10:17:07.759Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T10:17:07.759Z] ---> Running in 225cc217e355 [2022-06-17T10:17:08.034Z] Removing intermediate container 225cc217e355 [2022-06-17T10:17:08.034Z] ---> d467fc49dfaf [2022-06-17T10:17:08.034Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T10:17:08.034Z] ---> Running in 1edc4af72a00 [2022-06-17T10:17:08.314Z] Removing intermediate container 1edc4af72a00 [2022-06-17T10:17:08.314Z] ---> 17994dadbb35 [2022-06-17T10:17:08.314Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-17T10:17:08.588Z] ---> Running in efeed0839403 [2022-06-17T10:17:08.860Z] Removing intermediate container efeed0839403 [2022-06-17T10:17:08.860Z] ---> 1b26c073d3e5 [2022-06-17T10:17:08.860Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T10:17:08.860Z] ---> Running in d3aafe98a544 [2022-06-17T10:17:10.302Z] Removing intermediate container d3aafe98a544 [2022-06-17T10:17:10.302Z] ---> 0d585c1bc51d [2022-06-17T10:17:10.302Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T10:17:10.575Z] ---> Running in ccc45707134e [2022-06-17T10:17:11.554Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T10:17:12.529Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T10:17:13.122Z] OK: 220 MiB in 52 packages [2022-06-17T10:17:14.109Z] Removing intermediate container ccc45707134e [2022-06-17T10:17:14.109Z] ---> ea2a1d427684 [2022-06-17T10:17:14.109Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-17T10:17:14.109Z] ---> Running in 4d9797ad503a [2022-06-17T10:17:14.383Z] Removing intermediate container 4d9797ad503a [2022-06-17T10:17:14.383Z] ---> 44fe2627a4a2 [2022-06-17T10:17:14.383Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-17T10:17:15.014Z] ---> 8903b7c1a9b6 [2022-06-17T10:17:15.014Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T10:17:15.014Z] ---> Running in 5aa759b14532 [2022-06-17T10:17:17.012Z] Removing intermediate container 5aa759b14532 [2022-06-17T10:17:17.012Z] ---> 5b40d47ae8bb [2022-06-17T10:17:17.012Z] Step 12/26 : COPY . . [2022-06-17T10:17:18.004Z] ---> 9fe94977e37a [2022-06-17T10:17:18.004Z] Step 13/26 : RUN ${MAKE} [2022-06-17T10:17:18.004Z] ---> Running in 87cf3b23d622 [2022-06-17T10:17:18.990Z] 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-17T10:19:40.921Z] Removing intermediate container 87cf3b23d622 [2022-06-17T10:19:40.921Z] ---> 45a1cbd14421 [2022-06-17T10:19:40.921Z] Step 14/26 : FROM alpine:3.15 [2022-06-17T10:19:40.921Z] 3.15: Pulling from library/alpine [2022-06-17T10:19:40.921Z] 9981e73032c8: Pulling fs layer [2022-06-17T10:19:40.921Z] 9981e73032c8: Verifying Checksum [2022-06-17T10:19:40.921Z] 9981e73032c8: Download complete [2022-06-17T10:19:40.921Z] 9981e73032c8: Pull complete [2022-06-17T10:19:40.921Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-17T10:19:40.921Z] Status: Downloaded newer image for alpine:3.15 [2022-06-17T10:19:40.921Z] ---> 3fb3c9af89a9 [2022-06-17T10:19:40.921Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-17T10:19:40.921Z] ---> Running in b45a72b4550c [2022-06-17T10:19:40.921Z] Removing intermediate container b45a72b4550c [2022-06-17T10:19:40.921Z] ---> 1359be16812f [2022-06-17T10:19:40.921Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-17T10:19:40.921Z] ---> Running in a28cf349cd01 [2022-06-17T10:19:40.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T10:19:40.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T10:19:40.921Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-17T10:19:40.921Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-17T10:19:40.921Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-17T10:19:40.921Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-17T10:19:40.921Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-17T10:19:40.921Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-17T10:19:40.921Z] Executing busybox-1.34.1-r5.trigger [2022-06-17T10:19:40.921Z] OK: 8 MiB in 20 packages [2022-06-17T10:19:40.921Z] Removing intermediate container a28cf349cd01 [2022-06-17T10:19:40.921Z] ---> 2e0e4f23134f [2022-06-17T10:19:40.921Z] Step 17/26 : WORKDIR / [2022-06-17T10:19:40.921Z] ---> Running in 0218fd0d72cf [2022-06-17T10:19:40.921Z] Removing intermediate container 0218fd0d72cf [2022-06-17T10:19:40.921Z] ---> 23a99f9b2f11 [2022-06-17T10:19:40.921Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-17T10:19:40.921Z] ---> 41095afc4559 [2022-06-17T10:19:40.921Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-17T10:19:40.921Z] ---> 6476a53cc805 [2022-06-17T10:19:40.921Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-17T10:19:40.921Z] ---> e44ef99765a5 [2022-06-17T10:19:40.921Z] Step 21/26 : EXPOSE 59984 [2022-06-17T10:19:40.921Z] ---> Running in 3222cf424dcc [2022-06-17T10:19:40.921Z] Removing intermediate container 3222cf424dcc [2022-06-17T10:19:40.921Z] ---> 601c12e7ba45 [2022-06-17T10:19:40.921Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-17T10:19:40.921Z] ---> Running in 296e9f84bb20 [2022-06-17T10:19:40.921Z] Removing intermediate container 296e9f84bb20 [2022-06-17T10:19:40.921Z] ---> ad9c921999a7 [2022-06-17T10:19:40.921Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T10:19:40.921Z] ---> Running in 77f456a0ce43 [2022-06-17T10:19:40.921Z] Removing intermediate container 77f456a0ce43 [2022-06-17T10:19:40.921Z] ---> 8593480f4e00 [2022-06-17T10:19:40.921Z] Step 24/26 : LABEL arch=arm64 [2022-06-17T10:19:40.921Z] ---> Running in 8a17ec962752 [2022-06-17T10:19:40.921Z] Removing intermediate container 8a17ec962752 [2022-06-17T10:19:40.921Z] ---> 2e97614aa1d9 [2022-06-17T10:19:40.921Z] Step 25/26 : LABEL git_sha=3ab19ee4bec51e252f0261831ff520c146391d69 [2022-06-17T10:19:40.921Z] ---> Running in 0b7a8270a9c7 [2022-06-17T10:19:40.921Z] Removing intermediate container 0b7a8270a9c7 [2022-06-17T10:19:40.921Z] ---> 2ac994815f80 [2022-06-17T10:19:40.921Z] Step 26/26 : LABEL version=0.0.0 [2022-06-17T10:19:40.921Z] ---> Running in ab024a5f8173 [2022-06-17T10:19:40.921Z] Removing intermediate container ab024a5f8173 [2022-06-17T10:19:40.921Z] ---> 5048184ead66 [2022-06-17T10:19:40.921Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T10:19:40.921Z] Successfully built 5048184ead66 [2022-06-17T10:19:40.921Z] 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-17T10:19:41.383Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T10:19:41.383Z] [2022-06-17T10:19:41.383Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:19:41.743Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T10:19:42.021Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-17T10:19:42.021Z] 8998bd30e6a1: Pulling fs layer [2022-06-17T10:19:42.021Z] 04944245beec: Pulling fs layer [2022-06-17T10:19:42.021Z] 699f458cf7ca: Pulling fs layer [2022-06-17T10:19:42.021Z] 765212b225bb: Pulling fs layer [2022-06-17T10:19:42.021Z] f23df028b6ca: Pulling fs layer [2022-06-17T10:19:42.021Z] d65c8cfc05b1: Pulling fs layer [2022-06-17T10:19:42.021Z] 2437ff75d9bd: Pulling fs layer [2022-06-17T10:19:42.021Z] 765212b225bb: Waiting [2022-06-17T10:19:42.021Z] f23df028b6ca: Waiting [2022-06-17T10:19:42.021Z] d65c8cfc05b1: Waiting [2022-06-17T10:19:42.021Z] 2437ff75d9bd: Waiting [2022-06-17T10:19:42.021Z] 04944245beec: Verifying Checksum [2022-06-17T10:19:42.021Z] 04944245beec: Download complete [2022-06-17T10:19:42.021Z] 765212b225bb: Verifying Checksum [2022-06-17T10:19:42.021Z] 765212b225bb: Download complete [2022-06-17T10:19:42.021Z] f23df028b6ca: Verifying Checksum [2022-06-17T10:19:42.021Z] f23df028b6ca: Download complete [2022-06-17T10:19:42.021Z] d65c8cfc05b1: Verifying Checksum [2022-06-17T10:19:42.021Z] d65c8cfc05b1: Download complete [2022-06-17T10:19:42.298Z] 699f458cf7ca: Verifying Checksum [2022-06-17T10:19:42.298Z] 699f458cf7ca: Download complete [2022-06-17T10:19:42.576Z] 8998bd30e6a1: Verifying Checksum [2022-06-17T10:19:42.576Z] 8998bd30e6a1: Download complete [2022-06-17T10:19:45.203Z] 2437ff75d9bd: Download complete [2022-06-17T10:19:47.190Z] 8998bd30e6a1: Pull complete [2022-06-17T10:19:47.466Z] 04944245beec: Pull complete [2022-06-17T10:19:48.905Z] 699f458cf7ca: Pull complete [2022-06-17T10:19:49.180Z] 765212b225bb: Pull complete [2022-06-17T10:19:50.169Z] f23df028b6ca: Pull complete [2022-06-17T10:19:50.444Z] d65c8cfc05b1: Pull complete [2022-06-17T10:20:05.541Z] 2437ff75d9bd: Pull complete [2022-06-17T10:20:05.541Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-17T10:20:05.541Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T10:20:05.541Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:20:05.813Z] prd-ubuntu20.04-docker-arm64-4c-16g-2555 does not seem to be running inside a container [2022-06-17T10:20:05.896Z] $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-17T10:20:08.658Z] $ docker top d9e51986aa16d6f333c9c78ddf9243edb7c9c9ed689d3c18a7491bf078ff1edd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:20:09.590Z] ---> job-cost.sh [2022-06-17T10:20:09.590Z] lf-activate-venv: SKIPPING [2022-06-17T10:20:09.590Z] INFO: No Stack... [2022-06-17T10:20:09.866Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-17T10:20:10.848Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T10:20:11.518Z] + cat /w/workspace/device-onvif-camera/7/archives/cost.csv [2022-06-17T10:20:11.518Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T10:20:11.584Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-77-7-stack-cost] [2022-06-17T10:20:11.591Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-77-7-stack-cost] did not exist. Created. [2022-06-17T10:20:11.591Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-77-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T10:20:12.274Z] /w/workspace/device-onvif-camera/7@tmp/durable-a924c3e4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-17T10:20:12.962Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-17T10:20:12.990Z] Warning: overwriting stash ‘stack-cost’ [2022-06-17T10:20:13.045Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T10:20:13.054Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-77-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T10:20:13.076Z] $ docker stop --time=1 d9e51986aa16d6f333c9c78ddf9243edb7c9c9ed689d3c18a7491bf078ff1edd [2022-06-17T10:20:14.640Z] $ docker rm -f d9e51986aa16d6f333c9c78ddf9243edb7c9c9ed689d3c18a7491bf078ff1edd [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-17T10:20:15.117Z] provisioning config files... [2022-06-17T10:20:15.125Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-77@tmp/config1037723744889866485tmp [Pipeline] { [Pipeline] sh [2022-06-17T10:20:15.423Z] + set +x [2022-06-17T10:20:15.423Z] + curl -s https://codecov.io/bash [2022-06-17T10:20:15.423Z] + bash -s -- [2022-06-17T10:20:15.423Z] [2022-06-17T10:20:15.423Z] _____ _ [2022-06-17T10:20:15.423Z] / ____| | | [2022-06-17T10:20:15.423Z] | | ___ __| | ___ ___ _____ __ [2022-06-17T10:20:15.423Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-17T10:20:15.423Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-17T10:20:15.423Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-17T10:20:15.423Z] Bash-1.0.6 [2022-06-17T10:20:15.423Z] [2022-06-17T10:20:15.423Z] [2022-06-17T10:20:15.423Z] ==> git version 2.25.1 found [2022-06-17T10:20:15.423Z] ==> 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-17T10:20:15.423Z] Release-Date: 2020-01-08 [2022-06-17T10:20:15.423Z] 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-17T10:20:15.423Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-17T10:20:15.423Z] ==> Jenkins CI detected. [2022-06-17T10:20:15.423Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-77 [2022-06-17T10:20:15.423Z] project root: . [2022-06-17T10:20:15.423Z] --> token set from env [2022-06-17T10:20:15.423Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-17T10:20:15.423Z] ==> Running gcov in . (disable via -X gcov) [2022-06-17T10:20:15.424Z] ==> Python coveragepy not found [2022-06-17T10:20:15.424Z] ==> Searching for coverage reports in: [2022-06-17T10:20:15.424Z] + . [2022-06-17T10:20:15.424Z] -> Found 1 reports [2022-06-17T10:20:15.424Z] ==> Detecting git/mercurial file structure [2022-06-17T10:20:15.424Z] ==> Reading reports [2022-06-17T10:20:15.424Z] + ./coverage.out bytes=59480 [2022-06-17T10:20:15.424Z] ==> Appending adjustments [2022-06-17T10:20:15.424Z] https://docs.codecov.io/docs/fixing-reports [2022-06-17T10:20:15.684Z] + Found adjustments [2022-06-17T10:20:15.684Z] ==> Gzipping contents [2022-06-17T10:20:15.684Z] 8.0K /tmp/codecov.eomLT7.gz [2022-06-17T10:20:15.684Z] ==> Uploading reports [2022-06-17T10:20:15.684Z] url: https://codecov.io [2022-06-17T10:20:15.684Z] query: branch=PR-77&commit=a765ad747df4f73c660bcbdf51b401c1e81ac212&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-77%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=77&job=&cmd_args= [2022-06-17T10:20:15.684Z] -> Pinging Codecov [2022-06-17T10:20:15.684Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-77&commit=a765ad747df4f73c660bcbdf51b401c1e81ac212&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-77%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=77&job=&cmd_args= [2022-06-17T10:20:15.945Z] -> Uploading to [2022-06-17T10:20:15.945Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-17/F29A59C45E3A92E06B3E522C9905F8EF/a765ad747df4f73c660bcbdf51b401c1e81ac212/0b3208e3-34bc-477e-8c18-daca94645bd9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220617T102015Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0d7c1f4abfd26a2a89cd6ad2a1c350d288e27d00033fdacc67e83bc3f42e576e [2022-06-17T10:20:15.945Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T10:20:15.945Z] Dload Upload Total Spent Left Speed [2022-06-17T10:20:16.207Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7656 0 0 100 7656 0 33876 --:--:-- --:--:-- --:--:-- 33876 [2022-06-17T10:20:16.207Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/a765ad747df4f73c660bcbdf51b401c1e81ac212 [Pipeline] } [2022-06-17T10:20:16.216Z] 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-17T10:20:16.941Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-77/archives ] [2022-06-17T10:20:16.941Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-77/archives [2022-06-17T10:20:16.941Z] total 16 [2022-06-17T10:20:16.941Z] drwxr-xr-x 3 root root 4096 Jun 17 10:12 . [2022-06-17T10:20:16.941Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 10:12 .. [2022-06-17T10:20:16.941Z] drwxr-xr-x 2 root root 4096 Jun 17 10:12 cost [2022-06-17T10:20:16.941Z] -rw-r--r-- 1 root root 89 Jun 17 10:12 cost.csv [2022-06-17T10:20:16.941Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-77/archives [2022-06-17T10:20:16.941Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-77/archives [2022-06-17T10:20:16.941Z] total 16 [2022-06-17T10:20:16.941Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 10:12 . [2022-06-17T10:20:16.941Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 10:12 .. [2022-06-17T10:20:16.941Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 17 10:12 cost [2022-06-17T10:20:16.941Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 17 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:20:17.235Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:20:18.095Z] ---> package-listing.sh [2022-06-17T10:20:18.096Z] ++ facter osfamily [2022-06-17T10:20:18.096Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-17T10:20:18.356Z] + OS_FAMILY=debian [2022-06-17T10:20:18.356Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-77 [2022-06-17T10:20:18.356Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-17T10:20:18.356Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-17T10:20:18.356Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-17T10:20:18.356Z] + PACKAGES=/tmp/packages_start.txt [2022-06-17T10:20:18.356Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-77 ']' [2022-06-17T10:20:18.356Z] + PACKAGES=/tmp/packages_end.txt [2022-06-17T10:20:18.356Z] + case "${OS_FAMILY}" in [2022-06-17T10:20:18.356Z] + dpkg -l [2022-06-17T10:20:18.356Z] + grep '^ii' [2022-06-17T10:20:18.356Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-17T10:20:18.356Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-17T10:20:18.356Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-17T10:20:18.356Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-77 ']' [2022-06-17T10:20:18.356Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-77/archives/ [2022-06-17T10:20:18.356Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-77/archives/ [Pipeline] echo [2022-06-17T10:20:18.369Z] 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-77/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-17T10:20:18.648Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:20:19.217Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T10:20:19.217Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:20:19.293Z] prd-ubuntu20.04-docker-8c-8g-2553 does not seem to be running inside a container [2022-06-17T10:20:19.333Z] $ 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-77/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-77 -v /w/workspace/oundry_device-onvif-camera_PR-77:/w/workspace/oundry_device-onvif-camera_PR-77:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-77@tmp:/w/workspace/oundry_device-onvif-camera_PR-77@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-17T10:20:19.553Z] $ docker top b6f726a9cc04878b01ee9ffc3757f4d0997f6f22d04cf3e2e7c96b83bf138614 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T10:20:19.909Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-17T10:20:20.193Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-17T10:20:20.479Z] + ls /var/log/sa-host [2022-06-17T10:20:20.479Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T10:20:20.601Z] provisioning config files... [2022-06-17T10:20:20.612Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-77@tmp/config2064980497057939034tmp [Pipeline] { [Pipeline] echo [2022-06-17T10:20:20.629Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:20:20.919Z] ---> create-netrc.sh [Pipeline] } [2022-06-17T10:20:20.926Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:20:21.256Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-17T10:20:21.264Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:20:21.549Z] ---> sudo-logs.sh [2022-06-17T10:20:21.549Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-17T10:20:21.577Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:20:21.860Z] ---> job-cost.sh [2022-06-17T10:20:21.860Z] lf-activate-venv: SKIPPING [2022-06-17T10:20:21.860Z] DEBUG: total: 0.2199999988079071 [2022-06-17T10:20:21.860Z] INFO: Retrieving Stack Cost... [2022-06-17T10:20:22.431Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T10:20:22.692Z] INFO: Archiving Costs [Pipeline] echo [2022-06-17T10:20:22.703Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:20:22.985Z] ---> logs-deploy.sh [2022-06-17T10:20:22.985Z] lf-activate-venv: SKIPPING [2022-06-17T10:20:22.985Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-77/7 [2022-06-17T10:20:22.985Z] INFO: archiving workspace using pattern(s): [2022-06-17T10:20:23.927Z] Archives upload complete. [2022-06-17T10:20:23.927Z] INFO: archiving logs to Nexus