Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 07d7568c4aa69296c110ad64a28331e8173121ad rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from 07d7568c4aa69296c110ad64a28331e8173121ad 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-ssh4378788425760904164.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh12068417385843412650.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-125/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-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3093924207308232853.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh8786918102356041359.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/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-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10753883101629627346.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1281 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-125 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 07d7568c4aa69296c110ad64a28331e8173121ad into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing 3ef24544b7f1728fc90fb329f8d3cbcb522656bf Checking out Revision 3ef24544b7f1728fc90fb329f8d3cbcb522656bf (PR-125) > git config core.sparsecheckout # timeout=10 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 07d7568c4aa69296c110ad64a28331e8173121ad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3ef24544b7f1728fc90fb329f8d3cbcb522656bf # timeout=10 Commit message: "Merge commit '07d7568c4aa69296c110ad64a28331e8173121ad' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk f3595103bc07ebe8b23326f08c660f113c1e4c2e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-27T02:11:33.264Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-27T02:11:33.315Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-27T02:11:33.334Z] ========================================================= [2022-09-27T02:11:33.334Z] EdgeX Global Pipelines Version Info [2022-09-27T02:11:33.334Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-27T02:11:34.077Z] ------------------- [2022-09-27T02:11:34.077Z] stable info: [2022-09-27T02:11:34.077Z] ------------------- [2022-09-27T02:11:34.077Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-27T02:11:34.077Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T02:11:34.077Z] Message: update stable to v1.0.239 [2022-09-27T02:11:34.656Z] ------------------- [2022-09-27T02:11:34.656Z] experimental info: [2022-09-27T02:11:34.656Z] ------------------- [2022-09-27T02:11:34.656Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-27T02:11:34.656Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T02:11:34.656Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-27T02:11:34.875Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-27T02:11:34.884Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-27T02:11:34.891Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-27T02:11:34.899Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-27T02:11:34.907Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-27T02:11:34.914Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-27T02:11:34.922Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-27T02:11:34.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-27T02:11:34.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-27T02:11:34.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-27T02:11:34.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-27T02:11:34.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-27T02:11:34.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-27T02:11:34.994Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-27T02:11:35.001Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T02:11:35.009Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T02:11:35.017Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T02:11:35.025Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T02:11:35.032Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-27T02:11:35.040Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-27T02:11:35.056Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-27T02:11:35.065Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-27T02:11:35.074Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-27T02:11:35.082Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-27T02:11:35.090Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-27T02:11:35.099Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-27T02:11:35.107Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-27T02:11:35.115Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo [2022-09-27T02:11:35.129Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo [2022-09-27T02:11:35.139Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo [2022-09-27T02:11:35.150Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3ef24544b7f1728fc90fb329f8d3cbcb522656bf [Pipeline] echo [2022-09-27T02:11:35.163Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3ef2454 [Pipeline] echo [2022-09-27T02:11:35.174Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T02:11:35.215Z] provisioning config files... [2022-09-27T02:11:35.232Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config2612903185841217566tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T02:11:35.538Z] ---> docker-login.sh [2022-09-27T02:11:35.538Z] nexus3.edgexfoundry.org:10001 [2022-09-27T02:11:35.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:11:35.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:11:35.802Z] Configure a credential helper to remove this warning. See [2022-09-27T02:11:35.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:11:35.802Z] [2022-09-27T02:11:35.802Z] Login Succeeded [2022-09-27T02:11:35.802Z] nexus3.edgexfoundry.org:10002 [2022-09-27T02:11:35.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:11:35.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:11:35.802Z] Configure a credential helper to remove this warning. See [2022-09-27T02:11:35.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:11:35.802Z] [2022-09-27T02:11:35.802Z] Login Succeeded [2022-09-27T02:11:36.063Z] nexus3.edgexfoundry.org:10003 [2022-09-27T02:11:36.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:11:36.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:11:36.064Z] Configure a credential helper to remove this warning. See [2022-09-27T02:11:36.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:11:36.064Z] [2022-09-27T02:11:36.064Z] Login Succeeded [2022-09-27T02:11:36.064Z] nexus3.edgexfoundry.org:10004 [2022-09-27T02:11:36.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:11:36.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:11:36.064Z] Configure a credential helper to remove this warning. See [2022-09-27T02:11:36.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:11:36.064Z] [2022-09-27T02:11:36.064Z] Login Succeeded [2022-09-27T02:11:36.064Z] docker.io [2022-09-27T02:11:36.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:11:36.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:11:36.585Z] Configure a credential helper to remove this warning. See [2022-09-27T02:11:36.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:11:36.585Z] [2022-09-27T02:11:36.585Z] Login Succeeded [2022-09-27T02:11:36.585Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T02:11:36.593Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-27T02:11:36.946Z] + git rev-list -1 --merges 3ef24544b7f1728fc90fb329f8d3cbcb522656bf~1..3ef24544b7f1728fc90fb329f8d3cbcb522656bf [Pipeline] echo [2022-09-27T02:11:36.972Z] -----------> git rev-list -1 --merges 3ef24544b7f1728fc90fb329f8d3cbcb522656bf~1..3ef24544b7f1728fc90fb329f8d3cbcb522656bf 3ef24544b7f1728fc90fb329f8d3cbcb522656bf [2022-09-27T02:11:36.972Z] 3ef24544b7f1728fc90fb329f8d3cbcb522656bf [false] [Pipeline] sh [2022-09-27T02:11:37.260Z] + git log --format=format:%s -1 3ef24544b7f1728fc90fb329f8d3cbcb522656bf [Pipeline] echo [2022-09-27T02:11:37.274Z] ========================================================= [2022-09-27T02:11:37.274Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-27T02:11:37.274Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T02:11:37.598Z] + git log --format=format:%s -1 3ef24544b7f1728fc90fb329f8d3cbcb522656bf [Pipeline] echo [2022-09-27T02:11:37.609Z] [semverPrep] GIT_COMMIT: 3ef24544b7f1728fc90fb329f8d3cbcb522656bf, Commit Message: Merge commit '07d7568c4aa69296c110ad64a28331e8173121ad' into HEAD [Pipeline] echo [2022-09-27T02:11:37.619Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-27T02:11:37.956Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-27T02:11:37.956Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-27T02:11:37.956Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-27T02:11:37.956Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-27T02:11:37.956Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-27T02:11:37.956Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-27T02:11:37.956Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T02:11:38.302Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T02:11:38.302Z] [2022-09-27T02:11:38.302Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T02:11:38.649Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T02:11:38.649Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-27T02:11:38.649Z] b85a868b505f: Pulling fs layer [2022-09-27T02:11:38.649Z] e2be974225ed: Pulling fs layer [2022-09-27T02:11:38.649Z] 339a4e72a1f5: Pulling fs layer [2022-09-27T02:11:38.649Z] 988bab9f4d93: Pulling fs layer [2022-09-27T02:11:38.649Z] 1469e6f7b9e6: Pulling fs layer [2022-09-27T02:11:38.649Z] eaf3925da568: Pulling fs layer [2022-09-27T02:11:38.649Z] bab4dde63d76: Pulling fs layer [2022-09-27T02:11:38.649Z] bde34c3a00c8: Pulling fs layer [2022-09-27T02:11:38.649Z] b352a97aabf1: Pulling fs layer [2022-09-27T02:11:38.649Z] 4872d77fe225: Pulling fs layer [2022-09-27T02:11:38.649Z] 5851b861e8e6: Pulling fs layer [2022-09-27T02:11:38.649Z] 4872d77fe225: Waiting [2022-09-27T02:11:38.649Z] bab4dde63d76: Waiting [2022-09-27T02:11:38.649Z] b352a97aabf1: Waiting [2022-09-27T02:11:38.649Z] 5851b861e8e6: Waiting [2022-09-27T02:11:38.649Z] 988bab9f4d93: Waiting [2022-09-27T02:11:38.649Z] 1469e6f7b9e6: Waiting [2022-09-27T02:11:38.649Z] eaf3925da568: Waiting [2022-09-27T02:11:38.649Z] e2be974225ed: Download complete [2022-09-27T02:11:38.649Z] 1469e6f7b9e6: Verifying Checksum [2022-09-27T02:11:38.649Z] 1469e6f7b9e6: Download complete [2022-09-27T02:11:38.649Z] eaf3925da568: Verifying Checksum [2022-09-27T02:11:38.649Z] eaf3925da568: Download complete [2022-09-27T02:11:38.911Z] 339a4e72a1f5: Verifying Checksum [2022-09-27T02:11:38.911Z] 339a4e72a1f5: Download complete [2022-09-27T02:11:38.911Z] bde34c3a00c8: Verifying Checksum [2022-09-27T02:11:38.911Z] bde34c3a00c8: Download complete [2022-09-27T02:11:38.911Z] b352a97aabf1: Download complete [2022-09-27T02:11:38.911Z] 4872d77fe225: Download complete [2022-09-27T02:11:38.911Z] 5851b861e8e6: Download complete [2022-09-27T02:11:38.911Z] b85a868b505f: Verifying Checksum [2022-09-27T02:11:38.911Z] b85a868b505f: Download complete [2022-09-27T02:11:39.173Z] bab4dde63d76: Verifying Checksum [2022-09-27T02:11:39.173Z] bab4dde63d76: Download complete [2022-09-27T02:11:40.108Z] b85a868b505f: Pull complete [2022-09-27T02:11:40.366Z] e2be974225ed: Pull complete [2022-09-27T02:11:40.935Z] 339a4e72a1f5: Pull complete [2022-09-27T02:11:40.935Z] 988bab9f4d93: Pull complete [2022-09-27T02:11:41.195Z] 1469e6f7b9e6: Pull complete [2022-09-27T02:11:41.195Z] eaf3925da568: Pull complete [2022-09-27T02:11:43.109Z] bab4dde63d76: Pull complete [2022-09-27T02:11:43.109Z] bde34c3a00c8: Pull complete [2022-09-27T02:11:43.109Z] b352a97aabf1: Pull complete [2022-09-27T02:11:43.377Z] 4872d77fe225: Pull complete [2022-09-27T02:11:43.377Z] 5851b861e8e6: Pull complete [2022-09-27T02:11:43.377Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-27T02:11:43.377Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T02:11:43.377Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T02:11:43.470Z] prd-ubuntu20.04-docker-8c-8g-1281 does not seem to be running inside a container [2022-09-27T02:11:43.503Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-27T02:11:44.793Z] $ docker top 3afab8373add5da0b695b6671415a8da821b7ec4df786026d644c28a18e4f4b4 -eo pid,comm [2022-09-27T02:11:44.839Z] 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-09-27T02:11:44.839Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-27T02:11:44.872Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T02:11:44.872Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T02:11:44.983Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T02:11:44.989Z] $ docker exec 3afab8373add5da0b695b6671415a8da821b7ec4df786026d644c28a18e4f4b4 ssh-agent [2022-09-27T02:11:45.090Z] SSH_AUTH_SOCK=/tmp/ssh-11djkzFM17Ec/agent.32 [2022-09-27T02:11:45.090Z] SSH_AGENT_PID=38 [2022-09-27T02:11:45.098Z] Running ssh-add (command line suppressed) [2022-09-27T02:11:45.218Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_14773265368324892430.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_14773265368324892430.key) [2022-09-27T02:11:45.231Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T02:11:45.518Z] + git tag --points-at HEAD [Pipeline] } [2022-09-27T02:11:45.535Z] $ docker exec --env ******** --env ******** 3afab8373add5da0b695b6671415a8da821b7ec4df786026d644c28a18e4f4b4 ssh-agent -k [2022-09-27T02:11:45.642Z] unset SSH_AUTH_SOCK; [2022-09-27T02:11:45.643Z] unset SSH_AGENT_PID; [2022-09-27T02:11:45.643Z] echo Agent pid 38 killed; [2022-09-27T02:11:45.651Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-27T02:11:45.678Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T02:11:45.678Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T02:11:45.796Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T02:11:45.801Z] $ docker exec 3afab8373add5da0b695b6671415a8da821b7ec4df786026d644c28a18e4f4b4 ssh-agent [2022-09-27T02:11:45.932Z] SSH_AUTH_SOCK=/tmp/ssh-C813kajvMcEE/agent.70 [2022-09-27T02:11:45.932Z] SSH_AGENT_PID=76 [2022-09-27T02:11:45.937Z] Running ssh-add (command line suppressed) [2022-09-27T02:11:46.052Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_14914138418882458516.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_14914138418882458516.key) [2022-09-27T02:11:46.066Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T02:11:46.352Z] + git semver init [2022-09-27T02:11:46.611Z] 2022-09-27 02:11:46,536 [run_init] DEBUG init version:0.0.0 force:False [2022-09-27T02:11:46.611Z] 2022-09-27 02:11:46,537 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-09-27T02:11:46.611Z] 2022-09-27 02:11:46,537 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-09-27T02:11:46.611Z] 2022-09-27 02:11:46,538 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-125/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-125, universal_newlines=False, shell=None, istream=None) [2022-09-27T02:11:47.549Z] 2022-09-27 02:11:47,502 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude [2022-09-27T02:11:47.549Z] 2022-09-27 02:11:47,503 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 with force:False [2022-09-27T02:11:47.549Z] 2022-09-27 02:11:47,503 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-09-27T02:11:47.549Z] 2022-09-27 02:11:47,507 [execute] INFO git cat-file --batch-check [2022-09-27T02:11:47.549Z] 2022-09-27 02:11:47,508 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T02:11:47.549Z] 2022-09-27 02:11:47,515 [execute] INFO git cat-file --batch [2022-09-27T02:11:47.549Z] 2022-09-27 02:11:47,515 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T02:11:47.549Z] 2022-09-27 02:11:47,518 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-09-27T02:11:47.549Z] 0.0.0 [Pipeline] } [2022-09-27T02:11:47.561Z] $ docker exec --env ******** --env ******** 3afab8373add5da0b695b6671415a8da821b7ec4df786026d644c28a18e4f4b4 ssh-agent -k [2022-09-27T02:11:47.667Z] unset SSH_AUTH_SOCK; [2022-09-27T02:11:47.667Z] unset SSH_AGENT_PID; [2022-09-27T02:11:47.668Z] echo Agent pid 76 killed; [2022-09-27T02:11:47.675Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-27T02:11:47.978Z] + git semver [Pipeline] } [2022-09-27T02:11:48.253Z] $ docker stop --time=1 3afab8373add5da0b695b6671415a8da821b7ec4df786026d644c28a18e4f4b4 [2022-09-27T02:11:49.572Z] $ docker rm -f 3afab8373add5da0b695b6671415a8da821b7ec4df786026d644c28a18e4f4b4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T02:11:49.911Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-27T02:11:50.076Z] Stashed 1 file(s) [Pipeline] echo [2022-09-27T02:11:50.079Z] [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-09-27T02:11:50.164Z] provisioning config files... [2022-09-27T02:11:50.173Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config11715265636586770078tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T02:11:50.466Z] ---> docker-login.sh [2022-09-27T02:11:50.466Z] nexus3.edgexfoundry.org:10001 [2022-09-27T02:11:50.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:11:50.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:11:50.466Z] Configure a credential helper to remove this warning. See [2022-09-27T02:11:50.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:11:50.466Z] [2022-09-27T02:11:50.466Z] Login Succeeded [2022-09-27T02:11:50.466Z] nexus3.edgexfoundry.org:10002 [2022-09-27T02:11:50.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:11:50.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:11:50.466Z] Configure a credential helper to remove this warning. See [2022-09-27T02:11:50.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:11:50.466Z] [2022-09-27T02:11:50.466Z] Login Succeeded [2022-09-27T02:11:50.466Z] nexus3.edgexfoundry.org:10003 [2022-09-27T02:11:50.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:11:50.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:11:50.727Z] Configure a credential helper to remove this warning. See [2022-09-27T02:11:50.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:11:50.727Z] [2022-09-27T02:11:50.727Z] Login Succeeded [2022-09-27T02:11:50.727Z] nexus3.edgexfoundry.org:10004 [2022-09-27T02:11:50.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:11:50.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:11:50.727Z] Configure a credential helper to remove this warning. See [2022-09-27T02:11:50.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:11:50.727Z] [2022-09-27T02:11:50.727Z] Login Succeeded [2022-09-27T02:11:50.727Z] docker.io [2022-09-27T02:11:50.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:11:51.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:11:51.245Z] Configure a credential helper to remove this warning. See [2022-09-27T02:11:51.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:11:51.245Z] [2022-09-27T02:11:51.245Z] Login Succeeded [2022-09-27T02:11:51.245Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T02:11:51.253Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T02:11:51.308Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T02:11:51.318Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T02:11:51.324Z] ========================================================= [2022-09-27T02:11:51.324Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-27T02:11:51.324Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T02:11:51.627Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-27T02:11:51.627Z] Sending build context to Docker daemon 20.72MB [2022-09-27T02:11:51.627Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T02:11:51.627Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-27T02:11:51.888Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-27T02:11:51.888Z] 2408cc74d12b: Pulling fs layer [2022-09-27T02:11:51.888Z] ea60b727a1ce: Pulling fs layer [2022-09-27T02:11:51.888Z] 30c4a7721957: Pulling fs layer [2022-09-27T02:11:51.888Z] 370296b7ddb6: Pulling fs layer [2022-09-27T02:11:51.888Z] 7c6cee850709: Pulling fs layer [2022-09-27T02:11:51.888Z] 39a5fcdaea64: Pulling fs layer [2022-09-27T02:11:51.888Z] d94ebbe4e438: Pulling fs layer [2022-09-27T02:11:51.888Z] bcfd1f05c69d: Pulling fs layer [2022-09-27T02:11:51.888Z] 59ccb84bbe0f: Pulling fs layer [2022-09-27T02:11:51.888Z] 7c6cee850709: Waiting [2022-09-27T02:11:51.888Z] 59ccb84bbe0f: Waiting [2022-09-27T02:11:51.888Z] 39a5fcdaea64: Waiting [2022-09-27T02:11:51.888Z] bcfd1f05c69d: Waiting [2022-09-27T02:11:51.888Z] d94ebbe4e438: Waiting [2022-09-27T02:11:51.888Z] 370296b7ddb6: Waiting [2022-09-27T02:11:51.888Z] 30c4a7721957: Verifying Checksum [2022-09-27T02:11:51.888Z] 30c4a7721957: Download complete [2022-09-27T02:11:51.888Z] ea60b727a1ce: Verifying Checksum [2022-09-27T02:11:51.888Z] ea60b727a1ce: Download complete [2022-09-27T02:11:51.888Z] 7c6cee850709: Verifying Checksum [2022-09-27T02:11:51.888Z] 39a5fcdaea64: Download complete [2022-09-27T02:11:51.888Z] 2408cc74d12b: Download complete [2022-09-27T02:11:51.888Z] d94ebbe4e438: Verifying Checksum [2022-09-27T02:11:51.888Z] d94ebbe4e438: Download complete [2022-09-27T02:11:51.888Z] 2408cc74d12b: Pull complete [2022-09-27T02:11:52.148Z] ea60b727a1ce: Pull complete [2022-09-27T02:11:52.148Z] 30c4a7721957: Pull complete [2022-09-27T02:11:52.408Z] 59ccb84bbe0f: Verifying Checksum [2022-09-27T02:11:52.408Z] 59ccb84bbe0f: Download complete [2022-09-27T02:11:52.666Z] 370296b7ddb6: Verifying Checksum [2022-09-27T02:11:52.666Z] 370296b7ddb6: Download complete [2022-09-27T02:11:52.666Z] bcfd1f05c69d: Verifying Checksum [2022-09-27T02:11:56.852Z] 370296b7ddb6: Pull complete [2022-09-27T02:11:56.852Z] 7c6cee850709: Pull complete [2022-09-27T02:11:56.852Z] 39a5fcdaea64: Pull complete [2022-09-27T02:11:56.852Z] d94ebbe4e438: Pull complete [2022-09-27T02:11:58.753Z] bcfd1f05c69d: Pull complete [2022-09-27T02:11:59.688Z] 59ccb84bbe0f: Pull complete [2022-09-27T02:11:59.688Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-27T02:11:59.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-27T02:11:59.688Z] ---> a4fb48ad2a94 [2022-09-27T02:11:59.688Z] Step 3/13 : ARG MAKE="make build" [2022-09-27T02:12:01.593Z] ---> Running in 2d2588c46fbe [2022-09-27T02:12:01.593Z] Removing intermediate container 2d2588c46fbe [2022-09-27T02:12:01.593Z] ---> 3fc04ae796e5 [2022-09-27T02:12:01.593Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T02:12:01.593Z] ---> Running in 9b734022adfd [2022-09-27T02:12:01.593Z] Removing intermediate container 9b734022adfd [2022-09-27T02:12:01.593Z] ---> 05d7a732d5d4 [2022-09-27T02:12:01.593Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T02:12:01.593Z] ---> Running in d15b6650126a [2022-09-27T02:12:01.593Z] Removing intermediate container d15b6650126a [2022-09-27T02:12:01.593Z] ---> 08594ea49f17 [2022-09-27T02:12:01.593Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-27T02:12:01.593Z] ---> Running in 563bac7d4417 [2022-09-27T02:12:01.852Z] Removing intermediate container 563bac7d4417 [2022-09-27T02:12:01.852Z] ---> 8491549ddb25 [2022-09-27T02:12:01.852Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T02:12:01.852Z] ---> Running in 86044a3f77e6 [2022-09-27T02:12:02.419Z] Removing intermediate container 86044a3f77e6 [2022-09-27T02:12:02.419Z] ---> 7daee7f0b971 [2022-09-27T02:12:02.419Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T02:12:02.419Z] ---> Running in 1d5ff2318f8b [2022-09-27T02:12:02.678Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T02:12:03.620Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T02:12:03.878Z] OK: 211 MiB in 51 packages [2022-09-27T02:12:04.453Z] Removing intermediate container 1d5ff2318f8b [2022-09-27T02:12:04.453Z] ---> 7aa0c1dc2747 [2022-09-27T02:12:04.453Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-27T02:12:04.453Z] ---> Running in 5546b0078da6 [2022-09-27T02:12:04.453Z] Removing intermediate container 5546b0078da6 [2022-09-27T02:12:04.453Z] ---> 6fe5a8616ec7 [2022-09-27T02:12:04.453Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-27T02:12:04.453Z] ---> 4e44077aeaa6 [2022-09-27T02:12:04.453Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T02:12:04.713Z] ---> Running in f07991ef9914 [2022-09-27T02:12:05.140Z] Still waiting to schedule task [2022-09-27T02:12:05.140Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-09-27T02:12:22.800Z] Removing intermediate container f07991ef9914 [2022-09-27T02:12:22.801Z] ---> a1948914549d [2022-09-27T02:12:22.801Z] Step 12/13 : COPY . . [2022-09-27T02:12:22.801Z] ---> 0dd0e18a220a [2022-09-27T02:12:22.801Z] Step 13/13 : RUN ${MAKE} [2022-09-27T02:12:22.801Z] ---> Running in 1365ebbfd2e3 [2022-09-27T02:12:22.801Z] noop [2022-09-27T02:12:22.801Z] Removing intermediate container 1365ebbfd2e3 [2022-09-27T02:12:22.801Z] ---> 1cd128efa615 [2022-09-27T02:12:22.801Z] Successfully built 1cd128efa615 [2022-09-27T02:12:22.801Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T02:12:23.105Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T02:12:23.105Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T02:12:23.172Z] prd-ubuntu20.04-docker-8c-8g-1281 does not seem to be running inside a container [2022-09-27T02:12:23.201Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-27T02:12:23.582Z] $ docker top a1b10e855fb070766ddf5a5071728a61ea5bbbf5d5a51a74c2a34de93b4c6f31 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T02:12:23.934Z] + go version [2022-09-27T02:12:23.934Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-27T02:12:23.949Z] $ docker stop --time=1 a1b10e855fb070766ddf5a5071728a61ea5bbbf5d5a51a74c2a34de93b4c6f31 [2022-09-27T02:12:25.274Z] $ docker rm -f a1b10e855fb070766ddf5a5071728a61ea5bbbf5d5a51a74c2a34de93b4c6f31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T02:12:25.669Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T02:12:25.669Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T02:12:25.738Z] prd-ubuntu20.04-docker-8c-8g-1281 does not seem to be running inside a container [2022-09-27T02:12:25.772Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-27T02:12:26.124Z] $ docker top c95f1be507388c340a9486f21f3c7f889019a009f1a4a5d4ee7789ffa1e3fab4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T02:12:26.475Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh [2022-09-27T02:12:26.770Z] + make test [2022-09-27T02:12:26.770Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-27T02:12:27.028Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-27T02:12:39.259Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-27T02:12:39.824Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.040s coverage: 28.6% of statements [2022-09-27T02:12:39.825Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-27T02:12:39.825Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.437s coverage: 86.5% of statements [2022-09-27T02:12:47.934Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-27T02:12:47.934Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-27T02:12:52.125Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T02:12:52.125Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T02:12:52.125Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-27T02:12:52.136Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T02:12:52.148Z] $ docker stop --time=1 c95f1be507388c340a9486f21f3c7f889019a009f1a4a5d4ee7789ffa1e3fab4 [2022-09-27T02:12:53.922Z] $ docker rm -f c95f1be507388c340a9486f21f3c7f889019a009f1a4a5d4ee7789ffa1e3fab4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T02:12:54.389Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T02:12:54.450Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-27T02:12:54.950Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T02:12:55.235Z] + ls -al . [2022-09-27T02:12:55.235Z] total 236 [2022-09-27T02:12:55.236Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 02:12 . [2022-09-27T02:12:55.236Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 02:11 .. [2022-09-27T02:12:55.236Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 02:12 .git [2022-09-27T02:12:55.236Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 02:11 .github [2022-09-27T02:12:55.236Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 27 02:11 .gitignore [2022-09-27T02:12:55.236Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 02:11 .golangci.yml [2022-09-27T02:12:55.236Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 02:11 .semver [2022-09-27T02:12:55.236Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 27 02:11 Attribution.txt [2022-09-27T02:12:55.236Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 27 02:11 CHANGELOG.md [2022-09-27T02:12:55.236Z] -rw-rw-r-- 1 jenkins jenkins 1742 Sep 27 02:11 Dockerfile [2022-09-27T02:12:55.236Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 02:11 GOVERNANCE.md [2022-09-27T02:12:55.236Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 27 02:11 Jenkinsfile [2022-09-27T02:12:55.236Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 27 02:11 LICENSE [2022-09-27T02:12:55.236Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 27 02:11 Makefile [2022-09-27T02:12:55.236Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 27 02:11 OWNERS.md [2022-09-27T02:12:55.236Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 27 02:11 README.md [2022-09-27T02:12:55.236Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 02:11 VERSION [2022-09-27T02:12:55.236Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 02:11 bin [2022-09-27T02:12:55.236Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 02:11 cmd [2022-09-27T02:12:55.236Z] -rw-r--r-- 1 jenkins jenkins 79818 Sep 27 02:12 coverage.out [2022-09-27T02:12:55.236Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 02:11 doc [2022-09-27T02:12:55.236Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 27 02:11 go.mod [2022-09-27T02:12:55.236Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 27 02:11 go.sum [2022-09-27T02:12:55.236Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 02:11 internal [2022-09-27T02:12:55.236Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 02:11 snap [2022-09-27T02:12:55.236Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 27 02:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T02:12:55.548Z] + 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=3ef24544b7f1728fc90fb329f8d3cbcb522656bf --label arch=amd64 --label version=0.0.0 . [2022-09-27T02:12:55.548Z] Sending build context to Docker daemon 20.8MB [2022-09-27T02:12:55.548Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T02:12:55.548Z] Step 2/27 : FROM ${BASE} AS builder [2022-09-27T02:12:55.548Z] ---> 1cd128efa615 [2022-09-27T02:12:55.548Z] Step 3/27 : ARG MAKE="make build" [2022-09-27T02:12:55.807Z] ---> Running in 1925cd0850d8 [2022-09-27T02:12:55.807Z] Removing intermediate container 1925cd0850d8 [2022-09-27T02:12:55.807Z] ---> c4ce2441bc92 [2022-09-27T02:12:55.807Z] Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T02:12:55.807Z] ---> Running in 907cf4c9bfa7 [2022-09-27T02:12:55.807Z] Removing intermediate container 907cf4c9bfa7 [2022-09-27T02:12:55.807Z] ---> 2824be6c6137 [2022-09-27T02:12:55.807Z] Step 5/27 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T02:12:56.066Z] ---> Running in 58d35676a30e [2022-09-27T02:12:56.066Z] Removing intermediate container 58d35676a30e [2022-09-27T02:12:56.066Z] ---> 002591b95511 [2022-09-27T02:12:56.066Z] Step 6/27 : LABEL Name=edgex-device-onvif-camera [2022-09-27T02:12:56.066Z] ---> Running in 3be0b906a696 [2022-09-27T02:12:56.066Z] Removing intermediate container 3be0b906a696 [2022-09-27T02:12:56.066Z] ---> e93792763c1e [2022-09-27T02:12:56.066Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T02:12:56.066Z] ---> Running in 8a5ac72b9af1 [2022-09-27T02:12:57.000Z] Removing intermediate container 8a5ac72b9af1 [2022-09-27T02:12:57.000Z] ---> fdee51e9686b [2022-09-27T02:12:57.000Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T02:12:57.000Z] ---> Running in d375c0dbf449 [2022-09-27T02:12:57.000Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T02:12:57.934Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T02:12:58.192Z] OK: 211 MiB in 51 packages [2022-09-27T02:12:58.757Z] Removing intermediate container d375c0dbf449 [2022-09-27T02:12:58.757Z] ---> 27b1e9b2eb15 [2022-09-27T02:12:58.757Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-09-27T02:12:58.757Z] ---> Running in e6392c2bc18d [2022-09-27T02:12:58.757Z] Removing intermediate container e6392c2bc18d [2022-09-27T02:12:58.757Z] ---> f0cf7ed810a8 [2022-09-27T02:12:58.757Z] Step 10/27 : COPY go.mod vendor* ./ [2022-09-27T02:12:59.015Z] ---> 11116edf0db7 [2022-09-27T02:12:59.015Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T02:12:59.015Z] ---> Running in 134dc0b9c3e0 [2022-09-27T02:12:59.582Z] Removing intermediate container 134dc0b9c3e0 [2022-09-27T02:12:59.582Z] ---> 3a6be3278d87 [2022-09-27T02:12:59.582Z] Step 12/27 : COPY . . [2022-09-27T02:13:00.149Z] ---> 2544fcf0cadc [2022-09-27T02:13:00.149Z] Step 13/27 : RUN ${MAKE} [2022-09-27T02:13:00.149Z] ---> Running in 15f5c9e13a67 [2022-09-27T02:13:00.408Z] 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.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-27T02:13:22.330Z] Removing intermediate container 15f5c9e13a67 [2022-09-27T02:13:22.330Z] ---> c4ca50cfcbe4 [2022-09-27T02:13:22.330Z] Step 14/27 : FROM alpine:3.16 [2022-09-27T02:13:22.589Z] 3.16: Pulling from library/alpine [2022-09-27T02:13:22.847Z] 213ec9aee27d: Pulling fs layer [2022-09-27T02:13:23.105Z] 213ec9aee27d: Verifying Checksum [2022-09-27T02:13:23.105Z] 213ec9aee27d: Download complete [2022-09-27T02:13:23.105Z] 213ec9aee27d: Pull complete [2022-09-27T02:13:23.105Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T02:13:23.105Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T02:13:23.105Z] ---> 9c6f07244728 [2022-09-27T02:13:23.105Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-27T02:13:23.105Z] ---> Running in d87a5779f866 [2022-09-27T02:13:23.363Z] Removing intermediate container d87a5779f866 [2022-09-27T02:13:23.363Z] ---> 99652c7e983d [2022-09-27T02:13:23.363Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-09-27T02:13:23.363Z] ---> Running in 2a4073dd8b7d [2022-09-27T02:13:23.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T02:13:23.881Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T02:13:23.881Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-09-27T02:13:23.881Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-09-27T02:13:24.140Z] (3/21) Installing readline (8.1.2-r0) [2022-09-27T02:13:24.140Z] (4/21) Installing bash (5.1.16-r2) [2022-09-27T02:13:24.140Z] Executing bash-5.1.16-r2.post-install [2022-09-27T02:13:24.140Z] (5/21) Installing ca-certificates (20220614-r0) [2022-09-27T02:13:24.140Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-09-27T02:13:24.140Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-09-27T02:13:24.140Z] (8/21) Installing libcurl (7.83.1-r3) [2022-09-27T02:13:24.140Z] (9/21) Installing curl (7.83.1-r3) [2022-09-27T02:13:24.140Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-09-27T02:13:24.140Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-09-27T02:13:24.140Z] (12/21) Installing jq (1.6-r1) [2022-09-27T02:13:24.140Z] (13/21) Installing popt (1.18-r0) [2022-09-27T02:13:24.140Z] (14/21) Installing pcre (8.45-r2) [2022-09-27T02:13:24.140Z] (15/21) Installing slang (2.3.2-r0) [2022-09-27T02:13:24.398Z] (16/21) Installing newt (0.52.21-r2) [2022-09-27T02:13:24.398Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T02:13:24.398Z] (18/21) Installing libsodium (1.0.18-r0) [2022-09-27T02:13:24.398Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T02:13:24.398Z] (20/21) Installing libzmq (4.3.4-r0) [2022-09-27T02:13:24.398Z] (21/21) Installing zeromq (4.3.4-r0) [2022-09-27T02:13:24.398Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T02:13:24.398Z] Executing ca-certificates-20220614-r0.trigger [2022-09-27T02:13:24.398Z] OK: 17 MiB in 35 packages [2022-09-27T02:13:24.966Z] Removing intermediate container 2a4073dd8b7d [2022-09-27T02:13:24.966Z] ---> 2e254eea6aa3 [2022-09-27T02:13:24.966Z] Step 17/27 : WORKDIR / [2022-09-27T02:13:24.966Z] ---> Running in 82ed8b3c033a [2022-09-27T02:13:25.225Z] Removing intermediate container 82ed8b3c033a [2022-09-27T02:13:25.225Z] ---> 6cd49143318b [2022-09-27T02:13:25.225Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-27T02:13:25.792Z] ---> c5e6d4587924 [2022-09-27T02:13:25.792Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-27T02:13:25.792Z] ---> 5ada7c06f64a [2022-09-27T02:13:25.792Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-27T02:13:26.050Z] ---> 31087f4da790 [2022-09-27T02:13:26.050Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-09-27T02:13:26.050Z] ---> 71a11a5ada67 [2022-09-27T02:13:26.050Z] Step 22/27 : EXPOSE 59984 [2022-09-27T02:13:26.050Z] ---> Running in 41a5d09de446 [2022-09-27T02:13:26.307Z] Removing intermediate container 41a5d09de446 [2022-09-27T02:13:26.307Z] ---> 250aca9786c7 [2022-09-27T02:13:26.307Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-27T02:13:26.307Z] ---> Running in bb49083a2249 [2022-09-27T02:13:26.307Z] Removing intermediate container bb49083a2249 [2022-09-27T02:13:26.307Z] ---> 75eeb2a4ba33 [2022-09-27T02:13:26.307Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-27T02:13:26.307Z] ---> Running in 63d14608b73f [2022-09-27T02:13:26.564Z] Removing intermediate container 63d14608b73f [2022-09-27T02:13:26.564Z] ---> 6d4995ae91d9 [2022-09-27T02:13:26.564Z] Step 25/27 : LABEL arch=amd64 [2022-09-27T02:13:26.564Z] ---> Running in c63c90ac743a [2022-09-27T02:13:26.564Z] Removing intermediate container c63c90ac743a [2022-09-27T02:13:26.564Z] ---> 770b96302bd1 [2022-09-27T02:13:26.564Z] Step 26/27 : LABEL git_sha=3ef24544b7f1728fc90fb329f8d3cbcb522656bf [2022-09-27T02:13:26.564Z] ---> Running in 51872ef873b1 [2022-09-27T02:13:26.823Z] Removing intermediate container 51872ef873b1 [2022-09-27T02:13:26.823Z] ---> 58211db9dd66 [2022-09-27T02:13:26.823Z] Step 27/27 : LABEL version=0.0.0 [2022-09-27T02:13:26.823Z] ---> Running in c0076e41c952 [2022-09-27T02:13:26.823Z] Removing intermediate container c0076e41c952 [2022-09-27T02:13:26.823Z] ---> 5619085c4278 [2022-09-27T02:13:26.823Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T02:13:26.823Z] Successfully built 5619085c4278 [2022-09-27T02:13:26.823Z] 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-09-27T02:13:27.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T02:13:27.258Z] [2022-09-27T02:13:27.258Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T02:13:27.552Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T02:13:27.552Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-27T02:13:27.552Z] 5eb5b503b376: Pulling fs layer [2022-09-27T02:13:27.552Z] 5c69ac0246d0: Pulling fs layer [2022-09-27T02:13:27.552Z] ec43610c2a17: Pulling fs layer [2022-09-27T02:13:27.552Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-27T02:13:27.552Z] 33b1e0a273af: Pulling fs layer [2022-09-27T02:13:27.552Z] 5d3b04190fa2: Pulling fs layer [2022-09-27T02:13:27.552Z] 2f39f015ded8: Pulling fs layer [2022-09-27T02:13:27.552Z] 3a2ae6a8a46f: Waiting [2022-09-27T02:13:27.552Z] 33b1e0a273af: Waiting [2022-09-27T02:13:27.552Z] 5d3b04190fa2: Waiting [2022-09-27T02:13:27.811Z] 5c69ac0246d0: Download complete [2022-09-27T02:13:27.811Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-27T02:13:27.811Z] 3a2ae6a8a46f: Download complete [2022-09-27T02:13:27.811Z] 33b1e0a273af: Verifying Checksum [2022-09-27T02:13:27.811Z] 5d3b04190fa2: Verifying Checksum [2022-09-27T02:13:27.811Z] 5d3b04190fa2: Download complete [2022-09-27T02:13:27.811Z] ec43610c2a17: Verifying Checksum [2022-09-27T02:13:27.811Z] ec43610c2a17: Download complete [2022-09-27T02:13:28.073Z] 5eb5b503b376: Verifying Checksum [2022-09-27T02:13:28.073Z] 5eb5b503b376: Download complete [2022-09-27T02:13:29.007Z] 5eb5b503b376: Pull complete [2022-09-27T02:13:29.264Z] 5c69ac0246d0: Pull complete [2022-09-27T02:13:29.521Z] ec43610c2a17: Pull complete [2022-09-27T02:13:29.778Z] 3a2ae6a8a46f: Pull complete [2022-09-27T02:13:29.778Z] 33b1e0a273af: Pull complete [2022-09-27T02:13:30.039Z] 5d3b04190fa2: Pull complete [2022-09-27T02:13:34.222Z] 2f39f015ded8: Pull complete [2022-09-27T02:13:34.222Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-27T02:13:34.222Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T02:13:34.222Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T02:13:34.300Z] prd-ubuntu20.04-docker-8c-8g-1281 does not seem to be running inside a container [2022-09-27T02:13:34.329Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-27T02:13:36.025Z] $ docker top ac34df861eb244fc22134628f2b92fce748cd185e774c935f60ba117fa1149b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T02:13:36.392Z] ---> job-cost.sh [2022-09-27T02:13:36.392Z] lf-activate-venv: SKIPPING [2022-09-27T02:13:36.393Z] INFO: No Stack... [2022-09-27T02:13:36.653Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T02:13:37.221Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T02:13:37.511Z] + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv [2022-09-27T02:13:37.511Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T02:13:37.524Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-15-stack-cost] [2022-09-27T02:13:37.530Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-15-stack-cost] did not exist. Created. [2022-09-27T02:13:37.530Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T02:13:37.827Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-27T02:13:37.855Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T02:13:37.862Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-15-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T02:13:37.877Z] $ docker stop --time=1 ac34df861eb244fc22134628f2b92fce748cd185e774c935f60ba117fa1149b9 [2022-09-27T02:13:39.055Z] $ docker rm -f ac34df861eb244fc22134628f2b92fce748cd185e774c935f60ba117fa1149b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-27T02:15:10.407Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1283 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws [2022-09-27T02:15:10.418Z] Running in /w/workspace/device-onvif-camera/15 [Pipeline] { [Pipeline] checkout [2022-09-27T02:15:10.455Z] The recommended git tool is: git [2022-09-27T02:15:16.612Z] using credential edgex-jenkins-ssh [2022-09-27T02:15:16.635Z] Cloning the remote Git repository [2022-09-27T02:15:16.683Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-27T02:15:16.769Z] > git init /w/workspace/device-onvif-camera/15 # timeout=10 [2022-09-27T02:15:16.937Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-27T02:15:16.940Z] > git --version # timeout=10 [2022-09-27T02:15:16.965Z] > git --version # 'git version 2.25.1' [2022-09-27T02:15:16.968Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T02:15:17.021Z] Verifying host key using known hosts file [2022-09-27T02:15:17.245Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T02:15:17.258Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T02:15:18.563Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-27T02:15:18.600Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T02:15:20.250Z] Merging remotes/origin/main commit 07d7568c4aa69296c110ad64a28331e8173121ad into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 [2022-09-27T02:15:19.543Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-27T02:15:19.589Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-27T02:15:19.590Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T02:15:19.596Z] Verifying host key using known hosts file [2022-09-27T02:15:19.603Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T02:15:19.619Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-27T02:15:20.269Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T02:15:20.290Z] > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 [2022-09-27T02:15:20.516Z] > git remote # timeout=10 [2022-09-27T02:15:20.537Z] > git config --get remote.origin.url # timeout=10 [2022-09-27T02:15:20.561Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T02:15:20.567Z] Verifying host key using known hosts file [2022-09-27T02:15:20.570Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T02:15:20.581Z] > git merge 07d7568c4aa69296c110ad64a28331e8173121ad # timeout=10 [2022-09-27T02:15:21.048Z] Merge succeeded, producing 2618dc03c45380f7b59f58b7fe727d521b027290 [2022-09-27T02:15:21.048Z] Checking out Revision 2618dc03c45380f7b59f58b7fe727d521b027290 (PR-125) [2022-09-27T02:15:21.022Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-27T02:15:21.053Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T02:15:21.067Z] > git checkout -f 2618dc03c45380f7b59f58b7fe727d521b027290 # timeout=10 [2022-09-27T02:15:24.830Z] Commit message: "Merge commit '07d7568c4aa69296c110ad64a28331e8173121ad' into HEAD" [2022-09-27T02:15:24.872Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T02:15:24.840Z] > git rev-list --no-walk f3595103bc07ebe8b23326f08c660f113c1e4c2e # timeout=10 [2022-09-27T02:15:25.718Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-27T02:15:25.718Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T02:15:25.718Z] Dload Upload Total Spent Left Speed [2022-09-27T02:15:25.718Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 170k 0 --:--:-- --:--:-- --:--:-- 170k [Pipeline] sh [2022-09-27T02:15:26.467Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-27T02:15:26.803Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-27T02:15:26.803Z] + sudo tee /etc/docker/daemon.new [2022-09-27T02:15:26.803Z] { [2022-09-27T02:15:26.803Z] "registry-mirrors": [ [2022-09-27T02:15:26.803Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-27T02:15:26.803Z] ], [2022-09-27T02:15:26.803Z] "bip": "10.250.0.254/24", [2022-09-27T02:15:26.803Z] "hosts": [ [2022-09-27T02:15:26.803Z] "tcp://0.0.0.0:5555", [2022-09-27T02:15:26.803Z] "unix:///var/run/docker.sock" [2022-09-27T02:15:26.803Z] ], [2022-09-27T02:15:26.803Z] "mtu": 1458, [2022-09-27T02:15:26.803Z] "selinux-enabled": true, [2022-09-27T02:15:26.803Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-27T02:15:26.803Z] } [Pipeline] sh [2022-09-27T02:15:27.145Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-27T02:15:27.496Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T02:15:45.770Z] provisioning config files... [2022-09-27T02:15:45.798Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/15@tmp/config18235781938327136565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T02:15:46.208Z] ---> docker-login.sh [2022-09-27T02:15:46.208Z] nexus3.edgexfoundry.org:10001 [2022-09-27T02:15:46.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:15:46.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:15:46.799Z] Configure a credential helper to remove this warning. See [2022-09-27T02:15:46.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:15:46.799Z] [2022-09-27T02:15:46.799Z] Login Succeeded [2022-09-27T02:15:46.799Z] nexus3.edgexfoundry.org:10002 [2022-09-27T02:15:47.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:15:47.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:15:47.071Z] Configure a credential helper to remove this warning. See [2022-09-27T02:15:47.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:15:47.071Z] [2022-09-27T02:15:47.071Z] Login Succeeded [2022-09-27T02:15:47.071Z] nexus3.edgexfoundry.org:10003 [2022-09-27T02:15:47.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:15:47.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:15:47.624Z] Configure a credential helper to remove this warning. See [2022-09-27T02:15:47.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:15:47.624Z] [2022-09-27T02:15:47.624Z] Login Succeeded [2022-09-27T02:15:47.624Z] nexus3.edgexfoundry.org:10004 [2022-09-27T02:15:47.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:15:47.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:15:47.895Z] Configure a credential helper to remove this warning. See [2022-09-27T02:15:47.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:15:47.895Z] [2022-09-27T02:15:47.895Z] Login Succeeded [2022-09-27T02:15:47.895Z] docker.io [2022-09-27T02:15:48.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:15:48.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:15:48.754Z] Configure a credential helper to remove this warning. See [2022-09-27T02:15:48.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:15:48.754Z] [2022-09-27T02:15:48.754Z] Login Succeeded [2022-09-27T02:15:48.754Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T02:15:48.768Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T02:15:48.933Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T02:15:48.944Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T02:15:48.950Z] ========================================================= [2022-09-27T02:15:48.950Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-27T02:15:48.950Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T02:15:49.296Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-27T02:15:49.888Z] Sending build context to Docker daemon 14.18MB [2022-09-27T02:15:49.888Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T02:15:49.888Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-27T02:15:49.888Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-27T02:15:49.888Z] b3c136eddcbf: Pulling fs layer [2022-09-27T02:15:49.888Z] c0a3192eca97: Pulling fs layer [2022-09-27T02:15:49.888Z] a050256f5b6f: Pulling fs layer [2022-09-27T02:15:49.888Z] 656be50a0ddc: Pulling fs layer [2022-09-27T02:15:49.888Z] 2bbca73fdf42: Pulling fs layer [2022-09-27T02:15:49.888Z] 46d945488cbd: Pulling fs layer [2022-09-27T02:15:49.888Z] 8a5474983e97: Pulling fs layer [2022-09-27T02:15:49.888Z] 329c88fbcd65: Pulling fs layer [2022-09-27T02:15:49.888Z] 46d945488cbd: Waiting [2022-09-27T02:15:49.888Z] 656be50a0ddc: Waiting [2022-09-27T02:15:49.888Z] 2bbca73fdf42: Waiting [2022-09-27T02:15:49.888Z] 8a5474983e97: Waiting [2022-09-27T02:15:49.888Z] 329c88fbcd65: Waiting [2022-09-27T02:15:49.888Z] a050256f5b6f: Verifying Checksum [2022-09-27T02:15:49.888Z] a050256f5b6f: Download complete [2022-09-27T02:15:49.888Z] c0a3192eca97: Verifying Checksum [2022-09-27T02:15:49.888Z] c0a3192eca97: Download complete [2022-09-27T02:15:50.169Z] 2bbca73fdf42: Download complete [2022-09-27T02:15:50.169Z] 46d945488cbd: Verifying Checksum [2022-09-27T02:15:50.169Z] 46d945488cbd: Download complete [2022-09-27T02:15:50.169Z] b3c136eddcbf: Verifying Checksum [2022-09-27T02:15:50.169Z] b3c136eddcbf: Download complete [2022-09-27T02:15:51.166Z] b3c136eddcbf: Pull complete [2022-09-27T02:15:51.166Z] 329c88fbcd65: Verifying Checksum [2022-09-27T02:15:51.166Z] 329c88fbcd65: Download complete [2022-09-27T02:15:51.438Z] c0a3192eca97: Pull complete [2022-09-27T02:15:52.032Z] a050256f5b6f: Pull complete [2022-09-27T02:15:52.623Z] 8a5474983e97: Verifying Checksum [2022-09-27T02:15:52.623Z] 8a5474983e97: Download complete [2022-09-27T02:15:53.213Z] 656be50a0ddc: Verifying Checksum [2022-09-27T02:15:53.213Z] 656be50a0ddc: Download complete [2022-09-27T02:16:05.563Z] 656be50a0ddc: Pull complete [2022-09-27T02:16:05.563Z] 2bbca73fdf42: Pull complete [2022-09-27T02:16:05.563Z] 46d945488cbd: Pull complete [2022-09-27T02:16:10.924Z] 8a5474983e97: Pull complete [2022-09-27T02:16:13.524Z] 329c88fbcd65: Pull complete [2022-09-27T02:16:13.524Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-27T02:16:13.524Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-27T02:16:13.524Z] ---> ff4287adb874 [2022-09-27T02:16:13.524Z] Step 3/13 : ARG MAKE="make build" [2022-09-27T02:16:15.502Z] ---> Running in f206c4f08449 [2022-09-27T02:16:15.502Z] Removing intermediate container f206c4f08449 [2022-09-27T02:16:15.502Z] ---> 9c114943263f [2022-09-27T02:16:15.502Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T02:16:15.771Z] ---> Running in c653273482df [2022-09-27T02:16:16.040Z] Removing intermediate container c653273482df [2022-09-27T02:16:16.040Z] ---> 3cc461ec9fc5 [2022-09-27T02:16:16.040Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T02:16:16.040Z] ---> Running in e1359e6c5ed0 [2022-09-27T02:16:16.640Z] Removing intermediate container e1359e6c5ed0 [2022-09-27T02:16:16.640Z] ---> 0e6814bd4c25 [2022-09-27T02:16:16.640Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-27T02:16:16.640Z] ---> Running in d06d89ae7196 [2022-09-27T02:16:16.913Z] Removing intermediate container d06d89ae7196 [2022-09-27T02:16:16.913Z] ---> 295201f11921 [2022-09-27T02:16:16.913Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T02:16:16.913Z] ---> Running in c6a3fd9c155a [2022-09-27T02:16:18.869Z] Removing intermediate container c6a3fd9c155a [2022-09-27T02:16:18.869Z] ---> a15636655f21 [2022-09-27T02:16:18.869Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T02:16:18.869Z] ---> Running in 78c452810d7b [2022-09-27T02:16:19.834Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T02:16:20.807Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T02:16:21.777Z] OK: 221 MiB in 51 packages [2022-09-27T02:16:22.742Z] Removing intermediate container 78c452810d7b [2022-09-27T02:16:22.742Z] ---> b08e8ad30840 [2022-09-27T02:16:22.742Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-27T02:16:22.742Z] ---> Running in ad0b8df69f3d [2022-09-27T02:16:23.009Z] Removing intermediate container ad0b8df69f3d [2022-09-27T02:16:23.009Z] ---> 39fc72112d57 [2022-09-27T02:16:23.009Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-27T02:16:23.602Z] ---> ab0ea784b6c9 [2022-09-27T02:16:23.602Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T02:16:23.871Z] ---> Running in bcbb536e4824 [2022-09-27T02:17:20.321Z] Removing intermediate container bcbb536e4824 [2022-09-27T02:17:20.321Z] ---> cb6a63f62cd2 [2022-09-27T02:17:20.321Z] Step 12/13 : COPY . . [2022-09-27T02:17:20.321Z] ---> c78abe20907a [2022-09-27T02:17:20.321Z] Step 13/13 : RUN ${MAKE} [2022-09-27T02:17:20.321Z] ---> Running in cdcb19e7e8e5 [2022-09-27T02:17:20.321Z] noop [2022-09-27T02:17:20.321Z] Removing intermediate container cdcb19e7e8e5 [2022-09-27T02:17:20.321Z] ---> 7ea1f2c4e967 [2022-09-27T02:17:20.321Z] Successfully built 7ea1f2c4e967 [2022-09-27T02:17:20.321Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T02:17:20.668Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T02:17:20.668Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T02:17:20.872Z] prd-ubuntu20.04-docker-arm64-4c-16g-1283 does not seem to be running inside a container [2022-09-27T02:17:20.948Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/15 -v /w/workspace/device-onvif-camera/15:/w/workspace/device-onvif-camera/15:rw,z -v /w/workspace/device-onvif-camera/15@tmp:/w/workspace/device-onvif-camera/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-27T02:17:22.249Z] $ docker top 99e1d10806e8b818ac299c0fb179b9d191ba40428609177ae025fec68f561d21 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T02:17:23.107Z] + go version [2022-09-27T02:17:23.108Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-27T02:17:23.131Z] $ docker stop --time=1 99e1d10806e8b818ac299c0fb179b9d191ba40428609177ae025fec68f561d21 [2022-09-27T02:17:24.792Z] $ docker rm -f 99e1d10806e8b818ac299c0fb179b9d191ba40428609177ae025fec68f561d21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T02:17:25.330Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T02:17:25.330Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T02:17:25.504Z] prd-ubuntu20.04-docker-arm64-4c-16g-1283 does not seem to be running inside a container [2022-09-27T02:17:25.579Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/15 -v /w/workspace/device-onvif-camera/15:/w/workspace/device-onvif-camera/15:rw,z -v /w/workspace/device-onvif-camera/15@tmp:/w/workspace/device-onvif-camera/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-27T02:17:26.813Z] $ docker top 1bee55577bb5ca03e8040dc9d3238573895323b57d8ad9f2a721160041f32736 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T02:17:27.647Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/15 [Pipeline] fileExists [Pipeline] sh [2022-09-27T02:17:28.303Z] + make test [2022-09-27T02:17:28.304Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-27T02:17:30.267Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-27T02:19:21.976Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-27T02:19:21.976Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.191s coverage: 28.6% of statements [2022-09-27T02:19:21.976Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-27T02:19:40.196Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.852s coverage: 86.5% of statements [2022-09-27T02:19:40.196Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-27T02:19:40.196Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-27T02:20:12.440Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T02:20:12.441Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T02:20:12.441Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-27T02:20:12.458Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T02:20:12.478Z] $ docker stop --time=1 1bee55577bb5ca03e8040dc9d3238573895323b57d8ad9f2a721160041f32736 [2022-09-27T02:20:14.631Z] $ docker rm -f 1bee55577bb5ca03e8040dc9d3238573895323b57d8ad9f2a721160041f32736 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T02:20:15.653Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T02:20:15.674Z] Warning: overwriting stash ‘coverage-report’ [2022-09-27T02:20:16.321Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T02:20:16.709Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T02:20:17.060Z] + ls -al . [2022-09-27T02:20:17.060Z] total 232 [2022-09-27T02:20:17.060Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 02:17 . [2022-09-27T02:20:17.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 02:15 .. [2022-09-27T02:20:17.060Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 02:15 .git [2022-09-27T02:20:17.060Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 02:15 .github [2022-09-27T02:20:17.060Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 27 02:15 .gitignore [2022-09-27T02:20:17.060Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 02:15 .golangci.yml [2022-09-27T02:20:17.060Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 27 02:15 Attribution.txt [2022-09-27T02:20:17.060Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 27 02:15 CHANGELOG.md [2022-09-27T02:20:17.060Z] -rw-rw-r-- 1 jenkins jenkins 1742 Sep 27 02:15 Dockerfile [2022-09-27T02:20:17.060Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 02:15 GOVERNANCE.md [2022-09-27T02:20:17.060Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 27 02:15 Jenkinsfile [2022-09-27T02:20:17.060Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 27 02:15 LICENSE [2022-09-27T02:20:17.060Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 27 02:15 Makefile [2022-09-27T02:20:17.060Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 27 02:15 OWNERS.md [2022-09-27T02:20:17.060Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 27 02:15 README.md [2022-09-27T02:20:17.060Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 02:11 VERSION [2022-09-27T02:20:17.060Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 02:15 bin [2022-09-27T02:20:17.060Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 02:15 cmd [2022-09-27T02:20:17.060Z] -rw-r--r-- 1 jenkins jenkins 79818 Sep 27 02:19 coverage.out [2022-09-27T02:20:17.060Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 02:15 doc [2022-09-27T02:20:17.060Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 27 02:15 go.mod [2022-09-27T02:20:17.060Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 27 02:15 go.sum [2022-09-27T02:20:17.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 02:15 internal [2022-09-27T02:20:17.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 02:15 snap [2022-09-27T02:20:17.060Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 27 02:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T02:20:17.418Z] + 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=2618dc03c45380f7b59f58b7fe727d521b027290 --label arch=arm64 --label version=0.0.0 . [2022-09-27T02:20:18.384Z] Sending build context to Docker daemon 14.26MB [2022-09-27T02:20:18.384Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T02:20:18.384Z] Step 2/27 : FROM ${BASE} AS builder [2022-09-27T02:20:18.384Z] ---> 7ea1f2c4e967 [2022-09-27T02:20:18.384Z] Step 3/27 : ARG MAKE="make build" [2022-09-27T02:20:18.654Z] ---> Running in e24d2df79711 [2022-09-27T02:20:20.068Z] Removing intermediate container e24d2df79711 [2022-09-27T02:20:20.068Z] ---> ea50d86cff5b [2022-09-27T02:20:20.068Z] Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T02:20:20.068Z] ---> Running in 76c6b053d47c [2022-09-27T02:20:20.653Z] Removing intermediate container 76c6b053d47c [2022-09-27T02:20:20.653Z] ---> 86a2ac868dd7 [2022-09-27T02:20:20.653Z] Step 5/27 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T02:20:20.653Z] ---> Running in bf80f8004e64 [2022-09-27T02:20:21.240Z] Removing intermediate container bf80f8004e64 [2022-09-27T02:20:21.240Z] ---> 3e02aca34705 [2022-09-27T02:20:21.240Z] Step 6/27 : LABEL Name=edgex-device-onvif-camera [2022-09-27T02:20:21.240Z] ---> Running in b8c5c59cc9a5 [2022-09-27T02:20:22.129Z] Removing intermediate container b8c5c59cc9a5 [2022-09-27T02:20:22.129Z] ---> 7c2703b7d892 [2022-09-27T02:20:22.129Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T02:20:22.129Z] ---> Running in 7bd14781d322 [2022-09-27T02:20:24.811Z] Removing intermediate container 7bd14781d322 [2022-09-27T02:20:24.811Z] ---> 3974c7946134 [2022-09-27T02:20:24.811Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T02:20:24.811Z] ---> Running in c6994dc7d428 [2022-09-27T02:20:26.782Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T02:20:27.390Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T02:20:28.361Z] OK: 221 MiB in 51 packages [2022-09-27T02:20:29.782Z] Removing intermediate container c6994dc7d428 [2022-09-27T02:20:29.782Z] ---> c82bcfb2f3de [2022-09-27T02:20:29.782Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-09-27T02:20:29.782Z] ---> Running in 81c7d15de406 [2022-09-27T02:20:30.052Z] Removing intermediate container 81c7d15de406 [2022-09-27T02:20:30.052Z] ---> 6ac9b41238d8 [2022-09-27T02:20:30.052Z] Step 10/27 : COPY go.mod vendor* ./ [2022-09-27T02:20:30.642Z] ---> 64f885428d22 [2022-09-27T02:20:30.642Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T02:20:30.642Z] ---> Running in 222f6b9e02ab [2022-09-27T02:20:33.245Z] Removing intermediate container 222f6b9e02ab [2022-09-27T02:20:33.245Z] ---> 427fe4a7c7ff [2022-09-27T02:20:33.245Z] Step 12/27 : COPY . . [2022-09-27T02:20:34.661Z] ---> 7cfbe78893c9 [2022-09-27T02:20:34.661Z] Step 13/27 : RUN ${MAKE} [2022-09-27T02:20:34.661Z] ---> Running in 2952af79aa38 [2022-09-27T02:20:35.629Z] 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.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-27T02:23:12.406Z] Removing intermediate container 2952af79aa38 [2022-09-27T02:23:12.406Z] ---> cacd697c3418 [2022-09-27T02:23:12.406Z] Step 14/27 : FROM alpine:3.16 [2022-09-27T02:23:12.406Z] 3.16: Pulling from library/alpine [2022-09-27T02:23:12.406Z] 9b18e9b68314: Pulling fs layer [2022-09-27T02:23:12.406Z] 9b18e9b68314: Download complete [2022-09-27T02:23:12.406Z] 9b18e9b68314: Pull complete [2022-09-27T02:23:12.406Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T02:23:12.406Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T02:23:12.406Z] ---> a6215f271958 [2022-09-27T02:23:12.406Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-27T02:23:12.406Z] ---> Running in fdfb02473d91 [2022-09-27T02:23:12.406Z] Removing intermediate container fdfb02473d91 [2022-09-27T02:23:12.406Z] ---> ea5a5e6c7f52 [2022-09-27T02:23:12.406Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-09-27T02:23:12.406Z] ---> Running in 43e94abf6bef [2022-09-27T02:23:12.406Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T02:23:12.406Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T02:23:12.406Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-09-27T02:23:12.406Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-09-27T02:23:12.406Z] (3/21) Installing readline (8.1.2-r0) [2022-09-27T02:23:12.406Z] (4/21) Installing bash (5.1.16-r2) [2022-09-27T02:23:12.406Z] Executing bash-5.1.16-r2.post-install [2022-09-27T02:23:12.406Z] (5/21) Installing ca-certificates (20220614-r0) [2022-09-27T02:23:12.406Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-09-27T02:23:12.406Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-09-27T02:23:12.406Z] (8/21) Installing libcurl (7.83.1-r3) [2022-09-27T02:23:12.406Z] (9/21) Installing curl (7.83.1-r3) [2022-09-27T02:23:12.406Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-09-27T02:23:12.406Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-09-27T02:23:12.406Z] (12/21) Installing jq (1.6-r1) [2022-09-27T02:23:12.406Z] (13/21) Installing popt (1.18-r0) [2022-09-27T02:23:12.406Z] (14/21) Installing pcre (8.45-r2) [2022-09-27T02:23:12.406Z] (15/21) Installing slang (2.3.2-r0) [2022-09-27T02:23:12.406Z] (16/21) Installing newt (0.52.21-r2) [2022-09-27T02:23:12.406Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T02:23:12.406Z] (18/21) Installing libsodium (1.0.18-r0) [2022-09-27T02:23:12.406Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T02:23:12.406Z] (20/21) Installing libzmq (4.3.4-r0) [2022-09-27T02:23:12.406Z] (21/21) Installing zeromq (4.3.4-r0) [2022-09-27T02:23:12.406Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T02:23:12.406Z] Executing ca-certificates-20220614-r0.trigger [2022-09-27T02:23:12.406Z] OK: 16 MiB in 35 packages [2022-09-27T02:23:12.406Z] Removing intermediate container 43e94abf6bef [2022-09-27T02:23:12.406Z] ---> ea37a9eec511 [2022-09-27T02:23:12.406Z] Step 17/27 : WORKDIR / [2022-09-27T02:23:12.406Z] ---> Running in 22870e91a479 [2022-09-27T02:23:12.406Z] Removing intermediate container 22870e91a479 [2022-09-27T02:23:12.406Z] ---> a26d660c123c [2022-09-27T02:23:12.406Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-27T02:23:12.406Z] ---> 1f501fe2e729 [2022-09-27T02:23:12.406Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-27T02:23:12.406Z] ---> 4a4f8de12b95 [2022-09-27T02:23:12.406Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-27T02:23:12.406Z] ---> 3639b1df3127 [2022-09-27T02:23:12.406Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-09-27T02:23:12.406Z] ---> 30ad93aa455a [2022-09-27T02:23:12.406Z] Step 22/27 : EXPOSE 59984 [2022-09-27T02:23:12.406Z] ---> Running in 60e3df7aa29e [2022-09-27T02:23:12.406Z] Removing intermediate container 60e3df7aa29e [2022-09-27T02:23:12.406Z] ---> 7874bef16784 [2022-09-27T02:23:12.406Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-27T02:23:12.406Z] ---> Running in cc0f6c4719be [2022-09-27T02:23:12.406Z] Removing intermediate container cc0f6c4719be [2022-09-27T02:23:12.406Z] ---> 80a8b6c80be8 [2022-09-27T02:23:12.406Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-27T02:23:12.406Z] ---> Running in c12434485afe [2022-09-27T02:23:12.406Z] Removing intermediate container c12434485afe [2022-09-27T02:23:12.406Z] ---> 7905fa706a0c [2022-09-27T02:23:12.406Z] Step 25/27 : LABEL arch=arm64 [2022-09-27T02:23:12.406Z] ---> Running in fa4e487cc3c5 [2022-09-27T02:23:12.406Z] Removing intermediate container fa4e487cc3c5 [2022-09-27T02:23:12.406Z] ---> a7af62decefd [2022-09-27T02:23:12.406Z] Step 26/27 : LABEL git_sha=2618dc03c45380f7b59f58b7fe727d521b027290 [2022-09-27T02:23:12.406Z] ---> Running in 014af479fd3a [2022-09-27T02:23:12.406Z] Removing intermediate container 014af479fd3a [2022-09-27T02:23:12.406Z] ---> 02a6d0efafc6 [2022-09-27T02:23:12.406Z] Step 27/27 : LABEL version=0.0.0 [2022-09-27T02:23:12.406Z] ---> Running in 7064794baffb [2022-09-27T02:23:12.671Z] Removing intermediate container 7064794baffb [2022-09-27T02:23:12.671Z] ---> 2243fad4604e [2022-09-27T02:23:12.671Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T02:23:12.671Z] Successfully built 2243fad4604e [2022-09-27T02:23:12.671Z] 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-09-27T02:23:13.137Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T02:23:13.137Z] [2022-09-27T02:23:13.137Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T02:23:13.466Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T02:23:13.467Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-27T02:23:13.467Z] 8998bd30e6a1: Pulling fs layer [2022-09-27T02:23:13.467Z] 04944245beec: Pulling fs layer [2022-09-27T02:23:13.467Z] 699f458cf7ca: Pulling fs layer [2022-09-27T02:23:13.467Z] 765212b225bb: Pulling fs layer [2022-09-27T02:23:13.467Z] f23df028b6ca: Pulling fs layer [2022-09-27T02:23:13.467Z] d65c8cfc05b1: Pulling fs layer [2022-09-27T02:23:13.467Z] 2437ff75d9bd: Pulling fs layer [2022-09-27T02:23:13.467Z] 765212b225bb: Waiting [2022-09-27T02:23:13.467Z] f23df028b6ca: Waiting [2022-09-27T02:23:13.467Z] d65c8cfc05b1: Waiting [2022-09-27T02:23:13.467Z] 2437ff75d9bd: Waiting [2022-09-27T02:23:13.734Z] 04944245beec: Verifying Checksum [2022-09-27T02:23:13.734Z] 04944245beec: Download complete [2022-09-27T02:23:13.734Z] 765212b225bb: Verifying Checksum [2022-09-27T02:23:13.734Z] 765212b225bb: Download complete [2022-09-27T02:23:13.734Z] f23df028b6ca: Verifying Checksum [2022-09-27T02:23:13.734Z] f23df028b6ca: Download complete [2022-09-27T02:23:13.734Z] d65c8cfc05b1: Download complete [2022-09-27T02:23:14.004Z] 699f458cf7ca: Verifying Checksum [2022-09-27T02:23:14.004Z] 699f458cf7ca: Download complete [2022-09-27T02:23:14.281Z] 8998bd30e6a1: Download complete [2022-09-27T02:23:16.868Z] 2437ff75d9bd: Verifying Checksum [2022-09-27T02:23:16.868Z] 2437ff75d9bd: Download complete [2022-09-27T02:23:18.283Z] 8998bd30e6a1: Pull complete [2022-09-27T02:23:18.551Z] 04944245beec: Pull complete [2022-09-27T02:23:19.964Z] 699f458cf7ca: Pull complete [2022-09-27T02:23:20.232Z] 765212b225bb: Pull complete [2022-09-27T02:23:22.173Z] f23df028b6ca: Pull complete [2022-09-27T02:23:22.440Z] d65c8cfc05b1: Pull complete [2022-09-27T02:23:37.448Z] 2437ff75d9bd: Pull complete [2022-09-27T02:23:37.448Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-27T02:23:37.448Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T02:23:37.448Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T02:23:37.629Z] prd-ubuntu20.04-docker-arm64-4c-16g-1283 does not seem to be running inside a container [2022-09-27T02:23:37.696Z] $ 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/15 -v /w/workspace/device-onvif-camera/15:/w/workspace/device-onvif-camera/15:rw,z -v /w/workspace/device-onvif-camera/15@tmp:/w/workspace/device-onvif-camera/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-27T02:23:40.276Z] $ docker top b1482c5e342ef4d134eb76d069fed329d14621df16ec82c812ca6d58f6c44a17 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T02:23:41.095Z] ---> job-cost.sh [2022-09-27T02:23:41.095Z] lf-activate-venv: SKIPPING [2022-09-27T02:23:41.095Z] INFO: No Stack... [2022-09-27T02:23:41.677Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-27T02:23:42.259Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T02:23:42.893Z] + cat /w/workspace/device-onvif-camera/15/archives/cost.csv [2022-09-27T02:23:42.894Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T02:23:42.928Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-15-stack-cost] [2022-09-27T02:23:42.934Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-15-stack-cost] did not exist. Created. [2022-09-27T02:23:42.934Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T02:23:43.584Z] /w/workspace/device-onvif-camera/15@tmp/durable-6d00c3eb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-27T02:23:44.233Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-27T02:23:44.256Z] Warning: overwriting stash ‘stack-cost’ [2022-09-27T02:23:44.312Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T02:23:44.318Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-15-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T02:23:44.339Z] $ docker stop --time=1 b1482c5e342ef4d134eb76d069fed329d14621df16ec82c812ca6d58f6c44a17 [2022-09-27T02:23:45.830Z] $ docker rm -f b1482c5e342ef4d134eb76d069fed329d14621df16ec82c812ca6d58f6c44a17 [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-09-27T02:23:46.197Z] provisioning config files... [2022-09-27T02:23:46.203Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config13153489696183625436tmp [Pipeline] { [Pipeline] sh [2022-09-27T02:23:46.494Z] + set +x [2022-09-27T02:23:46.494Z] + curl -s+ https://codecov.io/bash [2022-09-27T02:23:46.494Z] bash -s -- [2022-09-27T02:23:46.494Z] [2022-09-27T02:23:46.494Z] _____ _ [2022-09-27T02:23:46.494Z] / ____| | | [2022-09-27T02:23:46.494Z] | | ___ __| | ___ ___ _____ __ [2022-09-27T02:23:46.494Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-27T02:23:46.494Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-27T02:23:46.494Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-27T02:23:46.494Z] Bash-1.0.6 [2022-09-27T02:23:46.494Z] [2022-09-27T02:23:46.494Z] [2022-09-27T02:23:46.494Z] ==> git version 2.25.1 found [2022-09-27T02:23:46.494Z] ==> 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-09-27T02:23:46.494Z] Release-Date: 2020-01-08 [2022-09-27T02:23:46.494Z] 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-09-27T02:23:46.494Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-27T02:23:46.494Z] ==> Jenkins CI detected. [2022-09-27T02:23:46.494Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-125 [2022-09-27T02:23:46.494Z] project root: . [2022-09-27T02:23:46.494Z] --> token set from env [2022-09-27T02:23:46.494Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-27T02:23:46.494Z] ==> Running gcov in . (disable via -X gcov) [2022-09-27T02:23:46.494Z] ==> Python coveragepy not found [2022-09-27T02:23:46.494Z] ==> Searching for coverage reports in: [2022-09-27T02:23:46.494Z] + . [2022-09-27T02:23:46.494Z] -> Found 1 reports [2022-09-27T02:23:46.494Z] ==> Detecting git/mercurial file structure [2022-09-27T02:23:46.494Z] ==> Reading reports [2022-09-27T02:23:46.494Z] + ./coverage.out bytes=79818 [2022-09-27T02:23:46.495Z] ==> Appending adjustments [2022-09-27T02:23:46.495Z] https://docs.codecov.io/docs/fixing-reports [2022-09-27T02:23:46.752Z] + Found adjustments [2022-09-27T02:23:46.752Z] ==> Gzipping contents [2022-09-27T02:23:46.752Z] 12K /tmp/codecov.VArQBM.gz [2022-09-27T02:23:46.752Z] ==> Uploading reports [2022-09-27T02:23:46.752Z] url: https://codecov.io [2022-09-27T02:23:46.752Z] query: branch=PR-125&commit=3ef24544b7f1728fc90fb329f8d3cbcb522656bf&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-09-27T02:23:46.752Z] -> Pinging Codecov [2022-09-27T02:23:46.752Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-125&commit=3ef24544b7f1728fc90fb329f8d3cbcb522656bf&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-09-27T02:23:47.010Z] -> Uploading to [2022-09-27T02:23:47.010Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-27/F29A59C45E3A92E06B3E522C9905F8EF/3ef24544b7f1728fc90fb329f8d3cbcb522656bf/a074ac9d-e58c-4f90-bb09-3c37fcbe1582.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T022346Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0cab31eb926511dbbf5a516bd0eda0f04c37a2f17153da6611abadbc297c5837 [2022-09-27T02:23:47.010Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T02:23:47.010Z] Dload Upload Total Spent Left Speed [2022-09-27T02:23:47.268Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10924 0 0 100 10924 0 49429 --:--:-- --:--:-- --:--:-- 49207 100 10924 0 0 100 10924 0 44048 --:--:-- --:--:-- --:--:-- 43871 [2022-09-27T02:23:47.268Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/3ef24544b7f1728fc90fb329f8d3cbcb522656bf [Pipeline] } [2022-09-27T02:23:47.274Z] 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-09-27T02:23:47.926Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] [2022-09-27T02:23:47.926Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-09-27T02:23:47.926Z] total 16 [2022-09-27T02:23:47.926Z] drwxr-xr-x 3 root root 4096 Sep 27 02:13 . [2022-09-27T02:23:47.926Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 02:13 .. [2022-09-27T02:23:47.926Z] drwxr-xr-x 2 root root 4096 Sep 27 02:13 cost [2022-09-27T02:23:47.926Z] -rw-r--r-- 1 root root 92 Sep 27 02:13 cost.csv [2022-09-27T02:23:47.926Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-09-27T02:23:47.926Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-09-27T02:23:47.926Z] total 16 [2022-09-27T02:23:47.926Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 02:13 . [2022-09-27T02:23:47.926Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 02:13 .. [2022-09-27T02:23:47.926Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 02:13 cost [2022-09-27T02:23:47.926Z] -rw-r--r-- 1 jenkins jenkins 92 Sep 27 02:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-27T02:23:48.211Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T02:23:49.063Z] ---> package-listing.sh [2022-09-27T02:23:49.063Z] ++ facter osfamily [2022-09-27T02:23:49.063Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-27T02:23:49.322Z] + OS_FAMILY=debian [2022-09-27T02:23:49.322Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-125 [2022-09-27T02:23:49.322Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-27T02:23:49.322Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-27T02:23:49.322Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-27T02:23:49.322Z] + PACKAGES=/tmp/packages_start.txt [2022-09-27T02:23:49.322Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-09-27T02:23:49.322Z] + PACKAGES=/tmp/packages_end.txt [2022-09-27T02:23:49.322Z] + case "${OS_FAMILY}" in [2022-09-27T02:23:49.322Z] + dpkg -l [2022-09-27T02:23:49.322Z] + grep '^ii' [2022-09-27T02:23:49.322Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-27T02:23:49.322Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-27T02:23:49.322Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-27T02:23:49.322Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-09-27T02:23:49.322Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ [2022-09-27T02:23:49.322Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-125/archives/ [Pipeline] echo [2022-09-27T02:23:49.333Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-27T02:23:49.618Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T02:23:49.912Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T02:23:49.912Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T02:23:49.976Z] prd-ubuntu20.04-docker-8c-8g-1281 does not seem to be running inside a container [2022-09-27T02:23:49.993Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-27T02:23:50.376Z] $ docker top 896a01a3f323a48581d2d9c0aeb18b0d76393c0936b6809864387d5b69212414 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T02:23:50.736Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-27T02:23:51.020Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-27T02:23:51.303Z] + ls /var/log/sa-host [2022-09-27T02:23:51.303Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T02:23:51.367Z] provisioning config files... [2022-09-27T02:23:51.376Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config10469036568378137090tmp [Pipeline] { [Pipeline] echo [2022-09-27T02:23:51.390Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T02:23:51.668Z] ---> create-netrc.sh [Pipeline] } [2022-09-27T02:23:51.674Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-27T02:23:51.996Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-27T02:23:52.003Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T02:23:52.284Z] ---> sudo-logs.sh [2022-09-27T02:23:52.284Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-27T02:23:52.304Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T02:23:52.585Z] ---> job-cost.sh [2022-09-27T02:23:52.585Z] lf-activate-venv: SKIPPING [2022-09-27T02:23:52.585Z] DEBUG: total: 0.2199999988079071 [2022-09-27T02:23:52.585Z] INFO: Retrieving Stack Cost... [2022-09-27T02:23:53.152Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T02:23:53.411Z] INFO: Archiving Costs [Pipeline] echo [2022-09-27T02:23:53.422Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T02:23:53.705Z] ---> logs-deploy.sh [2022-09-27T02:23:53.705Z] lf-activate-venv: SKIPPING [2022-09-27T02:23:53.705Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/15 [2022-09-27T02:23:53.705Z] INFO: archiving workspace using pattern(s): [2022-09-27T02:23:54.640Z] Archives upload complete. [2022-09-27T02:23:54.640Z] INFO: archiving logs to Nexus