Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at bca8455642164c3d303fb1e1cb399f48d9b73870 rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from bca8455642164c3d303fb1e1cb399f48d9b73870 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-ssh7323627660817231925.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-ssh16530599121033204337.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18425267628410331654.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-ssh5605061187905307538.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3204504284200041231.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7695’ Running on prd-ubuntu20.04-docker-8c-8g-7702 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-125 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bca8455642164c3d303fb1e1cb399f48d9b73870 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing 3a928c8a0c8d6682a9491087336c5d4b878a4b54 Checking out Revision 3a928c8a0c8d6682a9491087336c5d4b878a4b54 (PR-125) > git config core.sparsecheckout # timeout=10 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge bca8455642164c3d303fb1e1cb399f48d9b73870 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3a928c8a0c8d6682a9491087336c5d4b878a4b54 # timeout=10 Commit message: "Merge commit 'bca8455642164c3d303fb1e1cb399f48d9b73870' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-12T02:11:13.552Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-12T02:11:13.610Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-12T02:11:13.628Z] ========================================================= [2022-10-12T02:11:13.628Z] EdgeX Global Pipelines Version Info [2022-10-12T02:11:13.628Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:11:14.328Z] ------------------- [2022-10-12T02:11:14.328Z] stable info: [2022-10-12T02:11:14.328Z] ------------------- [2022-10-12T02:11:14.328Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-12T02:11:14.328Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-12T02:11:14.328Z] Message: update stable to v1.0.239 > git rev-list --no-walk f552c862b91cdfed2575d1e6116913e56b77d3c0 # timeout=10 [2022-10-12T02:11:14.899Z] ------------------- [2022-10-12T02:11:14.899Z] experimental info: [2022-10-12T02:11:14.899Z] ------------------- [2022-10-12T02:11:14.899Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-12T02:11:14.899Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-12T02:11:14.899Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-12T02:11:15.059Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-12T02:11:15.069Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-12T02:11:15.082Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-12T02:11:15.093Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-12T02:11:15.105Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-12T02:11:15.118Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-12T02:11:15.133Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-12T02:11:15.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-12T02:11:15.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-12T02:11:15.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-12T02:11:15.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-12T02:11:15.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-12T02:11:15.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-12T02:11:15.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-12T02:11:15.223Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-12T02:11:15.234Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-12T02:11:15.245Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-12T02:11:15.256Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-12T02:11:15.269Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-12T02:11:15.284Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-12T02:11:15.295Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-12T02:11:15.306Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-12T02:11:15.320Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-12T02:11:15.335Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-12T02:11:15.343Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-12T02:11:15.352Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-12T02:11:15.360Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-12T02:11:15.368Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo [2022-10-12T02:11:15.376Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo [2022-10-12T02:11:15.384Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo [2022-10-12T02:11:15.392Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3a928c8a0c8d6682a9491087336c5d4b878a4b54 [Pipeline] echo [2022-10-12T02:11:15.401Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3a928c8 [Pipeline] echo [2022-10-12T02:11:15.409Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T02:11:15.443Z] provisioning config files... [2022-10-12T02:11:15.457Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config14154254769850784444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:11:15.756Z] ---> docker-login.sh [2022-10-12T02:11:15.756Z] nexus3.edgexfoundry.org:10001 [2022-10-12T02:11:16.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:11:16.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:11:16.018Z] Configure a credential helper to remove this warning. See [2022-10-12T02:11:16.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:11:16.018Z] [2022-10-12T02:11:16.018Z] Login Succeeded [2022-10-12T02:11:16.018Z] nexus3.edgexfoundry.org:10002 [2022-10-12T02:11:16.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:11:16.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:11:16.018Z] Configure a credential helper to remove this warning. See [2022-10-12T02:11:16.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:11:16.018Z] [2022-10-12T02:11:16.018Z] Login Succeeded [2022-10-12T02:11:16.018Z] nexus3.edgexfoundry.org:10003 [2022-10-12T02:11:16.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:11:16.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:11:16.278Z] Configure a credential helper to remove this warning. See [2022-10-12T02:11:16.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:11:16.278Z] [2022-10-12T02:11:16.278Z] Login Succeeded [2022-10-12T02:11:16.278Z] nexus3.edgexfoundry.org:10004 [2022-10-12T02:11:16.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:11:16.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:11:16.278Z] Configure a credential helper to remove this warning. See [2022-10-12T02:11:16.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:11:16.278Z] [2022-10-12T02:11:16.278Z] Login Succeeded [2022-10-12T02:11:16.278Z] docker.io [2022-10-12T02:11:16.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:11:16.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:11:16.798Z] Configure a credential helper to remove this warning. See [2022-10-12T02:11:16.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:11:16.798Z] [2022-10-12T02:11:16.798Z] Login Succeeded [2022-10-12T02:11:16.798Z] ---> docker-login.sh ends [Pipeline] } [2022-10-12T02:11:16.807Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-12T02:11:17.165Z] + git rev-list -1 --merges 3a928c8a0c8d6682a9491087336c5d4b878a4b54~1..3a928c8a0c8d6682a9491087336c5d4b878a4b54 [Pipeline] echo [2022-10-12T02:11:17.195Z] -----------> git rev-list -1 --merges 3a928c8a0c8d6682a9491087336c5d4b878a4b54~1..3a928c8a0c8d6682a9491087336c5d4b878a4b54 3a928c8a0c8d6682a9491087336c5d4b878a4b54 [2022-10-12T02:11:17.195Z] 3a928c8a0c8d6682a9491087336c5d4b878a4b54 [false] [Pipeline] sh [2022-10-12T02:11:17.534Z] + git log --format=format:%s -1 3a928c8a0c8d6682a9491087336c5d4b878a4b54 [Pipeline] echo [2022-10-12T02:11:17.548Z] ========================================================= [2022-10-12T02:11:17.548Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-12T02:11:17.548Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T02:11:17.867Z] + git log --format=format:%s -1 3a928c8a0c8d6682a9491087336c5d4b878a4b54 [Pipeline] echo [2022-10-12T02:11:17.876Z] [semverPrep] GIT_COMMIT: 3a928c8a0c8d6682a9491087336c5d4b878a4b54, Commit Message: Merge commit 'bca8455642164c3d303fb1e1cb399f48d9b73870' into HEAD [Pipeline] echo [2022-10-12T02:11:17.882Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-12T02:11:18.217Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-12T02:11:18.217Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-12T02:11:18.217Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-12T02:11:18.217Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-12T02:11:18.217Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-12T02:11:18.217Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-12T02:11:18.217Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:11:18.550Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T02:11:18.550Z] [2022-10-12T02:11:18.550Z] 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-12T02:11:18.849Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T02:11:18.849Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-12T02:11:18.849Z] b85a868b505f: Pulling fs layer [2022-10-12T02:11:18.849Z] e2be974225ed: Pulling fs layer [2022-10-12T02:11:18.849Z] 339a4e72a1f5: Pulling fs layer [2022-10-12T02:11:18.849Z] 988bab9f4d93: Pulling fs layer [2022-10-12T02:11:18.849Z] 1469e6f7b9e6: Pulling fs layer [2022-10-12T02:11:18.849Z] eaf3925da568: Pulling fs layer [2022-10-12T02:11:18.849Z] bab4dde63d76: Pulling fs layer [2022-10-12T02:11:18.849Z] bde34c3a00c8: Pulling fs layer [2022-10-12T02:11:18.849Z] b352a97aabf1: Pulling fs layer [2022-10-12T02:11:18.849Z] 4872d77fe225: Pulling fs layer [2022-10-12T02:11:18.849Z] 5851b861e8e6: Pulling fs layer [2022-10-12T02:11:18.850Z] 988bab9f4d93: Waiting [2022-10-12T02:11:18.850Z] 1469e6f7b9e6: Waiting [2022-10-12T02:11:18.850Z] eaf3925da568: Waiting [2022-10-12T02:11:18.850Z] bde34c3a00c8: Waiting [2022-10-12T02:11:18.850Z] bab4dde63d76: Waiting [2022-10-12T02:11:18.850Z] b352a97aabf1: Waiting [2022-10-12T02:11:18.850Z] 4872d77fe225: Waiting [2022-10-12T02:11:18.850Z] 5851b861e8e6: Waiting [2022-10-12T02:11:18.850Z] e2be974225ed: Download complete [2022-10-12T02:11:18.850Z] 988bab9f4d93: Verifying Checksum [2022-10-12T02:11:18.850Z] 988bab9f4d93: Download complete [2022-10-12T02:11:19.109Z] 1469e6f7b9e6: Verifying Checksum [2022-10-12T02:11:19.110Z] 1469e6f7b9e6: Download complete [2022-10-12T02:11:19.110Z] eaf3925da568: Verifying Checksum [2022-10-12T02:11:19.110Z] eaf3925da568: Download complete [2022-10-12T02:11:19.110Z] 339a4e72a1f5: Verifying Checksum [2022-10-12T02:11:19.110Z] 339a4e72a1f5: Download complete [2022-10-12T02:11:19.110Z] bde34c3a00c8: Verifying Checksum [2022-10-12T02:11:19.110Z] bde34c3a00c8: Download complete [2022-10-12T02:11:19.110Z] b352a97aabf1: Download complete [2022-10-12T02:11:19.110Z] 4872d77fe225: Verifying Checksum [2022-10-12T02:11:19.110Z] 4872d77fe225: Download complete [2022-10-12T02:11:19.110Z] 5851b861e8e6: Download complete [2022-10-12T02:11:19.110Z] b85a868b505f: Verifying Checksum [2022-10-12T02:11:19.110Z] b85a868b505f: Download complete [2022-10-12T02:11:19.367Z] bab4dde63d76: Download complete [2022-10-12T02:11:20.741Z] b85a868b505f: Pull complete [2022-10-12T02:11:20.741Z] e2be974225ed: Pull complete [2022-10-12T02:11:21.307Z] 339a4e72a1f5: Pull complete [2022-10-12T02:11:21.307Z] 988bab9f4d93: Pull complete [2022-10-12T02:11:21.575Z] 1469e6f7b9e6: Pull complete [2022-10-12T02:11:21.575Z] eaf3925da568: Pull complete [2022-10-12T02:11:23.496Z] bab4dde63d76: Pull complete [2022-10-12T02:11:23.496Z] bde34c3a00c8: Pull complete [2022-10-12T02:11:23.755Z] b352a97aabf1: Pull complete [2022-10-12T02:11:23.755Z] 4872d77fe225: Pull complete [2022-10-12T02:11:24.013Z] 5851b861e8e6: Pull complete [2022-10-12T02:11:24.013Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-12T02:11:24.013Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T02:11:24.013Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:11:24.098Z] prd-ubuntu20.04-docker-8c-8g-7702 does not seem to be running inside a container [2022-10-12T02:11:24.120Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-12T02:11:26.926Z] $ docker top f3e8b8384dc5d8c5f4311acc0ba90f04563b287f1a19bfc23f02b3a4d0089e7f -eo pid,comm [2022-10-12T02:11:26.991Z] 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-12T02:11:26.991Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-12T02:11:27.018Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-12T02:11:27.018Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-12T02:11:27.145Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-12T02:11:27.139Z] $ docker exec f3e8b8384dc5d8c5f4311acc0ba90f04563b287f1a19bfc23f02b3a4d0089e7f ssh-agent [2022-10-12T02:11:27.265Z] SSH_AUTH_SOCK=/tmp/ssh-wtXv0hHBgMux/agent.31 [2022-10-12T02:11:27.265Z] SSH_AGENT_PID=37 [2022-10-12T02:11:27.273Z] Running ssh-add (command line suppressed) [2022-10-12T02:11:27.368Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_5605988444856307365.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_5605988444856307365.key) [2022-10-12T02:11:27.391Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-12T02:11:27.676Z] + git tag --points-at HEAD [Pipeline] } [2022-10-12T02:11:27.681Z] $ docker exec --env ******** --env ******** f3e8b8384dc5d8c5f4311acc0ba90f04563b287f1a19bfc23f02b3a4d0089e7f ssh-agent -k [2022-10-12T02:11:27.788Z] unset SSH_AUTH_SOCK; [2022-10-12T02:11:27.789Z] unset SSH_AGENT_PID; [2022-10-12T02:11:27.789Z] echo Agent pid 37 killed; [2022-10-12T02:11:27.808Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-12T02:11:27.830Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-12T02:11:27.830Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-12T02:11:27.937Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-12T02:11:27.931Z] $ docker exec f3e8b8384dc5d8c5f4311acc0ba90f04563b287f1a19bfc23f02b3a4d0089e7f ssh-agent [2022-10-12T02:11:28.056Z] SSH_AUTH_SOCK=/tmp/ssh-AcrPwAuCtCXE/agent.69 [2022-10-12T02:11:28.057Z] SSH_AGENT_PID=75 [2022-10-12T02:11:28.061Z] Running ssh-add (command line suppressed) [2022-10-12T02:11:28.166Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_1827728283958453556.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_1827728283958453556.key) [2022-10-12T02:11:28.187Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-12T02:11:28.475Z] + git semver init [2022-10-12T02:11:28.734Z] 2022-10-12 02:11:28,648 [run_init] DEBUG init version:0.0.0 force:False [2022-10-12T02:11:28.734Z] 2022-10-12 02:11:28,648 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-10-12T02:11:28.734Z] 2022-10-12 02:11:28,649 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-10-12T02:11:28.734Z] 2022-10-12 02:11:28,649 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-125/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-125, universal_newlines=False, shell=None, istream=None) [2022-10-12T02:11:30.114Z] 2022-10-12 02:11:29,679 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude [2022-10-12T02:11:30.114Z] 2022-10-12 02:11:29,680 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 with force:False [2022-10-12T02:11:30.114Z] 2022-10-12 02:11:29,680 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-10-12T02:11:30.114Z] 2022-10-12 02:11:29,684 [execute] INFO git cat-file --batch-check [2022-10-12T02:11:30.114Z] 2022-10-12 02:11:29,684 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-10-12T02:11:30.114Z] 2022-10-12 02:11:29,689 [execute] INFO git cat-file --batch [2022-10-12T02:11:30.114Z] 2022-10-12 02:11:29,690 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-10-12T02:11:30.114Z] 2022-10-12 02:11:29,694 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-10-12T02:11:30.114Z] 0.0.0 [Pipeline] } [2022-10-12T02:11:30.115Z] $ docker exec --env ******** --env ******** f3e8b8384dc5d8c5f4311acc0ba90f04563b287f1a19bfc23f02b3a4d0089e7f ssh-agent -k [2022-10-12T02:11:30.202Z] unset SSH_AUTH_SOCK; [2022-10-12T02:11:30.203Z] unset SSH_AGENT_PID; [2022-10-12T02:11:30.204Z] echo Agent pid 75 killed; [2022-10-12T02:11:30.219Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-12T02:11:30.524Z] + git semver [Pipeline] } [2022-10-12T02:11:30.788Z] $ docker stop --time=1 f3e8b8384dc5d8c5f4311acc0ba90f04563b287f1a19bfc23f02b3a4d0089e7f [2022-10-12T02:11:32.109Z] $ docker rm -f f3e8b8384dc5d8c5f4311acc0ba90f04563b287f1a19bfc23f02b3a4d0089e7f [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T02:11:32.460Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-12T02:11:32.637Z] Stashed 1 file(s) [Pipeline] echo [2022-10-12T02:11:32.639Z] [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-12T02:11:32.773Z] provisioning config files... [2022-10-12T02:11:32.782Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config14988672682248629618tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:11:33.073Z] ---> docker-login.sh [2022-10-12T02:11:33.073Z] nexus3.edgexfoundry.org:10001 [2022-10-12T02:11:33.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:11:33.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:11:33.073Z] Configure a credential helper to remove this warning. See [2022-10-12T02:11:33.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:11:33.074Z] [2022-10-12T02:11:33.074Z] Login Succeeded [2022-10-12T02:11:33.074Z] nexus3.edgexfoundry.org:10002 [2022-10-12T02:11:33.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:11:33.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:11:33.074Z] Configure a credential helper to remove this warning. See [2022-10-12T02:11:33.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:11:33.074Z] [2022-10-12T02:11:33.074Z] Login Succeeded [2022-10-12T02:11:33.074Z] nexus3.edgexfoundry.org:10003 [2022-10-12T02:11:33.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:11:33.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:11:33.333Z] Configure a credential helper to remove this warning. See [2022-10-12T02:11:33.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:11:33.333Z] [2022-10-12T02:11:33.333Z] Login Succeeded [2022-10-12T02:11:33.333Z] nexus3.edgexfoundry.org:10004 [2022-10-12T02:11:33.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:11:33.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:11:33.333Z] Configure a credential helper to remove this warning. See [2022-10-12T02:11:33.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:11:33.333Z] [2022-10-12T02:11:33.333Z] Login Succeeded [2022-10-12T02:11:33.333Z] docker.io [2022-10-12T02:11:33.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:11:33.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:11:33.850Z] Configure a credential helper to remove this warning. See [2022-10-12T02:11:33.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:11:33.850Z] [2022-10-12T02:11:33.850Z] Login Succeeded [2022-10-12T02:11:33.850Z] ---> docker-login.sh ends [Pipeline] } [2022-10-12T02:11:33.857Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-12T02:11:33.915Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T02:11:33.925Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T02:11:33.931Z] ========================================================= [2022-10-12T02:11:33.931Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-12T02:11:33.931Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:11:34.251Z] + 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-12T02:11:34.251Z] Sending build context to Docker daemon 20.8MB [2022-10-12T02:11:34.251Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T02:11:34.251Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-12T02:11:34.535Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-12T02:11:34.535Z] 213ec9aee27d: Pulling fs layer [2022-10-12T02:11:34.535Z] 4583459ba037: Pulling fs layer [2022-10-12T02:11:34.535Z] 93c1e223e6f2: Pulling fs layer [2022-10-12T02:11:34.535Z] 53926ce57604: Pulling fs layer [2022-10-12T02:11:34.535Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-12T02:11:34.535Z] 30f14e443154: Pulling fs layer [2022-10-12T02:11:34.535Z] 801331c1e519: Pulling fs layer [2022-10-12T02:11:34.535Z] 99cc6dd402b0: Pulling fs layer [2022-10-12T02:11:34.535Z] 7d9ed39f4882: Pulling fs layer [2022-10-12T02:11:34.535Z] 53926ce57604: Waiting [2022-10-12T02:11:34.535Z] 30f14e443154: Waiting [2022-10-12T02:11:34.535Z] 21b2b0c7a3f4: Waiting [2022-10-12T02:11:34.535Z] 7d9ed39f4882: Waiting [2022-10-12T02:11:34.535Z] 801331c1e519: Waiting [2022-10-12T02:11:34.535Z] 99cc6dd402b0: Waiting [2022-10-12T02:11:34.535Z] 93c1e223e6f2: Verifying Checksum [2022-10-12T02:11:34.535Z] 93c1e223e6f2: Download complete [2022-10-12T02:11:34.535Z] 4583459ba037: Verifying Checksum [2022-10-12T02:11:34.535Z] 4583459ba037: Download complete [2022-10-12T02:11:34.535Z] 21b2b0c7a3f4: Download complete [2022-10-12T02:11:34.535Z] 30f14e443154: Verifying Checksum [2022-10-12T02:11:34.535Z] 30f14e443154: Download complete [2022-10-12T02:11:34.535Z] 213ec9aee27d: Verifying Checksum [2022-10-12T02:11:34.535Z] 213ec9aee27d: Download complete [2022-10-12T02:11:34.535Z] 801331c1e519: Verifying Checksum [2022-10-12T02:11:34.535Z] 801331c1e519: Download complete [2022-10-12T02:11:34.805Z] 213ec9aee27d: Pull complete [2022-10-12T02:11:34.805Z] 4583459ba037: Pull complete [2022-10-12T02:11:34.805Z] 93c1e223e6f2: Pull complete [2022-10-12T02:11:35.075Z] 7d9ed39f4882: Verifying Checksum [2022-10-12T02:11:35.075Z] 7d9ed39f4882: Download complete [2022-10-12T02:11:35.338Z] 53926ce57604: Download complete [2022-10-12T02:11:35.596Z] 99cc6dd402b0: Verifying Checksum [2022-10-12T02:11:35.596Z] 99cc6dd402b0: Download complete [2022-10-12T02:11:39.775Z] 53926ce57604: Pull complete [2022-10-12T02:11:39.775Z] 21b2b0c7a3f4: Pull complete [2022-10-12T02:11:39.775Z] 30f14e443154: Pull complete [2022-10-12T02:11:39.775Z] 801331c1e519: Pull complete [2022-10-12T02:11:41.672Z] 99cc6dd402b0: Pull complete [2022-10-12T02:11:42.239Z] 7d9ed39f4882: Pull complete [2022-10-12T02:11:42.239Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-12T02:11:42.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-12T02:11:42.239Z] ---> 1dedd983c030 [2022-10-12T02:11:42.239Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-12T02:11:46.450Z] ---> Running in 075a9b30881f [2022-10-12T02:11:46.450Z] Removing intermediate container 075a9b30881f [2022-10-12T02:11:46.450Z] ---> 692b8cf80a3c [2022-10-12T02:11:46.450Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T02:11:46.450Z] ---> Running in 93d18b04d75d [2022-10-12T02:11:46.709Z] Removing intermediate container 93d18b04d75d [2022-10-12T02:11:46.709Z] ---> 1e8337943a0b [2022-10-12T02:11:46.709Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T02:11:46.709Z] ---> Running in f3937f91b9f8 [2022-10-12T02:11:46.709Z] Removing intermediate container f3937f91b9f8 [2022-10-12T02:11:46.709Z] ---> 00d620e5bbcb [2022-10-12T02:11:46.709Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T02:11:46.709Z] ---> Running in d41d91b2d71c [2022-10-12T02:11:46.967Z] Removing intermediate container d41d91b2d71c [2022-10-12T02:11:46.967Z] ---> ac4dff8f65e8 [2022-10-12T02:11:46.967Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-12T02:11:46.967Z] ---> Running in fe8d314250ae [2022-10-12T02:11:46.967Z] Removing intermediate container fe8d314250ae [2022-10-12T02:11:46.967Z] ---> ee640ad4d8c1 [2022-10-12T02:11:46.967Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T02:11:46.967Z] ---> Running in d884ba0604a0 [2022-10-12T02:11:47.533Z] Removing intermediate container d884ba0604a0 [2022-10-12T02:11:47.533Z] ---> 15a87f43037a [2022-10-12T02:11:47.533Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T02:11:47.533Z] ---> Running in aaee1ff66f70 [2022-10-12T02:11:47.732Z] Still waiting to schedule task [2022-10-12T02:11:47.732Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7699’ [2022-10-12T02:11:47.792Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T02:11:48.727Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T02:11:48.988Z] OK: 211 MiB in 51 packages [2022-10-12T02:11:49.246Z] Removing intermediate container aaee1ff66f70 [2022-10-12T02:11:49.246Z] ---> 656f8b30e452 [2022-10-12T02:11:49.246Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-12T02:11:49.246Z] ---> Running in b4c0a711c70d [2022-10-12T02:11:49.504Z] Removing intermediate container b4c0a711c70d [2022-10-12T02:11:49.504Z] ---> 66b6673d03f5 [2022-10-12T02:11:49.504Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-12T02:11:49.504Z] ---> 47eacb354ab5 [2022-10-12T02:11:49.504Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T02:11:49.504Z] ---> Running in b0f4151d7498 [2022-10-12T02:12:11.643Z] Removing intermediate container b0f4151d7498 [2022-10-12T02:12:11.643Z] ---> bd6d08bd06b4 [2022-10-12T02:12:11.643Z] Step 13/14 : COPY . . [2022-10-12T02:12:11.643Z] ---> fd8ec2d6603e [2022-10-12T02:12:11.643Z] Step 14/14 : RUN ${MAKE} [2022-10-12T02:12:11.643Z] ---> Running in dcb760510175 [2022-10-12T02:12:11.643Z] noop [2022-10-12T02:12:11.643Z] Removing intermediate container dcb760510175 [2022-10-12T02:12:11.643Z] ---> 543be7cdcbcf [2022-10-12T02:12:11.643Z] Successfully built 543be7cdcbcf [2022-10-12T02:12:11.643Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:12:11.948Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-12T02:12:11.948Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:12:12.017Z] prd-ubuntu20.04-docker-8c-8g-7702 does not seem to be running inside a container [2022-10-12T02:12:12.047Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-12T02:12:12.398Z] $ docker top a24e3f4ecdd593378b36a4ae48fd779a7ac8234ede3cb1a66e9f4a1f6f612e2e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T02:12:12.746Z] + go version [2022-10-12T02:12:12.746Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-12T02:12:12.762Z] $ docker stop --time=1 a24e3f4ecdd593378b36a4ae48fd779a7ac8234ede3cb1a66e9f4a1f6f612e2e [2022-10-12T02:12:14.013Z] $ docker rm -f a24e3f4ecdd593378b36a4ae48fd779a7ac8234ede3cb1a66e9f4a1f6f612e2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:12:14.406Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-12T02:12:14.406Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:12:14.470Z] prd-ubuntu20.04-docker-8c-8g-7702 does not seem to be running inside a container [2022-10-12T02:12:14.502Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-12T02:12:14.800Z] $ docker top 66e0e67ae86b9e0b23e82f242a3e9ef54b88705590999c3cbb85f97ae946754e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T02:12:15.188Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh [2022-10-12T02:12:15.479Z] + make test [2022-10-12T02:12:15.479Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-12T02:12:15.736Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-12T02:12:25.696Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-12T02:12:27.072Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.2% of statements [2022-10-12T02:12:27.072Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-12T02:12:27.072Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.336s coverage: 86.5% of statements [2022-10-12T02:12:35.207Z] 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-12T02:12:35.207Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-12T02:12:37.743Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-12T02:12:37.743Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-12T02:12:37.743Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-12T02:12:37.756Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-12T02:12:37.773Z] $ docker stop --time=1 66e0e67ae86b9e0b23e82f242a3e9ef54b88705590999c3cbb85f97ae946754e [2022-10-12T02:12:40.756Z] $ docker rm -f 66e0e67ae86b9e0b23e82f242a3e9ef54b88705590999c3cbb85f97ae946754e [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T02:12:41.208Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-12T02:12:41.277Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-12T02:12:41.714Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-12T02:12:42.009Z] + ls -al . [2022-10-12T02:12:42.009Z] total 236 [2022-10-12T02:12:42.009Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 02:12 . [2022-10-12T02:12:42.009Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:11 .. [2022-10-12T02:12:42.009Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 02:12 .git [2022-10-12T02:12:42.009Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:11 .github [2022-10-12T02:12:42.009Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 12 02:11 .gitignore [2022-10-12T02:12:42.009Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 02:11 .golangci.yml [2022-10-12T02:12:42.009Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 02:11 .semver [2022-10-12T02:12:42.009Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 12 02:11 Attribution.txt [2022-10-12T02:12:42.009Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 12 02:11 CHANGELOG.md [2022-10-12T02:12:42.009Z] -rw-rw-r-- 1 jenkins jenkins 1799 Oct 12 02:11 Dockerfile [2022-10-12T02:12:42.009Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 02:11 GOVERNANCE.md [2022-10-12T02:12:42.009Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 12 02:11 Jenkinsfile [2022-10-12T02:12:42.009Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 12 02:11 LICENSE [2022-10-12T02:12:42.009Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 12 02:11 Makefile [2022-10-12T02:12:42.009Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 12 02:11 OWNERS.md [2022-10-12T02:12:42.009Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 12 02:11 README.md [2022-10-12T02:12:42.009Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 02:11 VERSION [2022-10-12T02:12:42.009Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 02:11 bin [2022-10-12T02:12:42.009Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:11 cmd [2022-10-12T02:12:42.009Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 12 02:12 coverage.out [2022-10-12T02:12:42.009Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 02:11 doc [2022-10-12T02:12:42.009Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 12 02:11 go.mod [2022-10-12T02:12:42.009Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 12 02:11 go.sum [2022-10-12T02:12:42.009Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:11 internal [2022-10-12T02:12:42.009Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:11 snap [2022-10-12T02:12:42.009Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 12 02:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:12:42.407Z] + 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=3a928c8a0c8d6682a9491087336c5d4b878a4b54 --label arch=amd64 --label version=0.0.0 . [2022-10-12T02:12:42.407Z] Sending build context to Docker daemon 20.88MB [2022-10-12T02:12:42.407Z] Step 1/28 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T02:12:42.407Z] Step 2/28 : FROM ${BASE} AS builder [2022-10-12T02:12:42.407Z] ---> 543be7cdcbcf [2022-10-12T02:12:42.407Z] Step 3/28 : ARG ADD_BUILD_TAGS="" [2022-10-12T02:12:42.669Z] ---> Running in d030cb462034 [2022-10-12T02:12:42.934Z] Removing intermediate container d030cb462034 [2022-10-12T02:12:42.934Z] ---> 7157f68a1b2d [2022-10-12T02:12:42.934Z] Step 4/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T02:12:42.934Z] ---> Running in 745fcae1530a [2022-10-12T02:12:42.934Z] Removing intermediate container 745fcae1530a [2022-10-12T02:12:42.934Z] ---> c717fdb7535d [2022-10-12T02:12:42.934Z] Step 5/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T02:12:42.934Z] ---> Running in ade200500e75 [2022-10-12T02:12:43.193Z] Removing intermediate container ade200500e75 [2022-10-12T02:12:43.193Z] ---> 020de1c9c376 [2022-10-12T02:12:43.193Z] Step 6/28 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T02:12:43.193Z] ---> Running in 05f9e4fe681f [2022-10-12T02:12:43.193Z] Removing intermediate container 05f9e4fe681f [2022-10-12T02:12:43.193Z] ---> 1b59e9f20223 [2022-10-12T02:12:43.193Z] Step 7/28 : LABEL Name=edgex-device-onvif-camera [2022-10-12T02:12:43.193Z] ---> Running in 757b37af0ce9 [2022-10-12T02:12:43.451Z] Removing intermediate container 757b37af0ce9 [2022-10-12T02:12:43.451Z] ---> eb2220d42541 [2022-10-12T02:12:43.451Z] Step 8/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T02:12:43.451Z] ---> Running in 4a6091a2d1f2 [2022-10-12T02:12:44.016Z] Removing intermediate container 4a6091a2d1f2 [2022-10-12T02:12:44.016Z] ---> 743604821d9f [2022-10-12T02:12:44.016Z] Step 9/28 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T02:12:44.016Z] ---> Running in d6fd1b03e71e [2022-10-12T02:12:44.277Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T02:12:45.227Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T02:12:45.487Z] OK: 211 MiB in 51 packages [2022-10-12T02:12:45.746Z] Removing intermediate container d6fd1b03e71e [2022-10-12T02:12:45.746Z] ---> 14593c7200cb [2022-10-12T02:12:45.746Z] Step 10/28 : WORKDIR /device-onvif-camera [2022-10-12T02:12:45.746Z] ---> Running in 6db7365db1a5 [2022-10-12T02:12:45.746Z] Removing intermediate container 6db7365db1a5 [2022-10-12T02:12:45.746Z] ---> 2648052d3975 [2022-10-12T02:12:45.746Z] Step 11/28 : COPY go.mod vendor* ./ [2022-10-12T02:12:46.010Z] ---> b354731195a5 [2022-10-12T02:12:46.010Z] Step 12/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T02:12:46.010Z] ---> Running in 7b32b1728699 [2022-10-12T02:12:46.588Z] Removing intermediate container 7b32b1728699 [2022-10-12T02:12:46.588Z] ---> 937e20ff10a6 [2022-10-12T02:12:46.588Z] Step 13/28 : COPY . . [2022-10-12T02:12:47.544Z] ---> 2fc62f441821 [2022-10-12T02:12:47.544Z] Step 14/28 : RUN ${MAKE} [2022-10-12T02:12:47.544Z] ---> Running in 8f6d2bf976b7 [2022-10-12T02:12:47.802Z] 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-12T02:13:10.126Z] Removing intermediate container 8f6d2bf976b7 [2022-10-12T02:13:10.126Z] ---> 718d7624cf78 [2022-10-12T02:13:10.126Z] Step 15/28 : FROM alpine:3.16 [2022-10-12T02:13:24.064Z] 3.16: Pulling from library/alpine [2022-10-12T02:13:24.064Z] 213ec9aee27d: Already exists [2022-10-12T02:13:34.525Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-12T02:13:34.525Z] Status: Downloaded newer image for alpine:3.16 [2022-10-12T02:13:34.525Z] ---> 9c6f07244728 [2022-10-12T02:13:34.525Z] Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-12T02:13:34.525Z] ---> Running in 127b33dfca64 [2022-10-12T02:13:34.525Z] Removing intermediate container 127b33dfca64 [2022-10-12T02:13:34.525Z] ---> 19f4b5a170b0 [2022-10-12T02:13:34.525Z] Step 17/28 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-10-12T02:13:34.525Z] ---> Running in 566af686ae9a [2022-10-12T02:13:34.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T02:13:47.510Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T02:13:48.077Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-10-12T02:13:48.077Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-10-12T02:13:48.420Z] (3/21) Installing readline (8.1.2-r0) [2022-10-12T02:13:48.420Z] (4/21) Installing bash (5.1.16-r2) [2022-10-12T02:13:48.420Z] Executing bash-5.1.16-r2.post-install [2022-10-12T02:13:48.420Z] (5/21) Installing ca-certificates (20220614-r0) [2022-10-12T02:13:48.420Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-10-12T02:13:48.420Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-10-12T02:13:48.420Z] (8/21) Installing libcurl (7.83.1-r3) [2022-10-12T02:13:48.420Z] (9/21) Installing curl (7.83.1-r3) [2022-10-12T02:13:48.420Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-10-12T02:13:48.420Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-10-12T02:13:48.420Z] (12/21) Installing jq (1.6-r1) [2022-10-12T02:13:48.420Z] (13/21) Installing popt (1.18-r0) [2022-10-12T02:13:48.420Z] (14/21) Installing pcre (8.45-r2) [2022-10-12T02:13:48.420Z] (15/21) Installing slang (2.3.2-r0) [2022-10-12T02:13:48.420Z] (16/21) Installing newt (0.52.21-r2) [2022-10-12T02:13:48.420Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-10-12T02:13:48.683Z] (18/21) Installing libsodium (1.0.18-r0) [2022-10-12T02:13:48.683Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-12T02:13:48.683Z] (20/21) Installing libzmq (4.3.4-r0) [2022-10-12T02:13:48.683Z] (21/21) Installing zeromq (4.3.4-r0) [2022-10-12T02:13:48.683Z] Executing busybox-1.35.0-r17.trigger [2022-10-12T02:13:48.683Z] Executing ca-certificates-20220614-r0.trigger [2022-10-12T02:13:48.683Z] OK: 17 MiB in 35 packages [2022-10-12T02:13:49.698Z] Removing intermediate container 566af686ae9a [2022-10-12T02:13:49.698Z] ---> f26b97c67846 [2022-10-12T02:13:49.698Z] Step 18/28 : WORKDIR / [2022-10-12T02:13:49.698Z] ---> Running in 3e0d79f3f673 [2022-10-12T02:13:49.698Z] Removing intermediate container 3e0d79f3f673 [2022-10-12T02:13:49.698Z] ---> 13d4c81c7126 [2022-10-12T02:13:49.698Z] Step 19/28 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-12T02:13:50.641Z] ---> 21ad62d8d2f4 [2022-10-12T02:13:50.641Z] Step 20/28 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-12T02:13:50.641Z] ---> 8afd8bd1a352 [2022-10-12T02:13:50.641Z] Step 21/28 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-12T02:13:50.641Z] ---> d5e3df192588 [2022-10-12T02:13:50.641Z] Step 22/28 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-10-12T02:13:50.898Z] ---> d6c5cd62d784 [2022-10-12T02:13:50.898Z] Step 23/28 : EXPOSE 59984 [2022-10-12T02:13:50.898Z] ---> Running in 14d450327c63 [2022-10-12T02:13:50.898Z] Removing intermediate container 14d450327c63 [2022-10-12T02:13:50.898Z] ---> 5164928b5227 [2022-10-12T02:13:50.898Z] Step 24/28 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-12T02:13:50.898Z] ---> Running in 93de13889293 [2022-10-12T02:13:50.898Z] Removing intermediate container 93de13889293 [2022-10-12T02:13:50.898Z] ---> 0bea8591cbd5 [2022-10-12T02:13:50.898Z] Step 25/28 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-12T02:13:50.898Z] ---> Running in 47998404710e [2022-10-12T02:13:51.157Z] Removing intermediate container 47998404710e [2022-10-12T02:13:51.157Z] ---> 1674d9f80459 [2022-10-12T02:13:51.157Z] Step 26/28 : LABEL arch=amd64 [2022-10-12T02:13:51.157Z] ---> Running in 183291d1421d [2022-10-12T02:13:51.157Z] Removing intermediate container 183291d1421d [2022-10-12T02:13:51.157Z] ---> 67896df66df9 [2022-10-12T02:13:51.157Z] Step 27/28 : LABEL git_sha=3a928c8a0c8d6682a9491087336c5d4b878a4b54 [2022-10-12T02:13:51.157Z] ---> Running in 0691be2c1ef1 [2022-10-12T02:13:51.416Z] Removing intermediate container 0691be2c1ef1 [2022-10-12T02:13:51.416Z] ---> 9dcda5766a33 [2022-10-12T02:13:51.416Z] Step 28/28 : LABEL version=0.0.0 [2022-10-12T02:13:51.416Z] ---> Running in db0b09e868e1 [2022-10-12T02:13:51.416Z] Removing intermediate container db0b09e868e1 [2022-10-12T02:13:51.416Z] ---> 37093506525d [2022-10-12T02:13:51.416Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-12T02:13:51.416Z] Successfully built 37093506525d [2022-10-12T02:13:51.416Z] 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-12T02:13:51.857Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T02:13:51.858Z] [2022-10-12T02:13:51.858Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:13:52.301Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T02:13:52.301Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-12T02:13:52.301Z] 5eb5b503b376: Pulling fs layer [2022-10-12T02:13:52.301Z] 5c69ac0246d0: Pulling fs layer [2022-10-12T02:13:52.301Z] ec43610c2a17: Pulling fs layer [2022-10-12T02:13:52.301Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-12T02:13:52.301Z] 33b1e0a273af: Pulling fs layer [2022-10-12T02:13:52.301Z] 5d3b04190fa2: Pulling fs layer [2022-10-12T02:13:52.301Z] 2f39f015ded8: Pulling fs layer [2022-10-12T02:13:52.301Z] 3a2ae6a8a46f: Waiting [2022-10-12T02:13:52.301Z] 33b1e0a273af: Waiting [2022-10-12T02:13:52.301Z] 5d3b04190fa2: Waiting [2022-10-12T02:13:52.301Z] 2f39f015ded8: Waiting [2022-10-12T02:13:52.301Z] 5c69ac0246d0: Verifying Checksum [2022-10-12T02:13:52.301Z] 5c69ac0246d0: Download complete [2022-10-12T02:13:52.301Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-12T02:13:52.301Z] 3a2ae6a8a46f: Download complete [2022-10-12T02:13:52.692Z] 33b1e0a273af: Verifying Checksum [2022-10-12T02:13:52.692Z] 33b1e0a273af: Download complete [2022-10-12T02:13:52.692Z] 5d3b04190fa2: Verifying Checksum [2022-10-12T02:13:52.692Z] 5d3b04190fa2: Download complete [2022-10-12T02:13:52.692Z] ec43610c2a17: Verifying Checksum [2022-10-12T02:13:52.692Z] ec43610c2a17: Download complete [2022-10-12T02:13:53.958Z] 5eb5b503b376: Verifying Checksum [2022-10-12T02:13:53.958Z] 5eb5b503b376: Download complete [2022-10-12T02:13:54.679Z] 5eb5b503b376: Pull complete [2022-10-12T02:13:54.968Z] 5c69ac0246d0: Pull complete [2022-10-12T02:13:55.408Z] ec43610c2a17: Pull complete [2022-10-12T02:13:55.408Z] 3a2ae6a8a46f: Pull complete [2022-10-12T02:13:55.778Z] 2f39f015ded8: Verifying Checksum [2022-10-12T02:13:55.778Z] 2f39f015ded8: Download complete [2022-10-12T02:13:56.101Z] 33b1e0a273af: Pull complete [2022-10-12T02:13:56.101Z] 5d3b04190fa2: Pull complete [2022-10-12T02:14:00.432Z] 2f39f015ded8: Pull complete [2022-10-12T02:14:00.432Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-12T02:14:00.432Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T02:14:00.432Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:14:00.516Z] prd-ubuntu20.04-docker-8c-8g-7702 does not seem to be running inside a container [2022-10-12T02:14:00.558Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-12T02:14:04.129Z] $ docker top 82d09c243df07350c112807e85a358e19c255ba5ec29fef435496f3426722528 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:14:04.493Z] ---> job-cost.sh [2022-10-12T02:14:04.493Z] lf-activate-venv: SKIPPING [2022-10-12T02:14:04.494Z] INFO: No Stack... [2022-10-12T02:14:04.753Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-12T02:14:05.321Z] INFO: Archiving Costs [Pipeline] sh [2022-10-12T02:14:05.628Z] + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv [2022-10-12T02:14:05.628Z] + cut -d, -f6 [Pipeline] lock [2022-10-12T02:14:05.638Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-20-stack-cost] [2022-10-12T02:14:05.643Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-20-stack-cost] did not exist. Created. [2022-10-12T02:14:05.644Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-12T02:14:05.945Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-12T02:14:05.974Z] Stashed 1 file(s) [Pipeline] } [2022-10-12T02:14:05.980Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-20-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-12T02:14:06.005Z] $ docker stop --time=1 82d09c243df07350c112807e85a358e19c255ba5ec29fef435496f3426722528 [2022-10-12T02:14:07.159Z] $ docker rm -f 82d09c243df07350c112807e85a358e19c255ba5ec29fef435496f3426722528 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-12T02:14:51.552Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7705 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws [2022-10-12T02:14:51.564Z] Running in /w/workspace/device-onvif-camera/20 [Pipeline] { [Pipeline] checkout [2022-10-12T02:14:51.600Z] The recommended git tool is: git [2022-10-12T02:14:57.119Z] using credential edgex-jenkins-ssh [2022-10-12T02:14:57.139Z] Cloning the remote Git repository [2022-10-12T02:14:57.194Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-12T02:14:57.277Z] > git init /w/workspace/device-onvif-camera/20 # timeout=10 [2022-10-12T02:14:57.450Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-12T02:14:57.451Z] > git --version # timeout=10 [2022-10-12T02:14:57.475Z] > git --version # 'git version 2.25.1' [2022-10-12T02:14:57.478Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T02:14:57.532Z] Verifying host key using known hosts file [2022-10-12T02:14:57.741Z] 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-12T02:14:57.755Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-12T02:14:59.035Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-12T02:14:59.056Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-12T02:14:59.999Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-12T02:15:00.045Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-12T02:15:00.046Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T02:15:00.052Z] Verifying host key using known hosts file [2022-10-12T02:15:00.059Z] 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-12T02:15:00.072Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-12T02:15:00.734Z] Merging remotes/origin/main commit bca8455642164c3d303fb1e1cb399f48d9b73870 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 [2022-10-12T02:15:01.502Z] Merge succeeded, producing a30e7d8f8d54adb521c88b7f5dbd6d665a9fb35b [2022-10-12T02:15:01.503Z] Checking out Revision a30e7d8f8d54adb521c88b7f5dbd6d665a9fb35b (PR-125) [2022-10-12T02:15:00.757Z] > git config core.sparsecheckout # timeout=10 [2022-10-12T02:15:00.786Z] > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 [2022-10-12T02:15:01.027Z] > git remote # timeout=10 [2022-10-12T02:15:01.047Z] > git config --get remote.origin.url # timeout=10 [2022-10-12T02:15:01.064Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T02:15:01.070Z] Verifying host key using known hosts file [2022-10-12T02:15:01.075Z] 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-12T02:15:01.086Z] > git merge bca8455642164c3d303fb1e1cb399f48d9b73870 # timeout=10 [2022-10-12T02:15:01.481Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-12T02:15:01.511Z] > git config core.sparsecheckout # timeout=10 [2022-10-12T02:15:01.525Z] > git checkout -f a30e7d8f8d54adb521c88b7f5dbd6d665a9fb35b # timeout=10 [2022-10-12T02:15:05.062Z] Commit message: "Merge commit 'bca8455642164c3d303fb1e1cb399f48d9b73870' into HEAD" [2022-10-12T02:15:05.091Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T02:15:05.969Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-12T02:15:05.969Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-12T02:15:05.969Z] Dload Upload Total Spent Left Speed [2022-10-12T02:15:05.969Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 212k 0 --:--:-- --:--:-- --:--:-- 212k [Pipeline] sh [2022-10-12T02:15:05.073Z] > git rev-list --no-walk f552c862b91cdfed2575d1e6116913e56b77d3c0 # timeout=10 [2022-10-12T02:15:06.716Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-12T02:15:07.052Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-12T02:15:07.052Z] + sudo tee /etc/docker/daemon.new [2022-10-12T02:15:07.052Z] { [2022-10-12T02:15:07.052Z] "registry-mirrors": [ [2022-10-12T02:15:07.052Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-12T02:15:07.052Z] ], [2022-10-12T02:15:07.052Z] "bip": "10.250.0.254/24", [2022-10-12T02:15:07.052Z] "hosts": [ [2022-10-12T02:15:07.052Z] "tcp://0.0.0.0:5555", [2022-10-12T02:15:07.052Z] "unix:///var/run/docker.sock" [2022-10-12T02:15:07.052Z] ], [2022-10-12T02:15:07.052Z] "mtu": 1458, [2022-10-12T02:15:07.052Z] "selinux-enabled": true, [2022-10-12T02:15:07.052Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-12T02:15:07.052Z] } [Pipeline] sh [2022-10-12T02:15:07.388Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-12T02:15:07.723Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T02:15:26.006Z] provisioning config files... [2022-10-12T02:15:26.033Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/20@tmp/config8707089401157366186tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:15:26.388Z] ---> docker-login.sh [2022-10-12T02:15:26.388Z] nexus3.edgexfoundry.org:10001 [2022-10-12T02:15:26.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:15:26.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:15:26.978Z] Configure a credential helper to remove this warning. See [2022-10-12T02:15:26.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:15:26.979Z] [2022-10-12T02:15:26.979Z] Login Succeeded [2022-10-12T02:15:26.979Z] nexus3.edgexfoundry.org:10002 [2022-10-12T02:15:27.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:15:27.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:15:27.523Z] Configure a credential helper to remove this warning. See [2022-10-12T02:15:27.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:15:27.523Z] [2022-10-12T02:15:27.523Z] Login Succeeded [2022-10-12T02:15:27.523Z] nexus3.edgexfoundry.org:10003 [2022-10-12T02:15:27.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:15:27.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:15:27.795Z] Configure a credential helper to remove this warning. See [2022-10-12T02:15:27.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:15:27.795Z] [2022-10-12T02:15:27.795Z] Login Succeeded [2022-10-12T02:15:27.795Z] nexus3.edgexfoundry.org:10004 [2022-10-12T02:15:28.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:15:28.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:15:28.340Z] Configure a credential helper to remove this warning. See [2022-10-12T02:15:28.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:15:28.340Z] [2022-10-12T02:15:28.340Z] Login Succeeded [2022-10-12T02:15:28.340Z] docker.io [2022-10-12T02:15:28.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:15:28.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:15:28.882Z] Configure a credential helper to remove this warning. See [2022-10-12T02:15:28.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:15:28.882Z] [2022-10-12T02:15:28.882Z] Login Succeeded [2022-10-12T02:15:28.882Z] ---> docker-login.sh ends [Pipeline] } [2022-10-12T02:15:28.897Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-12T02:15:29.079Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T02:15:29.095Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T02:15:29.103Z] ========================================================= [2022-10-12T02:15:29.103Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-12T02:15:29.103Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:15:29.453Z] + 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-12T02:15:30.043Z] Sending build context to Docker daemon 14.22MB [2022-10-12T02:15:30.044Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T02:15:30.044Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-12T02:15:30.330Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-12T02:15:30.330Z] 9b18e9b68314: Pulling fs layer [2022-10-12T02:15:30.330Z] d32db5db7311: Pulling fs layer [2022-10-12T02:15:30.330Z] d0c4b47475fc: Pulling fs layer [2022-10-12T02:15:30.330Z] 5831b945b038: Pulling fs layer [2022-10-12T02:15:30.330Z] 86bbec2aaacd: Pulling fs layer [2022-10-12T02:15:30.330Z] e10730c5d714: Pulling fs layer [2022-10-12T02:15:30.330Z] 5dd5c2283517: Pulling fs layer [2022-10-12T02:15:30.330Z] d5ac0230b979: Pulling fs layer [2022-10-12T02:15:30.330Z] e10730c5d714: Waiting [2022-10-12T02:15:30.330Z] 5dd5c2283517: Waiting [2022-10-12T02:15:30.330Z] 5831b945b038: Waiting [2022-10-12T02:15:30.330Z] d5ac0230b979: Waiting [2022-10-12T02:15:30.330Z] 86bbec2aaacd: Waiting [2022-10-12T02:15:30.330Z] d0c4b47475fc: Download complete [2022-10-12T02:15:30.330Z] d32db5db7311: Download complete [2022-10-12T02:15:30.330Z] 86bbec2aaacd: Verifying Checksum [2022-10-12T02:15:30.330Z] 86bbec2aaacd: Download complete [2022-10-12T02:15:30.330Z] e10730c5d714: Verifying Checksum [2022-10-12T02:15:30.330Z] e10730c5d714: Download complete [2022-10-12T02:15:30.330Z] 9b18e9b68314: Verifying Checksum [2022-10-12T02:15:31.781Z] 9b18e9b68314: Pull complete [2022-10-12T02:15:31.781Z] d5ac0230b979: Verifying Checksum [2022-10-12T02:15:31.781Z] d5ac0230b979: Download complete [2022-10-12T02:15:32.064Z] d32db5db7311: Pull complete [2022-10-12T02:15:32.339Z] d0c4b47475fc: Pull complete [2022-10-12T02:15:33.312Z] 5dd5c2283517: Verifying Checksum [2022-10-12T02:15:33.312Z] 5dd5c2283517: Download complete [2022-10-12T02:15:33.581Z] 5831b945b038: Verifying Checksum [2022-10-12T02:15:33.581Z] 5831b945b038: Download complete [2022-10-12T02:15:48.622Z] 5831b945b038: Pull complete [2022-10-12T02:15:48.622Z] 86bbec2aaacd: Pull complete [2022-10-12T02:15:48.622Z] e10730c5d714: Pull complete [2022-10-12T02:15:52.901Z] 5dd5c2283517: Pull complete [2022-10-12T02:15:54.851Z] d5ac0230b979: Pull complete [2022-10-12T02:15:54.851Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-12T02:15:54.851Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-12T02:15:54.851Z] ---> 59b3b1a385d4 [2022-10-12T02:15:54.851Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-12T02:15:56.803Z] ---> Running in 2331bb46c715 [2022-10-12T02:15:56.803Z] Removing intermediate container 2331bb46c715 [2022-10-12T02:15:56.803Z] ---> e79f2a3cef33 [2022-10-12T02:15:56.803Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T02:15:56.803Z] ---> Running in fde84621d8b9 [2022-10-12T02:15:57.391Z] Removing intermediate container fde84621d8b9 [2022-10-12T02:15:57.391Z] ---> 00a22b043989 [2022-10-12T02:15:57.391Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T02:15:57.391Z] ---> Running in 6d212d7616d3 [2022-10-12T02:15:57.662Z] Removing intermediate container 6d212d7616d3 [2022-10-12T02:15:57.662Z] ---> 54204f936f99 [2022-10-12T02:15:57.662Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T02:15:57.932Z] ---> Running in d07d3854c307 [2022-10-12T02:15:58.200Z] Removing intermediate container d07d3854c307 [2022-10-12T02:15:58.200Z] ---> 8ed33b5576f1 [2022-10-12T02:15:58.200Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-12T02:15:58.200Z] ---> Running in 959ea6f77e6c [2022-10-12T02:15:58.468Z] Removing intermediate container 959ea6f77e6c [2022-10-12T02:15:58.468Z] ---> 6d6177fd5071 [2022-10-12T02:15:58.468Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T02:15:58.739Z] ---> Running in f701fc6a3ad9 [2022-10-12T02:16:00.697Z] Removing intermediate container f701fc6a3ad9 [2022-10-12T02:16:00.697Z] ---> 2919264c9ef8 [2022-10-12T02:16:00.697Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T02:16:00.697Z] ---> Running in a62417198625 [2022-10-12T02:16:01.660Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T02:16:02.620Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T02:16:04.031Z] OK: 221 MiB in 51 packages [2022-10-12T02:16:04.623Z] Removing intermediate container a62417198625 [2022-10-12T02:16:04.623Z] ---> 9dc8d9ea7f9b [2022-10-12T02:16:04.623Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-12T02:16:04.623Z] ---> Running in 3903b4f2b4f2 [2022-10-12T02:16:05.212Z] Removing intermediate container 3903b4f2b4f2 [2022-10-12T02:16:05.212Z] ---> 8bdc513a16c3 [2022-10-12T02:16:05.212Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-12T02:16:05.497Z] ---> 88df6d9501bf [2022-10-12T02:16:05.497Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T02:16:05.766Z] ---> Running in d31119150060 [2022-10-12T02:17:02.197Z] Removing intermediate container d31119150060 [2022-10-12T02:17:02.197Z] ---> 7d35d7118f6e [2022-10-12T02:17:02.197Z] Step 13/14 : COPY . . [2022-10-12T02:17:02.197Z] ---> dcbd0bd8cc82 [2022-10-12T02:17:02.197Z] Step 14/14 : RUN ${MAKE} [2022-10-12T02:17:02.197Z] ---> Running in ec7e309542d6 [2022-10-12T02:17:02.197Z] noop [2022-10-12T02:17:02.197Z] Removing intermediate container ec7e309542d6 [2022-10-12T02:17:02.197Z] ---> ed7ad30f42b6 [2022-10-12T02:17:02.197Z] Successfully built ed7ad30f42b6 [2022-10-12T02:17:02.197Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:17:02.557Z] + docker inspect -f . ci-base-image-arm64 [2022-10-12T02:17:02.557Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:17:02.739Z] prd-ubuntu20.04-docker-arm64-4c-16g-7705 does not seem to be running inside a container [2022-10-12T02:17:02.804Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/20 -v /w/workspace/device-onvif-camera/20:/w/workspace/device-onvif-camera/20:rw,z -v /w/workspace/device-onvif-camera/20@tmp:/w/workspace/device-onvif-camera/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-12T02:17:04.934Z] $ docker top 74ef3bec51e17658f75e3b1b8c0bde642ba9ff340de8b53af059920e6e303732 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T02:17:05.780Z] + go version [2022-10-12T02:17:05.780Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-12T02:17:05.802Z] $ docker stop --time=1 74ef3bec51e17658f75e3b1b8c0bde642ba9ff340de8b53af059920e6e303732 [2022-10-12T02:17:07.460Z] $ docker rm -f 74ef3bec51e17658f75e3b1b8c0bde642ba9ff340de8b53af059920e6e303732 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:17:08.010Z] + docker inspect -f . ci-base-image-arm64 [2022-10-12T02:17:08.010Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:17:08.199Z] prd-ubuntu20.04-docker-arm64-4c-16g-7705 does not seem to be running inside a container [2022-10-12T02:17:08.273Z] $ 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/20 -v /w/workspace/device-onvif-camera/20:/w/workspace/device-onvif-camera/20:rw,z -v /w/workspace/device-onvif-camera/20@tmp:/w/workspace/device-onvif-camera/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-12T02:17:09.493Z] $ docker top 173bc94e12ee7634e94520e6ec86061771242feac2e4f0333a77380fab80c7e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T02:17:10.339Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/20 [Pipeline] fileExists [Pipeline] sh [2022-10-12T02:17:10.989Z] + make test [2022-10-12T02:17:10.989Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-12T02:17:12.938Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-12T02:19:04.691Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-12T02:19:04.691Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.203s coverage: 28.2% of statements [2022-10-12T02:19:04.691Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-12T02:19:14.808Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.128s coverage: 86.5% of statements [2022-10-12T02:19:14.808Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-12T02:19:14.808Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-12T02:19:53.703Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-12T02:19:53.703Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-12T02:19:53.703Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-12T02:19:53.725Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-12T02:19:53.742Z] $ docker stop --time=1 173bc94e12ee7634e94520e6ec86061771242feac2e4f0333a77380fab80c7e4 [2022-10-12T02:19:55.822Z] $ docker rm -f 173bc94e12ee7634e94520e6ec86061771242feac2e4f0333a77380fab80c7e4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T02:19:56.887Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-12T02:19:56.913Z] Warning: overwriting stash ‘coverage-report’ [2022-10-12T02:19:57.561Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T02:19:57.976Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-12T02:19:58.319Z] + ls -al . [2022-10-12T02:19:58.319Z] total 232 [2022-10-12T02:19:58.319Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 12 02:17 . [2022-10-12T02:19:58.319Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:14 .. [2022-10-12T02:19:58.319Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 02:15 .git [2022-10-12T02:19:58.319Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:15 .github [2022-10-12T02:19:58.319Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 12 02:15 .gitignore [2022-10-12T02:19:58.319Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 02:15 .golangci.yml [2022-10-12T02:19:58.319Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 12 02:15 Attribution.txt [2022-10-12T02:19:58.319Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 12 02:15 CHANGELOG.md [2022-10-12T02:19:58.319Z] -rw-rw-r-- 1 jenkins jenkins 1799 Oct 12 02:15 Dockerfile [2022-10-12T02:19:58.319Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 02:15 GOVERNANCE.md [2022-10-12T02:19:58.319Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 12 02:15 Jenkinsfile [2022-10-12T02:19:58.319Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 12 02:15 LICENSE [2022-10-12T02:19:58.319Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 12 02:15 Makefile [2022-10-12T02:19:58.319Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 12 02:15 OWNERS.md [2022-10-12T02:19:58.319Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 12 02:15 README.md [2022-10-12T02:19:58.319Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 02:11 VERSION [2022-10-12T02:19:58.319Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 02:15 bin [2022-10-12T02:19:58.319Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:15 cmd [2022-10-12T02:19:58.319Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 12 02:19 coverage.out [2022-10-12T02:19:58.319Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 02:15 doc [2022-10-12T02:19:58.319Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 12 02:15 go.mod [2022-10-12T02:19:58.319Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 12 02:15 go.sum [2022-10-12T02:19:58.319Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:15 internal [2022-10-12T02:19:58.319Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:15 snap [2022-10-12T02:19:58.319Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 12 02:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:19:58.930Z] + 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=a30e7d8f8d54adb521c88b7f5dbd6d665a9fb35b --label arch=arm64 --label version=0.0.0 . [2022-10-12T02:20:00.494Z] Sending build context to Docker daemon 14.3MB [2022-10-12T02:20:00.494Z] Step 1/28 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T02:20:00.494Z] Step 2/28 : FROM ${BASE} AS builder [2022-10-12T02:20:00.494Z] ---> ed7ad30f42b6 [2022-10-12T02:20:00.494Z] Step 3/28 : ARG ADD_BUILD_TAGS="" [2022-10-12T02:20:00.494Z] ---> Running in fd10524a13d7 [2022-10-12T02:20:01.138Z] Removing intermediate container fd10524a13d7 [2022-10-12T02:20:01.138Z] ---> b801c17a0800 [2022-10-12T02:20:01.138Z] Step 4/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T02:20:01.138Z] ---> Running in 243962394bb3 [2022-10-12T02:20:01.749Z] Removing intermediate container 243962394bb3 [2022-10-12T02:20:01.749Z] ---> b7e5456ce815 [2022-10-12T02:20:01.749Z] Step 5/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T02:20:01.749Z] ---> Running in ea1f768ded9d [2022-10-12T02:20:03.704Z] Removing intermediate container ea1f768ded9d [2022-10-12T02:20:03.704Z] ---> 09d5dadb7150 [2022-10-12T02:20:03.704Z] Step 6/28 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T02:20:03.704Z] ---> Running in c5d1931f6136 [2022-10-12T02:20:03.974Z] Removing intermediate container c5d1931f6136 [2022-10-12T02:20:03.974Z] ---> d7875ca994c1 [2022-10-12T02:20:03.974Z] Step 7/28 : LABEL Name=edgex-device-onvif-camera [2022-10-12T02:20:03.974Z] ---> Running in 0344b5651b90 [2022-10-12T02:20:05.950Z] Removing intermediate container 0344b5651b90 [2022-10-12T02:20:05.950Z] ---> 3154527d7845 [2022-10-12T02:20:05.950Z] Step 8/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T02:20:05.950Z] ---> Running in b53ea210c033 [2022-10-12T02:20:07.916Z] Removing intermediate container b53ea210c033 [2022-10-12T02:20:07.916Z] ---> bebd8e9bf0ed [2022-10-12T02:20:07.916Z] Step 9/28 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T02:20:07.916Z] ---> Running in 29a706c9689f [2022-10-12T02:20:08.903Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T02:20:09.873Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T02:20:10.840Z] OK: 221 MiB in 51 packages [2022-10-12T02:20:11.806Z] Removing intermediate container 29a706c9689f [2022-10-12T02:20:11.806Z] ---> 3bb128e60acb [2022-10-12T02:20:11.806Z] Step 10/28 : WORKDIR /device-onvif-camera [2022-10-12T02:20:11.806Z] ---> Running in 88157c1fd361 [2022-10-12T02:20:12.395Z] Removing intermediate container 88157c1fd361 [2022-10-12T02:20:12.395Z] ---> 65edb52654f9 [2022-10-12T02:20:12.395Z] Step 11/28 : COPY go.mod vendor* ./ [2022-10-12T02:20:12.983Z] ---> 2378596ca477 [2022-10-12T02:20:12.984Z] Step 12/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T02:20:12.984Z] ---> Running in e514d21d84fc [2022-10-12T02:20:14.935Z] Removing intermediate container e514d21d84fc [2022-10-12T02:20:14.935Z] ---> 3762e1da2472 [2022-10-12T02:20:14.935Z] Step 13/28 : COPY . . [2022-10-12T02:20:16.885Z] ---> adc7e59af131 [2022-10-12T02:20:16.885Z] Step 14/28 : RUN ${MAKE} [2022-10-12T02:20:16.885Z] ---> Running in 21f73fca870f [2022-10-12T02:20:17.473Z] 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-12T02:22:54.264Z] Removing intermediate container 21f73fca870f [2022-10-12T02:22:54.264Z] ---> 8d6286f1efbf [2022-10-12T02:22:54.264Z] Step 15/28 : FROM alpine:3.16 [2022-10-12T02:22:54.264Z] 3.16: Pulling from library/alpine [2022-10-12T02:22:54.264Z] 9b18e9b68314: Already exists [2022-10-12T02:22:54.264Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-12T02:22:54.264Z] Status: Downloaded newer image for alpine:3.16 [2022-10-12T02:22:54.264Z] ---> a6215f271958 [2022-10-12T02:22:54.264Z] Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-12T02:22:54.264Z] ---> Running in 62ea3c30a686 [2022-10-12T02:22:54.264Z] Removing intermediate container 62ea3c30a686 [2022-10-12T02:22:54.264Z] ---> 34487f17d9c0 [2022-10-12T02:22:54.264Z] Step 17/28 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-10-12T02:22:54.264Z] ---> Running in 6c3ffc965b62 [2022-10-12T02:22:54.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T02:22:54.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T02:22:54.264Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-10-12T02:22:54.264Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-10-12T02:22:54.264Z] (3/21) Installing readline (8.1.2-r0) [2022-10-12T02:22:54.264Z] (4/21) Installing bash (5.1.16-r2) [2022-10-12T02:22:54.264Z] Executing bash-5.1.16-r2.post-install [2022-10-12T02:22:54.264Z] (5/21) Installing ca-certificates (20220614-r0) [2022-10-12T02:22:54.264Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-10-12T02:22:54.264Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-10-12T02:22:54.264Z] (8/21) Installing libcurl (7.83.1-r3) [2022-10-12T02:22:54.264Z] (9/21) Installing curl (7.83.1-r3) [2022-10-12T02:22:54.264Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-10-12T02:22:54.264Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-10-12T02:22:54.264Z] (12/21) Installing jq (1.6-r1) [2022-10-12T02:22:54.264Z] (13/21) Installing popt (1.18-r0) [2022-10-12T02:22:54.264Z] (14/21) Installing pcre (8.45-r2) [2022-10-12T02:22:54.264Z] (15/21) Installing slang (2.3.2-r0) [2022-10-12T02:22:54.264Z] (16/21) Installing newt (0.52.21-r2) [2022-10-12T02:22:54.264Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-10-12T02:22:54.264Z] (18/21) Installing libsodium (1.0.18-r0) [2022-10-12T02:22:54.264Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-12T02:22:54.264Z] (20/21) Installing libzmq (4.3.4-r0) [2022-10-12T02:22:54.264Z] (21/21) Installing zeromq (4.3.4-r0) [2022-10-12T02:22:54.264Z] Executing busybox-1.35.0-r17.trigger [2022-10-12T02:22:54.264Z] Executing ca-certificates-20220614-r0.trigger [2022-10-12T02:22:54.264Z] OK: 16 MiB in 35 packages [2022-10-12T02:22:55.668Z] Removing intermediate container 6c3ffc965b62 [2022-10-12T02:22:55.668Z] ---> 344061ae75b9 [2022-10-12T02:22:55.668Z] Step 18/28 : WORKDIR / [2022-10-12T02:22:55.668Z] ---> Running in 6a88c39c1b7c [2022-10-12T02:22:55.933Z] Removing intermediate container 6a88c39c1b7c [2022-10-12T02:22:55.933Z] ---> e801d7732139 [2022-10-12T02:22:55.933Z] Step 19/28 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-12T02:22:57.339Z] ---> 2991f33288fd [2022-10-12T02:22:57.339Z] Step 20/28 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-12T02:22:57.922Z] ---> 05b032aeedd8 [2022-10-12T02:22:57.922Z] Step 21/28 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-12T02:22:58.506Z] ---> af4b28956264 [2022-10-12T02:22:58.506Z] Step 22/28 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-10-12T02:22:58.785Z] ---> b3e4ab017f7e [2022-10-12T02:22:58.785Z] Step 23/28 : EXPOSE 59984 [2022-10-12T02:22:59.053Z] ---> Running in 408f79638854 [2022-10-12T02:22:59.321Z] Removing intermediate container 408f79638854 [2022-10-12T02:22:59.321Z] ---> 7dd1acf72f28 [2022-10-12T02:22:59.321Z] Step 24/28 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-12T02:22:59.321Z] ---> Running in d065321aa09c [2022-10-12T02:22:59.589Z] Removing intermediate container d065321aa09c [2022-10-12T02:22:59.590Z] ---> 7bdddc5e38d6 [2022-10-12T02:22:59.590Z] Step 25/28 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-12T02:22:59.590Z] ---> Running in dec67fb8080e [2022-10-12T02:23:00.176Z] Removing intermediate container dec67fb8080e [2022-10-12T02:23:00.176Z] ---> 762684af37ea [2022-10-12T02:23:00.176Z] Step 26/28 : LABEL arch=arm64 [2022-10-12T02:23:00.176Z] ---> Running in ac10093b84ee [2022-10-12T02:23:00.445Z] Removing intermediate container ac10093b84ee [2022-10-12T02:23:00.445Z] ---> e773e8735940 [2022-10-12T02:23:00.445Z] Step 27/28 : LABEL git_sha=a30e7d8f8d54adb521c88b7f5dbd6d665a9fb35b [2022-10-12T02:23:00.445Z] ---> Running in a5fa13355a8e [2022-10-12T02:23:00.717Z] Removing intermediate container a5fa13355a8e [2022-10-12T02:23:00.717Z] ---> 10d11c427a39 [2022-10-12T02:23:00.717Z] Step 28/28 : LABEL version=0.0.0 [2022-10-12T02:23:00.717Z] ---> Running in 0e39bf6a469b [2022-10-12T02:23:00.984Z] Removing intermediate container 0e39bf6a469b [2022-10-12T02:23:00.984Z] ---> e7d6b97edc45 [2022-10-12T02:23:00.984Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-12T02:23:01.252Z] Successfully built e7d6b97edc45 [2022-10-12T02:23:01.252Z] 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-12T02:23:01.680Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T02:23:01.680Z] [2022-10-12T02:23:01.680Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:23:02.009Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T02:23:02.009Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-12T02:23:02.009Z] 8998bd30e6a1: Pulling fs layer [2022-10-12T02:23:02.009Z] 04944245beec: Pulling fs layer [2022-10-12T02:23:02.009Z] 699f458cf7ca: Pulling fs layer [2022-10-12T02:23:02.009Z] 765212b225bb: Pulling fs layer [2022-10-12T02:23:02.009Z] f23df028b6ca: Pulling fs layer [2022-10-12T02:23:02.009Z] d65c8cfc05b1: Pulling fs layer [2022-10-12T02:23:02.009Z] 2437ff75d9bd: Pulling fs layer [2022-10-12T02:23:02.009Z] f23df028b6ca: Waiting [2022-10-12T02:23:02.009Z] d65c8cfc05b1: Waiting [2022-10-12T02:23:02.009Z] 2437ff75d9bd: Waiting [2022-10-12T02:23:02.009Z] 765212b225bb: Waiting [2022-10-12T02:23:02.280Z] 04944245beec: Verifying Checksum [2022-10-12T02:23:02.280Z] 04944245beec: Download complete [2022-10-12T02:23:02.280Z] 765212b225bb: Verifying Checksum [2022-10-12T02:23:02.280Z] 765212b225bb: Download complete [2022-10-12T02:23:02.280Z] f23df028b6ca: Verifying Checksum [2022-10-12T02:23:02.280Z] f23df028b6ca: Download complete [2022-10-12T02:23:02.280Z] d65c8cfc05b1: Verifying Checksum [2022-10-12T02:23:02.280Z] d65c8cfc05b1: Download complete [2022-10-12T02:23:02.550Z] 699f458cf7ca: Verifying Checksum [2022-10-12T02:23:02.550Z] 699f458cf7ca: Download complete [2022-10-12T02:23:02.818Z] 8998bd30e6a1: Verifying Checksum [2022-10-12T02:23:02.818Z] 8998bd30e6a1: Download complete [2022-10-12T02:23:05.404Z] 2437ff75d9bd: Verifying Checksum [2022-10-12T02:23:05.404Z] 2437ff75d9bd: Download complete [2022-10-12T02:23:07.351Z] 8998bd30e6a1: Pull complete [2022-10-12T02:23:07.351Z] 04944245beec: Pull complete [2022-10-12T02:23:08.761Z] 699f458cf7ca: Pull complete [2022-10-12T02:23:09.028Z] 765212b225bb: Pull complete [2022-10-12T02:23:09.989Z] f23df028b6ca: Pull complete [2022-10-12T02:23:09.989Z] d65c8cfc05b1: Pull complete [2022-10-12T02:23:24.990Z] 2437ff75d9bd: Pull complete [2022-10-12T02:23:24.990Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-12T02:23:24.990Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T02:23:24.990Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:23:25.175Z] prd-ubuntu20.04-docker-arm64-4c-16g-7705 does not seem to be running inside a container [2022-10-12T02:23:25.234Z] $ 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/20 -v /w/workspace/device-onvif-camera/20:/w/workspace/device-onvif-camera/20:rw,z -v /w/workspace/device-onvif-camera/20@tmp:/w/workspace/device-onvif-camera/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-12T02:23:27.866Z] $ docker top b1903740004fda0e71548666a3ca566e77ecb87d4c7c7b22b116e66940aca884 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:23:28.713Z] ---> job-cost.sh [2022-10-12T02:23:28.713Z] lf-activate-venv: SKIPPING [2022-10-12T02:23:28.713Z] INFO: No Stack... [2022-10-12T02:23:28.978Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-12T02:23:29.933Z] INFO: Archiving Costs [Pipeline] sh [2022-10-12T02:23:30.255Z] + + cat /w/workspace/device-onvif-camera/20/archives/cost.csv [2022-10-12T02:23:30.255Z] cut -d, -f6 [Pipeline] lock [2022-10-12T02:23:30.582Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-20-stack-cost] [2022-10-12T02:23:30.591Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-20-stack-cost] did not exist. Created. [2022-10-12T02:23:30.591Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-12T02:23:31.244Z] /w/workspace/device-onvif-camera/20@tmp/durable-043a6a5d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-12T02:23:31.576Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-12T02:23:31.598Z] Warning: overwriting stash ‘stack-cost’ [2022-10-12T02:23:31.656Z] Stashed 1 file(s) [Pipeline] } [2022-10-12T02:23:31.662Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-20-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-12T02:23:31.679Z] $ docker stop --time=1 b1903740004fda0e71548666a3ca566e77ecb87d4c7c7b22b116e66940aca884 [2022-10-12T02:23:33.163Z] $ docker rm -f b1903740004fda0e71548666a3ca566e77ecb87d4c7c7b22b116e66940aca884 [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-12T02:23:33.522Z] provisioning config files... [2022-10-12T02:23:33.528Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config1902738745510848286tmp [Pipeline] { [Pipeline] sh [2022-10-12T02:23:33.817Z] + set +x [2022-10-12T02:23:33.817Z] + curl -s https://codecov.io/bash [2022-10-12T02:23:33.817Z] + bash -s -- [2022-10-12T02:23:33.817Z] [2022-10-12T02:23:33.817Z] _____ _ [2022-10-12T02:23:33.817Z] / ____| | | [2022-10-12T02:23:33.817Z] | | ___ __| | ___ ___ _____ __ [2022-10-12T02:23:33.817Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-12T02:23:33.817Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-12T02:23:33.817Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-12T02:23:33.817Z] Bash-1.0.6 [2022-10-12T02:23:33.817Z] [2022-10-12T02:23:33.817Z] [2022-10-12T02:23:33.817Z] ==> git version 2.25.1 found [2022-10-12T02:23:33.817Z] ==> 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-12T02:23:33.817Z] Release-Date: 2020-01-08 [2022-10-12T02:23:33.817Z] 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-12T02:23:33.817Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-12T02:23:33.817Z] ==> Jenkins CI detected. [2022-10-12T02:23:33.817Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-125 [2022-10-12T02:23:33.817Z] project root: . [2022-10-12T02:23:33.817Z] --> token set from env [2022-10-12T02:23:33.817Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-12T02:23:33.817Z] ==> Running gcov in . (disable via -X gcov) [2022-10-12T02:23:33.817Z] ==> Python coveragepy not found [2022-10-12T02:23:33.817Z] ==> Searching for coverage reports in: [2022-10-12T02:23:33.817Z] + . [2022-10-12T02:23:33.817Z] -> Found 1 reports [2022-10-12T02:23:33.817Z] ==> Detecting git/mercurial file structure [2022-10-12T02:23:33.817Z] ==> Reading reports [2022-10-12T02:23:33.817Z] + ./coverage.out bytes=78461 [2022-10-12T02:23:33.817Z] ==> Appending adjustments [2022-10-12T02:23:33.817Z] https://docs.codecov.io/docs/fixing-reports [2022-10-12T02:23:34.076Z] + Found adjustments [2022-10-12T02:23:34.076Z] ==> Gzipping contents [2022-10-12T02:23:34.076Z] 12K /tmp/codecov.Pe2pDu.gz [2022-10-12T02:23:34.076Z] ==> Uploading reports [2022-10-12T02:23:34.076Z] url: https://codecov.io [2022-10-12T02:23:34.076Z] query: branch=PR-125&commit=3a928c8a0c8d6682a9491087336c5d4b878a4b54&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-10-12T02:23:34.076Z] -> Pinging Codecov [2022-10-12T02:23:34.076Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-125&commit=3a928c8a0c8d6682a9491087336c5d4b878a4b54&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-10-12T02:23:34.335Z] -> Uploading to [2022-10-12T02:23:34.335Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-12/F29A59C45E3A92E06B3E522C9905F8EF/3a928c8a0c8d6682a9491087336c5d4b878a4b54/29650fe3-1db7-477f-a3b4-ffde01ca8f17.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221012T022334Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ce93494f1650084108680e340bd1351a2054f3eceb6305f497c43ffb9c4a5152 [2022-10-12T02:23:34.335Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-12T02:23:34.335Z] Dload Upload Total Spent Left Speed [2022-10-12T02:23:34.593Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10717 0 0 100 10717 0 49160 --:--:-- --:--:-- --:--:-- 49160 [2022-10-12T02:23:34.593Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/3a928c8a0c8d6682a9491087336c5d4b878a4b54 [Pipeline] } [2022-10-12T02:23:34.600Z] 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-12T02:23:35.221Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] [2022-10-12T02:23:35.221Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-10-12T02:23:35.221Z] total 16 [2022-10-12T02:23:35.221Z] drwxr-xr-x 3 root root 4096 Oct 12 02:14 . [2022-10-12T02:23:35.221Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 02:14 .. [2022-10-12T02:23:35.221Z] drwxr-xr-x 2 root root 4096 Oct 12 02:14 cost [2022-10-12T02:23:35.221Z] -rw-r--r-- 1 root root 92 Oct 12 02:14 cost.csv [2022-10-12T02:23:35.221Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-10-12T02:23:35.221Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-10-12T02:23:35.221Z] total 16 [2022-10-12T02:23:35.221Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 02:14 . [2022-10-12T02:23:35.221Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 02:14 .. [2022-10-12T02:23:35.221Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 02:14 cost [2022-10-12T02:23:35.221Z] -rw-r--r-- 1 jenkins jenkins 92 Oct 12 02:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:23:35.510Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:23:36.364Z] ---> package-listing.sh [2022-10-12T02:23:36.364Z] ++ facter osfamily [2022-10-12T02:23:36.364Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-12T02:23:36.624Z] + OS_FAMILY=debian [2022-10-12T02:23:36.624Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-125 [2022-10-12T02:23:36.624Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-12T02:23:36.624Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-12T02:23:36.624Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-12T02:23:36.624Z] + PACKAGES=/tmp/packages_start.txt [2022-10-12T02:23:36.624Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-10-12T02:23:36.624Z] + PACKAGES=/tmp/packages_end.txt [2022-10-12T02:23:36.624Z] + case "${OS_FAMILY}" in [2022-10-12T02:23:36.624Z] + dpkg -l [2022-10-12T02:23:36.624Z] + grep '^ii' [2022-10-12T02:23:36.624Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-12T02:23:36.624Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-12T02:23:36.624Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-12T02:23:36.624Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-10-12T02:23:36.624Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ [2022-10-12T02:23:36.624Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-125/archives/ [Pipeline] echo [2022-10-12T02:23:36.641Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-12T02:23:36.920Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:23:37.480Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T02:23:37.480Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:23:37.547Z] prd-ubuntu20.04-docker-8c-8g-7702 does not seem to be running inside a container [2022-10-12T02:23:37.591Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-12T02:23:37.791Z] $ docker top 69b2417c62e0754d4140d5a963b5583c7b228ee2b37375b7e5e87488a9a9d4e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T02:23:38.124Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-12T02:23:38.416Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-12T02:23:38.703Z] + ls /var/log/sa-host [2022-10-12T02:23:38.703Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T02:23:38.770Z] provisioning config files... [2022-10-12T02:23:38.778Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config8784123021389698tmp [Pipeline] { [Pipeline] echo [2022-10-12T02:23:38.789Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:23:39.072Z] ---> create-netrc.sh [Pipeline] } [2022-10-12T02:23:39.079Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:23:39.402Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-12T02:23:39.410Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:23:39.695Z] ---> sudo-logs.sh [2022-10-12T02:23:39.695Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-12T02:23:39.727Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:23:40.011Z] ---> job-cost.sh [2022-10-12T02:23:40.011Z] lf-activate-venv: SKIPPING [2022-10-12T02:23:40.011Z] DEBUG: total: 0.2199999988079071 [2022-10-12T02:23:40.011Z] INFO: Retrieving Stack Cost... [2022-10-12T02:23:40.580Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-12T02:23:40.844Z] INFO: Archiving Costs [Pipeline] echo [2022-10-12T02:23:40.854Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:23:41.144Z] ---> logs-deploy.sh [2022-10-12T02:23:41.144Z] lf-activate-venv: SKIPPING [2022-10-12T02:23:41.144Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/20 [2022-10-12T02:23:41.144Z] INFO: archiving workspace using pattern(s): [2022-10-12T02:23:42.096Z] Archives upload complete. [2022-10-12T02:23:42.096Z] INFO: archiving logs to Nexus