Pull request #169 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e506b749bbe7f4e70458109a26677d2afcd6fe78+2a5a153b38960530813a839b4b25ddc04c5f9660 (7c7a0bc817d1f7976bb3be4d93c9420915f1e904) 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-ssh3350906464217583757.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-ssh15904393808150414252.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-169/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-169/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1686334164474818024.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-ssh15613877467663845161.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-169/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-169/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10331000598341274839.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 ‘prd-centos7-blackbox-4c-2g-6539’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-6803’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6804’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6805’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6811’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6812’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6813’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-6806’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6807’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6808’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6816 in /w/workspace/undry_device-onvif-camera_PR-169 [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-169 # 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/169/head:refs/remotes/origin/PR-169 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2a5a153b38960530813a839b4b25ddc04c5f9660 into PR head commit e506b749bbe7f4e70458109a26677d2afcd6fe78 Merge succeeded, producing e506b749bbe7f4e70458109a26677d2afcd6fe78 Checking out Revision e506b749bbe7f4e70458109a26677d2afcd6fe78 (PR-169) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-03T03:40:51.983Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-03T03:40:52.025Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-03T03:40:52.037Z] ========================================================= [2022-10-03T03:40:52.037Z] EdgeX Global Pipelines Version Info [2022-10-03T03:40:52.037Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f e506b749bbe7f4e70458109a26677d2afcd6fe78 # 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 2a5a153b38960530813a839b4b25ddc04c5f9660 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e506b749bbe7f4e70458109a26677d2afcd6fe78 # timeout=10 > git rev-list --no-walk 77e27a0582289f3b62e1ae2b21962694e5814c8c # timeout=10 [2022-10-03T03:40:52.751Z] ------------------- [2022-10-03T03:40:52.751Z] stable info: [2022-10-03T03:40:52.751Z] ------------------- [2022-10-03T03:40:52.751Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-03T03:40:52.751Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T03:40:52.751Z] Message: update stable to v1.0.239 [2022-10-03T03:40:53.331Z] ------------------- [2022-10-03T03:40:53.331Z] experimental info: [2022-10-03T03:40:53.331Z] ------------------- [2022-10-03T03:40:53.331Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-03T03:40:53.331Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T03:40:53.331Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-03T03:40:53.496Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-03T03:40:53.509Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-03T03:40:53.523Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-03T03:40:53.533Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-03T03:40:53.543Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-03T03:40:53.552Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-03T03:40:53.562Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-03T03:40:53.572Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-03T03:40:53.583Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-03T03:40:53.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-03T03:40:53.606Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-03T03:40:53.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-03T03:40:53.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-03T03:40:53.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-03T03:40:53.651Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T03:40:53.662Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T03:40:53.674Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T03:40:53.685Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T03:40:53.696Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-03T03:40:53.707Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-03T03:40:53.717Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-03T03:40:53.725Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-03T03:40:53.734Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-03T03:40:53.742Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-03T03:40:53.754Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-03T03:40:53.765Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-03T03:40:53.774Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-03T03:40:53.782Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-169 [Pipeline] echo [2022-10-03T03:40:53.790Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-169 [Pipeline] echo [2022-10-03T03:40:53.798Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-169 [Pipeline] echo [2022-10-03T03:40:53.806Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e506b749bbe7f4e70458109a26677d2afcd6fe78 [Pipeline] echo [2022-10-03T03:40:53.814Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e506b74 [Pipeline] echo [2022-10-03T03:40:53.822Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T03:40:53.851Z] provisioning config files... [2022-10-03T03:40:53.866Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-169@tmp/config2377557055777173123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:40:54.167Z] ---> docker-login.sh [2022-10-03T03:40:54.167Z] nexus3.edgexfoundry.org:10001 [2022-10-03T03:40:54.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:40:54.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:40:54.433Z] Configure a credential helper to remove this warning. See [2022-10-03T03:40:54.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:40:54.433Z] [2022-10-03T03:40:54.433Z] Login Succeeded [2022-10-03T03:40:54.433Z] nexus3.edgexfoundry.org:10002 [2022-10-03T03:40:54.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:40:54.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:40:54.695Z] Configure a credential helper to remove this warning. See [2022-10-03T03:40:54.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:40:54.695Z] [2022-10-03T03:40:54.695Z] Login Succeeded [2022-10-03T03:40:54.695Z] nexus3.edgexfoundry.org:10003 [2022-10-03T03:40:54.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:40:54.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:40:54.695Z] Configure a credential helper to remove this warning. See [2022-10-03T03:40:54.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:40:54.695Z] [2022-10-03T03:40:54.695Z] Login Succeeded [2022-10-03T03:40:54.695Z] nexus3.edgexfoundry.org:10004 [2022-10-03T03:40:54.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:40:54.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:40:54.961Z] Configure a credential helper to remove this warning. See [2022-10-03T03:40:54.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:40:54.961Z] [2022-10-03T03:40:54.961Z] Login Succeeded [2022-10-03T03:40:54.961Z] docker.io [2022-10-03T03:40:54.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:40:55.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:40:55.221Z] Configure a credential helper to remove this warning. See [2022-10-03T03:40:55.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:40:55.221Z] [2022-10-03T03:40:55.221Z] Login Succeeded [2022-10-03T03:40:55.221Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T03:40:55.228Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-03T03:40:55.601Z] + git rev-list -1 --merges e506b749bbe7f4e70458109a26677d2afcd6fe78~1..e506b749bbe7f4e70458109a26677d2afcd6fe78 [Pipeline] echo [2022-10-03T03:40:55.641Z] -----------> git rev-list -1 --merges e506b749bbe7f4e70458109a26677d2afcd6fe78~1..e506b749bbe7f4e70458109a26677d2afcd6fe78 e506b749bbe7f4e70458109a26677d2afcd6fe78 [false] [Pipeline] sh [2022-10-03T03:40:55.928Z] + git log --format=format:%s -1 e506b749bbe7f4e70458109a26677d2afcd6fe78 [Pipeline] echo [2022-10-03T03:40:55.941Z] ========================================================= [2022-10-03T03:40:55.941Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-03T03:40:55.941Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T03:40:56.260Z] + git log --format=format:%s -1 e506b749bbe7f4e70458109a26677d2afcd6fe78 [Pipeline] echo [2022-10-03T03:40:56.270Z] [semverPrep] GIT_COMMIT: e506b749bbe7f4e70458109a26677d2afcd6fe78, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-10-03T03:40:56.277Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-03T03:40:56.613Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-03T03:40:56.613Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-03T03:40:56.613Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-03T03:40:56.613Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-03T03:40:56.613Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2022-10-03T03:40:56.613Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-03T03:40:56.613Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:40:56.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T03:40:56.947Z] [2022-10-03T03:40:56.947Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:40:57.247Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T03:40:57.247Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-03T03:40:57.247Z] b85a868b505f: Pulling fs layer [2022-10-03T03:40:57.247Z] e2be974225ed: Pulling fs layer [2022-10-03T03:40:57.247Z] 339a4e72a1f5: Pulling fs layer [2022-10-03T03:40:57.247Z] 988bab9f4d93: Pulling fs layer [2022-10-03T03:40:57.247Z] 1469e6f7b9e6: Pulling fs layer [2022-10-03T03:40:57.247Z] eaf3925da568: Pulling fs layer [2022-10-03T03:40:57.247Z] bab4dde63d76: Pulling fs layer [2022-10-03T03:40:57.247Z] bde34c3a00c8: Pulling fs layer [2022-10-03T03:40:57.247Z] b352a97aabf1: Pulling fs layer [2022-10-03T03:40:57.247Z] 4872d77fe225: Pulling fs layer [2022-10-03T03:40:57.247Z] 5851b861e8e6: Pulling fs layer [2022-10-03T03:40:57.247Z] 988bab9f4d93: Waiting [2022-10-03T03:40:57.247Z] bab4dde63d76: Waiting [2022-10-03T03:40:57.247Z] 1469e6f7b9e6: Waiting [2022-10-03T03:40:57.247Z] bde34c3a00c8: Waiting [2022-10-03T03:40:57.247Z] eaf3925da568: Waiting [2022-10-03T03:40:57.247Z] 5851b861e8e6: Waiting [2022-10-03T03:40:57.247Z] 4872d77fe225: Waiting [2022-10-03T03:40:57.247Z] b352a97aabf1: Waiting [2022-10-03T03:40:57.247Z] e2be974225ed: Verifying Checksum [2022-10-03T03:40:57.247Z] e2be974225ed: Download complete [2022-10-03T03:40:57.247Z] 988bab9f4d93: Verifying Checksum [2022-10-03T03:40:57.247Z] 988bab9f4d93: Download complete [2022-10-03T03:40:57.247Z] 339a4e72a1f5: Verifying Checksum [2022-10-03T03:40:57.247Z] 339a4e72a1f5: Download complete [2022-10-03T03:40:57.505Z] eaf3925da568: Verifying Checksum [2022-10-03T03:40:57.505Z] eaf3925da568: Download complete [2022-10-03T03:40:57.505Z] 1469e6f7b9e6: Verifying Checksum [2022-10-03T03:40:57.505Z] 1469e6f7b9e6: Download complete [2022-10-03T03:40:57.505Z] bde34c3a00c8: Download complete [2022-10-03T03:40:57.505Z] b352a97aabf1: Verifying Checksum [2022-10-03T03:40:57.505Z] b352a97aabf1: Download complete [2022-10-03T03:40:57.505Z] 4872d77fe225: Download complete [2022-10-03T03:40:57.505Z] 5851b861e8e6: Verifying Checksum [2022-10-03T03:40:57.505Z] 5851b861e8e6: Download complete [2022-10-03T03:40:57.505Z] b85a868b505f: Verifying Checksum [2022-10-03T03:40:57.505Z] b85a868b505f: Download complete [2022-10-03T03:40:57.764Z] bab4dde63d76: Verifying Checksum [2022-10-03T03:40:57.764Z] bab4dde63d76: Download complete [2022-10-03T03:40:58.697Z] b85a868b505f: Pull complete [2022-10-03T03:40:58.955Z] e2be974225ed: Pull complete [2022-10-03T03:40:59.524Z] 339a4e72a1f5: Pull complete [2022-10-03T03:40:59.524Z] 988bab9f4d93: Pull complete [2022-10-03T03:40:59.783Z] 1469e6f7b9e6: Pull complete [2022-10-03T03:40:59.784Z] eaf3925da568: Pull complete [2022-10-03T03:41:01.695Z] bab4dde63d76: Pull complete [2022-10-03T03:41:01.956Z] bde34c3a00c8: Pull complete [2022-10-03T03:41:01.956Z] b352a97aabf1: Pull complete [2022-10-03T03:41:02.216Z] 4872d77fe225: Pull complete [2022-10-03T03:41:02.216Z] 5851b861e8e6: Pull complete [2022-10-03T03:41:02.216Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-03T03:41:02.216Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T03:41:02.216Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:41:02.311Z] prd-ubuntu20.04-docker-8c-8g-6816 does not seem to be running inside a container [2022-10-03T03:41:02.345Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-169 -v /w/workspace/undry_device-onvif-camera_PR-169:/w/workspace/undry_device-onvif-camera_PR-169:rw,z -v /w/workspace/undry_device-onvif-camera_PR-169@tmp:/w/workspace/undry_device-onvif-camera_PR-169@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-03T03:41:04.712Z] $ docker top f95671c98e148b17c3cf6888ca8639865566bb8859741569d3ed52d68e10644c -eo pid,comm [2022-10-03T03:41:04.768Z] 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-10-03T03:41:04.768Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-03T03:41:04.800Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T03:41:04.800Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T03:41:04.927Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T03:41:04.931Z] $ docker exec f95671c98e148b17c3cf6888ca8639865566bb8859741569d3ed52d68e10644c ssh-agent [2022-10-03T03:41:05.038Z] SSH_AUTH_SOCK=/tmp/ssh-UlgY2NsXvj3v/agent.32 [2022-10-03T03:41:05.038Z] SSH_AGENT_PID=38 [2022-10-03T03:41:05.045Z] Running ssh-add (command line suppressed) [2022-10-03T03:41:05.137Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-169@tmp/private_key_2899855344117178119.key (/w/workspace/undry_device-onvif-camera_PR-169@tmp/private_key_2899855344117178119.key) [2022-10-03T03:41:05.148Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T03:41:05.435Z] + git tag --points-at HEAD [Pipeline] } [2022-10-03T03:41:05.447Z] $ docker exec --env ******** --env ******** f95671c98e148b17c3cf6888ca8639865566bb8859741569d3ed52d68e10644c ssh-agent -k [2022-10-03T03:41:05.547Z] unset SSH_AUTH_SOCK; [2022-10-03T03:41:05.547Z] unset SSH_AGENT_PID; [2022-10-03T03:41:05.547Z] echo Agent pid 38 killed; [2022-10-03T03:41:05.559Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-03T03:41:05.583Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T03:41:05.583Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T03:41:05.705Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T03:41:05.709Z] $ docker exec f95671c98e148b17c3cf6888ca8639865566bb8859741569d3ed52d68e10644c ssh-agent [2022-10-03T03:41:05.829Z] SSH_AUTH_SOCK=/tmp/ssh-97X7e7gqAuCt/agent.70 [2022-10-03T03:41:05.829Z] SSH_AGENT_PID=76 [2022-10-03T03:41:05.835Z] Running ssh-add (command line suppressed) [2022-10-03T03:41:05.944Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-169@tmp/private_key_12298702322823425005.key (/w/workspace/undry_device-onvif-camera_PR-169@tmp/private_key_12298702322823425005.key) [2022-10-03T03:41:05.956Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T03:41:06.243Z] + git semver init [2022-10-03T03:41:06.517Z] 2022-10-03 03:41:06,413 [run_init] DEBUG init version:0.0.0 force:False [2022-10-03T03:41:06.517Z] 2022-10-03 03:41:06,414 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-169/.semver [2022-10-03T03:41:06.517Z] 2022-10-03 03:41:06,415 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-169/.semver [2022-10-03T03:41:06.517Z] 2022-10-03 03:41:06,415 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-169/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-169, universal_newlines=False, shell=None, istream=None) [2022-10-03T03:41:07.458Z] 2022-10-03 03:41:07,382 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-169/.git/info/exclude [2022-10-03T03:41:07.458Z] 2022-10-03 03:41:07,382 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-169/.semver/PR-169 with force:False [2022-10-03T03:41:07.458Z] 2022-10-03 03:41:07,383 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-169/.semver/PR-169 [2022-10-03T03:41:07.458Z] 2022-10-03 03:41:07,387 [execute] INFO git cat-file --batch-check [2022-10-03T03:41:07.458Z] 2022-10-03 03:41:07,387 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-169/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T03:41:07.458Z] 2022-10-03 03:41:07,396 [execute] INFO git cat-file --batch [2022-10-03T03:41:07.458Z] 2022-10-03 03:41:07,397 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-169/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T03:41:07.458Z] 2022-10-03 03:41:07,403 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-169/.semver/PR-169 [2022-10-03T03:41:07.458Z] 0.0.0 [Pipeline] } [2022-10-03T03:41:07.468Z] $ docker exec --env ******** --env ******** f95671c98e148b17c3cf6888ca8639865566bb8859741569d3ed52d68e10644c ssh-agent -k [2022-10-03T03:41:07.583Z] unset SSH_AUTH_SOCK; [2022-10-03T03:41:07.584Z] unset SSH_AGENT_PID; [2022-10-03T03:41:07.584Z] echo Agent pid 76 killed; [2022-10-03T03:41:07.596Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-03T03:41:07.896Z] + git semver [Pipeline] } [2022-10-03T03:41:08.173Z] $ docker stop --time=1 f95671c98e148b17c3cf6888ca8639865566bb8859741569d3ed52d68e10644c [2022-10-03T03:41:09.477Z] $ docker rm -f f95671c98e148b17c3cf6888ca8639865566bb8859741569d3ed52d68e10644c [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T03:41:09.830Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-03T03:41:10.001Z] Stashed 1 file(s) [Pipeline] echo [2022-10-03T03:41:10.003Z] [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-10-03T03:41:10.120Z] provisioning config files... [2022-10-03T03:41:10.129Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-169@tmp/config12355448156673833594tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:41:10.421Z] ---> docker-login.sh [2022-10-03T03:41:10.421Z] nexus3.edgexfoundry.org:10001 [2022-10-03T03:41:10.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:41:10.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:41:10.421Z] Configure a credential helper to remove this warning. See [2022-10-03T03:41:10.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:41:10.421Z] [2022-10-03T03:41:10.421Z] Login Succeeded [2022-10-03T03:41:10.421Z] nexus3.edgexfoundry.org:10002 [2022-10-03T03:41:10.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:41:10.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:41:10.421Z] Configure a credential helper to remove this warning. See [2022-10-03T03:41:10.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:41:10.421Z] [2022-10-03T03:41:10.421Z] Login Succeeded [2022-10-03T03:41:10.421Z] nexus3.edgexfoundry.org:10003 [2022-10-03T03:41:10.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:41:10.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:41:10.679Z] Configure a credential helper to remove this warning. See [2022-10-03T03:41:10.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:41:10.679Z] [2022-10-03T03:41:10.679Z] Login Succeeded [2022-10-03T03:41:10.680Z] nexus3.edgexfoundry.org:10004 [2022-10-03T03:41:10.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:41:10.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:41:10.680Z] Configure a credential helper to remove this warning. See [2022-10-03T03:41:10.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:41:10.680Z] [2022-10-03T03:41:10.680Z] Login Succeeded [2022-10-03T03:41:10.680Z] docker.io [2022-10-03T03:41:10.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:41:11.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:41:11.198Z] Configure a credential helper to remove this warning. See [2022-10-03T03:41:11.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:41:11.198Z] [2022-10-03T03:41:11.198Z] Login Succeeded [2022-10-03T03:41:11.198Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T03:41:11.206Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T03:41:11.261Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T03:41:11.271Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T03:41:11.277Z] ========================================================= [2022-10-03T03:41:11.277Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-03T03:41:11.277Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:41:11.579Z] + 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-10-03T03:41:11.579Z] Sending build context to Docker daemon 20.77MB [2022-10-03T03:41:11.579Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T03:41:11.579Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-03T03:41:11.843Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-03T03:41:11.843Z] 2408cc74d12b: Pulling fs layer [2022-10-03T03:41:11.843Z] ea60b727a1ce: Pulling fs layer [2022-10-03T03:41:11.843Z] 30c4a7721957: Pulling fs layer [2022-10-03T03:41:11.843Z] 370296b7ddb6: Pulling fs layer [2022-10-03T03:41:11.843Z] 7c6cee850709: Pulling fs layer [2022-10-03T03:41:11.843Z] aa9baa53a306: Pulling fs layer [2022-10-03T03:41:11.843Z] 8b309c321861: Pulling fs layer [2022-10-03T03:41:11.843Z] d8d76fd02f46: Pulling fs layer [2022-10-03T03:41:11.843Z] fa31f396de31: Pulling fs layer [2022-10-03T03:41:11.843Z] 370296b7ddb6: Waiting [2022-10-03T03:41:11.843Z] 7c6cee850709: Waiting [2022-10-03T03:41:11.843Z] 8b309c321861: Waiting [2022-10-03T03:41:11.843Z] d8d76fd02f46: Waiting [2022-10-03T03:41:11.843Z] fa31f396de31: Waiting [2022-10-03T03:41:11.843Z] aa9baa53a306: Waiting [2022-10-03T03:41:11.843Z] 30c4a7721957: Download complete [2022-10-03T03:41:11.843Z] ea60b727a1ce: Verifying Checksum [2022-10-03T03:41:11.843Z] ea60b727a1ce: Download complete [2022-10-03T03:41:11.843Z] 7c6cee850709: Download complete [2022-10-03T03:41:11.843Z] aa9baa53a306: Verifying Checksum [2022-10-03T03:41:11.843Z] aa9baa53a306: Download complete [2022-10-03T03:41:11.843Z] 2408cc74d12b: Verifying Checksum [2022-10-03T03:41:11.843Z] 2408cc74d12b: Download complete [2022-10-03T03:41:11.843Z] 8b309c321861: Verifying Checksum [2022-10-03T03:41:11.843Z] 8b309c321861: Download complete [2022-10-03T03:41:11.843Z] 2408cc74d12b: Pull complete [2022-10-03T03:41:12.117Z] ea60b727a1ce: Pull complete [2022-10-03T03:41:12.117Z] 30c4a7721957: Pull complete [2022-10-03T03:41:12.707Z] fa31f396de31: Verifying Checksum [2022-10-03T03:41:12.707Z] fa31f396de31: Download complete [2022-10-03T03:41:12.707Z] 370296b7ddb6: Verifying Checksum [2022-10-03T03:41:12.707Z] 370296b7ddb6: Download complete [2022-10-03T03:41:12.965Z] d8d76fd02f46: Verifying Checksum [2022-10-03T03:41:12.965Z] d8d76fd02f46: Download complete [2022-10-03T03:41:17.163Z] 370296b7ddb6: Pull complete [2022-10-03T03:41:17.163Z] 7c6cee850709: Pull complete [2022-10-03T03:41:17.163Z] aa9baa53a306: Pull complete [2022-10-03T03:41:17.163Z] 8b309c321861: Pull complete [2022-10-03T03:41:19.064Z] d8d76fd02f46: Pull complete [2022-10-03T03:41:19.630Z] fa31f396de31: Pull complete [2022-10-03T03:41:19.630Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-03T03:41:19.630Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-03T03:41:19.630Z] ---> cef68f9685f8 [2022-10-03T03:41:19.630Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-03T03:41:22.933Z] ---> Running in a6d68139b158 [2022-10-03T03:41:22.933Z] Removing intermediate container a6d68139b158 [2022-10-03T03:41:22.933Z] ---> c5de2298633c [2022-10-03T03:41:22.933Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T03:41:22.933Z] ---> Running in cceda6ba665e [2022-10-03T03:41:23.192Z] Removing intermediate container cceda6ba665e [2022-10-03T03:41:23.192Z] ---> 6946bf6bcac0 [2022-10-03T03:41:23.192Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T03:41:23.192Z] ---> Running in 19dccdf21ae8 [2022-10-03T03:41:23.192Z] Removing intermediate container 19dccdf21ae8 [2022-10-03T03:41:23.192Z] ---> 68720435c554 [2022-10-03T03:41:23.192Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T03:41:23.192Z] ---> Running in 69817b0d3130 [2022-10-03T03:41:23.452Z] Removing intermediate container 69817b0d3130 [2022-10-03T03:41:23.452Z] ---> 0463ba1a91c9 [2022-10-03T03:41:23.452Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-03T03:41:23.452Z] ---> Running in 3bf9d46836dd [2022-10-03T03:41:23.452Z] Removing intermediate container 3bf9d46836dd [2022-10-03T03:41:23.452Z] ---> e17c2667f676 [2022-10-03T03:41:23.452Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T03:41:23.452Z] ---> Running in 884a98ee969a [2022-10-03T03:41:24.021Z] Removing intermediate container 884a98ee969a [2022-10-03T03:41:24.021Z] ---> 83b32d95aa4f [2022-10-03T03:41:24.021Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T03:41:24.021Z] ---> Running in 99a9d421744e [2022-10-03T03:41:24.281Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T03:41:25.088Z] Still waiting to schedule task [2022-10-03T03:41:25.089Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6809’ [2022-10-03T03:41:25.224Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T03:41:25.484Z] OK: 211 MiB in 51 packages [2022-10-03T03:41:25.744Z] Removing intermediate container 99a9d421744e [2022-10-03T03:41:25.744Z] ---> 69a9bd0eb729 [2022-10-03T03:41:25.744Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-03T03:41:26.009Z] ---> Running in 7fb0f39d787f [2022-10-03T03:41:26.009Z] Removing intermediate container 7fb0f39d787f [2022-10-03T03:41:26.009Z] ---> a34674144262 [2022-10-03T03:41:26.009Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-03T03:41:26.268Z] ---> fe17e78561de [2022-10-03T03:41:26.268Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T03:41:26.268Z] ---> Running in 1ad607d0794f [2022-10-03T03:41:44.486Z] Removing intermediate container 1ad607d0794f [2022-10-03T03:41:44.486Z] ---> 8e3c1a185519 [2022-10-03T03:41:44.486Z] Step 13/14 : COPY . . [2022-10-03T03:41:45.061Z] ---> 6f4ebb9ec966 [2022-10-03T03:41:45.061Z] Step 14/14 : RUN ${MAKE} [2022-10-03T03:41:45.061Z] ---> Running in f5063ca49754 [2022-10-03T03:41:45.319Z] noop [2022-10-03T03:41:45.578Z] Removing intermediate container f5063ca49754 [2022-10-03T03:41:45.578Z] ---> f97f44e03f32 [2022-10-03T03:41:45.578Z] Successfully built f97f44e03f32 [2022-10-03T03:41:45.578Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:41:45.905Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T03:41:45.905Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:41:45.971Z] prd-ubuntu20.04-docker-8c-8g-6816 does not seem to be running inside a container [2022-10-03T03:41:46.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-169 -v /w/workspace/undry_device-onvif-camera_PR-169:/w/workspace/undry_device-onvif-camera_PR-169:rw,z -v /w/workspace/undry_device-onvif-camera_PR-169@tmp:/w/workspace/undry_device-onvif-camera_PR-169@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-03T03:41:46.370Z] $ docker top ec3c6293caf6650349d8e71f1442e69d78770935dfded1079e9be948c431ef82 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T03:41:46.711Z] + go version [2022-10-03T03:41:46.711Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-03T03:41:46.721Z] $ docker stop --time=1 ec3c6293caf6650349d8e71f1442e69d78770935dfded1079e9be948c431ef82 [2022-10-03T03:41:48.041Z] $ docker rm -f ec3c6293caf6650349d8e71f1442e69d78770935dfded1079e9be948c431ef82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:41:48.447Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T03:41:48.447Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:41:48.516Z] prd-ubuntu20.04-docker-8c-8g-6816 does not seem to be running inside a container [2022-10-03T03:41:48.548Z] $ 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-169 -v /w/workspace/undry_device-onvif-camera_PR-169:/w/workspace/undry_device-onvif-camera_PR-169:rw,z -v /w/workspace/undry_device-onvif-camera_PR-169@tmp:/w/workspace/undry_device-onvif-camera_PR-169@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-03T03:41:48.900Z] $ docker top 2bb75d41e706b4f500d951632b57f75f3e187a07494443a20a72e9b6d0fbec4b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T03:41:49.248Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-169 [Pipeline] fileExists [Pipeline] sh [2022-10-03T03:41:49.542Z] + make test [2022-10-03T03:41:49.542Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-03T03:41:49.800Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-03T03:42:01.998Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-03T03:42:01.998Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.033s coverage: 28.2% of statements [2022-10-03T03:42:01.999Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-03T03:42:01.999Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.283s coverage: 86.5% of statements [2022-10-03T03:42:08.555Z] 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-10-03T03:42:08.555Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T03:42:11.840Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T03:42:11.840Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T03:42:11.840Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T03:42:11.855Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T03:42:11.866Z] $ docker stop --time=1 2bb75d41e706b4f500d951632b57f75f3e187a07494443a20a72e9b6d0fbec4b [2022-10-03T03:42:14.430Z] $ docker rm -f 2bb75d41e706b4f500d951632b57f75f3e187a07494443a20a72e9b6d0fbec4b [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T03:42:14.854Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T03:42:14.912Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-03T03:42:15.374Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T03:42:15.696Z] + ls -al . [2022-10-03T03:42:15.696Z] total 236 [2022-10-03T03:42:15.696Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 03:41 . [2022-10-03T03:42:15.696Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:40 .. [2022-10-03T03:42:15.696Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 03:42 .git [2022-10-03T03:42:15.696Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:40 .github [2022-10-03T03:42:15.696Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 3 03:40 .gitignore [2022-10-03T03:42:15.696Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 3 03:40 .golangci.yml [2022-10-03T03:42:15.696Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 03:41 .semver [2022-10-03T03:42:15.696Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 3 03:40 Attribution.txt [2022-10-03T03:42:15.696Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 3 03:40 CHANGELOG.md [2022-10-03T03:42:15.696Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 3 03:40 Dockerfile [2022-10-03T03:42:15.696Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 03:40 GOVERNANCE.md [2022-10-03T03:42:15.696Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 3 03:40 Jenkinsfile [2022-10-03T03:42:15.696Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 3 03:40 LICENSE [2022-10-03T03:42:15.696Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 3 03:40 Makefile [2022-10-03T03:42:15.696Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 3 03:40 OWNERS.md [2022-10-03T03:42:15.696Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 3 03:40 README.md [2022-10-03T03:42:15.696Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 03:41 VERSION [2022-10-03T03:42:15.696Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 03:40 bin [2022-10-03T03:42:15.696Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:40 cmd [2022-10-03T03:42:15.696Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 3 03:42 coverage.out [2022-10-03T03:42:15.696Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 3 03:40 doc [2022-10-03T03:42:15.696Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 3 03:40 go.mod [2022-10-03T03:42:15.696Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 3 03:40 go.sum [2022-10-03T03:42:15.696Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:40 internal [2022-10-03T03:42:15.696Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:40 snap [2022-10-03T03:42:15.696Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 3 03:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:42:16.021Z] + 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=e506b749bbe7f4e70458109a26677d2afcd6fe78 --label arch=amd64 --label version=0.0.0 . [2022-10-03T03:42:16.022Z] Sending build context to Docker daemon 20.85MB [2022-10-03T03:42:16.022Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T03:42:16.022Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-03T03:42:16.022Z] ---> f97f44e03f32 [2022-10-03T03:42:16.022Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-03T03:42:16.279Z] ---> Running in f2d710450fd5 [2022-10-03T03:42:16.279Z] Removing intermediate container f2d710450fd5 [2022-10-03T03:42:16.279Z] ---> 8dd9c201767f [2022-10-03T03:42:16.279Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T03:42:16.280Z] ---> Running in db3dd285f370 [2022-10-03T03:42:16.539Z] Removing intermediate container db3dd285f370 [2022-10-03T03:42:16.539Z] ---> 387f82a3ca98 [2022-10-03T03:42:16.539Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T03:42:16.539Z] ---> Running in 533ea54b8480 [2022-10-03T03:42:16.539Z] Removing intermediate container 533ea54b8480 [2022-10-03T03:42:16.539Z] ---> 3ecd28a31261 [2022-10-03T03:42:16.539Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T03:42:16.539Z] ---> Running in dc537e86f618 [2022-10-03T03:42:16.539Z] Removing intermediate container dc537e86f618 [2022-10-03T03:42:16.539Z] ---> 7dd44aa375d6 [2022-10-03T03:42:16.539Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-03T03:42:16.797Z] ---> Running in 958b72a6ec6d [2022-10-03T03:42:16.797Z] Removing intermediate container 958b72a6ec6d [2022-10-03T03:42:16.798Z] ---> 915be53d3919 [2022-10-03T03:42:16.798Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T03:42:16.798Z] ---> Running in 8625f8419d78 [2022-10-03T03:42:18.178Z] Removing intermediate container 8625f8419d78 [2022-10-03T03:42:18.178Z] ---> 732c70d2c8ba [2022-10-03T03:42:18.178Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T03:42:18.438Z] ---> Running in 98f30549e0e6 [2022-10-03T03:42:18.696Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T03:42:19.632Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T03:42:19.891Z] OK: 211 MiB in 51 packages [2022-10-03T03:42:20.828Z] Removing intermediate container 98f30549e0e6 [2022-10-03T03:42:20.828Z] ---> 4af1381e85de [2022-10-03T03:42:20.828Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-03T03:42:20.828Z] ---> Running in 3ef76e8e4789 [2022-10-03T03:42:21.087Z] Removing intermediate container 3ef76e8e4789 [2022-10-03T03:42:21.087Z] ---> f460692e2be1 [2022-10-03T03:42:21.087Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-03T03:42:21.347Z] ---> 28d621658992 [2022-10-03T03:42:21.347Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T03:42:21.611Z] ---> Running in 08de390bfb10 [2022-10-03T03:42:22.547Z] Removing intermediate container 08de390bfb10 [2022-10-03T03:42:22.547Z] ---> 6a5209ffdd9f [2022-10-03T03:42:22.547Z] Step 13/27 : COPY . . [2022-10-03T03:42:23.496Z] ---> c10f9fe3071f [2022-10-03T03:42:23.496Z] Step 14/27 : RUN ${MAKE} [2022-10-03T03:42:23.496Z] ---> Running in c6b998126029 [2022-10-03T03:42:23.754Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-03T03:42:45.673Z] Removing intermediate container c6b998126029 [2022-10-03T03:42:45.673Z] ---> 7854e327d711 [2022-10-03T03:42:45.673Z] Step 15/27 : FROM alpine:3.16 [2022-10-03T03:42:45.673Z] 3.16: Pulling from library/alpine [2022-10-03T03:42:45.673Z] 213ec9aee27d: Pulling fs layer [2022-10-03T03:42:45.673Z] 213ec9aee27d: Verifying Checksum [2022-10-03T03:42:45.673Z] 213ec9aee27d: Download complete [2022-10-03T03:42:45.673Z] 213ec9aee27d: Pull complete [2022-10-03T03:42:45.673Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T03:42:45.673Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T03:42:45.673Z] ---> 9c6f07244728 [2022-10-03T03:42:45.673Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-03T03:42:45.673Z] ---> Running in 613c44afc916 [2022-10-03T03:42:45.673Z] Removing intermediate container 613c44afc916 [2022-10-03T03:42:45.673Z] ---> 65aae5ff7140 [2022-10-03T03:42:45.673Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-03T03:42:45.673Z] ---> Running in 08d97dbb80da [2022-10-03T03:42:45.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T03:42:46.189Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T03:42:46.189Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-03T03:42:46.189Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T03:42:46.189Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-03T03:42:46.448Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T03:42:46.448Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-03T03:42:46.448Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-03T03:42:46.448Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T03:42:46.448Z] OK: 8 MiB in 20 packages [2022-10-03T03:42:46.706Z] Removing intermediate container 08d97dbb80da [2022-10-03T03:42:46.706Z] ---> 0c03b56adf46 [2022-10-03T03:42:46.706Z] Step 18/27 : WORKDIR / [2022-10-03T03:42:46.706Z] ---> Running in 0632fea0bc05 [2022-10-03T03:42:46.962Z] Removing intermediate container 0632fea0bc05 [2022-10-03T03:42:46.962Z] ---> 9115fa818fc2 [2022-10-03T03:42:46.962Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-03T03:42:47.528Z] ---> a9ce97d09b4b [2022-10-03T03:42:47.528Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-03T03:42:47.528Z] ---> 4751015643bd [2022-10-03T03:42:47.528Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-03T03:42:47.787Z] ---> c5144f09f553 [2022-10-03T03:42:47.787Z] Step 22/27 : EXPOSE 59984 [2022-10-03T03:42:47.787Z] ---> Running in 361e3a139342 [2022-10-03T03:42:47.787Z] Removing intermediate container 361e3a139342 [2022-10-03T03:42:47.787Z] ---> b70dbef26e68 [2022-10-03T03:42:47.787Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-03T03:42:47.787Z] ---> Running in 5056b7ef7010 [2022-10-03T03:42:48.046Z] Removing intermediate container 5056b7ef7010 [2022-10-03T03:42:48.046Z] ---> 61927964ae29 [2022-10-03T03:42:48.046Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-03T03:42:48.046Z] ---> Running in 39dd554f7aa9 [2022-10-03T03:42:48.046Z] Removing intermediate container 39dd554f7aa9 [2022-10-03T03:42:48.046Z] ---> 4d9d9fd65397 [2022-10-03T03:42:48.046Z] Step 25/27 : LABEL arch=amd64 [2022-10-03T03:42:48.046Z] ---> Running in 71d55d13b246 [2022-10-03T03:42:48.304Z] Removing intermediate container 71d55d13b246 [2022-10-03T03:42:48.304Z] ---> b4ac8603a774 [2022-10-03T03:42:48.304Z] Step 26/27 : LABEL git_sha=e506b749bbe7f4e70458109a26677d2afcd6fe78 [2022-10-03T03:42:48.304Z] ---> Running in 126c0f24dfe9 [2022-10-03T03:42:48.304Z] Removing intermediate container 126c0f24dfe9 [2022-10-03T03:42:48.304Z] ---> adaf23620fca [2022-10-03T03:42:48.304Z] Step 27/27 : LABEL version=0.0.0 [2022-10-03T03:42:48.304Z] ---> Running in 35b02f6903b2 [2022-10-03T03:42:48.305Z] Removing intermediate container 35b02f6903b2 [2022-10-03T03:42:48.305Z] ---> 19a13d000514 [2022-10-03T03:42:48.305Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T03:42:48.305Z] Successfully built 19a13d000514 [2022-10-03T03:42:48.305Z] 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-10-03T03:42:48.717Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T03:42:48.717Z] [2022-10-03T03:42:48.717Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:42:49.013Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T03:42:49.013Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-03T03:42:49.013Z] 5eb5b503b376: Pulling fs layer [2022-10-03T03:42:49.013Z] 5c69ac0246d0: Pulling fs layer [2022-10-03T03:42:49.013Z] ec43610c2a17: Pulling fs layer [2022-10-03T03:42:49.013Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-03T03:42:49.013Z] 33b1e0a273af: Pulling fs layer [2022-10-03T03:42:49.013Z] 5d3b04190fa2: Pulling fs layer [2022-10-03T03:42:49.013Z] 2f39f015ded8: Pulling fs layer [2022-10-03T03:42:49.013Z] 3a2ae6a8a46f: Waiting [2022-10-03T03:42:49.013Z] 5d3b04190fa2: Waiting [2022-10-03T03:42:49.013Z] 2f39f015ded8: Waiting [2022-10-03T03:42:49.013Z] 33b1e0a273af: Waiting [2022-10-03T03:42:49.013Z] 5c69ac0246d0: Verifying Checksum [2022-10-03T03:42:49.013Z] 5c69ac0246d0: Download complete [2022-10-03T03:42:49.013Z] 3a2ae6a8a46f: Download complete [2022-10-03T03:42:49.013Z] 33b1e0a273af: Verifying Checksum [2022-10-03T03:42:49.013Z] 33b1e0a273af: Download complete [2022-10-03T03:42:49.013Z] 5d3b04190fa2: Verifying Checksum [2022-10-03T03:42:49.013Z] 5d3b04190fa2: Download complete [2022-10-03T03:42:49.013Z] ec43610c2a17: Verifying Checksum [2022-10-03T03:42:49.013Z] ec43610c2a17: Download complete [2022-10-03T03:42:49.271Z] 5eb5b503b376: Verifying Checksum [2022-10-03T03:42:49.271Z] 5eb5b503b376: Download complete [2022-10-03T03:42:49.836Z] 2f39f015ded8: Verifying Checksum [2022-10-03T03:42:49.836Z] 2f39f015ded8: Download complete [2022-10-03T03:42:50.402Z] 5eb5b503b376: Pull complete [2022-10-03T03:42:50.402Z] 5c69ac0246d0: Pull complete [2022-10-03T03:42:50.969Z] ec43610c2a17: Pull complete [2022-10-03T03:42:50.969Z] 3a2ae6a8a46f: Pull complete [2022-10-03T03:42:51.228Z] 33b1e0a273af: Pull complete [2022-10-03T03:42:51.228Z] 5d3b04190fa2: Pull complete [2022-10-03T03:42:55.412Z] 2f39f015ded8: Pull complete [2022-10-03T03:42:55.412Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-03T03:42:55.412Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T03:42:55.412Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:42:55.490Z] prd-ubuntu20.04-docker-8c-8g-6816 does not seem to be running inside a container [2022-10-03T03:42:55.522Z] $ 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-169 -v /w/workspace/undry_device-onvif-camera_PR-169:/w/workspace/undry_device-onvif-camera_PR-169:rw,z -v /w/workspace/undry_device-onvif-camera_PR-169@tmp:/w/workspace/undry_device-onvif-camera_PR-169@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-03T03:42:58.461Z] $ docker top a6f8a7570d39b1ca712f929d0cc3a35704d83e098edcd46177d0e6345153aaf8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:42:58.830Z] ---> job-cost.sh [2022-10-03T03:42:58.830Z] lf-activate-venv: SKIPPING [2022-10-03T03:42:58.830Z] INFO: No Stack... [2022-10-03T03:42:59.089Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T03:42:59.348Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T03:42:59.636Z] + cat /w/workspace/undry_device-onvif-camera_PR-169/archives/cost.csv+ [2022-10-03T03:42:59.636Z] cut -d, -f6 [Pipeline] lock [2022-10-03T03:42:59.648Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-169-3-stack-cost] [2022-10-03T03:42:59.654Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-169-3-stack-cost] did not exist. Created. [2022-10-03T03:42:59.654Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-169-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T03:42:59.949Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-03T03:42:59.984Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T03:42:59.994Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-169-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T03:43:00.010Z] $ docker stop --time=1 a6f8a7570d39b1ca712f929d0cc3a35704d83e098edcd46177d0e6345153aaf8 [2022-10-03T03:43:01.163Z] $ docker rm -f a6f8a7570d39b1ca712f929d0cc3a35704d83e098edcd46177d0e6345153aaf8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-03T03:43:54.007Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6818 in /w/workspace/undry_device-onvif-camera_PR-169 [Pipeline] { [Pipeline] ws [2022-10-03T03:43:54.021Z] Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout [2022-10-03T03:43:54.061Z] The recommended git tool is: git [2022-10-03T03:43:59.664Z] using credential edgex-jenkins-ssh [2022-10-03T03:43:59.679Z] Cloning the remote Git repository [2022-10-03T03:43:59.725Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-03T03:43:59.803Z] > git init /w/workspace/device-onvif-camera/3 # timeout=10 [2022-10-03T03:43:59.958Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-03T03:43:59.960Z] > git --version # timeout=10 [2022-10-03T03:43:59.985Z] > git --version # 'git version 2.25.1' [2022-10-03T03:43:59.988Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T03:44:00.046Z] Verifying host key using known hosts file [2022-10-03T03:44:00.265Z] 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-10-03T03:44:00.279Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T03:44:01.788Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-03T03:44:01.811Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T03:44:02.802Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-03T03:44:02.850Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-03T03:44:02.852Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T03:44:03.489Z] Merging remotes/origin/main commit 2a5a153b38960530813a839b4b25ddc04c5f9660 into PR head commit e506b749bbe7f4e70458109a26677d2afcd6fe78 [2022-10-03T03:44:03.904Z] Merge succeeded, producing e506b749bbe7f4e70458109a26677d2afcd6fe78 [2022-10-03T03:44:03.905Z] Checking out Revision e506b749bbe7f4e70458109a26677d2afcd6fe78 (PR-169) [2022-10-03T03:44:02.859Z] Verifying host key using known hosts file [2022-10-03T03:44:02.866Z] 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-10-03T03:44:02.878Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-03T03:44:03.509Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T03:44:03.545Z] > git checkout -f e506b749bbe7f4e70458109a26677d2afcd6fe78 # timeout=10 [2022-10-03T03:44:03.790Z] > git remote # timeout=10 [2022-10-03T03:44:03.811Z] > git config --get remote.origin.url # timeout=10 [2022-10-03T03:44:03.845Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T03:44:03.850Z] Verifying host key using known hosts file [2022-10-03T03:44:03.854Z] 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-10-03T03:44:03.862Z] > git merge 2a5a153b38960530813a839b4b25ddc04c5f9660 # timeout=10 [2022-10-03T03:44:03.888Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-03T03:44:03.911Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T03:44:03.925Z] > git checkout -f e506b749bbe7f4e70458109a26677d2afcd6fe78 # timeout=10 [2022-10-03T03:44:04.668Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T03:44:05.524Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-03T03:44:05.524Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T03:44:05.524Z] Dload Upload Total Spent Left Speed [2022-10-03T03:44:05.524Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 198k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh [2022-10-03T03:44:06.139Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-03T03:44:06.470Z] + sudo tee /etc/docker/daemon.new [2022-10-03T03:44:06.470Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-03T03:44:06.470Z] { [2022-10-03T03:44:06.470Z] "registry-mirrors": [ [2022-10-03T03:44:06.470Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-03T03:44:06.470Z] ], [2022-10-03T03:44:06.470Z] "bip": "10.250.0.254/24", [2022-10-03T03:44:06.470Z] "hosts": [ [2022-10-03T03:44:06.470Z] "tcp://0.0.0.0:5555", [2022-10-03T03:44:06.470Z] "unix:///var/run/docker.sock" [2022-10-03T03:44:06.470Z] ], [2022-10-03T03:44:06.470Z] "mtu": 1458, [2022-10-03T03:44:06.470Z] "selinux-enabled": true, [2022-10-03T03:44:06.470Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-03T03:44:06.470Z] } [Pipeline] sh [2022-10-03T03:44:06.799Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-03T03:44:07.128Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T03:44:25.388Z] provisioning config files... [2022-10-03T03:44:25.416Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config4285961882444701989tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:44:25.767Z] ---> docker-login.sh [2022-10-03T03:44:25.767Z] nexus3.edgexfoundry.org:10001 [2022-10-03T03:44:26.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:44:26.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:44:26.356Z] Configure a credential helper to remove this warning. See [2022-10-03T03:44:26.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:44:26.356Z] [2022-10-03T03:44:26.356Z] Login Succeeded [2022-10-03T03:44:26.356Z] nexus3.edgexfoundry.org:10002 [2022-10-03T03:44:26.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:44:26.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:44:26.896Z] Configure a credential helper to remove this warning. See [2022-10-03T03:44:26.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:44:26.896Z] [2022-10-03T03:44:26.896Z] Login Succeeded [2022-10-03T03:44:26.896Z] nexus3.edgexfoundry.org:10003 [2022-10-03T03:44:27.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:44:27.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:44:27.168Z] Configure a credential helper to remove this warning. See [2022-10-03T03:44:27.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:44:27.168Z] [2022-10-03T03:44:27.168Z] Login Succeeded [2022-10-03T03:44:27.168Z] nexus3.edgexfoundry.org:10004 [2022-10-03T03:44:27.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:44:27.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:44:27.438Z] Configure a credential helper to remove this warning. See [2022-10-03T03:44:27.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:44:27.438Z] [2022-10-03T03:44:27.438Z] Login Succeeded [2022-10-03T03:44:27.438Z] docker.io [2022-10-03T03:44:27.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:44:28.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:44:28.297Z] Configure a credential helper to remove this warning. See [2022-10-03T03:44:28.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:44:28.297Z] [2022-10-03T03:44:28.297Z] Login Succeeded [2022-10-03T03:44:28.297Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T03:44:28.312Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T03:44:28.463Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T03:44:28.472Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T03:44:28.479Z] ========================================================= [2022-10-03T03:44:28.479Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-03T03:44:28.479Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:44:28.817Z] + 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-10-03T03:44:29.406Z] Sending build context to Docker daemon 14.2MB [2022-10-03T03:44:29.406Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T03:44:29.406Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-03T03:44:29.406Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-03T03:44:29.406Z] b3c136eddcbf: Pulling fs layer [2022-10-03T03:44:29.406Z] c0a3192eca97: Pulling fs layer [2022-10-03T03:44:29.406Z] a050256f5b6f: Pulling fs layer [2022-10-03T03:44:29.406Z] 656be50a0ddc: Pulling fs layer [2022-10-03T03:44:29.406Z] 2bbca73fdf42: Pulling fs layer [2022-10-03T03:44:29.406Z] f607e4fc86c3: Pulling fs layer [2022-10-03T03:44:29.406Z] 4d572c569a2c: Pulling fs layer [2022-10-03T03:44:29.406Z] fcf976331f73: Pulling fs layer [2022-10-03T03:44:29.406Z] f607e4fc86c3: Waiting [2022-10-03T03:44:29.406Z] 2bbca73fdf42: Waiting [2022-10-03T03:44:29.406Z] 4d572c569a2c: Waiting [2022-10-03T03:44:29.406Z] a050256f5b6f: Download complete [2022-10-03T03:44:29.406Z] c0a3192eca97: Verifying Checksum [2022-10-03T03:44:29.406Z] c0a3192eca97: Download complete [2022-10-03T03:44:29.677Z] 2bbca73fdf42: Verifying Checksum [2022-10-03T03:44:29.677Z] 2bbca73fdf42: Download complete [2022-10-03T03:44:29.677Z] f607e4fc86c3: Verifying Checksum [2022-10-03T03:44:29.677Z] f607e4fc86c3: Download complete [2022-10-03T03:44:29.677Z] b3c136eddcbf: Verifying Checksum [2022-10-03T03:44:29.677Z] b3c136eddcbf: Download complete [2022-10-03T03:44:30.290Z] b3c136eddcbf: Pull complete [2022-10-03T03:44:30.887Z] fcf976331f73: Verifying Checksum [2022-10-03T03:44:30.887Z] fcf976331f73: Download complete [2022-10-03T03:44:30.887Z] c0a3192eca97: Pull complete [2022-10-03T03:44:31.159Z] a050256f5b6f: Pull complete [2022-10-03T03:44:32.131Z] 4d572c569a2c: Verifying Checksum [2022-10-03T03:44:32.131Z] 4d572c569a2c: Download complete [2022-10-03T03:44:32.725Z] 656be50a0ddc: Verifying Checksum [2022-10-03T03:44:32.725Z] 656be50a0ddc: Download complete [2022-10-03T03:44:45.101Z] 656be50a0ddc: Pull complete [2022-10-03T03:44:45.101Z] 2bbca73fdf42: Pull complete [2022-10-03T03:44:45.101Z] f607e4fc86c3: Pull complete [2022-10-03T03:44:51.791Z] 4d572c569a2c: Pull complete [2022-10-03T03:44:53.208Z] fcf976331f73: Pull complete [2022-10-03T03:44:53.208Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-03T03:44:53.208Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-03T03:44:53.208Z] ---> 3970a7415f9e [2022-10-03T03:44:53.208Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-03T03:44:55.312Z] ---> Running in 3e50c854bab1 [2022-10-03T03:44:55.312Z] Removing intermediate container 3e50c854bab1 [2022-10-03T03:44:55.312Z] ---> c3f33b6babd6 [2022-10-03T03:44:55.312Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T03:44:55.587Z] ---> Running in d78d86675c88 [2022-10-03T03:44:55.857Z] Removing intermediate container d78d86675c88 [2022-10-03T03:44:55.857Z] ---> 4682346a5380 [2022-10-03T03:44:55.857Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T03:44:55.857Z] ---> Running in c0b6f2c60472 [2022-10-03T03:44:56.133Z] Removing intermediate container c0b6f2c60472 [2022-10-03T03:44:56.133Z] ---> 6d6dfebdc0d7 [2022-10-03T03:44:56.133Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T03:44:56.133Z] ---> Running in 7d99c20c49a8 [2022-10-03T03:44:56.727Z] Removing intermediate container 7d99c20c49a8 [2022-10-03T03:44:56.727Z] ---> a939dba299fd [2022-10-03T03:44:56.727Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-03T03:44:56.727Z] ---> Running in 2f938e20781d [2022-10-03T03:44:56.996Z] Removing intermediate container 2f938e20781d [2022-10-03T03:44:56.996Z] ---> f6194f6614cf [2022-10-03T03:44:56.996Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T03:44:56.996Z] ---> Running in 92a4c1016e50 [2022-10-03T03:44:58.948Z] Removing intermediate container 92a4c1016e50 [2022-10-03T03:44:58.948Z] ---> 7bbf8e32f10f [2022-10-03T03:44:58.948Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T03:44:58.948Z] ---> Running in 8ca777625487 [2022-10-03T03:44:59.911Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T03:45:00.498Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T03:45:01.459Z] OK: 221 MiB in 51 packages [2022-10-03T03:45:02.425Z] Removing intermediate container 8ca777625487 [2022-10-03T03:45:02.425Z] ---> cb6dd0e2acdd [2022-10-03T03:45:02.425Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-03T03:45:02.425Z] ---> Running in 161ea36d8776 [2022-10-03T03:45:02.694Z] Removing intermediate container 161ea36d8776 [2022-10-03T03:45:02.694Z] ---> 0759a0c4178f [2022-10-03T03:45:02.694Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-03T03:45:03.285Z] ---> 721a5f6a4a66 [2022-10-03T03:45:03.285Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T03:45:03.285Z] ---> Running in 1e6392490d61 [2022-10-03T03:45:59.727Z] Removing intermediate container 1e6392490d61 [2022-10-03T03:45:59.727Z] ---> 799f7a4cf8e3 [2022-10-03T03:45:59.727Z] Step 13/14 : COPY . . [2022-10-03T03:45:59.727Z] ---> f4d8da1ec430 [2022-10-03T03:45:59.727Z] Step 14/14 : RUN ${MAKE} [2022-10-03T03:45:59.727Z] ---> Running in e3119c333eb1 [2022-10-03T03:45:59.727Z] noop [2022-10-03T03:45:59.727Z] Removing intermediate container e3119c333eb1 [2022-10-03T03:45:59.727Z] ---> c87c39b32a0a [2022-10-03T03:45:59.727Z] Successfully built c87c39b32a0a [2022-10-03T03:45:59.727Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:46:00.081Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T03:46:00.081Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:46:00.263Z] prd-ubuntu20.04-docker-arm64-4c-16g-6818 does not seem to be running inside a container [2022-10-03T03:46:00.338Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-03T03:46:01.585Z] $ docker top d5b6371eaaf4f9516c5ca4dbe8e129ece304c0694d74da98c444449bcf3ecd82 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T03:46:02.438Z] + go version [2022-10-03T03:46:02.438Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-03T03:46:02.463Z] $ docker stop --time=1 d5b6371eaaf4f9516c5ca4dbe8e129ece304c0694d74da98c444449bcf3ecd82 [2022-10-03T03:46:04.108Z] $ docker rm -f d5b6371eaaf4f9516c5ca4dbe8e129ece304c0694d74da98c444449bcf3ecd82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:46:04.648Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T03:46:04.649Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:46:04.818Z] prd-ubuntu20.04-docker-arm64-4c-16g-6818 does not seem to be running inside a container [2022-10-03T03:46:04.890Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-03T03:46:06.093Z] $ docker top 73c67877657b98ddc5a7c8f09a635957cb4cbd9a28632ee0d6c8a9df4ffc84de -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T03:46:06.911Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh [2022-10-03T03:46:07.561Z] + make test [2022-10-03T03:46:07.562Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-03T03:46:09.516Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-03T03:48:01.365Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-03T03:48:01.366Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.209s coverage: 28.2% of statements [2022-10-03T03:48:01.366Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-03T03:48:11.452Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.106s coverage: 86.5% of statements [2022-10-03T03:48:11.452Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-03T03:48:11.452Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T03:48:43.732Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T03:48:43.732Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T03:48:43.732Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T03:48:43.751Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T03:48:43.767Z] $ docker stop --time=1 73c67877657b98ddc5a7c8f09a635957cb4cbd9a28632ee0d6c8a9df4ffc84de [2022-10-03T03:48:45.815Z] $ docker rm -f 73c67877657b98ddc5a7c8f09a635957cb4cbd9a28632ee0d6c8a9df4ffc84de [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T03:48:47.027Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T03:48:47.049Z] Warning: overwriting stash ‘coverage-report’ [2022-10-03T03:48:47.664Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T03:48:48.060Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T03:48:48.384Z] + ls -al . [2022-10-03T03:48:48.385Z] total 232 [2022-10-03T03:48:48.385Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 03:46 . [2022-10-03T03:48:48.385Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:43 .. [2022-10-03T03:48:48.385Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 03:44 .git [2022-10-03T03:48:48.385Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:44 .github [2022-10-03T03:48:48.385Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 3 03:44 .gitignore [2022-10-03T03:48:48.385Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 3 03:44 .golangci.yml [2022-10-03T03:48:48.385Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 3 03:44 Attribution.txt [2022-10-03T03:48:48.385Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 3 03:44 CHANGELOG.md [2022-10-03T03:48:48.385Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 3 03:44 Dockerfile [2022-10-03T03:48:48.385Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 03:44 GOVERNANCE.md [2022-10-03T03:48:48.385Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 3 03:44 Jenkinsfile [2022-10-03T03:48:48.385Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 3 03:44 LICENSE [2022-10-03T03:48:48.385Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 3 03:44 Makefile [2022-10-03T03:48:48.385Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 3 03:44 OWNERS.md [2022-10-03T03:48:48.385Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 3 03:44 README.md [2022-10-03T03:48:48.385Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 03:41 VERSION [2022-10-03T03:48:48.385Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 03:44 bin [2022-10-03T03:48:48.385Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:44 cmd [2022-10-03T03:48:48.385Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 3 03:48 coverage.out [2022-10-03T03:48:48.385Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 3 03:44 doc [2022-10-03T03:48:48.385Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 3 03:44 go.mod [2022-10-03T03:48:48.385Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 3 03:44 go.sum [2022-10-03T03:48:48.385Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:44 internal [2022-10-03T03:48:48.385Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:44 snap [2022-10-03T03:48:48.385Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 3 03:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:48:48.733Z] + 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=e506b749bbe7f4e70458109a26677d2afcd6fe78 --label arch=arm64 --label version=0.0.0 . [2022-10-03T03:48:49.319Z] Sending build context to Docker daemon 14.28MB [2022-10-03T03:48:49.319Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T03:48:49.319Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-03T03:48:49.319Z] ---> c87c39b32a0a [2022-10-03T03:48:49.319Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-03T03:48:49.588Z] ---> Running in 743e2e980b7a [2022-10-03T03:48:49.857Z] Removing intermediate container 743e2e980b7a [2022-10-03T03:48:49.857Z] ---> bbfe77356ee6 [2022-10-03T03:48:49.857Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T03:48:50.127Z] ---> Running in 46467fb7f641 [2022-10-03T03:48:50.396Z] Removing intermediate container 46467fb7f641 [2022-10-03T03:48:50.396Z] ---> 29085b111e67 [2022-10-03T03:48:50.396Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T03:48:50.663Z] ---> Running in 99bf0c40c6ee [2022-10-03T03:48:50.933Z] Removing intermediate container 99bf0c40c6ee [2022-10-03T03:48:50.933Z] ---> 20a4d655b443 [2022-10-03T03:48:50.933Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T03:48:50.933Z] ---> Running in e1b0e978d8f3 [2022-10-03T03:48:51.520Z] Removing intermediate container e1b0e978d8f3 [2022-10-03T03:48:51.520Z] ---> ae5e4e9ad3a4 [2022-10-03T03:48:51.520Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-03T03:48:51.520Z] ---> Running in fe98921c0d5e [2022-10-03T03:48:51.791Z] Removing intermediate container fe98921c0d5e [2022-10-03T03:48:51.791Z] ---> 3c2b4c1ea6d3 [2022-10-03T03:48:51.791Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T03:48:51.791Z] ---> Running in 4a8901da2924 [2022-10-03T03:48:53.749Z] Removing intermediate container 4a8901da2924 [2022-10-03T03:48:53.749Z] ---> c515ac17e340 [2022-10-03T03:48:53.749Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T03:48:54.021Z] ---> Running in 4ef1e4f57dde [2022-10-03T03:48:54.984Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T03:48:55.947Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T03:48:57.374Z] OK: 221 MiB in 51 packages [2022-10-03T03:48:57.972Z] Removing intermediate container 4ef1e4f57dde [2022-10-03T03:48:57.972Z] ---> 1e3b0d698385 [2022-10-03T03:48:57.972Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-03T03:48:57.972Z] ---> Running in fa639b500b37 [2022-10-03T03:48:58.558Z] Removing intermediate container fa639b500b37 [2022-10-03T03:48:58.558Z] ---> a20133f4fc39 [2022-10-03T03:48:58.558Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-03T03:49:00.509Z] ---> 05dd179f050f [2022-10-03T03:49:00.509Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T03:49:00.509Z] ---> Running in 6a6bf3134c2c [2022-10-03T03:49:04.778Z] Removing intermediate container 6a6bf3134c2c [2022-10-03T03:49:04.778Z] ---> 248321419d66 [2022-10-03T03:49:04.778Z] Step 13/27 : COPY . . [2022-10-03T03:49:06.740Z] ---> 4b15c098db7f [2022-10-03T03:49:06.740Z] Step 14/27 : RUN ${MAKE} [2022-10-03T03:49:06.740Z] ---> Running in 37bf9780e7a8 [2022-10-03T03:49:08.157Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-03T03:51:29.880Z] Removing intermediate container 37bf9780e7a8 [2022-10-03T03:51:29.880Z] ---> 7315be57acd1 [2022-10-03T03:51:29.880Z] Step 15/27 : FROM alpine:3.16 [2022-10-03T03:51:30.460Z] 3.16: Pulling from library/alpine [2022-10-03T03:51:30.725Z] 9b18e9b68314: Pulling fs layer [2022-10-03T03:51:30.993Z] 9b18e9b68314: Verifying Checksum [2022-10-03T03:51:30.993Z] 9b18e9b68314: Download complete [2022-10-03T03:51:31.575Z] 9b18e9b68314: Pull complete [2022-10-03T03:51:31.575Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T03:51:31.575Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T03:51:31.575Z] ---> a6215f271958 [2022-10-03T03:51:31.575Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-03T03:51:31.575Z] ---> Running in 402d83d153cc [2022-10-03T03:51:31.842Z] Removing intermediate container 402d83d153cc [2022-10-03T03:51:31.842Z] ---> 77377ac542fc [2022-10-03T03:51:31.842Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-03T03:51:31.842Z] ---> Running in c87a62cb394a [2022-10-03T03:51:32.800Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T03:51:33.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T03:51:34.031Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-03T03:51:34.031Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T03:51:34.031Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-03T03:51:34.031Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T03:51:34.031Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-03T03:51:34.031Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-03T03:51:34.031Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T03:51:34.031Z] OK: 8 MiB in 20 packages [2022-10-03T03:51:34.991Z] Removing intermediate container c87a62cb394a [2022-10-03T03:51:34.991Z] ---> 675c274fae76 [2022-10-03T03:51:34.991Z] Step 18/27 : WORKDIR / [2022-10-03T03:51:34.991Z] ---> Running in 0b77c487c2b7 [2022-10-03T03:51:35.257Z] Removing intermediate container 0b77c487c2b7 [2022-10-03T03:51:35.257Z] ---> 3398ae311400 [2022-10-03T03:51:35.257Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-03T03:51:36.661Z] ---> f8e9eb219614 [2022-10-03T03:51:36.661Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-03T03:51:36.925Z] ---> d22f108f5642 [2022-10-03T03:51:37.191Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-03T03:51:37.458Z] ---> a18e547325c5 [2022-10-03T03:51:37.458Z] Step 22/27 : EXPOSE 59984 [2022-10-03T03:51:37.735Z] ---> Running in e8baef6ad67b [2022-10-03T03:51:38.002Z] Removing intermediate container e8baef6ad67b [2022-10-03T03:51:38.002Z] ---> 24f631fca5ec [2022-10-03T03:51:38.002Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-03T03:51:38.002Z] ---> Running in 691d5b498bc7 [2022-10-03T03:51:38.351Z] Removing intermediate container 691d5b498bc7 [2022-10-03T03:51:38.351Z] ---> fa33a078267d [2022-10-03T03:51:38.351Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-03T03:51:38.351Z] ---> Running in dc62dd695853 [2022-10-03T03:51:38.621Z] Removing intermediate container dc62dd695853 [2022-10-03T03:51:38.622Z] ---> 42db0bccf88c [2022-10-03T03:51:38.622Z] Step 25/27 : LABEL arch=arm64 [2022-10-03T03:51:38.622Z] ---> Running in d92a64cd32c7 [2022-10-03T03:51:38.903Z] Removing intermediate container d92a64cd32c7 [2022-10-03T03:51:38.903Z] ---> 18ecf113f9bc [2022-10-03T03:51:38.903Z] Step 26/27 : LABEL git_sha=e506b749bbe7f4e70458109a26677d2afcd6fe78 [2022-10-03T03:51:39.181Z] ---> Running in 88cc11ad23ca [2022-10-03T03:51:39.181Z] Removing intermediate container 88cc11ad23ca [2022-10-03T03:51:39.181Z] ---> bece35bc8f2e [2022-10-03T03:51:39.181Z] Step 27/27 : LABEL version=0.0.0 [2022-10-03T03:51:39.453Z] ---> Running in 498577d04ed0 [2022-10-03T03:51:39.723Z] Removing intermediate container 498577d04ed0 [2022-10-03T03:51:39.723Z] ---> f68e271d9052 [2022-10-03T03:51:39.723Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T03:51:39.723Z] Successfully built f68e271d9052 [2022-10-03T03:51:39.723Z] 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-10-03T03:51:40.165Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T03:51:40.165Z] [2022-10-03T03:51:40.165Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:51:40.517Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T03:51:40.517Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-03T03:51:40.517Z] 8998bd30e6a1: Pulling fs layer [2022-10-03T03:51:40.517Z] 04944245beec: Pulling fs layer [2022-10-03T03:51:40.517Z] 699f458cf7ca: Pulling fs layer [2022-10-03T03:51:40.517Z] 765212b225bb: Pulling fs layer [2022-10-03T03:51:40.517Z] f23df028b6ca: Pulling fs layer [2022-10-03T03:51:40.517Z] d65c8cfc05b1: Pulling fs layer [2022-10-03T03:51:40.517Z] 2437ff75d9bd: Pulling fs layer [2022-10-03T03:51:40.517Z] 765212b225bb: Waiting [2022-10-03T03:51:40.517Z] f23df028b6ca: Waiting [2022-10-03T03:51:40.517Z] d65c8cfc05b1: Waiting [2022-10-03T03:51:40.517Z] 2437ff75d9bd: Waiting [2022-10-03T03:51:40.789Z] 04944245beec: Verifying Checksum [2022-10-03T03:51:40.789Z] 04944245beec: Download complete [2022-10-03T03:51:40.789Z] 765212b225bb: Verifying Checksum [2022-10-03T03:51:40.789Z] 765212b225bb: Download complete [2022-10-03T03:51:40.789Z] f23df028b6ca: Download complete [2022-10-03T03:51:40.789Z] d65c8cfc05b1: Download complete [2022-10-03T03:51:41.058Z] 699f458cf7ca: Verifying Checksum [2022-10-03T03:51:41.058Z] 699f458cf7ca: Download complete [2022-10-03T03:51:41.325Z] 8998bd30e6a1: Verifying Checksum [2022-10-03T03:51:41.325Z] 8998bd30e6a1: Download complete [2022-10-03T03:51:43.904Z] 2437ff75d9bd: Verifying Checksum [2022-10-03T03:51:43.905Z] 2437ff75d9bd: Download complete [2022-10-03T03:51:45.316Z] 8998bd30e6a1: Pull complete [2022-10-03T03:51:45.583Z] 04944245beec: Pull complete [2022-10-03T03:51:46.995Z] 699f458cf7ca: Pull complete [2022-10-03T03:51:47.263Z] 765212b225bb: Pull complete [2022-10-03T03:51:48.222Z] f23df028b6ca: Pull complete [2022-10-03T03:51:48.222Z] d65c8cfc05b1: Pull complete [2022-10-03T03:52:03.221Z] 2437ff75d9bd: Pull complete [2022-10-03T03:52:03.221Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-03T03:52:03.221Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T03:52:03.221Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:52:03.383Z] prd-ubuntu20.04-docker-arm64-4c-16g-6818 does not seem to be running inside a container [2022-10-03T03:52:03.446Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-03T03:52:05.851Z] $ docker top 2226e7e2eb4cbdc6b9a9eb857f31ad56b7b1ff773428de28a0d0be742864e733 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:52:06.666Z] ---> job-cost.sh [2022-10-03T03:52:06.666Z] lf-activate-venv: SKIPPING [2022-10-03T03:52:06.666Z] INFO: No Stack... [2022-10-03T03:52:07.247Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-03T03:52:08.199Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T03:52:08.517Z] + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [2022-10-03T03:52:08.517Z] + cut -d, -f6 [Pipeline] lock [2022-10-03T03:52:08.575Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-169-3-stack-cost] [2022-10-03T03:52:08.584Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-169-3-stack-cost] did not exist. Created. [2022-10-03T03:52:08.584Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-169-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T03:52:08.913Z] /w/workspace/device-onvif-camera/3@tmp/durable-05e43e8c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-03T03:52:09.241Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-03T03:52:09.255Z] Warning: overwriting stash ‘stack-cost’ [2022-10-03T03:52:09.306Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T03:52:09.312Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-169-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T03:52:09.334Z] $ docker stop --time=1 2226e7e2eb4cbdc6b9a9eb857f31ad56b7b1ff773428de28a0d0be742864e733 [2022-10-03T03:52:10.805Z] $ docker rm -f 2226e7e2eb4cbdc6b9a9eb857f31ad56b7b1ff773428de28a0d0be742864e733 [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-10-03T03:52:11.139Z] provisioning config files... [2022-10-03T03:52:11.146Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-169@tmp/config10470625844862943967tmp [Pipeline] { [Pipeline] sh [2022-10-03T03:52:11.435Z] + set +x [2022-10-03T03:52:11.435Z] + curl -s https://codecov.io/bash [2022-10-03T03:52:11.435Z] + bash -s -- [2022-10-03T03:52:11.435Z] [2022-10-03T03:52:11.435Z] _____ _ [2022-10-03T03:52:11.435Z] / ____| | | [2022-10-03T03:52:11.435Z] | | ___ __| | ___ ___ _____ __ [2022-10-03T03:52:11.435Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-03T03:52:11.435Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-03T03:52:11.435Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-03T03:52:11.435Z] Bash-1.0.6 [2022-10-03T03:52:11.435Z] [2022-10-03T03:52:11.435Z] [2022-10-03T03:52:11.435Z] ==> git version 2.25.1 found [2022-10-03T03:52:11.435Z] ==> 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-10-03T03:52:11.435Z] Release-Date: 2020-01-08 [2022-10-03T03:52:11.435Z] 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-10-03T03:52:11.435Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-03T03:52:11.435Z] ==> Jenkins CI detected. [2022-10-03T03:52:11.435Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-169 [2022-10-03T03:52:11.435Z] project root: . [2022-10-03T03:52:11.435Z] --> token set from env [2022-10-03T03:52:11.435Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-03T03:52:11.435Z] ==> Running gcov in . (disable via -X gcov) [2022-10-03T03:52:11.435Z] ==> Python coveragepy not found [2022-10-03T03:52:11.435Z] ==> Searching for coverage reports in: [2022-10-03T03:52:11.435Z] + . [2022-10-03T03:52:11.435Z] -> Found 1 reports [2022-10-03T03:52:11.435Z] ==> Detecting git/mercurial file structure [2022-10-03T03:52:11.435Z] ==> Reading reports [2022-10-03T03:52:11.435Z] + ./coverage.out bytes=78461 [2022-10-03T03:52:11.435Z] ==> Appending adjustments [2022-10-03T03:52:11.435Z] https://docs.codecov.io/docs/fixing-reports [2022-10-03T03:52:11.694Z] + Found adjustments [2022-10-03T03:52:11.694Z] ==> Gzipping contents [2022-10-03T03:52:11.694Z] 12K /tmp/codecov.7QGdz8.gz [2022-10-03T03:52:11.694Z] ==> Uploading reports [2022-10-03T03:52:11.694Z] url: https://codecov.io [2022-10-03T03:52:11.694Z] query: branch=PR-169&commit=e506b749bbe7f4e70458109a26677d2afcd6fe78&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-169%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=169&job=&cmd_args= [2022-10-03T03:52:11.694Z] -> Pinging Codecov [2022-10-03T03:52:11.694Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-169&commit=e506b749bbe7f4e70458109a26677d2afcd6fe78&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-169%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=169&job=&cmd_args= [2022-10-03T03:52:11.953Z] -> Uploading to [2022-10-03T03:52:11.953Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-03/F29A59C45E3A92E06B3E522C9905F8EF/e506b749bbe7f4e70458109a26677d2afcd6fe78/8bbe3941-e227-49a6-a280-3322b8974686.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T035211Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5558ddacbe7fa04335c478a865bca36531912ccfa3a593f7c6ff4f2bce71d5b0 [2022-10-03T03:52:11.953Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T03:52:11.953Z] Dload Upload Total Spent Left Speed [2022-10-03T03:52:12.213Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10734 0 0 100 10734 0 50632 --:--:-- --:--:-- --:--:-- 50632 [2022-10-03T03:52:12.213Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/e506b749bbe7f4e70458109a26677d2afcd6fe78 [Pipeline] } [2022-10-03T03:52:12.219Z] 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-10-03T03:52:12.892Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-169/archives ] [2022-10-03T03:52:12.892Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-169/archives [2022-10-03T03:52:12.892Z] total 16 [2022-10-03T03:52:12.892Z] drwxr-xr-x 3 root root 4096 Oct 3 03:42 . [2022-10-03T03:52:12.892Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 03:42 .. [2022-10-03T03:52:12.892Z] drwxr-xr-x 2 root root 4096 Oct 3 03:42 cost [2022-10-03T03:52:12.892Z] -rw-r--r-- 1 root root 91 Oct 3 03:42 cost.csv [2022-10-03T03:52:12.892Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-169/archives [2022-10-03T03:52:12.892Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-169/archives [2022-10-03T03:52:12.892Z] total 16 [2022-10-03T03:52:12.892Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 03:42 . [2022-10-03T03:52:12.892Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 03:42 .. [2022-10-03T03:52:12.892Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 03:42 cost [2022-10-03T03:52:12.892Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 3 03:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:52:13.183Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:52:14.044Z] ---> package-listing.sh [2022-10-03T03:52:14.045Z] ++ facter osfamily [2022-10-03T03:52:14.045Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-03T03:52:14.305Z] + OS_FAMILY=debian [2022-10-03T03:52:14.305Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-169 [2022-10-03T03:52:14.305Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-03T03:52:14.305Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-03T03:52:14.305Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-03T03:52:14.305Z] + PACKAGES=/tmp/packages_start.txt [2022-10-03T03:52:14.305Z] + '[' /w/workspace/undry_device-onvif-camera_PR-169 ']' [2022-10-03T03:52:14.305Z] + PACKAGES=/tmp/packages_end.txt [2022-10-03T03:52:14.305Z] + case "${OS_FAMILY}" in [2022-10-03T03:52:14.305Z] + dpkg -l [2022-10-03T03:52:14.305Z] + grep '^ii' [2022-10-03T03:52:14.305Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-03T03:52:14.305Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-03T03:52:14.305Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-03T03:52:14.305Z] + '[' /w/workspace/undry_device-onvif-camera_PR-169 ']' [2022-10-03T03:52:14.305Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-169/archives/ [2022-10-03T03:52:14.305Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-169/archives/ [Pipeline] echo [2022-10-03T03:52:14.316Z] 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-169/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-03T03:52:14.594Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:52:15.153Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T03:52:15.153Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:52:15.221Z] prd-ubuntu20.04-docker-8c-8g-6816 does not seem to be running inside a container [2022-10-03T03:52:15.253Z] $ 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-169/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-169 -v /w/workspace/undry_device-onvif-camera_PR-169:/w/workspace/undry_device-onvif-camera_PR-169:rw,z -v /w/workspace/undry_device-onvif-camera_PR-169@tmp:/w/workspace/undry_device-onvif-camera_PR-169@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-03T03:52:15.457Z] $ docker top ba3fb042552ac6c124cea70f52a5dae98633f3793002a4f7a15b5754b1ab31e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T03:52:15.789Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-03T03:52:16.073Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-03T03:52:16.358Z] + ls /var/log/sa-host [2022-10-03T03:52:16.358Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T03:52:16.422Z] provisioning config files... [2022-10-03T03:52:16.432Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-169@tmp/config2054198233707926167tmp [Pipeline] { [Pipeline] echo [2022-10-03T03:52:16.450Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:52:16.732Z] ---> create-netrc.sh [Pipeline] } [2022-10-03T03:52:16.739Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:52:17.056Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-03T03:52:17.064Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:52:17.348Z] ---> sudo-logs.sh [2022-10-03T03:52:17.348Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-03T03:52:17.370Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:52:17.651Z] ---> job-cost.sh [2022-10-03T03:52:17.651Z] lf-activate-venv: SKIPPING [2022-10-03T03:52:17.651Z] DEBUG: total: 0.2199999988079071 [2022-10-03T03:52:17.651Z] INFO: Retrieving Stack Cost... [2022-10-03T03:52:18.220Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T03:52:18.788Z] INFO: Archiving Costs [Pipeline] echo [2022-10-03T03:52:18.800Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:52:19.082Z] ---> logs-deploy.sh [2022-10-03T03:52:19.082Z] lf-activate-venv: SKIPPING [2022-10-03T03:52:19.082Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-169/3 [2022-10-03T03:52:19.082Z] INFO: archiving workspace using pattern(s): [2022-10-03T03:52:20.022Z] Archives upload complete. [2022-10-03T03:52:20.022Z] INFO: archiving logs to Nexus