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 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a 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-ssh10889298391492910748.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-ssh1771460304554930519.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-ssh15201714411750458068.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-ssh7983276071156208896.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-ssh739958555812697713.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-1487’ Running on prd-ubuntu20.04-docker-8c-8g-1494 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 Merging remotes/origin/main commit 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 > 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 > 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 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a # timeout=10 Merge succeeded, producing e94b546e09e1e76c9f9901986eef7cbd2f837a0a Checking out Revision e94b546e09e1e76c9f9901986eef7cbd2f837a0a (PR-125) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e94b546e09e1e76c9f9901986eef7cbd2f837a0a # timeout=10 Commit message: "Merge commit '93a2116a16fd236fe7cdb3fd99bdb7206e0b648a' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-28T02:12:20.836Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-28T02:12:20.900Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-28T02:12:20.915Z] ========================================================= [2022-09-28T02:12:20.915Z] EdgeX Global Pipelines Version Info [2022-09-28T02:12:20.915Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2618dc03c45380f7b59f58b7fe727d521b027290 # timeout=10 [2022-09-28T02:12:21.648Z] ------------------- [2022-09-28T02:12:21.648Z] stable info: [2022-09-28T02:12:21.648Z] ------------------- [2022-09-28T02:12:21.648Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-28T02:12:21.648Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-28T02:12:21.648Z] Message: update stable to v1.0.239 [2022-09-28T02:12:22.220Z] ------------------- [2022-09-28T02:12:22.220Z] experimental info: [2022-09-28T02:12:22.220Z] ------------------- [2022-09-28T02:12:22.220Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-28T02:12:22.220Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-28T02:12:22.221Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-28T02:12:22.372Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-28T02:12:22.390Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-28T02:12:22.405Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-28T02:12:22.421Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-28T02:12:22.433Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-28T02:12:22.449Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-28T02:12:22.458Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-28T02:12:22.469Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-28T02:12:22.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-28T02:12:22.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-28T02:12:22.516Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-28T02:12:22.531Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-28T02:12:22.542Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-28T02:12:22.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-28T02:12:22.576Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-28T02:12:22.589Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-28T02:12:22.605Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-28T02:12:22.622Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-28T02:12:22.633Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-28T02:12:22.644Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-28T02:12:22.655Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-28T02:12:22.668Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-28T02:12:22.686Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-28T02:12:22.703Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-28T02:12:22.718Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-28T02:12:22.734Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-28T02:12:22.746Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-28T02:12:22.756Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo [2022-09-28T02:12:22.770Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo [2022-09-28T02:12:22.787Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo [2022-09-28T02:12:22.804Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e94b546e09e1e76c9f9901986eef7cbd2f837a0a [Pipeline] echo [2022-09-28T02:12:22.822Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e94b546 [Pipeline] echo [2022-09-28T02:12:22.838Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-28T02:12:22.881Z] provisioning config files... [2022-09-28T02:12:22.893Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config504148015409802725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-28T02:12:23.192Z] ---> docker-login.sh [2022-09-28T02:12:23.193Z] nexus3.edgexfoundry.org:10001 [2022-09-28T02:12:23.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T02:12:23.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T02:12:23.767Z] Configure a credential helper to remove this warning. See [2022-09-28T02:12:23.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T02:12:23.767Z] [2022-09-28T02:12:23.767Z] Login Succeeded [2022-09-28T02:12:23.767Z] nexus3.edgexfoundry.org:10002 [2022-09-28T02:12:23.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T02:12:23.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T02:12:23.767Z] Configure a credential helper to remove this warning. See [2022-09-28T02:12:23.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T02:12:23.767Z] [2022-09-28T02:12:23.767Z] Login Succeeded [2022-09-28T02:12:23.767Z] nexus3.edgexfoundry.org:10003 [2022-09-28T02:12:23.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T02:12:23.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T02:12:23.767Z] Configure a credential helper to remove this warning. See [2022-09-28T02:12:23.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T02:12:23.767Z] [2022-09-28T02:12:23.767Z] Login Succeeded [2022-09-28T02:12:23.767Z] nexus3.edgexfoundry.org:10004 [2022-09-28T02:12:23.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T02:12:24.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T02:12:24.027Z] Configure a credential helper to remove this warning. See [2022-09-28T02:12:24.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T02:12:24.027Z] [2022-09-28T02:12:24.027Z] Login Succeeded [2022-09-28T02:12:24.027Z] docker.io [2022-09-28T02:12:24.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T02:12:24.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T02:12:24.287Z] Configure a credential helper to remove this warning. See [2022-09-28T02:12:24.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T02:12:24.287Z] [2022-09-28T02:12:24.287Z] Login Succeeded [2022-09-28T02:12:24.287Z] ---> docker-login.sh ends [Pipeline] } [2022-09-28T02:12:24.298Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-28T02:12:24.692Z] + git rev-list -1 --merges e94b546e09e1e76c9f9901986eef7cbd2f837a0a~1..e94b546e09e1e76c9f9901986eef7cbd2f837a0a [Pipeline] echo [2022-09-28T02:12:24.721Z] -----------> git rev-list -1 --merges e94b546e09e1e76c9f9901986eef7cbd2f837a0a~1..e94b546e09e1e76c9f9901986eef7cbd2f837a0a e94b546e09e1e76c9f9901986eef7cbd2f837a0a [2022-09-28T02:12:24.721Z] e94b546e09e1e76c9f9901986eef7cbd2f837a0a [false] [Pipeline] sh [2022-09-28T02:12:25.011Z] + git log --format=format:%s -1 e94b546e09e1e76c9f9901986eef7cbd2f837a0a [Pipeline] echo [2022-09-28T02:12:25.024Z] ========================================================= [2022-09-28T02:12:25.024Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-28T02:12:25.024Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-28T02:12:25.367Z] + git log --format=format:%s -1 e94b546e09e1e76c9f9901986eef7cbd2f837a0a [Pipeline] echo [2022-09-28T02:12:25.380Z] [semverPrep] GIT_COMMIT: e94b546e09e1e76c9f9901986eef7cbd2f837a0a, Commit Message: Merge commit '93a2116a16fd236fe7cdb3fd99bdb7206e0b648a' into HEAD [Pipeline] echo [2022-09-28T02:12:25.390Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-28T02:12:25.772Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-28T02:12:25.772Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-28T02:12:25.772Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-28T02:12:25.772Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-28T02:12:25.772Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-28T02:12:25.772Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-28T02:12:25.772Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T02:12:26.273Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-28T02:12:32.853Z] [2022-09-28T02:12:32.853Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T02:12:33.156Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-28T02:12:33.725Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-28T02:12:33.725Z] b85a868b505f: Pulling fs layer [2022-09-28T02:12:33.725Z] e2be974225ed: Pulling fs layer [2022-09-28T02:12:33.725Z] 339a4e72a1f5: Pulling fs layer [2022-09-28T02:12:33.725Z] 988bab9f4d93: Pulling fs layer [2022-09-28T02:12:33.725Z] 1469e6f7b9e6: Pulling fs layer [2022-09-28T02:12:33.725Z] eaf3925da568: Pulling fs layer [2022-09-28T02:12:33.725Z] bab4dde63d76: Pulling fs layer [2022-09-28T02:12:33.725Z] bde34c3a00c8: Pulling fs layer [2022-09-28T02:12:33.725Z] b352a97aabf1: Pulling fs layer [2022-09-28T02:12:33.725Z] 4872d77fe225: Pulling fs layer [2022-09-28T02:12:33.725Z] 5851b861e8e6: Pulling fs layer [2022-09-28T02:12:33.725Z] bab4dde63d76: Waiting [2022-09-28T02:12:33.725Z] bde34c3a00c8: Waiting [2022-09-28T02:12:33.725Z] b352a97aabf1: Waiting [2022-09-28T02:12:33.725Z] 4872d77fe225: Waiting [2022-09-28T02:12:33.725Z] 5851b861e8e6: Waiting [2022-09-28T02:12:33.725Z] 988bab9f4d93: Waiting [2022-09-28T02:12:33.725Z] 1469e6f7b9e6: Waiting [2022-09-28T02:12:33.725Z] eaf3925da568: Waiting [2022-09-28T02:12:33.725Z] e2be974225ed: Download complete [2022-09-28T02:12:33.725Z] 988bab9f4d93: Verifying Checksum [2022-09-28T02:12:33.725Z] 988bab9f4d93: Download complete [2022-09-28T02:12:33.725Z] 1469e6f7b9e6: Verifying Checksum [2022-09-28T02:12:33.725Z] 1469e6f7b9e6: Download complete [2022-09-28T02:12:33.725Z] eaf3925da568: Verifying Checksum [2022-09-28T02:12:33.725Z] eaf3925da568: Download complete [2022-09-28T02:12:33.725Z] 339a4e72a1f5: Verifying Checksum [2022-09-28T02:12:33.725Z] 339a4e72a1f5: Download complete [2022-09-28T02:12:33.725Z] bde34c3a00c8: Verifying Checksum [2022-09-28T02:12:33.725Z] bde34c3a00c8: Download complete [2022-09-28T02:12:33.725Z] b352a97aabf1: Download complete [2022-09-28T02:12:33.725Z] 4872d77fe225: Verifying Checksum [2022-09-28T02:12:33.725Z] 4872d77fe225: Download complete [2022-09-28T02:12:34.035Z] 5851b861e8e6: Download complete [2022-09-28T02:12:34.035Z] b85a868b505f: Verifying Checksum [2022-09-28T02:12:34.035Z] b85a868b505f: Download complete [2022-09-28T02:12:34.311Z] bab4dde63d76: Verifying Checksum [2022-09-28T02:12:34.311Z] bab4dde63d76: Download complete [2022-09-28T02:12:35.694Z] b85a868b505f: Pull complete [2022-09-28T02:12:36.264Z] e2be974225ed: Pull complete [2022-09-28T02:12:37.206Z] 339a4e72a1f5: Pull complete [2022-09-28T02:12:37.778Z] 988bab9f4d93: Pull complete [2022-09-28T02:12:38.727Z] 1469e6f7b9e6: Pull complete [2022-09-28T02:12:38.986Z] eaf3925da568: Pull complete [2022-09-28T02:12:41.524Z] bab4dde63d76: Pull complete [2022-09-28T02:12:41.784Z] bde34c3a00c8: Pull complete [2022-09-28T02:12:42.355Z] b352a97aabf1: Pull complete [2022-09-28T02:12:42.925Z] 4872d77fe225: Pull complete [2022-09-28T02:12:43.186Z] 5851b861e8e6: Pull complete [2022-09-28T02:12:43.449Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-28T02:12:43.709Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-28T02:12:43.710Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T02:12:43.790Z] prd-ubuntu20.04-docker-8c-8g-1494 does not seem to be running inside a container [2022-09-28T02:12:43.819Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-28T02:12:52.674Z] $ docker top e3a4cd2d0c7e2bb8b5bc4c82cd8a587e66c163911c3e9a9f06b7a651ad85729c -eo pid,comm [2022-09-28T02:12:52.790Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-28T02:12:52.790Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-28T02:12:52.820Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-28T02:12:52.820Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-28T02:12:52.975Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-28T02:12:52.982Z] $ docker exec e3a4cd2d0c7e2bb8b5bc4c82cd8a587e66c163911c3e9a9f06b7a651ad85729c ssh-agent [2022-09-28T02:12:53.098Z] SSH_AUTH_SOCK=/tmp/ssh-V8ybSgqmUWph/agent.14 [2022-09-28T02:12:53.098Z] SSH_AGENT_PID=20 [2022-09-28T02:12:53.105Z] Running ssh-add (command line suppressed) [2022-09-28T02:12:53.215Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_2233613440529318807.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_2233613440529318807.key) [2022-09-28T02:12:53.228Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-28T02:12:53.517Z] + git tag --points-at HEAD [Pipeline] } [2022-09-28T02:12:53.534Z] $ docker exec --env ******** --env ******** e3a4cd2d0c7e2bb8b5bc4c82cd8a587e66c163911c3e9a9f06b7a651ad85729c ssh-agent -k [2022-09-28T02:12:53.631Z] unset SSH_AUTH_SOCK; [2022-09-28T02:12:53.632Z] unset SSH_AGENT_PID; [2022-09-28T02:12:53.632Z] echo Agent pid 20 killed; [2022-09-28T02:12:53.639Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-28T02:12:53.661Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-28T02:12:53.661Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-28T02:12:53.783Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-28T02:12:53.788Z] $ docker exec e3a4cd2d0c7e2bb8b5bc4c82cd8a587e66c163911c3e9a9f06b7a651ad85729c ssh-agent [2022-09-28T02:12:53.887Z] SSH_AUTH_SOCK=/tmp/ssh-S1i62xEDP6eb/agent.70 [2022-09-28T02:12:53.887Z] SSH_AGENT_PID=76 [2022-09-28T02:12:53.891Z] Running ssh-add (command line suppressed) [2022-09-28T02:12:53.984Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_1628434179406312201.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_1628434179406312201.key) [2022-09-28T02:12:53.993Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-28T02:12:54.275Z] + git semver init [2022-09-28T02:12:54.536Z] 2022-09-28 02:12:54,433 [run_init] DEBUG init version:0.0.0 force:False [2022-09-28T02:12:54.536Z] 2022-09-28 02:12:54,433 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-09-28T02:12:54.536Z] 2022-09-28 02:12:54,434 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-09-28T02:12:54.536Z] 2022-09-28 02:12:54,434 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-125/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-125, universal_newlines=False, shell=None, istream=None) [2022-09-28T02:12:55.476Z] 2022-09-28 02:12:55,425 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude [2022-09-28T02:12:55.476Z] 2022-09-28 02:12:55,425 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 with force:False [2022-09-28T02:12:55.476Z] 2022-09-28 02:12:55,425 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-09-28T02:12:55.476Z] 2022-09-28 02:12:55,429 [execute] INFO git cat-file --batch-check [2022-09-28T02:12:55.476Z] 2022-09-28 02:12:55,430 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-09-28T02:12:55.476Z] 2022-09-28 02:12:55,436 [execute] INFO git cat-file --batch [2022-09-28T02:12:55.476Z] 2022-09-28 02:12:55,436 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-09-28T02:12:55.476Z] 2022-09-28 02:12:55,440 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-09-28T02:12:55.476Z] 0.0.0 [Pipeline] } [2022-09-28T02:12:55.487Z] $ docker exec --env ******** --env ******** e3a4cd2d0c7e2bb8b5bc4c82cd8a587e66c163911c3e9a9f06b7a651ad85729c ssh-agent -k [2022-09-28T02:12:55.583Z] unset SSH_AUTH_SOCK; [2022-09-28T02:12:55.584Z] unset SSH_AGENT_PID; [2022-09-28T02:12:55.584Z] echo Agent pid 76 killed; [2022-09-28T02:12:55.592Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-28T02:12:55.896Z] + git semver [Pipeline] } [2022-09-28T02:12:56.171Z] $ docker stop --time=1 e3a4cd2d0c7e2bb8b5bc4c82cd8a587e66c163911c3e9a9f06b7a651ad85729c [2022-09-28T02:12:57.691Z] $ docker rm -f e3a4cd2d0c7e2bb8b5bc4c82cd8a587e66c163911c3e9a9f06b7a651ad85729c [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-28T02:12:58.028Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-28T02:12:58.184Z] Stashed 1 file(s) [Pipeline] echo [2022-09-28T02:12:58.186Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-28T02:12:58.319Z] provisioning config files... [2022-09-28T02:12:58.327Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config519413962711641177tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-28T02:12:58.624Z] ---> docker-login.sh [2022-09-28T02:12:58.624Z] nexus3.edgexfoundry.org:10001 [2022-09-28T02:12:58.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T02:12:58.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T02:12:58.624Z] Configure a credential helper to remove this warning. See [2022-09-28T02:12:58.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T02:12:58.624Z] [2022-09-28T02:12:58.624Z] Login Succeeded [2022-09-28T02:12:58.624Z] nexus3.edgexfoundry.org:10002 [2022-09-28T02:12:58.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T02:12:58.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T02:12:58.624Z] Configure a credential helper to remove this warning. See [2022-09-28T02:12:58.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T02:12:58.624Z] [2022-09-28T02:12:58.624Z] Login Succeeded [2022-09-28T02:12:58.624Z] nexus3.edgexfoundry.org:10003 [2022-09-28T02:12:58.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T02:12:58.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T02:12:58.883Z] Configure a credential helper to remove this warning. See [2022-09-28T02:12:58.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T02:12:58.883Z] [2022-09-28T02:12:58.883Z] Login Succeeded [2022-09-28T02:12:58.883Z] nexus3.edgexfoundry.org:10004 [2022-09-28T02:12:58.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T02:12:58.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T02:12:58.883Z] Configure a credential helper to remove this warning. See [2022-09-28T02:12:58.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T02:12:58.883Z] [2022-09-28T02:12:58.883Z] Login Succeeded [2022-09-28T02:12:58.883Z] docker.io [2022-09-28T02:12:59.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T02:12:59.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T02:12:59.402Z] Configure a credential helper to remove this warning. See [2022-09-28T02:12:59.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T02:12:59.402Z] [2022-09-28T02:12:59.402Z] Login Succeeded [2022-09-28T02:12:59.402Z] ---> docker-login.sh ends [Pipeline] } [2022-09-28T02:12:59.410Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-28T02:12:59.477Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-28T02:12:59.489Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-28T02:12:59.496Z] ========================================================= [2022-09-28T02:12:59.496Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-28T02:12:59.496Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T02:12:59.798Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-28T02:12:59.798Z] Sending build context to Docker daemon 20.74MB [2022-09-28T02:12:59.798Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-28T02:12:59.798Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-28T02:13:00.058Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-28T02:13:00.058Z] 2408cc74d12b: Pulling fs layer [2022-09-28T02:13:00.058Z] ea60b727a1ce: Pulling fs layer [2022-09-28T02:13:00.058Z] 30c4a7721957: Pulling fs layer [2022-09-28T02:13:00.058Z] 370296b7ddb6: Pulling fs layer [2022-09-28T02:13:00.058Z] 7c6cee850709: Pulling fs layer [2022-09-28T02:13:00.058Z] 39a5fcdaea64: Pulling fs layer [2022-09-28T02:13:00.058Z] d94ebbe4e438: Pulling fs layer [2022-09-28T02:13:00.058Z] bcfd1f05c69d: Pulling fs layer [2022-09-28T02:13:00.058Z] 59ccb84bbe0f: Pulling fs layer [2022-09-28T02:13:00.058Z] 370296b7ddb6: Waiting [2022-09-28T02:13:00.058Z] 7c6cee850709: Waiting [2022-09-28T02:13:00.058Z] 39a5fcdaea64: Waiting [2022-09-28T02:13:00.058Z] d94ebbe4e438: Waiting [2022-09-28T02:13:00.058Z] bcfd1f05c69d: Waiting [2022-09-28T02:13:00.058Z] 59ccb84bbe0f: Waiting [2022-09-28T02:13:00.058Z] 30c4a7721957: Verifying Checksum [2022-09-28T02:13:00.058Z] 30c4a7721957: Download complete [2022-09-28T02:13:00.058Z] ea60b727a1ce: Verifying Checksum [2022-09-28T02:13:00.058Z] ea60b727a1ce: Download complete [2022-09-28T02:13:00.058Z] 7c6cee850709: Download complete [2022-09-28T02:13:00.058Z] 39a5fcdaea64: Download complete [2022-09-28T02:13:00.058Z] 2408cc74d12b: Verifying Checksum [2022-09-28T02:13:00.058Z] 2408cc74d12b: Download complete [2022-09-28T02:13:00.058Z] d94ebbe4e438: Verifying Checksum [2022-09-28T02:13:00.058Z] d94ebbe4e438: Download complete [2022-09-28T02:13:00.058Z] 2408cc74d12b: Pull complete [2022-09-28T02:13:00.323Z] ea60b727a1ce: Pull complete [2022-09-28T02:13:00.323Z] 30c4a7721957: Pull complete [2022-09-28T02:13:00.584Z] 59ccb84bbe0f: Verifying Checksum [2022-09-28T02:13:00.584Z] 59ccb84bbe0f: Download complete [2022-09-28T02:13:00.584Z] bcfd1f05c69d: Download complete [2022-09-28T02:13:00.843Z] 370296b7ddb6: Verifying Checksum [2022-09-28T02:13:00.843Z] 370296b7ddb6: Download complete [2022-09-28T02:13:05.037Z] 370296b7ddb6: Pull complete [2022-09-28T02:13:05.037Z] 7c6cee850709: Pull complete [2022-09-28T02:13:05.037Z] 39a5fcdaea64: Pull complete [2022-09-28T02:13:05.037Z] d94ebbe4e438: Pull complete [2022-09-28T02:13:06.942Z] bcfd1f05c69d: Pull complete [2022-09-28T02:13:07.508Z] 59ccb84bbe0f: Pull complete [2022-09-28T02:13:07.508Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-28T02:13:07.508Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-28T02:13:07.508Z] ---> a4fb48ad2a94 [2022-09-28T02:13:07.508Z] Step 3/13 : ARG MAKE="make build" [2022-09-28T02:13:12.783Z] ---> Running in ded189ccb599 [2022-09-28T02:13:12.783Z] Removing intermediate container ded189ccb599 [2022-09-28T02:13:12.783Z] ---> fa57b69c132e [2022-09-28T02:13:12.783Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-28T02:13:12.783Z] ---> Running in 608654e0de31 [2022-09-28T02:13:12.783Z] Removing intermediate container 608654e0de31 [2022-09-28T02:13:12.783Z] ---> f10c06b82754 [2022-09-28T02:13:12.783Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-28T02:13:12.783Z] ---> Running in d59188a2229b [2022-09-28T02:13:12.783Z] Removing intermediate container d59188a2229b [2022-09-28T02:13:12.783Z] ---> 02cc65329747 [2022-09-28T02:13:12.783Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-28T02:13:12.783Z] ---> Running in 2d92d4e2f709 [2022-09-28T02:13:12.783Z] Removing intermediate container 2d92d4e2f709 [2022-09-28T02:13:12.783Z] ---> a0f8e1d383e8 [2022-09-28T02:13:12.783Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-28T02:13:12.783Z] ---> Running in 04ddd1a2f578 [2022-09-28T02:13:13.289Z] Still waiting to schedule task [2022-09-28T02:13:13.290Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1492’ [2022-09-28T02:13:13.350Z] Removing intermediate container 04ddd1a2f578 [2022-09-28T02:13:13.351Z] ---> 36011662ecc2 [2022-09-28T02:13:13.351Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-28T02:13:13.351Z] ---> Running in 3e8fc4454721 [2022-09-28T02:13:13.609Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-28T02:13:14.544Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-28T02:13:15.111Z] OK: 211 MiB in 51 packages [2022-09-28T02:13:15.370Z] Removing intermediate container 3e8fc4454721 [2022-09-28T02:13:15.370Z] ---> 7b4da5c091bf [2022-09-28T02:13:15.370Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-28T02:13:15.370Z] ---> Running in a5f570f6bb94 [2022-09-28T02:13:15.370Z] Removing intermediate container a5f570f6bb94 [2022-09-28T02:13:15.370Z] ---> 3bc461167383 [2022-09-28T02:13:15.370Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-28T02:13:15.629Z] ---> 88601ff16200 [2022-09-28T02:13:15.629Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-28T02:13:15.629Z] ---> Running in 9e360254c884 [2022-09-28T02:13:42.291Z] Removing intermediate container 9e360254c884 [2022-09-28T02:13:42.291Z] ---> ee8ceb6f4e0a [2022-09-28T02:13:42.291Z] Step 12/13 : COPY . . [2022-09-28T02:13:42.859Z] ---> d35f932889f3 [2022-09-28T02:13:42.859Z] Step 13/13 : RUN ${MAKE} [2022-09-28T02:13:43.118Z] ---> Running in 157e0b5bdc48 [2022-09-28T02:13:43.376Z] noop [2022-09-28T02:13:43.634Z] Removing intermediate container 157e0b5bdc48 [2022-09-28T02:13:43.634Z] ---> c38129e990e3 [2022-09-28T02:13:43.634Z] Successfully built c38129e990e3 [2022-09-28T02:13:43.634Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T02:13:43.935Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-28T02:13:43.935Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T02:13:43.998Z] prd-ubuntu20.04-docker-8c-8g-1494 does not seem to be running inside a container [2022-09-28T02:13:44.027Z] $ 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 ******** ci-base-image-x86_64 cat [2022-09-28T02:13:44.367Z] $ docker top 405be46a867ce73ad99c702094e755e579391bff83e8dbb2bf88948ecd00e5f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T02:13:44.703Z] + go version [2022-09-28T02:13:44.703Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-28T02:13:44.714Z] $ docker stop --time=1 405be46a867ce73ad99c702094e755e579391bff83e8dbb2bf88948ecd00e5f3 [2022-09-28T02:13:45.956Z] $ docker rm -f 405be46a867ce73ad99c702094e755e579391bff83e8dbb2bf88948ecd00e5f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T02:13:46.359Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-28T02:13:46.359Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T02:13:46.429Z] prd-ubuntu20.04-docker-8c-8g-1494 does not seem to be running inside a container [2022-09-28T02:13:46.458Z] $ 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 ******** ci-base-image-x86_64 cat [2022-09-28T02:13:46.805Z] $ docker top 802cc7e93986d614faa94ad98e420ee798a40fd39f7fac7b530fdac1b0478b90 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T02:13:47.154Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh [2022-09-28T02:13:47.452Z] + make test [2022-09-28T02:13:47.452Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-28T02:13:47.710Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-28T02:13:59.919Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-28T02:14:00.486Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.038s coverage: 28.2% of statements [2022-09-28T02:14:00.486Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-28T02:14:00.486Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.328s coverage: 86.5% of statements [2022-09-28T02:14:08.592Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-28T02:14:08.592Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-28T02:14:11.120Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-28T02:14:11.120Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-28T02:14:11.120Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-28T02:14:11.131Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-28T02:14:11.144Z] $ docker stop --time=1 802cc7e93986d614faa94ad98e420ee798a40fd39f7fac7b530fdac1b0478b90 [2022-09-28T02:14:14.289Z] $ docker rm -f 802cc7e93986d614faa94ad98e420ee798a40fd39f7fac7b530fdac1b0478b90 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-28T02:14:14.722Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-28T02:14:14.775Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-28T02:14:15.286Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-28T02:14:15.573Z] + ls -al . [2022-09-28T02:14:15.573Z] total 236 [2022-09-28T02:14:15.573Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 02:13 . [2022-09-28T02:14:15.573Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 02:12 .. [2022-09-28T02:14:15.573Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 02:14 .git [2022-09-28T02:14:15.573Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 02:12 .github [2022-09-28T02:14:15.573Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 28 02:12 .gitignore [2022-09-28T02:14:15.573Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 02:12 .golangci.yml [2022-09-28T02:14:15.573Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 02:12 .semver [2022-09-28T02:14:15.573Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 28 02:12 Attribution.txt [2022-09-28T02:14:15.573Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 28 02:12 CHANGELOG.md [2022-09-28T02:14:15.573Z] -rw-rw-r-- 1 jenkins jenkins 1742 Sep 28 02:12 Dockerfile [2022-09-28T02:14:15.573Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 02:12 GOVERNANCE.md [2022-09-28T02:14:15.573Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 28 02:12 Jenkinsfile [2022-09-28T02:14:15.573Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 02:12 LICENSE [2022-09-28T02:14:15.573Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 28 02:12 Makefile [2022-09-28T02:14:15.573Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 28 02:12 OWNERS.md [2022-09-28T02:14:15.573Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 28 02:12 README.md [2022-09-28T02:14:15.574Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 02:12 VERSION [2022-09-28T02:14:15.574Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 02:12 bin [2022-09-28T02:14:15.574Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 02:12 cmd [2022-09-28T02:14:15.574Z] -rw-r--r-- 1 jenkins jenkins 78461 Sep 28 02:14 coverage.out [2022-09-28T02:14:15.574Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 28 02:12 doc [2022-09-28T02:14:15.574Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 28 02:12 go.mod [2022-09-28T02:14:15.574Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 28 02:12 go.sum [2022-09-28T02:14:15.574Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 02:12 internal [2022-09-28T02:14:15.574Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 02:12 snap [2022-09-28T02:14:15.574Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 28 02:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T02:14:16.050Z] + 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=e94b546e09e1e76c9f9901986eef7cbd2f837a0a --label arch=amd64 --label version=0.0.0 . [2022-09-28T02:14:16.050Z] Sending build context to Docker daemon 20.82MB [2022-09-28T02:14:16.050Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-09-28T02:14:16.050Z] Step 2/27 : FROM ${BASE} AS builder [2022-09-28T02:14:16.050Z] ---> c38129e990e3 [2022-09-28T02:14:16.050Z] Step 3/27 : ARG MAKE="make build" [2022-09-28T02:14:16.309Z] ---> Running in 6638ed4b712e [2022-09-28T02:14:16.309Z] Removing intermediate container 6638ed4b712e [2022-09-28T02:14:16.309Z] ---> 23bf2861ef5a [2022-09-28T02:14:16.309Z] Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-28T02:14:16.309Z] ---> Running in c05bb7cdfed9 [2022-09-28T02:14:16.566Z] Removing intermediate container c05bb7cdfed9 [2022-09-28T02:14:16.566Z] ---> b284b05dcfa8 [2022-09-28T02:14:16.566Z] Step 5/27 : ARG ALPINE_PKG_EXTRA="" [2022-09-28T02:14:16.566Z] ---> Running in 7334e71a561b [2022-09-28T02:14:16.566Z] Removing intermediate container 7334e71a561b [2022-09-28T02:14:16.566Z] ---> a95d23ef4580 [2022-09-28T02:14:16.566Z] Step 6/27 : LABEL Name=edgex-device-onvif-camera [2022-09-28T02:14:16.566Z] ---> Running in dea8a8f7559a [2022-09-28T02:14:16.566Z] Removing intermediate container dea8a8f7559a [2022-09-28T02:14:16.566Z] ---> 6fa35bd5844d [2022-09-28T02:14:16.566Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-28T02:14:16.566Z] ---> Running in febc2ea438ea [2022-09-28T02:14:17.134Z] Removing intermediate container febc2ea438ea [2022-09-28T02:14:17.134Z] ---> cc858230b37c [2022-09-28T02:14:17.134Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-28T02:14:17.134Z] ---> Running in 03605fd91cac [2022-09-28T02:14:17.393Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-28T02:14:18.333Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-28T02:14:18.602Z] OK: 211 MiB in 51 packages [2022-09-28T02:14:18.862Z] Removing intermediate container 03605fd91cac [2022-09-28T02:14:18.862Z] ---> 657905f74fab [2022-09-28T02:14:18.862Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-09-28T02:14:18.862Z] ---> Running in 7e2ae478fb96 [2022-09-28T02:14:19.121Z] Removing intermediate container 7e2ae478fb96 [2022-09-28T02:14:19.121Z] ---> b8fd01ed1a4d [2022-09-28T02:14:19.121Z] Step 10/27 : COPY go.mod vendor* ./ [2022-09-28T02:14:19.121Z] ---> 35fbaa38b1c5 [2022-09-28T02:14:19.121Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-28T02:14:19.121Z] ---> Running in 866cdd085aed [2022-09-28T02:14:19.690Z] Removing intermediate container 866cdd085aed [2022-09-28T02:14:19.690Z] ---> 8845c62de1df [2022-09-28T02:14:19.690Z] Step 12/27 : COPY . . [2022-09-28T02:14:20.625Z] ---> c4b5c4f6dd90 [2022-09-28T02:14:20.625Z] Step 13/27 : RUN ${MAKE} [2022-09-28T02:14:20.625Z] ---> Running in abe10418aed7 [2022-09-28T02:14:20.883Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-28T02:14:47.540Z] Removing intermediate container abe10418aed7 [2022-09-28T02:14:47.540Z] ---> 7865f07a4059 [2022-09-28T02:14:47.540Z] Step 14/27 : FROM alpine:3.16 [2022-09-28T02:14:47.540Z] 3.16: Pulling from library/alpine [2022-09-28T02:14:47.540Z] 213ec9aee27d: Pulling fs layer [2022-09-28T02:14:47.540Z] 213ec9aee27d: Download complete [2022-09-28T02:14:47.540Z] 213ec9aee27d: Pull complete [2022-09-28T02:14:47.540Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-28T02:14:47.540Z] Status: Downloaded newer image for alpine:3.16 [2022-09-28T02:14:47.540Z] ---> 9c6f07244728 [2022-09-28T02:14:47.540Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-28T02:14:47.540Z] ---> Running in 1d7e55ae159d [2022-09-28T02:14:47.540Z] Removing intermediate container 1d7e55ae159d [2022-09-28T02:14:47.540Z] ---> 8406d5105ead [2022-09-28T02:14:47.540Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-09-28T02:14:47.540Z] ---> Running in 61a1ccecfde5 [2022-09-28T02:14:47.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-28T02:14:47.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-28T02:14:47.540Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-09-28T02:14:47.540Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-09-28T02:14:47.540Z] (3/21) Installing readline (8.1.2-r0) [2022-09-28T02:14:47.540Z] (4/21) Installing bash (5.1.16-r2) [2022-09-28T02:14:47.540Z] Executing bash-5.1.16-r2.post-install [2022-09-28T02:14:47.540Z] (5/21) Installing ca-certificates (20220614-r0) [2022-09-28T02:14:47.540Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-09-28T02:14:47.540Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-09-28T02:14:47.540Z] (8/21) Installing libcurl (7.83.1-r3) [2022-09-28T02:14:47.540Z] (9/21) Installing curl (7.83.1-r3) [2022-09-28T02:14:47.540Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-09-28T02:14:47.540Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-09-28T02:14:47.540Z] (12/21) Installing jq (1.6-r1) [2022-09-28T02:14:47.540Z] (13/21) Installing popt (1.18-r0) [2022-09-28T02:14:47.540Z] (14/21) Installing pcre (8.45-r2) [2022-09-28T02:14:47.540Z] (15/21) Installing slang (2.3.2-r0) [2022-09-28T02:14:47.540Z] (16/21) Installing newt (0.52.21-r2) [2022-09-28T02:14:47.540Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-09-28T02:14:47.540Z] (18/21) Installing libsodium (1.0.18-r0) [2022-09-28T02:14:47.540Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-28T02:14:47.540Z] (20/21) Installing libzmq (4.3.4-r0) [2022-09-28T02:14:47.540Z] (21/21) Installing zeromq (4.3.4-r0) [2022-09-28T02:14:47.540Z] Executing busybox-1.35.0-r17.trigger [2022-09-28T02:14:47.540Z] Executing ca-certificates-20220614-r0.trigger [2022-09-28T02:14:47.540Z] OK: 17 MiB in 35 packages [2022-09-28T02:14:48.108Z] Removing intermediate container 61a1ccecfde5 [2022-09-28T02:14:48.108Z] ---> 60964ef33f7d [2022-09-28T02:14:48.108Z] Step 17/27 : WORKDIR / [2022-09-28T02:14:48.108Z] ---> Running in 941a9ddd0592 [2022-09-28T02:14:48.368Z] Removing intermediate container 941a9ddd0592 [2022-09-28T02:14:48.368Z] ---> d691da8c10d9 [2022-09-28T02:14:48.368Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-28T02:14:49.372Z] ---> a882be99d944 [2022-09-28T02:14:49.372Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-28T02:14:49.631Z] ---> 231d8f161c20 [2022-09-28T02:14:49.631Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-28T02:14:49.631Z] ---> 825cff633cc2 [2022-09-28T02:14:49.631Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-09-28T02:14:49.889Z] ---> b3f7fe32e99b [2022-09-28T02:14:49.889Z] Step 22/27 : EXPOSE 59984 [2022-09-28T02:14:49.889Z] ---> Running in 67162d186438 [2022-09-28T02:14:49.889Z] Removing intermediate container 67162d186438 [2022-09-28T02:14:49.889Z] ---> 6ac1605ca330 [2022-09-28T02:14:49.889Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-28T02:14:49.889Z] ---> Running in cb798312ce08 [2022-09-28T02:14:49.889Z] Removing intermediate container cb798312ce08 [2022-09-28T02:14:49.889Z] ---> bb7c8912235d [2022-09-28T02:14:49.889Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-28T02:14:49.889Z] ---> Running in cb2fd660c089 [2022-09-28T02:14:50.148Z] Removing intermediate container cb2fd660c089 [2022-09-28T02:14:50.148Z] ---> 1aae7606238d [2022-09-28T02:14:50.148Z] Step 25/27 : LABEL arch=amd64 [2022-09-28T02:14:50.148Z] ---> Running in b2ae1d766148 [2022-09-28T02:14:50.148Z] Removing intermediate container b2ae1d766148 [2022-09-28T02:14:50.148Z] ---> e90c5632135d [2022-09-28T02:14:50.148Z] Step 26/27 : LABEL git_sha=e94b546e09e1e76c9f9901986eef7cbd2f837a0a [2022-09-28T02:14:50.148Z] ---> Running in 7eea3e1d2e7b [2022-09-28T02:14:50.148Z] Removing intermediate container 7eea3e1d2e7b [2022-09-28T02:14:50.148Z] ---> 6eda06b85d50 [2022-09-28T02:14:50.148Z] Step 27/27 : LABEL version=0.0.0 [2022-09-28T02:14:50.148Z] ---> Running in 68d960777c55 [2022-09-28T02:14:50.407Z] Removing intermediate container 68d960777c55 [2022-09-28T02:14:50.407Z] ---> 251dbf67a842 [2022-09-28T02:14:50.407Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-28T02:14:50.407Z] Successfully built 251dbf67a842 [2022-09-28T02:14:50.407Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T02:14:50.822Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-28T02:14:50.822Z] [2022-09-28T02:14:50.822Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T02:14:51.128Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-28T02:14:51.128Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-28T02:14:51.128Z] 5eb5b503b376: Pulling fs layer [2022-09-28T02:14:51.128Z] 5c69ac0246d0: Pulling fs layer [2022-09-28T02:14:51.128Z] ec43610c2a17: Pulling fs layer [2022-09-28T02:14:51.128Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-28T02:14:51.128Z] 33b1e0a273af: Pulling fs layer [2022-09-28T02:14:51.128Z] 5d3b04190fa2: Pulling fs layer [2022-09-28T02:14:51.128Z] 2f39f015ded8: Pulling fs layer [2022-09-28T02:14:51.128Z] 3a2ae6a8a46f: Waiting [2022-09-28T02:14:51.128Z] 33b1e0a273af: Waiting [2022-09-28T02:14:51.128Z] 5d3b04190fa2: Waiting [2022-09-28T02:14:51.128Z] 2f39f015ded8: Waiting [2022-09-28T02:14:51.128Z] 5c69ac0246d0: Verifying Checksum [2022-09-28T02:14:51.128Z] 5c69ac0246d0: Download complete [2022-09-28T02:14:51.128Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-28T02:14:51.128Z] 3a2ae6a8a46f: Download complete [2022-09-28T02:14:51.128Z] 33b1e0a273af: Verifying Checksum [2022-09-28T02:14:51.128Z] 33b1e0a273af: Download complete [2022-09-28T02:14:51.388Z] 5d3b04190fa2: Verifying Checksum [2022-09-28T02:14:51.388Z] 5d3b04190fa2: Download complete [2022-09-28T02:14:51.388Z] ec43610c2a17: Verifying Checksum [2022-09-28T02:14:51.388Z] ec43610c2a17: Download complete [2022-09-28T02:14:51.388Z] 5eb5b503b376: Verifying Checksum [2022-09-28T02:14:51.388Z] 5eb5b503b376: Download complete [2022-09-28T02:14:51.957Z] 2f39f015ded8: Download complete [2022-09-28T02:14:52.890Z] 5eb5b503b376: Pull complete [2022-09-28T02:14:52.890Z] 5c69ac0246d0: Pull complete [2022-09-28T02:14:53.457Z] ec43610c2a17: Pull complete [2022-09-28T02:14:53.457Z] 3a2ae6a8a46f: Pull complete [2022-09-28T02:14:53.716Z] 33b1e0a273af: Pull complete [2022-09-28T02:14:53.716Z] 5d3b04190fa2: Pull complete [2022-09-28T02:14:59.057Z] 2f39f015ded8: Pull complete [2022-09-28T02:14:59.057Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-28T02:14:59.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-28T02:14:59.057Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T02:14:59.142Z] prd-ubuntu20.04-docker-8c-8g-1494 does not seem to be running inside a container [2022-09-28T02:14:59.180Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-28T02:15:04.481Z] $ docker top 0bf676783d04d74f596dd6513e4cce8b117b682b7362088881eea8a52f9bc9d9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-28T02:15:04.869Z] ---> job-cost.sh [2022-09-28T02:15:04.869Z] lf-activate-venv: SKIPPING [2022-09-28T02:15:04.869Z] INFO: No Stack... [2022-09-28T02:15:05.128Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-28T02:15:05.694Z] INFO: Archiving Costs [Pipeline] sh [2022-09-28T02:15:05.981Z] + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv [2022-09-28T02:15:05.982Z] + cut -d, -f6 [Pipeline] lock [2022-09-28T02:15:05.995Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-16-stack-cost] [2022-09-28T02:15:06.000Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-16-stack-cost] did not exist. Created. [2022-09-28T02:15:06.001Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-28T02:15:06.300Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-28T02:15:06.333Z] Stashed 1 file(s) [Pipeline] } [2022-09-28T02:15:06.341Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-16-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-28T02:15:06.357Z] $ docker stop --time=1 0bf676783d04d74f596dd6513e4cce8b117b682b7362088881eea8a52f9bc9d9 [2022-09-28T02:15:07.506Z] $ docker rm -f 0bf676783d04d74f596dd6513e4cce8b117b682b7362088881eea8a52f9bc9d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-28T02:16:42.618Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1495 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws [2022-09-28T02:16:42.630Z] Running in /w/workspace/device-onvif-camera/16 [Pipeline] { [Pipeline] checkout [2022-09-28T02:16:42.672Z] The recommended git tool is: git [2022-09-28T02:16:48.514Z] using credential edgex-jenkins-ssh [2022-09-28T02:16:48.534Z] Cloning the remote Git repository [2022-09-28T02:16:48.587Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-28T02:16:48.679Z] > git init /w/workspace/device-onvif-camera/16 # timeout=10 [2022-09-28T02:16:48.835Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-28T02:16:48.836Z] > git --version # timeout=10 [2022-09-28T02:16:48.863Z] > git --version # 'git version 2.25.1' [2022-09-28T02:16:48.866Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-28T02:16:48.925Z] Verifying host key using known hosts file [2022-09-28T02:16:49.178Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-28T02:16:49.193Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-28T02:16:50.472Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-28T02:16:50.502Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-28T02:16:51.416Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-28T02:16:51.455Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-28T02:16:51.456Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-28T02:16:51.462Z] Verifying host key using known hosts file [2022-09-28T02:16:51.470Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-28T02:16:51.483Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-28T02:16:52.106Z] Merging remotes/origin/main commit 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 [2022-09-28T02:16:52.952Z] Merge succeeded, producing 573ca4e271e1448bcaa17f6470590961d41d35ec [2022-09-28T02:16:52.952Z] Checking out Revision 573ca4e271e1448bcaa17f6470590961d41d35ec (PR-125) [2022-09-28T02:16:52.125Z] > git config core.sparsecheckout # timeout=10 [2022-09-28T02:16:52.145Z] > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 [2022-09-28T02:16:52.395Z] > git remote # timeout=10 [2022-09-28T02:16:52.419Z] > git config --get remote.origin.url # timeout=10 [2022-09-28T02:16:52.439Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-28T02:16:52.444Z] Verifying host key using known hosts file [2022-09-28T02:16:52.448Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-28T02:16:52.459Z] > git merge 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a # timeout=10 [2022-09-28T02:16:52.926Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-28T02:16:52.957Z] > git config core.sparsecheckout # timeout=10 [2022-09-28T02:16:52.978Z] > git checkout -f 573ca4e271e1448bcaa17f6470590961d41d35ec # timeout=10 [2022-09-28T02:16:56.773Z] Commit message: "Merge commit '93a2116a16fd236fe7cdb3fd99bdb7206e0b648a' into HEAD" [2022-09-28T02:16:56.800Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-28T02:16:57.685Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-28T02:16:57.685Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-28T02:16:57.685Z] Dload Upload Total Spent Left Speed [2022-09-28T02:16:57.685Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 94044 0 --:--:-- --:--:-- --:--:-- 94044 [2022-09-28T02:16:56.779Z] > git rev-list --no-walk 2618dc03c45380f7b59f58b7fe727d521b027290 # timeout=10 [Pipeline] sh [2022-09-28T02:16:58.421Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-28T02:16:58.756Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-28T02:16:58.756Z] + sudo tee /etc/docker/daemon.new [2022-09-28T02:16:58.756Z] { [2022-09-28T02:16:58.756Z] "registry-mirrors": [ [2022-09-28T02:16:58.756Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-28T02:16:58.756Z] ], [2022-09-28T02:16:58.756Z] "bip": "10.250.0.254/24", [2022-09-28T02:16:58.756Z] "hosts": [ [2022-09-28T02:16:58.756Z] "tcp://0.0.0.0:5555", [2022-09-28T02:16:58.756Z] "unix:///var/run/docker.sock" [2022-09-28T02:16:58.756Z] ], [2022-09-28T02:16:58.756Z] "mtu": 1458, [2022-09-28T02:16:58.756Z] "selinux-enabled": true, [2022-09-28T02:16:58.756Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-28T02:16:58.756Z] } [Pipeline] sh [2022-09-28T02:16:59.088Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-28T02:16:59.439Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-28T02:17:17.725Z] provisioning config files... [2022-09-28T02:17:17.751Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/16@tmp/config4876678828961412564tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-28T02:17:18.101Z] ---> docker-login.sh [2022-09-28T02:17:18.101Z] nexus3.edgexfoundry.org:10001 [2022-09-28T02:17:18.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T02:17:18.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T02:17:18.650Z] Configure a credential helper to remove this warning. See [2022-09-28T02:17:18.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T02:17:18.650Z] [2022-09-28T02:17:18.650Z] Login Succeeded [2022-09-28T02:17:18.650Z] nexus3.edgexfoundry.org:10002 [2022-09-28T02:17:18.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T02:17:18.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T02:17:18.920Z] Configure a credential helper to remove this warning. See [2022-09-28T02:17:18.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T02:17:18.920Z] [2022-09-28T02:17:18.920Z] Login Succeeded [2022-09-28T02:17:18.920Z] nexus3.edgexfoundry.org:10003 [2022-09-28T02:17:19.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T02:17:19.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T02:17:19.466Z] Configure a credential helper to remove this warning. See [2022-09-28T02:17:19.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T02:17:19.466Z] [2022-09-28T02:17:19.466Z] Login Succeeded [2022-09-28T02:17:19.466Z] nexus3.edgexfoundry.org:10004 [2022-09-28T02:17:19.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T02:17:19.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T02:17:19.735Z] Configure a credential helper to remove this warning. See [2022-09-28T02:17:19.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T02:17:19.735Z] [2022-09-28T02:17:19.735Z] Login Succeeded [2022-09-28T02:17:19.735Z] docker.io [2022-09-28T02:17:20.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T02:17:20.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T02:17:20.594Z] Configure a credential helper to remove this warning. See [2022-09-28T02:17:20.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T02:17:20.594Z] [2022-09-28T02:17:20.594Z] Login Succeeded [2022-09-28T02:17:20.594Z] ---> docker-login.sh ends [Pipeline] } [2022-09-28T02:17:20.610Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-28T02:17:20.772Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-28T02:17:20.783Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-28T02:17:20.790Z] ========================================================= [2022-09-28T02:17:20.790Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-28T02:17:20.790Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T02:17:21.139Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-28T02:17:21.731Z] Sending build context to Docker daemon 14.18MB [2022-09-28T02:17:21.731Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-28T02:17:21.731Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-28T02:17:21.731Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-28T02:17:21.731Z] b3c136eddcbf: Pulling fs layer [2022-09-28T02:17:21.731Z] c0a3192eca97: Pulling fs layer [2022-09-28T02:17:21.731Z] a050256f5b6f: Pulling fs layer [2022-09-28T02:17:21.731Z] 656be50a0ddc: Pulling fs layer [2022-09-28T02:17:21.731Z] 2bbca73fdf42: Pulling fs layer [2022-09-28T02:17:21.731Z] 46d945488cbd: Pulling fs layer [2022-09-28T02:17:21.731Z] 8a5474983e97: Pulling fs layer [2022-09-28T02:17:21.731Z] 329c88fbcd65: Pulling fs layer [2022-09-28T02:17:21.731Z] 656be50a0ddc: Waiting [2022-09-28T02:17:21.731Z] 46d945488cbd: Waiting [2022-09-28T02:17:21.731Z] 2bbca73fdf42: Waiting [2022-09-28T02:17:21.731Z] a050256f5b6f: Verifying Checksum [2022-09-28T02:17:21.731Z] c0a3192eca97: Download complete [2022-09-28T02:17:21.731Z] 2bbca73fdf42: Verifying Checksum [2022-09-28T02:17:21.731Z] 2bbca73fdf42: Download complete [2022-09-28T02:17:22.001Z] 46d945488cbd: Verifying Checksum [2022-09-28T02:17:22.001Z] 46d945488cbd: Download complete [2022-09-28T02:17:22.001Z] b3c136eddcbf: Download complete [2022-09-28T02:17:22.981Z] b3c136eddcbf: Pull complete [2022-09-28T02:17:22.981Z] 329c88fbcd65: Verifying Checksum [2022-09-28T02:17:22.981Z] 329c88fbcd65: Download complete [2022-09-28T02:17:23.257Z] c0a3192eca97: Pull complete [2022-09-28T02:17:23.528Z] a050256f5b6f: Pull complete [2022-09-28T02:17:24.123Z] 8a5474983e97: Verifying Checksum [2022-09-28T02:17:24.123Z] 8a5474983e97: Download complete [2022-09-28T02:17:24.711Z] 656be50a0ddc: Verifying Checksum [2022-09-28T02:17:24.711Z] 656be50a0ddc: Download complete [2022-09-28T02:17:37.075Z] 656be50a0ddc: Pull complete [2022-09-28T02:17:37.075Z] 2bbca73fdf42: Pull complete [2022-09-28T02:17:37.075Z] 46d945488cbd: Pull complete [2022-09-28T02:17:43.747Z] 8a5474983e97: Pull complete [2022-09-28T02:17:45.180Z] 329c88fbcd65: Pull complete [2022-09-28T02:17:45.180Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-28T02:17:45.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-28T02:17:45.180Z] ---> ff4287adb874 [2022-09-28T02:17:45.180Z] Step 3/13 : ARG MAKE="make build" [2022-09-28T02:17:47.177Z] ---> Running in 7ac3ec7bd98e [2022-09-28T02:17:47.177Z] Removing intermediate container 7ac3ec7bd98e [2022-09-28T02:17:47.177Z] ---> 4b9eac90e37c [2022-09-28T02:17:47.177Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-28T02:17:47.177Z] ---> Running in 380b14985d2e [2022-09-28T02:17:47.443Z] Removing intermediate container 380b14985d2e [2022-09-28T02:17:47.443Z] ---> dcecb8774823 [2022-09-28T02:17:47.443Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-28T02:17:47.709Z] ---> Running in bc6dd1eab8b7 [2022-09-28T02:17:47.975Z] Removing intermediate container bc6dd1eab8b7 [2022-09-28T02:17:47.975Z] ---> 74c96d149d7c [2022-09-28T02:17:47.975Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-28T02:17:47.975Z] ---> Running in ddd5227e39dd [2022-09-28T02:17:48.242Z] Removing intermediate container ddd5227e39dd [2022-09-28T02:17:48.242Z] ---> ce006cd80116 [2022-09-28T02:17:48.242Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-28T02:17:48.242Z] ---> Running in 2b3439abce50 [2022-09-28T02:17:50.182Z] Removing intermediate container 2b3439abce50 [2022-09-28T02:17:50.182Z] ---> f4f08a92f78d [2022-09-28T02:17:50.182Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-28T02:17:50.182Z] ---> Running in 5b5178d0fcb5 [2022-09-28T02:17:51.142Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-28T02:17:51.720Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-28T02:17:52.676Z] OK: 221 MiB in 51 packages [2022-09-28T02:17:53.633Z] Removing intermediate container 5b5178d0fcb5 [2022-09-28T02:17:53.633Z] ---> fdd28bba43b3 [2022-09-28T02:17:53.633Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-28T02:17:53.633Z] ---> Running in 61eb3e30f01c [2022-09-28T02:17:53.899Z] Removing intermediate container 61eb3e30f01c [2022-09-28T02:17:53.899Z] ---> 64ab807cc92a [2022-09-28T02:17:53.899Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-28T02:17:54.169Z] ---> 72a0d83155d7 [2022-09-28T02:17:54.169Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-28T02:17:54.436Z] ---> Running in ec22a1c5b0e0 [2022-09-28T02:18:50.860Z] Removing intermediate container ec22a1c5b0e0 [2022-09-28T02:18:50.860Z] ---> dd74088f187d [2022-09-28T02:18:50.860Z] Step 12/13 : COPY . . [2022-09-28T02:18:50.860Z] ---> 62ef390ba5a0 [2022-09-28T02:18:50.860Z] Step 13/13 : RUN ${MAKE} [2022-09-28T02:18:50.860Z] ---> Running in add5ea4c40e6 [2022-09-28T02:18:50.860Z] noop [2022-09-28T02:18:50.860Z] Removing intermediate container add5ea4c40e6 [2022-09-28T02:18:50.860Z] ---> 878b89e1e44a [2022-09-28T02:18:50.860Z] Successfully built 878b89e1e44a [2022-09-28T02:18:50.860Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T02:18:51.209Z] + docker inspect -f . ci-base-image-arm64 [2022-09-28T02:18:51.209Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T02:18:51.379Z] prd-ubuntu20.04-docker-arm64-4c-16g-1495 does not seem to be running inside a container [2022-09-28T02:18:51.440Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/16 -v /w/workspace/device-onvif-camera/16:/w/workspace/device-onvif-camera/16:rw,z -v /w/workspace/device-onvif-camera/16@tmp:/w/workspace/device-onvif-camera/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-28T02:18:52.630Z] $ docker top 1082fd46953cc9121949f4711a08d370bb1ff5862f141000a779577103fd8169 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T02:18:53.452Z] + go version [2022-09-28T02:18:53.452Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-28T02:18:53.472Z] $ docker stop --time=1 1082fd46953cc9121949f4711a08d370bb1ff5862f141000a779577103fd8169 [2022-09-28T02:18:55.108Z] $ docker rm -f 1082fd46953cc9121949f4711a08d370bb1ff5862f141000a779577103fd8169 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T02:18:55.650Z] + docker inspect -f . ci-base-image-arm64 [2022-09-28T02:18:55.650Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T02:18:55.827Z] prd-ubuntu20.04-docker-arm64-4c-16g-1495 does not seem to be running inside a container [2022-09-28T02:18:55.900Z] $ 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/16 -v /w/workspace/device-onvif-camera/16:/w/workspace/device-onvif-camera/16:rw,z -v /w/workspace/device-onvif-camera/16@tmp:/w/workspace/device-onvif-camera/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-28T02:18:57.121Z] $ docker top d7eae0bc69fd02d03d623ca6b6c5de12e37632bdf159837a339137424c0c3350 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T02:18:57.948Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/16 [Pipeline] fileExists [Pipeline] sh [2022-09-28T02:18:58.276Z] + make test [2022-09-28T02:18:58.276Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-28T02:19:00.220Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-28T02:20:36.906Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-28T02:20:36.906Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.215s coverage: 28.2% of statements [2022-09-28T02:20:36.906Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-28T02:20:59.002Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.335s coverage: 86.5% of statements [2022-09-28T02:20:59.002Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-28T02:20:59.002Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-28T02:21:31.256Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-28T02:21:31.256Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-28T02:21:31.256Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-28T02:21:31.275Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-28T02:21:31.289Z] $ docker stop --time=1 d7eae0bc69fd02d03d623ca6b6c5de12e37632bdf159837a339137424c0c3350 [2022-09-28T02:21:33.338Z] $ docker rm -f d7eae0bc69fd02d03d623ca6b6c5de12e37632bdf159837a339137424c0c3350 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-28T02:21:34.418Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-28T02:21:34.440Z] Warning: overwriting stash ‘coverage-report’ [2022-09-28T02:21:34.929Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-28T02:21:35.309Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-28T02:21:35.622Z] + ls -al . [2022-09-28T02:21:35.622Z] total 232 [2022-09-28T02:21:35.622Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 02:18 . [2022-09-28T02:21:35.622Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 02:16 .. [2022-09-28T02:21:35.622Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 02:16 .git [2022-09-28T02:21:35.622Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 02:16 .github [2022-09-28T02:21:35.622Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 28 02:16 .gitignore [2022-09-28T02:21:35.622Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 02:16 .golangci.yml [2022-09-28T02:21:35.622Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 28 02:16 Attribution.txt [2022-09-28T02:21:35.622Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 28 02:16 CHANGELOG.md [2022-09-28T02:21:35.622Z] -rw-rw-r-- 1 jenkins jenkins 1742 Sep 28 02:16 Dockerfile [2022-09-28T02:21:35.622Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 02:16 GOVERNANCE.md [2022-09-28T02:21:35.622Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 28 02:16 Jenkinsfile [2022-09-28T02:21:35.622Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 02:16 LICENSE [2022-09-28T02:21:35.622Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 28 02:16 Makefile [2022-09-28T02:21:35.622Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 28 02:16 OWNERS.md [2022-09-28T02:21:35.622Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 28 02:16 README.md [2022-09-28T02:21:35.622Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 02:12 VERSION [2022-09-28T02:21:35.622Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 02:16 bin [2022-09-28T02:21:35.622Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 02:16 cmd [2022-09-28T02:21:35.622Z] -rw-r--r-- 1 jenkins jenkins 78461 Sep 28 02:20 coverage.out [2022-09-28T02:21:35.622Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 28 02:16 doc [2022-09-28T02:21:35.622Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 28 02:16 go.mod [2022-09-28T02:21:35.622Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 28 02:16 go.sum [2022-09-28T02:21:35.622Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 02:16 internal [2022-09-28T02:21:35.622Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 02:16 snap [2022-09-28T02:21:35.622Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 28 02:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T02:21:35.953Z] + 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=573ca4e271e1448bcaa17f6470590961d41d35ec --label arch=arm64 --label version=0.0.0 . [2022-09-28T02:21:36.549Z] Sending build context to Docker daemon 14.26MB [2022-09-28T02:21:36.549Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-09-28T02:21:36.549Z] Step 2/27 : FROM ${BASE} AS builder [2022-09-28T02:21:36.549Z] ---> 878b89e1e44a [2022-09-28T02:21:36.549Z] Step 3/27 : ARG MAKE="make build" [2022-09-28T02:21:36.817Z] ---> Running in 6a4c757248ae [2022-09-28T02:21:38.229Z] Removing intermediate container 6a4c757248ae [2022-09-28T02:21:38.229Z] ---> 0a83e70b5889 [2022-09-28T02:21:38.229Z] Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-28T02:21:38.229Z] ---> Running in 9af438513164 [2022-09-28T02:21:38.496Z] Removing intermediate container 9af438513164 [2022-09-28T02:21:38.496Z] ---> 4105c0054d78 [2022-09-28T02:21:38.496Z] Step 5/27 : ARG ALPINE_PKG_EXTRA="" [2022-09-28T02:21:38.496Z] ---> Running in 57c0b7fc8e6c [2022-09-28T02:21:39.113Z] Removing intermediate container 57c0b7fc8e6c [2022-09-28T02:21:39.113Z] ---> d0d66439db1a [2022-09-28T02:21:39.113Z] Step 6/27 : LABEL Name=edgex-device-onvif-camera [2022-09-28T02:21:39.113Z] ---> Running in 94e74a75bebc [2022-09-28T02:21:39.381Z] Removing intermediate container 94e74a75bebc [2022-09-28T02:21:39.381Z] ---> ea29190d57f7 [2022-09-28T02:21:39.381Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-28T02:21:39.651Z] ---> Running in f20a2eb8f1ab [2022-09-28T02:21:41.608Z] Removing intermediate container f20a2eb8f1ab [2022-09-28T02:21:41.608Z] ---> b6c048b8f678 [2022-09-28T02:21:41.608Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-28T02:21:41.608Z] ---> Running in 22de1f3661fe [2022-09-28T02:21:42.570Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-28T02:21:43.526Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-28T02:21:44.544Z] OK: 221 MiB in 51 packages [2022-09-28T02:21:45.583Z] Removing intermediate container 22de1f3661fe [2022-09-28T02:21:45.583Z] ---> ae6c4b11c89b [2022-09-28T02:21:45.583Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-09-28T02:21:45.583Z] ---> Running in 354aebc793b3 [2022-09-28T02:21:47.584Z] Removing intermediate container 354aebc793b3 [2022-09-28T02:21:47.584Z] ---> 6125be2b90ad [2022-09-28T02:21:47.584Z] Step 10/27 : COPY go.mod vendor* ./ [2022-09-28T02:21:47.862Z] ---> 19e4f0119022 [2022-09-28T02:21:47.862Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-28T02:21:47.862Z] ---> Running in 26a863103a6f [2022-09-28T02:21:52.124Z] Removing intermediate container 26a863103a6f [2022-09-28T02:21:52.124Z] ---> 1984f4395b42 [2022-09-28T02:21:52.124Z] Step 12/27 : COPY . . [2022-09-28T02:21:54.073Z] ---> abf5210f0109 [2022-09-28T02:21:54.073Z] Step 13/27 : RUN ${MAKE} [2022-09-28T02:21:54.073Z] ---> Running in 98d4bfa25bf0 [2022-09-28T02:21:55.486Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-28T02:24:32.235Z] Removing intermediate container 98d4bfa25bf0 [2022-09-28T02:24:32.235Z] ---> daf229da9fde [2022-09-28T02:24:32.235Z] Step 14/27 : FROM alpine:3.16 [2022-09-28T02:24:32.235Z] 3.16: Pulling from library/alpine [2022-09-28T02:24:32.235Z] 9b18e9b68314: Pulling fs layer [2022-09-28T02:24:32.235Z] 9b18e9b68314: Verifying Checksum [2022-09-28T02:24:32.235Z] 9b18e9b68314: Download complete [2022-09-28T02:24:32.235Z] 9b18e9b68314: Pull complete [2022-09-28T02:24:32.235Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-28T02:24:32.235Z] Status: Downloaded newer image for alpine:3.16 [2022-09-28T02:24:32.235Z] ---> a6215f271958 [2022-09-28T02:24:32.235Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-28T02:24:32.235Z] ---> Running in fb7f81cc4ab2 [2022-09-28T02:24:32.235Z] Removing intermediate container fb7f81cc4ab2 [2022-09-28T02:24:32.235Z] ---> 63849abcd1fb [2022-09-28T02:24:32.235Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-09-28T02:24:32.235Z] ---> Running in be15ba1843a9 [2022-09-28T02:24:32.235Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-28T02:24:32.235Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-28T02:24:32.235Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-09-28T02:24:32.235Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-09-28T02:24:32.235Z] (3/21) Installing readline (8.1.2-r0) [2022-09-28T02:24:32.235Z] (4/21) Installing bash (5.1.16-r2) [2022-09-28T02:24:32.235Z] Executing bash-5.1.16-r2.post-install [2022-09-28T02:24:32.235Z] (5/21) Installing ca-certificates (20220614-r0) [2022-09-28T02:24:32.235Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-09-28T02:24:32.235Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-09-28T02:24:32.235Z] (8/21) Installing libcurl (7.83.1-r3) [2022-09-28T02:24:32.235Z] (9/21) Installing curl (7.83.1-r3) [2022-09-28T02:24:32.235Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-09-28T02:24:32.235Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-09-28T02:24:32.235Z] (12/21) Installing jq (1.6-r1) [2022-09-28T02:24:32.235Z] (13/21) Installing popt (1.18-r0) [2022-09-28T02:24:32.235Z] (14/21) Installing pcre (8.45-r2) [2022-09-28T02:24:32.235Z] (15/21) Installing slang (2.3.2-r0) [2022-09-28T02:24:32.235Z] (16/21) Installing newt (0.52.21-r2) [2022-09-28T02:24:32.235Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-09-28T02:24:32.235Z] (18/21) Installing libsodium (1.0.18-r0) [2022-09-28T02:24:32.235Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-28T02:24:32.235Z] (20/21) Installing libzmq (4.3.4-r0) [2022-09-28T02:24:32.235Z] (21/21) Installing zeromq (4.3.4-r0) [2022-09-28T02:24:32.235Z] Executing busybox-1.35.0-r17.trigger [2022-09-28T02:24:32.235Z] Executing ca-certificates-20220614-r0.trigger [2022-09-28T02:24:32.235Z] OK: 16 MiB in 35 packages [2022-09-28T02:24:32.235Z] Removing intermediate container be15ba1843a9 [2022-09-28T02:24:32.235Z] ---> 8db62de904e2 [2022-09-28T02:24:32.235Z] Step 17/27 : WORKDIR / [2022-09-28T02:24:32.235Z] ---> Running in c40a4e3f6f21 [2022-09-28T02:24:32.235Z] Removing intermediate container c40a4e3f6f21 [2022-09-28T02:24:32.235Z] ---> 85938fdb3287 [2022-09-28T02:24:32.235Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-28T02:24:32.235Z] ---> a1a75b19274a [2022-09-28T02:24:32.235Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-28T02:24:32.235Z] ---> 7a768960a18f [2022-09-28T02:24:32.235Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-28T02:24:32.235Z] ---> e49ac2ecea32 [2022-09-28T02:24:32.235Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-09-28T02:24:32.235Z] ---> 8b2d14f3d0b2 [2022-09-28T02:24:32.236Z] Step 22/27 : EXPOSE 59984 [2022-09-28T02:24:32.236Z] ---> Running in 0b587b5cd0ca [2022-09-28T02:24:32.236Z] Removing intermediate container 0b587b5cd0ca [2022-09-28T02:24:32.236Z] ---> e9dae8f94d28 [2022-09-28T02:24:32.236Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-28T02:24:32.236Z] ---> Running in 1f02360c1b5e [2022-09-28T02:24:32.236Z] Removing intermediate container 1f02360c1b5e [2022-09-28T02:24:32.236Z] ---> cf8da860bfed [2022-09-28T02:24:32.236Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-28T02:24:32.236Z] ---> Running in b74479658fcf [2022-09-28T02:24:32.236Z] Removing intermediate container b74479658fcf [2022-09-28T02:24:32.236Z] ---> db962148d1e7 [2022-09-28T02:24:32.236Z] Step 25/27 : LABEL arch=arm64 [2022-09-28T02:24:32.236Z] ---> Running in afe757ecc4fc [2022-09-28T02:24:32.236Z] Removing intermediate container afe757ecc4fc [2022-09-28T02:24:32.236Z] ---> 44e08d888827 [2022-09-28T02:24:32.236Z] Step 26/27 : LABEL git_sha=573ca4e271e1448bcaa17f6470590961d41d35ec [2022-09-28T02:24:32.236Z] ---> Running in d4369b2a13fe [2022-09-28T02:24:32.236Z] Removing intermediate container d4369b2a13fe [2022-09-28T02:24:32.236Z] ---> 6302c0a2024c [2022-09-28T02:24:32.236Z] Step 27/27 : LABEL version=0.0.0 [2022-09-28T02:24:32.236Z] ---> Running in 0fe3bcccd3ac [2022-09-28T02:24:32.236Z] Removing intermediate container 0fe3bcccd3ac [2022-09-28T02:24:32.236Z] ---> 6a89669f4f05 [2022-09-28T02:24:32.236Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-28T02:24:32.236Z] Successfully built 6a89669f4f05 [2022-09-28T02:24:32.236Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T02:24:32.664Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-28T02:24:32.664Z] [2022-09-28T02:24:32.664Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T02:24:32.992Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-28T02:24:32.992Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-28T02:24:32.992Z] 8998bd30e6a1: Pulling fs layer [2022-09-28T02:24:32.992Z] 04944245beec: Pulling fs layer [2022-09-28T02:24:32.992Z] 699f458cf7ca: Pulling fs layer [2022-09-28T02:24:32.992Z] 765212b225bb: Pulling fs layer [2022-09-28T02:24:32.992Z] f23df028b6ca: Pulling fs layer [2022-09-28T02:24:32.992Z] d65c8cfc05b1: Pulling fs layer [2022-09-28T02:24:32.992Z] 2437ff75d9bd: Pulling fs layer [2022-09-28T02:24:32.992Z] 765212b225bb: Waiting [2022-09-28T02:24:32.992Z] f23df028b6ca: Waiting [2022-09-28T02:24:32.992Z] d65c8cfc05b1: Waiting [2022-09-28T02:24:32.992Z] 2437ff75d9bd: Waiting [2022-09-28T02:24:33.259Z] 04944245beec: Verifying Checksum [2022-09-28T02:24:33.259Z] 04944245beec: Download complete [2022-09-28T02:24:33.259Z] 765212b225bb: Verifying Checksum [2022-09-28T02:24:33.259Z] 765212b225bb: Download complete [2022-09-28T02:24:33.259Z] f23df028b6ca: Verifying Checksum [2022-09-28T02:24:33.259Z] f23df028b6ca: Download complete [2022-09-28T02:24:33.259Z] d65c8cfc05b1: Verifying Checksum [2022-09-28T02:24:33.259Z] d65c8cfc05b1: Download complete [2022-09-28T02:24:33.259Z] 699f458cf7ca: Verifying Checksum [2022-09-28T02:24:33.259Z] 699f458cf7ca: Download complete [2022-09-28T02:24:33.848Z] 8998bd30e6a1: Verifying Checksum [2022-09-28T02:24:33.848Z] 8998bd30e6a1: Download complete [2022-09-28T02:24:35.802Z] 2437ff75d9bd: Verifying Checksum [2022-09-28T02:24:35.802Z] 2437ff75d9bd: Download complete [2022-09-28T02:24:37.746Z] 8998bd30e6a1: Pull complete [2022-09-28T02:24:38.014Z] 04944245beec: Pull complete [2022-09-28T02:24:39.436Z] 699f458cf7ca: Pull complete [2022-09-28T02:24:39.703Z] 765212b225bb: Pull complete [2022-09-28T02:24:40.285Z] f23df028b6ca: Pull complete [2022-09-28T02:24:40.552Z] d65c8cfc05b1: Pull complete [2022-09-28T02:24:55.538Z] 2437ff75d9bd: Pull complete [2022-09-28T02:24:55.539Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-28T02:24:55.539Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-28T02:24:55.539Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T02:24:55.736Z] prd-ubuntu20.04-docker-arm64-4c-16g-1495 does not seem to be running inside a container [2022-09-28T02:24:55.797Z] $ 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/16 -v /w/workspace/device-onvif-camera/16:/w/workspace/device-onvif-camera/16:rw,z -v /w/workspace/device-onvif-camera/16@tmp:/w/workspace/device-onvif-camera/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-28T02:24:58.273Z] $ docker top 3d90e951c1b6fa59cd65bc2390d5f9d7b9409cbc671fe54331eb6bc2fd7ecd36 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-28T02:24:58.788Z] ---> job-cost.sh [2022-09-28T02:24:59.055Z] lf-activate-venv: SKIPPING [2022-09-28T02:24:59.055Z] INFO: No Stack... [2022-09-28T02:24:59.321Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-28T02:25:00.278Z] INFO: Archiving Costs [Pipeline] sh [2022-09-28T02:25:00.913Z] + cat /w/workspace/device-onvif-camera/16/archives/cost.csv [2022-09-28T02:25:00.913Z] + cut -d, -f6 [Pipeline] lock [2022-09-28T02:25:00.974Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-16-stack-cost] [2022-09-28T02:25:00.980Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-16-stack-cost] did not exist. Created. [2022-09-28T02:25:00.980Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-28T02:25:01.635Z] /w/workspace/device-onvif-camera/16@tmp/durable-ebd00d22/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-28T02:25:02.283Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-28T02:25:02.299Z] Warning: overwriting stash ‘stack-cost’ [2022-09-28T02:25:02.355Z] Stashed 1 file(s) [Pipeline] } [2022-09-28T02:25:02.361Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-16-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-28T02:25:02.379Z] $ docker stop --time=1 3d90e951c1b6fa59cd65bc2390d5f9d7b9409cbc671fe54331eb6bc2fd7ecd36 [2022-09-28T02:25:03.883Z] $ docker rm -f 3d90e951c1b6fa59cd65bc2390d5f9d7b9409cbc671fe54331eb6bc2fd7ecd36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-09-28T02:25:04.319Z] provisioning config files... [2022-09-28T02:25:04.329Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config7108514606435672754tmp [Pipeline] { [Pipeline] sh [2022-09-28T02:25:04.623Z] + set +x [2022-09-28T02:25:04.623Z] + bash -s -- [2022-09-28T02:25:04.623Z] + curl -s https://codecov.io/bash [2022-09-28T02:25:04.623Z] [2022-09-28T02:25:04.623Z] _____ _ [2022-09-28T02:25:04.623Z] / ____| | | [2022-09-28T02:25:04.623Z] | | ___ __| | ___ ___ _____ __ [2022-09-28T02:25:04.623Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-28T02:25:04.623Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-28T02:25:04.623Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-28T02:25:04.623Z] Bash-1.0.6 [2022-09-28T02:25:04.623Z] [2022-09-28T02:25:04.623Z] [2022-09-28T02:25:04.623Z] ==> git version 2.25.1 found [2022-09-28T02:25:04.623Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-09-28T02:25:04.623Z] Release-Date: 2020-01-08 [2022-09-28T02:25:04.623Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-28T02:25:04.623Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-28T02:25:04.623Z] ==> Jenkins CI detected. [2022-09-28T02:25:04.623Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-125 [2022-09-28T02:25:04.623Z] project root: . [2022-09-28T02:25:04.623Z] --> token set from env [2022-09-28T02:25:04.623Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-28T02:25:04.623Z] ==> Running gcov in . (disable via -X gcov) [2022-09-28T02:25:04.623Z] ==> Python coveragepy not found [2022-09-28T02:25:04.623Z] ==> Searching for coverage reports in: [2022-09-28T02:25:04.623Z] + . [2022-09-28T02:25:04.623Z] -> Found 1 reports [2022-09-28T02:25:04.623Z] ==> Detecting git/mercurial file structure [2022-09-28T02:25:04.881Z] ==> Reading reports [2022-09-28T02:25:04.881Z] + ./coverage.out bytes=78461 [2022-09-28T02:25:04.881Z] ==> Appending adjustments [2022-09-28T02:25:04.881Z] https://docs.codecov.io/docs/fixing-reports [2022-09-28T02:25:04.881Z] + Found adjustments [2022-09-28T02:25:04.881Z] ==> Gzipping contents [2022-09-28T02:25:04.881Z] 12K /tmp/codecov.R5KOnM.gz [2022-09-28T02:25:04.881Z] ==> Uploading reports [2022-09-28T02:25:04.881Z] url: https://codecov.io [2022-09-28T02:25:04.881Z] query: branch=PR-125&commit=e94b546e09e1e76c9f9901986eef7cbd2f837a0a&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-09-28T02:25:04.881Z] -> Pinging Codecov [2022-09-28T02:25:04.881Z] 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=e94b546e09e1e76c9f9901986eef7cbd2f837a0a&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-09-28T02:25:05.140Z] -> Uploading to [2022-09-28T02:25:05.140Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-28/F29A59C45E3A92E06B3E522C9905F8EF/e94b546e09e1e76c9f9901986eef7cbd2f837a0a/19a325b5-0d31-4601-ab90-a223b524b512.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220928T022505Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1b5c8f32a08b55f0e5aafefe9854d0c868863917518e669bfdac4de2270d2166 [2022-09-28T02:25:05.140Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-28T02:25:05.140Z] Dload Upload Total Spent Left Speed [2022-09-28T02:25:05.400Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10757 0 0 100 10757 0 202k --:--:-- --:--:-- --:--:-- 198k 100 10757 0 0 100 10757 0 42184 --:--:-- --:--:-- --:--:-- 42019 [2022-09-28T02:25:05.400Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/e94b546e09e1e76c9f9901986eef7cbd2f837a0a [Pipeline] } [2022-09-28T02:25:05.408Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-09-28T02:25:06.201Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] [2022-09-28T02:25:06.201Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-09-28T02:25:06.201Z] total 16 [2022-09-28T02:25:06.201Z] drwxr-xr-x 3 root root 4096 Sep 28 02:15 . [2022-09-28T02:25:06.201Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 02:15 .. [2022-09-28T02:25:06.201Z] drwxr-xr-x 2 root root 4096 Sep 28 02:15 cost [2022-09-28T02:25:06.201Z] -rw-r--r-- 1 root root 92 Sep 28 02:15 cost.csv [2022-09-28T02:25:06.201Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-09-28T02:25:06.201Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-09-28T02:25:06.201Z] total 16 [2022-09-28T02:25:06.201Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 02:15 . [2022-09-28T02:25:06.201Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 02:15 .. [2022-09-28T02:25:06.201Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 02:15 cost [2022-09-28T02:25:06.201Z] -rw-r--r-- 1 jenkins jenkins 92 Sep 28 02:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-28T02:25:06.494Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T02:25:07.354Z] ---> package-listing.sh [2022-09-28T02:25:07.355Z] ++ facter osfamily [2022-09-28T02:25:07.355Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-28T02:25:07.620Z] + OS_FAMILY=debian [2022-09-28T02:25:07.620Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-125 [2022-09-28T02:25:07.620Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-28T02:25:07.620Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-28T02:25:07.620Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-28T02:25:07.620Z] + PACKAGES=/tmp/packages_start.txt [2022-09-28T02:25:07.620Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-09-28T02:25:07.620Z] + PACKAGES=/tmp/packages_end.txt [2022-09-28T02:25:07.620Z] + case "${OS_FAMILY}" in [2022-09-28T02:25:07.620Z] + dpkg -l [2022-09-28T02:25:07.620Z] + grep '^ii' [2022-09-28T02:25:07.620Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-28T02:25:07.620Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-28T02:25:07.620Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-28T02:25:07.620Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-09-28T02:25:07.620Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ [2022-09-28T02:25:07.620Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-125/archives/ [Pipeline] echo [2022-09-28T02:25:07.632Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-28T02:25:07.911Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T02:25:08.480Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-28T02:25:08.480Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T02:25:08.553Z] prd-ubuntu20.04-docker-8c-8g-1494 does not seem to be running inside a container [2022-09-28T02:25:08.586Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-28T02:25:08.798Z] $ docker top 00be88dea3c3a0feb47599abdae2a9aff821732c0401b78d895625c4f2c81f17 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T02:25:09.148Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-28T02:25:09.432Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-28T02:25:09.715Z] + ls /var/log/sa-host [2022-09-28T02:25:09.715Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-28T02:25:09.853Z] provisioning config files... [2022-09-28T02:25:09.862Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config15871970177857063114tmp [Pipeline] { [Pipeline] echo [2022-09-28T02:25:09.875Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T02:25:10.157Z] ---> create-netrc.sh [Pipeline] } [2022-09-28T02:25:10.165Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-28T02:25:10.510Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-28T02:25:10.517Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T02:25:10.796Z] ---> sudo-logs.sh [2022-09-28T02:25:10.797Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-28T02:25:10.831Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T02:25:11.110Z] ---> job-cost.sh [2022-09-28T02:25:11.110Z] lf-activate-venv: SKIPPING [2022-09-28T02:25:11.110Z] DEBUG: total: 0.2199999988079071 [2022-09-28T02:25:11.110Z] INFO: Retrieving Stack Cost... [2022-09-28T02:25:11.370Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-28T02:25:11.937Z] INFO: Archiving Costs [Pipeline] echo [2022-09-28T02:25:11.950Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T02:25:12.235Z] ---> logs-deploy.sh [2022-09-28T02:25:12.235Z] lf-activate-venv: SKIPPING [2022-09-28T02:25:12.235Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/16 [2022-09-28T02:25:12.235Z] INFO: archiving workspace using pattern(s): [2022-09-28T02:25:13.172Z] Archives upload complete. [2022-09-28T02:25:13.433Z] INFO: archiving logs to Nexus