Pull request #182 opened 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 c32d12cb3f3d5bd786ac66f0af1d84994387a230 rather than ec78aac8f60fa80343258aafea3521d8f996d761 Obtained Jenkinsfile from c32d12cb3f3d5bd786ac66f0af1d84994387a230 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-ssh6557515133637495767.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh27873806291025439.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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-182/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-182/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11398946222799247223.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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-182/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11544278134669508100.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh690193031775803583.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-182/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-182/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10506984079448824706.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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8880 in /w/workspace/undry_device-onvif-camera_PR-182 [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-182 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/182/head:refs/remotes/origin/PR-182 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit ec78aac8f60fa80343258aafea3521d8f996d761 Merge succeeded, producing ddd77a41f09bb63cbf3930549c8067b70c81881e Checking out Revision ddd77a41f09bb63cbf3930549c8067b70c81881e (PR-182) > git config core.sparsecheckout # timeout=10 > git checkout -f ec78aac8f60fa80343258aafea3521d8f996d761 # 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 c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ddd77a41f09bb63cbf3930549c8067b70c81881e # timeout=10 Commit message: "Merge commit 'c32d12cb3f3d5bd786ac66f0af1d84994387a230' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-23T01:00:14.644Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-23T01:00:14.820Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-23T01:00:14.901Z] ========================================================= [2022-10-23T01:00:14.901Z] EdgeX Global Pipelines Version Info [2022-10-23T01:00:14.901Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-23T01:00:15.639Z] ------------------- [2022-10-23T01:00:15.639Z] stable info: [2022-10-23T01:00:15.639Z] ------------------- [2022-10-23T01:00:15.639Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-23T01:00:15.639Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-23T01:00:15.639Z] Message: update stable to v1.0.243 [2022-10-23T01:00:16.208Z] ------------------- [2022-10-23T01:00:16.208Z] experimental info: [2022-10-23T01:00:16.208Z] ------------------- [2022-10-23T01:00:16.208Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-23T01:00:16.208Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-23T01:00:16.208Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-23T01:00:16.501Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-23T01:00:16.545Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-23T01:00:16.586Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-23T01:00:16.625Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-23T01:00:16.664Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-23T01:00:16.706Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-23T01:00:16.744Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-23T01:00:16.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-23T01:00:16.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-23T01:00:16.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-23T01:00:16.908Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-23T01:00:16.949Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-23T01:00:16.989Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-23T01:00:17.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-23T01:00:17.064Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-23T01:00:17.106Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-23T01:00:17.148Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-23T01:00:17.183Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-23T01:00:17.222Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-23T01:00:17.261Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-23T01:00:17.302Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-23T01:00:17.341Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-23T01:00:17.380Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-23T01:00:17.419Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-23T01:00:17.464Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-23T01:00:17.502Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-23T01:00:17.540Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-23T01:00:17.579Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-182 [Pipeline] echo [2022-10-23T01:00:17.616Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-182 [Pipeline] echo [2022-10-23T01:00:17.659Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-182 [Pipeline] echo [2022-10-23T01:00:17.697Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ddd77a41f09bb63cbf3930549c8067b70c81881e [Pipeline] echo [2022-10-23T01:00:17.735Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ddd77a4 [Pipeline] echo [2022-10-23T01:00:17.778Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-23T01:00:17.890Z] provisioning config files... [2022-10-23T01:00:17.904Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-182@tmp/config17153451900163395954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-23T01:00:18.239Z] ---> docker-login.sh [2022-10-23T01:00:18.239Z] nexus3.edgexfoundry.org:10001 [2022-10-23T01:00:18.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-23T01:00:18.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-23T01:00:18.760Z] Configure a credential helper to remove this warning. See [2022-10-23T01:00:18.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-23T01:00:18.760Z] [2022-10-23T01:00:18.760Z] Login Succeeded [2022-10-23T01:00:18.760Z] nexus3.edgexfoundry.org:10002 [2022-10-23T01:00:18.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-23T01:00:18.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-23T01:00:18.760Z] Configure a credential helper to remove this warning. See [2022-10-23T01:00:18.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-23T01:00:18.760Z] [2022-10-23T01:00:18.760Z] Login Succeeded [2022-10-23T01:00:18.760Z] nexus3.edgexfoundry.org:10003 [2022-10-23T01:00:18.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-23T01:00:18.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-23T01:00:18.761Z] Configure a credential helper to remove this warning. See [2022-10-23T01:00:18.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-23T01:00:18.761Z] [2022-10-23T01:00:18.761Z] Login Succeeded [2022-10-23T01:00:19.020Z] nexus3.edgexfoundry.org:10004 [2022-10-23T01:00:19.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-23T01:00:19.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-23T01:00:19.020Z] Configure a credential helper to remove this warning. See [2022-10-23T01:00:19.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-23T01:00:19.020Z] [2022-10-23T01:00:19.020Z] Login Succeeded [2022-10-23T01:00:19.020Z] docker.io [2022-10-23T01:00:19.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-23T01:00:19.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-23T01:00:19.591Z] Configure a credential helper to remove this warning. See [2022-10-23T01:00:19.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-23T01:00:19.591Z] [2022-10-23T01:00:19.591Z] Login Succeeded [2022-10-23T01:00:19.591Z] ---> docker-login.sh ends [Pipeline] } [2022-10-23T01:00:19.616Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-23T01:00:20.210Z] + git rev-list -1 --merges ddd77a41f09bb63cbf3930549c8067b70c81881e~1..ddd77a41f09bb63cbf3930549c8067b70c81881e [Pipeline] echo [2022-10-23T01:00:20.253Z] -----------> git rev-list -1 --merges ddd77a41f09bb63cbf3930549c8067b70c81881e~1..ddd77a41f09bb63cbf3930549c8067b70c81881e ddd77a41f09bb63cbf3930549c8067b70c81881e [2022-10-23T01:00:20.253Z] ddd77a41f09bb63cbf3930549c8067b70c81881e [false] [Pipeline] sh [2022-10-23T01:00:20.566Z] + git log --format=format:%s -1 ddd77a41f09bb63cbf3930549c8067b70c81881e [Pipeline] echo [2022-10-23T01:00:20.602Z] ========================================================= [2022-10-23T01:00:20.602Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-23T01:00:20.602Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-23T01:00:21.028Z] + git log --format=format:%s -1 ddd77a41f09bb63cbf3930549c8067b70c81881e [Pipeline] echo [2022-10-23T01:00:21.064Z] [semverPrep] GIT_COMMIT: ddd77a41f09bb63cbf3930549c8067b70c81881e, Commit Message: Merge commit 'c32d12cb3f3d5bd786ac66f0af1d84994387a230' into HEAD [Pipeline] echo [2022-10-23T01:00:21.102Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-23T01:00:21.496Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-23T01:00:21.496Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-23T01:00:21.496Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-23T01:00:21.496Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-23T01:00:21.496Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-23T01:00:21.496Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-23T01:00:21.496Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-23T01:00:21.974Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-23T01:00:21.974Z] [2022-10-23T01:00:21.974Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-23T01:00:22.343Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-23T01:00:22.343Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-23T01:00:22.343Z] b85a868b505f: Pulling fs layer [2022-10-23T01:00:22.343Z] e2be974225ed: Pulling fs layer [2022-10-23T01:00:22.343Z] 339a4e72a1f5: Pulling fs layer [2022-10-23T01:00:22.343Z] 988bab9f4d93: Pulling fs layer [2022-10-23T01:00:22.343Z] 1469e6f7b9e6: Pulling fs layer [2022-10-23T01:00:22.343Z] eaf3925da568: Pulling fs layer [2022-10-23T01:00:22.343Z] bab4dde63d76: Pulling fs layer [2022-10-23T01:00:22.343Z] bde34c3a00c8: Pulling fs layer [2022-10-23T01:00:22.343Z] b352a97aabf1: Pulling fs layer [2022-10-23T01:00:22.343Z] 4872d77fe225: Pulling fs layer [2022-10-23T01:00:22.343Z] 5851b861e8e6: Pulling fs layer [2022-10-23T01:00:22.343Z] 988bab9f4d93: Waiting [2022-10-23T01:00:22.343Z] 1469e6f7b9e6: Waiting [2022-10-23T01:00:22.343Z] eaf3925da568: Waiting [2022-10-23T01:00:22.343Z] bab4dde63d76: Waiting [2022-10-23T01:00:22.343Z] bde34c3a00c8: Waiting [2022-10-23T01:00:22.343Z] b352a97aabf1: Waiting [2022-10-23T01:00:22.343Z] 4872d77fe225: Waiting [2022-10-23T01:00:22.343Z] 5851b861e8e6: Waiting [2022-10-23T01:00:22.343Z] e2be974225ed: Verifying Checksum [2022-10-23T01:00:22.343Z] e2be974225ed: Download complete [2022-10-23T01:00:22.343Z] 988bab9f4d93: Verifying Checksum [2022-10-23T01:00:22.343Z] 988bab9f4d93: Download complete [2022-10-23T01:00:22.602Z] 1469e6f7b9e6: Verifying Checksum [2022-10-23T01:00:22.602Z] 1469e6f7b9e6: Download complete [2022-10-23T01:00:22.602Z] eaf3925da568: Download complete [2022-10-23T01:00:22.602Z] 339a4e72a1f5: Verifying Checksum [2022-10-23T01:00:22.602Z] 339a4e72a1f5: Download complete [2022-10-23T01:00:22.602Z] bde34c3a00c8: Verifying Checksum [2022-10-23T01:00:22.603Z] bde34c3a00c8: Download complete [2022-10-23T01:00:22.603Z] b352a97aabf1: Download complete [2022-10-23T01:00:22.603Z] 4872d77fe225: Verifying Checksum [2022-10-23T01:00:22.603Z] 4872d77fe225: Download complete [2022-10-23T01:00:22.603Z] 5851b861e8e6: Verifying Checksum [2022-10-23T01:00:22.603Z] 5851b861e8e6: Download complete [2022-10-23T01:00:22.603Z] b85a868b505f: Download complete [2022-10-23T01:00:22.860Z] bab4dde63d76: Verifying Checksum [2022-10-23T01:00:22.860Z] bab4dde63d76: Download complete [2022-10-23T01:00:23.795Z] b85a868b505f: Pull complete [2022-10-23T01:00:23.795Z] e2be974225ed: Pull complete [2022-10-23T01:00:24.362Z] 339a4e72a1f5: Pull complete [2022-10-23T01:00:24.362Z] 988bab9f4d93: Pull complete [2022-10-23T01:00:24.622Z] 1469e6f7b9e6: Pull complete [2022-10-23T01:00:24.622Z] eaf3925da568: Pull complete [2022-10-23T01:00:26.526Z] bab4dde63d76: Pull complete [2022-10-23T01:00:26.526Z] bde34c3a00c8: Pull complete [2022-10-23T01:00:26.526Z] b352a97aabf1: Pull complete [2022-10-23T01:00:26.526Z] 4872d77fe225: Pull complete [2022-10-23T01:00:26.785Z] 5851b861e8e6: Pull complete [2022-10-23T01:00:26.785Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-23T01:00:26.785Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-23T01:00:26.785Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-23T01:00:27.005Z] prd-ubuntu20.04-docker-8c-8g-8880 does not seem to be running inside a container [2022-10-23T01:00:27.046Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-182 -v /w/workspace/undry_device-onvif-camera_PR-182:/w/workspace/undry_device-onvif-camera_PR-182:rw,z -v /w/workspace/undry_device-onvif-camera_PR-182@tmp:/w/workspace/undry_device-onvif-camera_PR-182@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-23T01:00:28.324Z] $ docker top f22f0a1789c10e0b6b7f70885c896f15914304b9beae828111e412c0a77c72b3 -eo pid,comm [2022-10-23T01:00:28.379Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-23T01:00:28.379Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-23T01:00:28.511Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-23T01:00:28.511Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-23T01:00:28.624Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-23T01:00:28.629Z] $ docker exec f22f0a1789c10e0b6b7f70885c896f15914304b9beae828111e412c0a77c72b3 ssh-agent [2022-10-23T01:00:28.739Z] SSH_AUTH_SOCK=/tmp/ssh-tLMdgK8LaENM/agent.31 [2022-10-23T01:00:28.739Z] SSH_AGENT_PID=37 [2022-10-23T01:00:28.745Z] Running ssh-add (command line suppressed) [2022-10-23T01:00:28.866Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-182@tmp/private_key_14061154088090343795.key (/w/workspace/undry_device-onvif-camera_PR-182@tmp/private_key_14061154088090343795.key) [2022-10-23T01:00:28.878Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-23T01:00:29.211Z] + git tag --points-at HEAD [Pipeline] } [2022-10-23T01:00:29.235Z] $ docker exec --env ******** --env ******** f22f0a1789c10e0b6b7f70885c896f15914304b9beae828111e412c0a77c72b3 ssh-agent -k [2022-10-23T01:00:29.347Z] unset SSH_AUTH_SOCK; [2022-10-23T01:00:29.347Z] unset SSH_AGENT_PID; [2022-10-23T01:00:29.347Z] echo Agent pid 37 killed; [2022-10-23T01:00:29.356Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-23T01:00:29.445Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-23T01:00:29.445Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-23T01:00:29.579Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-23T01:00:29.584Z] $ docker exec f22f0a1789c10e0b6b7f70885c896f15914304b9beae828111e412c0a77c72b3 ssh-agent [2022-10-23T01:00:29.702Z] SSH_AUTH_SOCK=/tmp/ssh-A4e5mEtzhb6c/agent.69 [2022-10-23T01:00:29.702Z] SSH_AGENT_PID=75 [2022-10-23T01:00:29.707Z] Running ssh-add (command line suppressed) [2022-10-23T01:00:29.822Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-182@tmp/private_key_5920329759790826405.key (/w/workspace/undry_device-onvif-camera_PR-182@tmp/private_key_5920329759790826405.key) [2022-10-23T01:00:29.835Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-23T01:00:30.168Z] + git semver init [2022-10-23T01:00:30.427Z] 2022-10-23 01:00:30,337 [run_init] DEBUG init version:0.0.0 force:False [2022-10-23T01:00:30.427Z] 2022-10-23 01:00:30,338 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-182/.semver [2022-10-23T01:00:30.427Z] 2022-10-23 01:00:30,338 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-182/.semver [2022-10-23T01:00:30.427Z] 2022-10-23 01:00:30,338 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-182/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-182, universal_newlines=False, shell=None, istream=None) [2022-10-23T01:00:31.809Z] 2022-10-23 01:00:31,377 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-182/.git/info/exclude [2022-10-23T01:00:31.809Z] 2022-10-23 01:00:31,378 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-182/.semver/PR-182 with force:False [2022-10-23T01:00:31.809Z] 2022-10-23 01:00:31,378 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-182/.semver/PR-182 [2022-10-23T01:00:31.809Z] 2022-10-23 01:00:31,383 [execute] INFO git cat-file --batch-check [2022-10-23T01:00:31.809Z] 2022-10-23 01:00:31,383 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-182/.semver, universal_newlines=False, shell=None, istream=) [2022-10-23T01:00:31.809Z] 2022-10-23 01:00:31,388 [execute] INFO git cat-file --batch [2022-10-23T01:00:31.809Z] 2022-10-23 01:00:31,389 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-182/.semver, universal_newlines=False, shell=None, istream=) [2022-10-23T01:00:31.809Z] 2022-10-23 01:00:31,394 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-182/.semver/PR-182 [2022-10-23T01:00:31.809Z] 0.0.0 [Pipeline] } [2022-10-23T01:00:31.838Z] $ docker exec --env ******** --env ******** f22f0a1789c10e0b6b7f70885c896f15914304b9beae828111e412c0a77c72b3 ssh-agent -k [2022-10-23T01:00:31.942Z] unset SSH_AUTH_SOCK; [2022-10-23T01:00:31.943Z] unset SSH_AGENT_PID; [2022-10-23T01:00:31.943Z] echo Agent pid 75 killed; [2022-10-23T01:00:31.954Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-23T01:00:32.449Z] + git semver [Pipeline] } [2022-10-23T01:00:32.746Z] $ docker stop --time=1 f22f0a1789c10e0b6b7f70885c896f15914304b9beae828111e412c0a77c72b3 [2022-10-23T01:00:34.047Z] $ docker rm -f f22f0a1789c10e0b6b7f70885c896f15914304b9beae828111e412c0a77c72b3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-23T01:00:34.456Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-23T01:00:34.690Z] Stashed 1 file(s) [Pipeline] echo [2022-10-23T01:00:34.707Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-23T01:00:35.268Z] provisioning config files... [2022-10-23T01:00:35.278Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-182@tmp/config15985425185761408423tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-23T01:00:35.626Z] ---> docker-login.sh [2022-10-23T01:00:35.626Z] nexus3.edgexfoundry.org:10001 [2022-10-23T01:00:35.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-23T01:00:35.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-23T01:00:35.626Z] Configure a credential helper to remove this warning. See [2022-10-23T01:00:35.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-23T01:00:35.626Z] [2022-10-23T01:00:35.626Z] Login Succeeded [2022-10-23T01:00:35.626Z] nexus3.edgexfoundry.org:10002 [2022-10-23T01:00:35.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-23T01:00:35.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-23T01:00:35.626Z] Configure a credential helper to remove this warning. See [2022-10-23T01:00:35.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-23T01:00:35.626Z] [2022-10-23T01:00:35.626Z] Login Succeeded [2022-10-23T01:00:35.626Z] nexus3.edgexfoundry.org:10003 [2022-10-23T01:00:35.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-23T01:00:35.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-23T01:00:35.886Z] Configure a credential helper to remove this warning. See [2022-10-23T01:00:35.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-23T01:00:35.886Z] [2022-10-23T01:00:35.886Z] Login Succeeded [2022-10-23T01:00:35.886Z] nexus3.edgexfoundry.org:10004 [2022-10-23T01:00:35.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-23T01:00:35.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-23T01:00:35.886Z] Configure a credential helper to remove this warning. See [2022-10-23T01:00:35.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-23T01:00:35.886Z] [2022-10-23T01:00:35.886Z] Login Succeeded [2022-10-23T01:00:35.886Z] docker.io [2022-10-23T01:00:36.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-23T01:00:36.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-23T01:00:36.407Z] Configure a credential helper to remove this warning. See [2022-10-23T01:00:36.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-23T01:00:36.407Z] [2022-10-23T01:00:36.407Z] Login Succeeded [2022-10-23T01:00:36.407Z] ---> docker-login.sh ends [Pipeline] } [2022-10-23T01:00:36.435Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-23T01:00:36.647Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-23T01:00:36.680Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-23T01:00:36.712Z] ========================================================= [2022-10-23T01:00:36.712Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-23T01:00:36.712Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-23T01:00:37.180Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-23T01:00:37.180Z] Sending build context to Docker daemon 21.46MB [2022-10-23T01:00:37.180Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-23T01:00:37.180Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-23T01:00:37.440Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-23T01:00:37.440Z] 213ec9aee27d: Pulling fs layer [2022-10-23T01:00:37.440Z] 4583459ba037: Pulling fs layer [2022-10-23T01:00:37.440Z] 93c1e223e6f2: Pulling fs layer [2022-10-23T01:00:37.440Z] 53926ce57604: Pulling fs layer [2022-10-23T01:00:37.440Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-23T01:00:37.440Z] 30f14e443154: Pulling fs layer [2022-10-23T01:00:37.440Z] 801331c1e519: Pulling fs layer [2022-10-23T01:00:37.440Z] 99cc6dd402b0: Pulling fs layer [2022-10-23T01:00:37.440Z] 7d9ed39f4882: Pulling fs layer [2022-10-23T01:00:37.440Z] 21b2b0c7a3f4: Waiting [2022-10-23T01:00:37.440Z] 30f14e443154: Waiting [2022-10-23T01:00:37.440Z] 801331c1e519: Waiting [2022-10-23T01:00:37.440Z] 53926ce57604: Waiting [2022-10-23T01:00:37.440Z] 99cc6dd402b0: Waiting [2022-10-23T01:00:37.440Z] 7d9ed39f4882: Waiting [2022-10-23T01:00:37.440Z] 93c1e223e6f2: Download complete [2022-10-23T01:00:37.440Z] 4583459ba037: Download complete [2022-10-23T01:00:37.440Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-23T01:00:37.440Z] 21b2b0c7a3f4: Download complete [2022-10-23T01:00:37.440Z] 30f14e443154: Verifying Checksum [2022-10-23T01:00:37.440Z] 30f14e443154: Download complete [2022-10-23T01:00:37.440Z] 213ec9aee27d: Verifying Checksum [2022-10-23T01:00:37.440Z] 213ec9aee27d: Download complete [2022-10-23T01:00:37.440Z] 801331c1e519: Verifying Checksum [2022-10-23T01:00:37.440Z] 801331c1e519: Download complete [2022-10-23T01:00:37.705Z] 213ec9aee27d: Pull complete [2022-10-23T01:00:37.705Z] 4583459ba037: Pull complete [2022-10-23T01:00:37.705Z] 93c1e223e6f2: Pull complete [2022-10-23T01:00:37.968Z] 7d9ed39f4882: Verifying Checksum [2022-10-23T01:00:37.968Z] 7d9ed39f4882: Download complete [2022-10-23T01:00:37.968Z] 99cc6dd402b0: Verifying Checksum [2022-10-23T01:00:37.968Z] 99cc6dd402b0: Download complete [2022-10-23T01:00:38.225Z] 53926ce57604: Verifying Checksum [2022-10-23T01:00:38.225Z] 53926ce57604: Download complete [2022-10-23T01:00:42.413Z] 53926ce57604: Pull complete [2022-10-23T01:00:42.413Z] 21b2b0c7a3f4: Pull complete [2022-10-23T01:00:42.413Z] 30f14e443154: Pull complete [2022-10-23T01:00:42.413Z] 801331c1e519: Pull complete [2022-10-23T01:00:44.313Z] 99cc6dd402b0: Pull complete [2022-10-23T01:00:44.881Z] 7d9ed39f4882: Pull complete [2022-10-23T01:00:44.881Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-23T01:00:44.881Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-23T01:00:44.881Z] ---> 1dedd983c030 [2022-10-23T01:00:44.881Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-23T01:00:46.789Z] ---> Running in 8653c5ad66d8 [2022-10-23T01:00:46.789Z] Removing intermediate container 8653c5ad66d8 [2022-10-23T01:00:46.789Z] ---> d8fdaba27cae [2022-10-23T01:00:46.789Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-23T01:00:46.789Z] ---> Running in e1f66f041265 [2022-10-23T01:00:46.789Z] Removing intermediate container e1f66f041265 [2022-10-23T01:00:46.789Z] ---> 04d0449f7ec9 [2022-10-23T01:00:46.789Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-23T01:00:46.789Z] ---> Running in 6d4ed213b7e8 [2022-10-23T01:00:46.789Z] Removing intermediate container 6d4ed213b7e8 [2022-10-23T01:00:46.789Z] ---> 4b450c3ee387 [2022-10-23T01:00:46.789Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-23T01:00:46.789Z] ---> Running in 04c8abf11f3f [2022-10-23T01:00:47.048Z] Removing intermediate container 04c8abf11f3f [2022-10-23T01:00:47.048Z] ---> dac6bec5d2ff [2022-10-23T01:00:47.048Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-23T01:00:47.048Z] ---> Running in 9991188112ae [2022-10-23T01:00:47.048Z] Removing intermediate container 9991188112ae [2022-10-23T01:00:47.048Z] ---> 4d6b437e17c4 [2022-10-23T01:00:47.048Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-23T01:00:47.048Z] ---> Running in c2bd6c7a9331 [2022-10-23T01:00:47.990Z] Removing intermediate container c2bd6c7a9331 [2022-10-23T01:00:47.990Z] ---> fd5deb8c9885 [2022-10-23T01:00:47.990Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-23T01:00:47.990Z] ---> Running in 5d482264eba6 [2022-10-23T01:00:47.990Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-23T01:00:48.929Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-23T01:00:49.509Z] OK: 211 MiB in 51 packages [2022-10-23T01:00:49.769Z] Removing intermediate container 5d482264eba6 [2022-10-23T01:00:49.769Z] ---> b5ebc10ae27d [2022-10-23T01:00:49.769Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-23T01:00:49.769Z] ---> Running in b332e06d914e [2022-10-23T01:00:50.027Z] Removing intermediate container b332e06d914e [2022-10-23T01:00:50.027Z] ---> 2edda6b38cec [2022-10-23T01:00:50.027Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-23T01:00:50.027Z] ---> c8db100a6f0c [2022-10-23T01:00:50.027Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-23T01:00:50.027Z] ---> Running in 91192c6120d7 [2022-10-23T01:00:50.094Z] Still waiting to schedule task [2022-10-23T01:00:50.095Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8879’ [2022-10-23T01:01:11.977Z] Removing intermediate container 91192c6120d7 [2022-10-23T01:01:11.977Z] ---> 4ed9195f175f [2022-10-23T01:01:11.977Z] Step 13/14 : COPY . . [2022-10-23T01:01:11.977Z] ---> 975bad7f3a82 [2022-10-23T01:01:11.977Z] Step 14/14 : RUN ${MAKE} [2022-10-23T01:01:11.977Z] ---> Running in b3d7881fedd5 [2022-10-23T01:01:11.977Z] noop [2022-10-23T01:01:12.237Z] Removing intermediate container b3d7881fedd5 [2022-10-23T01:01:12.237Z] ---> c3cece826991 [2022-10-23T01:01:12.237Z] Successfully built c3cece826991 [2022-10-23T01:01:12.237Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-23T01:01:12.689Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-23T01:01:12.689Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-23T01:01:12.834Z] prd-ubuntu20.04-docker-8c-8g-8880 does not seem to be running inside a container [2022-10-23T01:01:12.858Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-182 -v /w/workspace/undry_device-onvif-camera_PR-182:/w/workspace/undry_device-onvif-camera_PR-182:rw,z -v /w/workspace/undry_device-onvif-camera_PR-182@tmp:/w/workspace/undry_device-onvif-camera_PR-182@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 ******** ci-base-image-x86_64 cat [2022-10-23T01:01:13.236Z] $ docker top 539f36167861091a25b195c756278bc4dc5770cebc1199f4c04a313469101a30 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-23T01:01:13.637Z] + go version [2022-10-23T01:01:13.637Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-23T01:01:13.669Z] $ docker stop --time=1 539f36167861091a25b195c756278bc4dc5770cebc1199f4c04a313469101a30 [2022-10-23T01:01:14.950Z] $ docker rm -f 539f36167861091a25b195c756278bc4dc5770cebc1199f4c04a313469101a30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-23T01:01:15.663Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-23T01:01:15.663Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-23T01:01:15.815Z] prd-ubuntu20.04-docker-8c-8g-8880 does not seem to be running inside a container [2022-10-23T01:01:15.840Z] $ 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-182 -v /w/workspace/undry_device-onvif-camera_PR-182:/w/workspace/undry_device-onvif-camera_PR-182:rw,z -v /w/workspace/undry_device-onvif-camera_PR-182@tmp:/w/workspace/undry_device-onvif-camera_PR-182@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 ******** ci-base-image-x86_64 cat [2022-10-23T01:01:16.239Z] $ docker top 1c4cb1496a230c14dc0b7f73fc56c8bb3d0238c612bfda8530feb5bdf65a3a97 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-23T01:01:16.631Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-182 [Pipeline] fileExists [Pipeline] sh [2022-10-23T01:01:16.976Z] + make test [2022-10-23T01:01:16.976Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-23T01:01:17.234Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-23T01:01:29.426Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-23T01:01:31.327Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.042s coverage: 29.3% of statements [2022-10-23T01:01:31.327Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-23T01:01:31.327Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.480s coverage: 86.5% of statements [2022-10-23T01:01:39.431Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-23T01:01:39.431Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-23T01:01:41.960Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-23T01:01:41.960Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-23T01:01:41.960Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-23T01:01:42.245Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-23T01:01:42.276Z] $ docker stop --time=1 1c4cb1496a230c14dc0b7f73fc56c8bb3d0238c612bfda8530feb5bdf65a3a97 [2022-10-23T01:01:44.153Z] $ docker rm -f 1c4cb1496a230c14dc0b7f73fc56c8bb3d0238c612bfda8530feb5bdf65a3a97 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-23T01:01:44.666Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-23T01:01:44.743Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-23T01:01:45.407Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-23T01:01:45.716Z] + ls -al . [2022-10-23T01:01:45.716Z] total 236 [2022-10-23T01:01:45.716Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 23 01:01 . [2022-10-23T01:01:45.716Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 01:00 .. [2022-10-23T01:01:45.716Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 23 01:01 .git [2022-10-23T01:01:45.716Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 23 01:00 .github [2022-10-23T01:01:45.716Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 23 01:00 .gitignore [2022-10-23T01:01:45.716Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 23 01:00 .golangci.yml [2022-10-23T01:01:45.716Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 23 01:00 .semver [2022-10-23T01:01:45.716Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 23 01:00 Attribution.txt [2022-10-23T01:01:45.716Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 23 01:00 CHANGELOG.md [2022-10-23T01:01:45.716Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 23 01:00 Dockerfile [2022-10-23T01:01:45.716Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 23 01:00 GOVERNANCE.md [2022-10-23T01:01:45.716Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 23 01:00 Jenkinsfile [2022-10-23T01:01:45.716Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 23 01:00 LICENSE [2022-10-23T01:01:45.716Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 23 01:00 Makefile [2022-10-23T01:01:45.716Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 23 01:00 OWNERS.md [2022-10-23T01:01:45.716Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 23 01:00 README.md [2022-10-23T01:01:45.716Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 23 01:00 VERSION [2022-10-23T01:01:45.716Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 01:00 bin [2022-10-23T01:01:45.716Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 23 01:00 cmd [2022-10-23T01:01:45.716Z] -rw-r--r-- 1 jenkins jenkins 79184 Oct 23 01:01 coverage.out [2022-10-23T01:01:45.716Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 23 01:00 doc [2022-10-23T01:01:45.716Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 23 01:00 go.mod [2022-10-23T01:01:45.716Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 23 01:00 go.sum [2022-10-23T01:01:45.716Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 01:00 internal [2022-10-23T01:01:45.716Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 01:00 snap [2022-10-23T01:01:45.716Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 23 01:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-23T01:01:46.118Z] + 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=ddd77a41f09bb63cbf3930549c8067b70c81881e --label arch=amd64 --label version=0.0.0 . [2022-10-23T01:01:46.118Z] Sending build context to Docker daemon 21.54MB [2022-10-23T01:01:46.118Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-23T01:01:46.118Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-23T01:01:46.118Z] ---> c3cece826991 [2022-10-23T01:01:46.118Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-23T01:01:46.378Z] ---> Running in e6b3807e1339 [2022-10-23T01:01:46.378Z] Removing intermediate container e6b3807e1339 [2022-10-23T01:01:46.378Z] ---> a3c13efde633 [2022-10-23T01:01:46.378Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-23T01:01:46.378Z] ---> Running in 7647f38810db [2022-10-23T01:01:46.636Z] Removing intermediate container 7647f38810db [2022-10-23T01:01:46.636Z] ---> abf51b9d45d2 [2022-10-23T01:01:46.636Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-23T01:01:46.636Z] ---> Running in f1e38c3da291 [2022-10-23T01:01:46.636Z] Removing intermediate container f1e38c3da291 [2022-10-23T01:01:46.636Z] ---> 4eae063e7998 [2022-10-23T01:01:46.636Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-23T01:01:46.636Z] ---> Running in 8d9d5811c8ca [2022-10-23T01:01:46.895Z] Removing intermediate container 8d9d5811c8ca [2022-10-23T01:01:46.895Z] ---> c75c5408834e [2022-10-23T01:01:46.895Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-23T01:01:46.895Z] ---> Running in e7360dcc3520 [2022-10-23T01:01:46.895Z] Removing intermediate container e7360dcc3520 [2022-10-23T01:01:46.895Z] ---> d5e3a71ab629 [2022-10-23T01:01:46.895Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-23T01:01:46.895Z] ---> Running in c81e9f93714d [2022-10-23T01:01:47.462Z] Removing intermediate container c81e9f93714d [2022-10-23T01:01:47.462Z] ---> 132db678752b [2022-10-23T01:01:47.462Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-23T01:01:47.462Z] ---> Running in 3ec43e8fccc0 [2022-10-23T01:01:47.723Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-23T01:01:48.663Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-23T01:01:48.924Z] OK: 211 MiB in 51 packages [2022-10-23T01:01:49.494Z] Removing intermediate container 3ec43e8fccc0 [2022-10-23T01:01:49.494Z] ---> 1ead7ca68b92 [2022-10-23T01:01:49.494Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-23T01:01:49.494Z] ---> Running in 693294964e11 [2022-10-23T01:01:49.494Z] Removing intermediate container 693294964e11 [2022-10-23T01:01:49.494Z] ---> 29aede2070cb [2022-10-23T01:01:49.494Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-23T01:01:49.494Z] ---> d60dd50e41ac [2022-10-23T01:01:49.494Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-23T01:01:49.753Z] ---> Running in 2593e9fbba06 [2022-10-23T01:01:50.321Z] Removing intermediate container 2593e9fbba06 [2022-10-23T01:01:50.321Z] ---> c401513a8019 [2022-10-23T01:01:50.321Z] Step 13/27 : COPY . . [2022-10-23T01:01:50.888Z] ---> c9e63da94f6b [2022-10-23T01:01:50.888Z] Step 14/27 : RUN ${MAKE} [2022-10-23T01:01:50.888Z] ---> Running in 96532c76f26c [2022-10-23T01:01:51.150Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-23T01:02:13.149Z] Removing intermediate container 96532c76f26c [2022-10-23T01:02:13.149Z] ---> 29d203158832 [2022-10-23T01:02:13.149Z] Step 15/27 : FROM alpine:3.16 [2022-10-23T01:02:13.149Z] 3.16: Pulling from library/alpine [2022-10-23T01:02:13.149Z] 213ec9aee27d: Already exists [2022-10-23T01:02:13.149Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-23T01:02:13.149Z] Status: Downloaded newer image for alpine:3.16 [2022-10-23T01:02:13.149Z] ---> 9c6f07244728 [2022-10-23T01:02:13.149Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-23T01:02:13.149Z] ---> Running in f6f728730c9c [2022-10-23T01:02:13.149Z] Removing intermediate container f6f728730c9c [2022-10-23T01:02:13.149Z] ---> 916a94d359a4 [2022-10-23T01:02:13.149Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-23T01:02:13.408Z] ---> Running in 6d62d1b0534c [2022-10-23T01:02:13.672Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-23T01:02:13.672Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-23T01:02:13.931Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-23T01:02:13.932Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-23T01:02:13.932Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-23T01:02:13.932Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-23T01:02:13.932Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-23T01:02:13.932Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-23T01:02:13.932Z] Executing busybox-1.35.0-r17.trigger [2022-10-23T01:02:13.932Z] OK: 8 MiB in 20 packages [2022-10-23T01:02:14.499Z] Removing intermediate container 6d62d1b0534c [2022-10-23T01:02:14.499Z] ---> c3fd18ed88cf [2022-10-23T01:02:14.499Z] Step 18/27 : WORKDIR / [2022-10-23T01:02:14.499Z] ---> Running in fa4a5d826bdb [2022-10-23T01:02:14.499Z] Removing intermediate container fa4a5d826bdb [2022-10-23T01:02:14.499Z] ---> 55d5ab44b254 [2022-10-23T01:02:14.499Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-23T01:02:15.065Z] ---> 75c9660f2187 [2022-10-23T01:02:15.065Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-23T01:02:15.324Z] ---> da32fe9f9ae1 [2022-10-23T01:02:15.324Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-23T01:02:15.324Z] ---> 66687655e488 [2022-10-23T01:02:15.324Z] Step 22/27 : EXPOSE 59984 [2022-10-23T01:02:15.583Z] ---> Running in bc4b1048c343 [2022-10-23T01:02:15.583Z] Removing intermediate container bc4b1048c343 [2022-10-23T01:02:15.583Z] ---> f872529261de [2022-10-23T01:02:15.583Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-23T01:02:15.583Z] ---> Running in 03c559be2ccc [2022-10-23T01:02:15.583Z] Removing intermediate container 03c559be2ccc [2022-10-23T01:02:15.583Z] ---> d29605fcb109 [2022-10-23T01:02:15.583Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-23T01:02:15.840Z] ---> Running in e4000b015876 [2022-10-23T01:02:15.840Z] Removing intermediate container e4000b015876 [2022-10-23T01:02:15.840Z] ---> 92edac1375b2 [2022-10-23T01:02:15.840Z] Step 25/27 : LABEL arch=amd64 [2022-10-23T01:02:15.840Z] ---> Running in 5ce023cf3f17 [2022-10-23T01:02:15.840Z] Removing intermediate container 5ce023cf3f17 [2022-10-23T01:02:15.840Z] ---> dea0e8e2644b [2022-10-23T01:02:15.840Z] Step 26/27 : LABEL git_sha=ddd77a41f09bb63cbf3930549c8067b70c81881e [2022-10-23T01:02:16.099Z] ---> Running in ed01d062658d [2022-10-23T01:02:16.099Z] Removing intermediate container ed01d062658d [2022-10-23T01:02:16.099Z] ---> e603c90c8c77 [2022-10-23T01:02:16.099Z] Step 27/27 : LABEL version=0.0.0 [2022-10-23T01:02:16.099Z] ---> Running in 038d8e652adb [2022-10-23T01:02:16.099Z] Removing intermediate container 038d8e652adb [2022-10-23T01:02:16.099Z] ---> b172760a96e6 [2022-10-23T01:02:16.099Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-23T01:02:16.099Z] Successfully built b172760a96e6 [2022-10-23T01:02:16.099Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-23T01:02:16.946Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-23T01:02:16.946Z] [2022-10-23T01:02:16.946Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-23T01:02:17.323Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-23T01:02:17.323Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-23T01:02:17.323Z] 5eb5b503b376: Pulling fs layer [2022-10-23T01:02:17.323Z] 5c69ac0246d0: Pulling fs layer [2022-10-23T01:02:17.323Z] ec43610c2a17: Pulling fs layer [2022-10-23T01:02:17.323Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-23T01:02:17.323Z] 33b1e0a273af: Pulling fs layer [2022-10-23T01:02:17.323Z] 5d3b04190fa2: Pulling fs layer [2022-10-23T01:02:17.323Z] 2f39f015ded8: Pulling fs layer [2022-10-23T01:02:17.323Z] 3a2ae6a8a46f: Waiting [2022-10-23T01:02:17.323Z] 33b1e0a273af: Waiting [2022-10-23T01:02:17.323Z] 5d3b04190fa2: Waiting [2022-10-23T01:02:17.323Z] 2f39f015ded8: Waiting [2022-10-23T01:02:17.323Z] 5c69ac0246d0: Verifying Checksum [2022-10-23T01:02:17.323Z] 5c69ac0246d0: Download complete [2022-10-23T01:02:17.323Z] 3a2ae6a8a46f: Download complete [2022-10-23T01:02:17.323Z] 33b1e0a273af: Verifying Checksum [2022-10-23T01:02:17.323Z] 33b1e0a273af: Download complete [2022-10-23T01:02:17.581Z] ec43610c2a17: Verifying Checksum [2022-10-23T01:02:17.581Z] ec43610c2a17: Download complete [2022-10-23T01:02:17.581Z] 5d3b04190fa2: Verifying Checksum [2022-10-23T01:02:17.581Z] 5d3b04190fa2: Download complete [2022-10-23T01:02:17.582Z] 5eb5b503b376: Verifying Checksum [2022-10-23T01:02:17.582Z] 5eb5b503b376: Download complete [2022-10-23T01:02:18.152Z] 2f39f015ded8: Verifying Checksum [2022-10-23T01:02:18.152Z] 2f39f015ded8: Download complete [2022-10-23T01:02:18.721Z] 5eb5b503b376: Pull complete [2022-10-23T01:02:18.721Z] 5c69ac0246d0: Pull complete [2022-10-23T01:02:19.286Z] ec43610c2a17: Pull complete [2022-10-23T01:02:19.286Z] 3a2ae6a8a46f: Pull complete [2022-10-23T01:02:19.545Z] 33b1e0a273af: Pull complete [2022-10-23T01:02:19.545Z] 5d3b04190fa2: Pull complete [2022-10-23T01:02:23.728Z] 2f39f015ded8: Pull complete [2022-10-23T01:02:23.728Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-23T01:02:23.728Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-23T01:02:23.728Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-23T01:02:23.944Z] prd-ubuntu20.04-docker-8c-8g-8880 does not seem to be running inside a container [2022-10-23T01:02:23.970Z] $ 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-182 -v /w/workspace/undry_device-onvif-camera_PR-182:/w/workspace/undry_device-onvif-camera_PR-182:rw,z -v /w/workspace/undry_device-onvif-camera_PR-182@tmp:/w/workspace/undry_device-onvif-camera_PR-182@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-23T01:02:25.813Z] $ docker top 9ac2942560c3460d16a0d19b2f46d49ba1b7122da4a99b43427f977fa6d48f6b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-23T01:02:26.294Z] ---> job-cost.sh [2022-10-23T01:02:26.294Z] lf-activate-venv: SKIPPING [2022-10-23T01:02:26.294Z] INFO: No Stack... [2022-10-23T01:02:26.553Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-23T01:02:27.120Z] INFO: Archiving Costs [Pipeline] sh [2022-10-23T01:02:27.432Z] + cat /w/workspace/undry_device-onvif-camera_PR-182/archives/cost.csv [2022-10-23T01:02:27.432Z] + cut -d, -f6 [Pipeline] lock [2022-10-23T01:02:27.469Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-182-1-stack-cost] [2022-10-23T01:02:27.475Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-182-1-stack-cost] did not exist. Created. [2022-10-23T01:02:27.475Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-182-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-23T01:02:27.861Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-23T01:02:27.908Z] Stashed 1 file(s) [Pipeline] } [2022-10-23T01:02:27.938Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-182-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-23T01:02:28.019Z] $ docker stop --time=1 9ac2942560c3460d16a0d19b2f46d49ba1b7122da4a99b43427f977fa6d48f6b [2022-10-23T01:02:29.169Z] $ docker rm -f 9ac2942560c3460d16a0d19b2f46d49ba1b7122da4a99b43427f977fa6d48f6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-23T01:04:17.791Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8881 in /w/workspace/undry_device-onvif-camera_PR-182 [Pipeline] { [Pipeline] ws [2022-10-23T01:04:17.834Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-10-23T01:04:17.911Z] The recommended git tool is: git [2022-10-23T01:04:23.062Z] using credential edgex-jenkins-ssh [2022-10-23T01:04:23.076Z] Cloning the remote Git repository [2022-10-23T01:04:23.120Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-23T01:04:23.198Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-10-23T01:04:23.359Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-23T01:04:23.360Z] > git --version # timeout=10 [2022-10-23T01:04:23.381Z] > git --version # 'git version 2.25.1' [2022-10-23T01:04:23.383Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-23T01:04:23.443Z] Verifying host key using known hosts file [2022-10-23T01:04:23.648Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-23T01:04:23.659Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-23T01:04:25.132Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-23T01:04:25.150Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-23T01:04:25.984Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-23T01:04:26.028Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-23T01:04:26.029Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-23T01:04:26.035Z] Verifying host key using known hosts file [2022-10-23T01:04:26.042Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-23T01:04:26.054Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/182/head:refs/remotes/origin/PR-182 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-23T01:04:26.701Z] Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit ec78aac8f60fa80343258aafea3521d8f996d761 [2022-10-23T01:04:27.315Z] Merge succeeded, producing e09dbd97b5be6197d3c45e56cd36d2ed68e62c7a [2022-10-23T01:04:27.315Z] Checking out Revision e09dbd97b5be6197d3c45e56cd36d2ed68e62c7a (PR-182) [2022-10-23T01:04:26.718Z] > git config core.sparsecheckout # timeout=10 [2022-10-23T01:04:26.739Z] > git checkout -f ec78aac8f60fa80343258aafea3521d8f996d761 # timeout=10 [2022-10-23T01:04:26.951Z] > git remote # timeout=10 [2022-10-23T01:04:26.969Z] > git config --get remote.origin.url # timeout=10 [2022-10-23T01:04:26.989Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-23T01:04:26.993Z] Verifying host key using known hosts file [2022-10-23T01:04:26.996Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-23T01:04:27.004Z] > git merge c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 [2022-10-23T01:04:27.300Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-23T01:04:27.323Z] > git config core.sparsecheckout # timeout=10 [2022-10-23T01:04:27.345Z] > git checkout -f e09dbd97b5be6197d3c45e56cd36d2ed68e62c7a # timeout=10 [2022-10-23T01:04:30.832Z] Commit message: "Merge commit 'c32d12cb3f3d5bd786ac66f0af1d84994387a230' into HEAD" [2022-10-23T01:04:30.832Z] First time build. Skipping changelog. [2022-10-23T01:04:30.890Z] > git --version # timeout=10 [2022-10-23T01:04:30.902Z] > git --version # 'git version 2.25.1' [2022-10-23T01:04:30.924Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-23T01:04:32.069Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-23T01:04:32.069Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-23T01:04:32.069Z] Dload Upload Total Spent Left Speed [2022-10-23T01:04:32.069Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 99k 0 --:--:-- --:--:-- --:--:-- 98k 100 12602 100 12602 0 0 98k 0 --:--:-- --:--:-- --:--:-- 97k [Pipeline] sh [2022-10-23T01:04:32.854Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-23T01:04:33.192Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-23T01:04:33.192Z] + sudo tee /etc/docker/daemon.new [2022-10-23T01:04:33.192Z] { [2022-10-23T01:04:33.192Z] "registry-mirrors": [ [2022-10-23T01:04:33.192Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-23T01:04:33.192Z] ], [2022-10-23T01:04:33.192Z] "bip": "10.250.0.254/24", [2022-10-23T01:04:33.192Z] "hosts": [ [2022-10-23T01:04:33.192Z] "tcp://0.0.0.0:5555", [2022-10-23T01:04:33.192Z] "unix:///var/run/docker.sock" [2022-10-23T01:04:33.192Z] ], [2022-10-23T01:04:33.192Z] "mtu": 1458, [2022-10-23T01:04:33.192Z] "selinux-enabled": true, [2022-10-23T01:04:33.192Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-23T01:04:33.192Z] } [Pipeline] sh [2022-10-23T01:04:33.530Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-23T01:04:33.884Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-23T01:04:52.215Z] provisioning config files... [2022-10-23T01:04:52.242Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config1222725144142466506tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-23T01:04:52.636Z] ---> docker-login.sh [2022-10-23T01:04:52.636Z] nexus3.edgexfoundry.org:10001 [2022-10-23T01:04:52.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-23T01:04:53.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-23T01:04:53.177Z] Configure a credential helper to remove this warning. See [2022-10-23T01:04:53.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-23T01:04:53.177Z] [2022-10-23T01:04:53.177Z] Login Succeeded [2022-10-23T01:04:53.177Z] nexus3.edgexfoundry.org:10002 [2022-10-23T01:04:53.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-23T01:04:53.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-23T01:04:53.715Z] Configure a credential helper to remove this warning. See [2022-10-23T01:04:53.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-23T01:04:53.715Z] [2022-10-23T01:04:53.715Z] Login Succeeded [2022-10-23T01:04:53.715Z] nexus3.edgexfoundry.org:10003 [2022-10-23T01:04:53.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-23T01:04:53.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-23T01:04:53.987Z] Configure a credential helper to remove this warning. See [2022-10-23T01:04:53.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-23T01:04:53.987Z] [2022-10-23T01:04:53.987Z] Login Succeeded [2022-10-23T01:04:53.987Z] nexus3.edgexfoundry.org:10004 [2022-10-23T01:04:54.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-23T01:04:54.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-23T01:04:54.259Z] Configure a credential helper to remove this warning. See [2022-10-23T01:04:54.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-23T01:04:54.259Z] [2022-10-23T01:04:54.259Z] Login Succeeded [2022-10-23T01:04:54.259Z] docker.io [2022-10-23T01:04:54.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-23T01:04:55.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-23T01:04:55.112Z] Configure a credential helper to remove this warning. See [2022-10-23T01:04:55.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-23T01:04:55.112Z] [2022-10-23T01:04:55.112Z] Login Succeeded [2022-10-23T01:04:55.112Z] ---> docker-login.sh ends [Pipeline] } [2022-10-23T01:04:55.142Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-23T01:04:55.423Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-23T01:04:55.458Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-23T01:04:55.490Z] ========================================================= [2022-10-23T01:04:55.490Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-23T01:04:55.490Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-23T01:04:55.971Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-23T01:04:56.558Z] Sending build context to Docker daemon 14.81MB [2022-10-23T01:04:56.558Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-23T01:04:56.558Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-23T01:04:56.835Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-23T01:04:56.835Z] 9b18e9b68314: Pulling fs layer [2022-10-23T01:04:56.835Z] d32db5db7311: Pulling fs layer [2022-10-23T01:04:56.835Z] d0c4b47475fc: Pulling fs layer [2022-10-23T01:04:56.835Z] 5831b945b038: Pulling fs layer [2022-10-23T01:04:56.835Z] 86bbec2aaacd: Pulling fs layer [2022-10-23T01:04:56.835Z] e10730c5d714: Pulling fs layer [2022-10-23T01:04:56.835Z] 5dd5c2283517: Pulling fs layer [2022-10-23T01:04:56.835Z] d5ac0230b979: Pulling fs layer [2022-10-23T01:04:56.835Z] 5831b945b038: Waiting [2022-10-23T01:04:56.835Z] e10730c5d714: Waiting [2022-10-23T01:04:56.835Z] 5dd5c2283517: Waiting [2022-10-23T01:04:56.835Z] 86bbec2aaacd: Waiting [2022-10-23T01:04:56.835Z] d5ac0230b979: Waiting [2022-10-23T01:04:56.835Z] d0c4b47475fc: Verifying Checksum [2022-10-23T01:04:56.835Z] d0c4b47475fc: Download complete [2022-10-23T01:04:56.835Z] d32db5db7311: Verifying Checksum [2022-10-23T01:04:56.835Z] d32db5db7311: Download complete [2022-10-23T01:04:56.835Z] 86bbec2aaacd: Download complete [2022-10-23T01:04:56.835Z] e10730c5d714: Verifying Checksum [2022-10-23T01:04:56.835Z] e10730c5d714: Download complete [2022-10-23T01:04:56.835Z] 9b18e9b68314: Verifying Checksum [2022-10-23T01:04:56.835Z] 9b18e9b68314: Download complete [2022-10-23T01:04:57.803Z] 9b18e9b68314: Pull complete [2022-10-23T01:04:58.071Z] d5ac0230b979: Verifying Checksum [2022-10-23T01:04:58.071Z] d5ac0230b979: Download complete [2022-10-23T01:04:58.343Z] d32db5db7311: Pull complete [2022-10-23T01:04:58.616Z] d0c4b47475fc: Pull complete [2022-10-23T01:04:59.216Z] 5dd5c2283517: Verifying Checksum [2022-10-23T01:04:59.216Z] 5dd5c2283517: Download complete [2022-10-23T01:04:59.802Z] 5831b945b038: Verifying Checksum [2022-10-23T01:04:59.802Z] 5831b945b038: Download complete [2022-10-23T01:05:12.139Z] 5831b945b038: Pull complete [2022-10-23T01:05:12.139Z] 86bbec2aaacd: Pull complete [2022-10-23T01:05:12.139Z] e10730c5d714: Pull complete [2022-10-23T01:05:18.812Z] 5dd5c2283517: Pull complete [2022-10-23T01:05:19.782Z] d5ac0230b979: Pull complete [2022-10-23T01:05:19.782Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-23T01:05:19.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-23T01:05:19.782Z] ---> 59b3b1a385d4 [2022-10-23T01:05:19.782Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-23T01:05:21.744Z] ---> Running in 65bcccce728c [2022-10-23T01:05:22.014Z] Removing intermediate container 65bcccce728c [2022-10-23T01:05:22.014Z] ---> fb776a48670b [2022-10-23T01:05:22.014Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-23T01:05:22.292Z] ---> Running in a5ad1161b918 [2022-10-23T01:05:22.560Z] Removing intermediate container a5ad1161b918 [2022-10-23T01:05:22.560Z] ---> 1755de5801f1 [2022-10-23T01:05:22.560Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-23T01:05:22.560Z] ---> Running in aa949fa09d1a [2022-10-23T01:05:22.830Z] Removing intermediate container aa949fa09d1a [2022-10-23T01:05:22.830Z] ---> 4752a7a972b8 [2022-10-23T01:05:22.830Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-23T01:05:23.099Z] ---> Running in c26fd2111a2d [2022-10-23T01:05:23.370Z] Removing intermediate container c26fd2111a2d [2022-10-23T01:05:23.370Z] ---> 5fef36bab19b [2022-10-23T01:05:23.370Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-23T01:05:23.370Z] ---> Running in 4c89345f9601 [2022-10-23T01:05:23.643Z] Removing intermediate container 4c89345f9601 [2022-10-23T01:05:23.643Z] ---> 2f1029443fd0 [2022-10-23T01:05:23.643Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-23T01:05:23.643Z] ---> Running in ca1e976b7767 [2022-10-23T01:05:25.599Z] Removing intermediate container ca1e976b7767 [2022-10-23T01:05:25.599Z] ---> ce772990863d [2022-10-23T01:05:25.599Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-23T01:05:25.599Z] ---> Running in 052dff595081 [2022-10-23T01:05:26.562Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-23T01:05:27.520Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-23T01:05:28.489Z] OK: 221 MiB in 51 packages [2022-10-23T01:05:29.452Z] Removing intermediate container 052dff595081 [2022-10-23T01:05:29.452Z] ---> bdfb2424626b [2022-10-23T01:05:29.452Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-23T01:05:29.452Z] ---> Running in 27c89727ea2d [2022-10-23T01:05:29.724Z] Removing intermediate container 27c89727ea2d [2022-10-23T01:05:29.724Z] ---> 5818f3744839 [2022-10-23T01:05:29.724Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-23T01:05:30.324Z] ---> 74c5675bbba9 [2022-10-23T01:05:30.324Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-23T01:05:30.324Z] ---> Running in aabfd9f68ee8 [2022-10-23T01:06:26.740Z] Removing intermediate container aabfd9f68ee8 [2022-10-23T01:06:26.740Z] ---> 731dad4385fc [2022-10-23T01:06:26.740Z] Step 13/14 : COPY . . [2022-10-23T01:06:26.740Z] ---> 313ee42da944 [2022-10-23T01:06:26.740Z] Step 14/14 : RUN ${MAKE} [2022-10-23T01:06:26.740Z] ---> Running in bd321221a627 [2022-10-23T01:06:27.703Z] noop [2022-10-23T01:06:28.289Z] Removing intermediate container bd321221a627 [2022-10-23T01:06:28.289Z] ---> 03a3c8bceb4b [2022-10-23T01:06:28.289Z] Successfully built 03a3c8bceb4b [2022-10-23T01:06:28.289Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-23T01:06:28.774Z] + docker inspect -f . ci-base-image-arm64 [2022-10-23T01:06:28.774Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-23T01:06:29.032Z] prd-ubuntu20.04-docker-arm64-4c-16g-8881 does not seem to be running inside a container [2022-10-23T01:06:29.090Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat [2022-10-23T01:06:30.214Z] $ docker top b72cccef01cf4f364a5b392ab82831db15dec05f3954380b6c85993bb0797ac7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-23T01:06:31.102Z] + go version [2022-10-23T01:06:31.103Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-23T01:06:31.136Z] $ docker stop --time=1 b72cccef01cf4f364a5b392ab82831db15dec05f3954380b6c85993bb0797ac7 [2022-10-23T01:06:32.732Z] $ docker rm -f b72cccef01cf4f364a5b392ab82831db15dec05f3954380b6c85993bb0797ac7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-23T01:06:33.573Z] + docker inspect -f . ci-base-image-arm64 [2022-10-23T01:06:33.573Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-23T01:06:33.824Z] prd-ubuntu20.04-docker-arm64-4c-16g-8881 does not seem to be running inside a container [2022-10-23T01:06:33.891Z] $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat [2022-10-23T01:06:35.050Z] $ docker top afa95cedc195620d00d231f421b6ec67d8f6d9cf5a6a0cd03031f6380092a75c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-23T01:06:35.919Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-10-23T01:06:36.294Z] + make test [2022-10-23T01:06:36.294Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-23T01:06:38.248Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-23T01:08:14.930Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-23T01:08:19.202Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.201s coverage: 29.3% of statements [2022-10-23T01:08:19.202Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-23T01:08:37.429Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.972s coverage: 86.5% of statements [2022-10-23T01:08:37.429Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-23T01:08:37.429Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-23T01:09:09.707Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-23T01:09:09.707Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-23T01:09:09.707Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-23T01:09:09.748Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-23T01:09:09.780Z] $ docker stop --time=1 afa95cedc195620d00d231f421b6ec67d8f6d9cf5a6a0cd03031f6380092a75c [2022-10-23T01:09:11.793Z] $ docker rm -f afa95cedc195620d00d231f421b6ec67d8f6d9cf5a6a0cd03031f6380092a75c [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-23T01:09:12.907Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-23T01:09:12.943Z] Warning: overwriting stash ‘coverage-report’ [2022-10-23T01:09:13.438Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-23T01:09:14.004Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-23T01:09:14.351Z] + ls -al . [2022-10-23T01:09:14.351Z] total 232 [2022-10-23T01:09:14.351Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 23 01:06 . [2022-10-23T01:09:14.351Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 01:04 .. [2022-10-23T01:09:14.351Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 23 01:04 .git [2022-10-23T01:09:14.351Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 23 01:04 .github [2022-10-23T01:09:14.351Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 23 01:04 .gitignore [2022-10-23T01:09:14.351Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 23 01:04 .golangci.yml [2022-10-23T01:09:14.351Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 23 01:04 Attribution.txt [2022-10-23T01:09:14.351Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 23 01:04 CHANGELOG.md [2022-10-23T01:09:14.351Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 23 01:04 Dockerfile [2022-10-23T01:09:14.351Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 23 01:04 GOVERNANCE.md [2022-10-23T01:09:14.351Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 23 01:04 Jenkinsfile [2022-10-23T01:09:14.351Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 23 01:04 LICENSE [2022-10-23T01:09:14.351Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 23 01:04 Makefile [2022-10-23T01:09:14.351Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 23 01:04 OWNERS.md [2022-10-23T01:09:14.351Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 23 01:04 README.md [2022-10-23T01:09:14.351Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 23 01:00 VERSION [2022-10-23T01:09:14.351Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 01:04 bin [2022-10-23T01:09:14.351Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 23 01:04 cmd [2022-10-23T01:09:14.351Z] -rw-r--r-- 1 jenkins jenkins 79184 Oct 23 01:08 coverage.out [2022-10-23T01:09:14.351Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 23 01:04 doc [2022-10-23T01:09:14.351Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 23 01:04 go.mod [2022-10-23T01:09:14.351Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 23 01:04 go.sum [2022-10-23T01:09:14.351Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 01:04 internal [2022-10-23T01:09:14.351Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 01:04 snap [2022-10-23T01:09:14.351Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 23 01:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-23T01:09:14.774Z] + 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=e09dbd97b5be6197d3c45e56cd36d2ed68e62c7a --label arch=arm64 --label version=0.0.0 . [2022-10-23T01:09:15.357Z] Sending build context to Docker daemon 14.89MB [2022-10-23T01:09:15.357Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-23T01:09:15.357Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-23T01:09:15.357Z] ---> 03a3c8bceb4b [2022-10-23T01:09:15.357Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-23T01:09:15.624Z] ---> Running in cd583ac03e5c [2022-10-23T01:09:16.207Z] Removing intermediate container cd583ac03e5c [2022-10-23T01:09:16.207Z] ---> 767e185b27b7 [2022-10-23T01:09:16.207Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-23T01:09:16.207Z] ---> Running in 7066b8ce880e [2022-10-23T01:09:16.476Z] Removing intermediate container 7066b8ce880e [2022-10-23T01:09:16.476Z] ---> 6b82be3312b2 [2022-10-23T01:09:16.476Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-23T01:09:16.746Z] ---> Running in 23e1ba74aceb [2022-10-23T01:09:17.027Z] Removing intermediate container 23e1ba74aceb [2022-10-23T01:09:17.027Z] ---> c4e25d41fcc1 [2022-10-23T01:09:17.027Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-23T01:09:17.294Z] ---> Running in bd293e3bab44 [2022-10-23T01:09:17.698Z] Removing intermediate container bd293e3bab44 [2022-10-23T01:09:17.698Z] ---> 010df8fba781 [2022-10-23T01:09:17.698Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-23T01:09:17.980Z] ---> Running in abf0601e26b7 [2022-10-23T01:09:18.270Z] Removing intermediate container abf0601e26b7 [2022-10-23T01:09:18.270Z] ---> e95876ebcfe9 [2022-10-23T01:09:18.270Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-23T01:09:18.270Z] ---> Running in 56f61a994739 [2022-10-23T01:09:20.326Z] Removing intermediate container 56f61a994739 [2022-10-23T01:09:20.326Z] ---> 3bca59ae1a31 [2022-10-23T01:09:20.326Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-23T01:09:20.326Z] ---> Running in 6a76810936b0 [2022-10-23T01:09:21.777Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-23T01:09:22.361Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-23T01:09:23.781Z] OK: 221 MiB in 51 packages [2022-10-23T01:09:26.371Z] Removing intermediate container 6a76810936b0 [2022-10-23T01:09:26.371Z] ---> 4a76517f5666 [2022-10-23T01:09:26.371Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-23T01:09:26.371Z] ---> Running in 1612825019cd [2022-10-23T01:09:26.371Z] Removing intermediate container 1612825019cd [2022-10-23T01:09:26.371Z] ---> 28461e5c6016 [2022-10-23T01:09:26.371Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-23T01:09:28.323Z] ---> dbb6917dc05d [2022-10-23T01:09:28.323Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-23T01:09:28.323Z] ---> Running in f679edcd351f [2022-10-23T01:09:31.677Z] Removing intermediate container f679edcd351f [2022-10-23T01:09:31.677Z] ---> b44e10e11522 [2022-10-23T01:09:31.677Z] Step 13/27 : COPY . . [2022-10-23T01:09:34.271Z] ---> e10c37a0f878 [2022-10-23T01:09:34.272Z] Step 14/27 : RUN ${MAKE} [2022-10-23T01:09:34.272Z] ---> Running in 9d7af67b381e [2022-10-23T01:09:36.221Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-23T01:12:12.945Z] Removing intermediate container 9d7af67b381e [2022-10-23T01:12:12.945Z] ---> c1d399ff3581 [2022-10-23T01:12:12.945Z] Step 15/27 : FROM alpine:3.16 [2022-10-23T01:12:12.945Z] 3.16: Pulling from library/alpine [2022-10-23T01:12:12.945Z] 9b18e9b68314: Already exists [2022-10-23T01:12:12.945Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-23T01:12:12.945Z] Status: Downloaded newer image for alpine:3.16 [2022-10-23T01:12:12.945Z] ---> a6215f271958 [2022-10-23T01:12:12.945Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-23T01:12:12.945Z] ---> Running in 0a150f046834 [2022-10-23T01:12:12.945Z] Removing intermediate container 0a150f046834 [2022-10-23T01:12:12.945Z] ---> bd3952b7189e [2022-10-23T01:12:12.945Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-23T01:12:12.945Z] ---> Running in b7fb0850b071 [2022-10-23T01:12:12.945Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-23T01:12:12.945Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-23T01:12:12.945Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-23T01:12:12.945Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-23T01:12:12.945Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-23T01:12:12.945Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-23T01:12:12.945Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-23T01:12:12.945Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-23T01:12:12.945Z] Executing busybox-1.35.0-r17.trigger [2022-10-23T01:12:12.945Z] OK: 8 MiB in 20 packages [2022-10-23T01:12:12.945Z] Removing intermediate container b7fb0850b071 [2022-10-23T01:12:12.945Z] ---> 004f9bbf75ae [2022-10-23T01:12:12.945Z] Step 18/27 : WORKDIR / [2022-10-23T01:12:12.945Z] ---> Running in 6ae7169536b4 [2022-10-23T01:12:12.945Z] Removing intermediate container 6ae7169536b4 [2022-10-23T01:12:12.945Z] ---> 315b010b5957 [2022-10-23T01:12:12.945Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-23T01:12:12.945Z] ---> 210faf2b9a49 [2022-10-23T01:12:12.945Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-23T01:12:12.945Z] ---> 49ae189e2ae3 [2022-10-23T01:12:12.945Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-23T01:12:12.945Z] ---> 05b0bf8777fb [2022-10-23T01:12:12.945Z] Step 22/27 : EXPOSE 59984 [2022-10-23T01:12:12.945Z] ---> Running in 8ed4b8c8bf04 [2022-10-23T01:12:12.945Z] Removing intermediate container 8ed4b8c8bf04 [2022-10-23T01:12:12.945Z] ---> 06fbaa086f39 [2022-10-23T01:12:12.945Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-23T01:12:12.945Z] ---> Running in e6004b4d4d78 [2022-10-23T01:12:12.945Z] Removing intermediate container e6004b4d4d78 [2022-10-23T01:12:12.945Z] ---> 29ec394cf991 [2022-10-23T01:12:12.945Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-23T01:12:12.945Z] ---> Running in f7bb646510dd [2022-10-23T01:12:12.945Z] Removing intermediate container f7bb646510dd [2022-10-23T01:12:12.945Z] ---> a49b92c31b86 [2022-10-23T01:12:12.945Z] Step 25/27 : LABEL arch=arm64 [2022-10-23T01:12:12.945Z] ---> Running in 853f33b27783 [2022-10-23T01:12:12.945Z] Removing intermediate container 853f33b27783 [2022-10-23T01:12:12.945Z] ---> e16386a8e759 [2022-10-23T01:12:12.945Z] Step 26/27 : LABEL git_sha=e09dbd97b5be6197d3c45e56cd36d2ed68e62c7a [2022-10-23T01:12:12.945Z] ---> Running in d54deaff7597 [2022-10-23T01:12:12.945Z] Removing intermediate container d54deaff7597 [2022-10-23T01:12:12.945Z] ---> 8eeecb916f16 [2022-10-23T01:12:12.945Z] Step 27/27 : LABEL version=0.0.0 [2022-10-23T01:12:12.945Z] ---> Running in e661196a1f9a [2022-10-23T01:12:12.945Z] Removing intermediate container e661196a1f9a [2022-10-23T01:12:12.945Z] ---> 60cd50e0ec9f [2022-10-23T01:12:12.945Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-23T01:12:12.945Z] Successfully built 60cd50e0ec9f [2022-10-23T01:12:12.945Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-23T01:12:13.759Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-23T01:12:13.759Z] [2022-10-23T01:12:13.759Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-23T01:12:14.161Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-23T01:12:14.161Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-23T01:12:14.161Z] 8998bd30e6a1: Pulling fs layer [2022-10-23T01:12:14.161Z] 04944245beec: Pulling fs layer [2022-10-23T01:12:14.161Z] 699f458cf7ca: Pulling fs layer [2022-10-23T01:12:14.161Z] 765212b225bb: Pulling fs layer [2022-10-23T01:12:14.161Z] f23df028b6ca: Pulling fs layer [2022-10-23T01:12:14.161Z] d65c8cfc05b1: Pulling fs layer [2022-10-23T01:12:14.161Z] 2437ff75d9bd: Pulling fs layer [2022-10-23T01:12:14.161Z] f23df028b6ca: Waiting [2022-10-23T01:12:14.161Z] d65c8cfc05b1: Waiting [2022-10-23T01:12:14.161Z] 2437ff75d9bd: Waiting [2022-10-23T01:12:14.161Z] 765212b225bb: Waiting [2022-10-23T01:12:14.430Z] 04944245beec: Verifying Checksum [2022-10-23T01:12:14.430Z] 04944245beec: Download complete [2022-10-23T01:12:14.430Z] 765212b225bb: Verifying Checksum [2022-10-23T01:12:14.430Z] 765212b225bb: Download complete [2022-10-23T01:12:14.430Z] f23df028b6ca: Verifying Checksum [2022-10-23T01:12:14.430Z] f23df028b6ca: Download complete [2022-10-23T01:12:14.430Z] d65c8cfc05b1: Verifying Checksum [2022-10-23T01:12:14.430Z] d65c8cfc05b1: Download complete [2022-10-23T01:12:14.699Z] 699f458cf7ca: Verifying Checksum [2022-10-23T01:12:14.699Z] 699f458cf7ca: Download complete [2022-10-23T01:12:14.967Z] 8998bd30e6a1: Verifying Checksum [2022-10-23T01:12:14.967Z] 8998bd30e6a1: Download complete [2022-10-23T01:12:17.546Z] 2437ff75d9bd: Verifying Checksum [2022-10-23T01:12:17.546Z] 2437ff75d9bd: Download complete [2022-10-23T01:12:18.955Z] 8998bd30e6a1: Pull complete [2022-10-23T01:12:19.223Z] 04944245beec: Pull complete [2022-10-23T01:12:20.635Z] 699f458cf7ca: Pull complete [2022-10-23T01:12:20.635Z] 765212b225bb: Pull complete [2022-10-23T01:12:21.595Z] f23df028b6ca: Pull complete [2022-10-23T01:12:21.595Z] d65c8cfc05b1: Pull complete [2022-10-23T01:12:36.609Z] 2437ff75d9bd: Pull complete [2022-10-23T01:12:36.609Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-23T01:12:36.609Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-23T01:12:36.609Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-23T01:12:36.923Z] prd-ubuntu20.04-docker-arm64-4c-16g-8881 does not seem to be running inside a container [2022-10-23T01:12:36.985Z] $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-23T01:12:39.521Z] $ docker top 883bff18d5a6fc6c6668ceebdf3f860e5b77b38424f07351fa8d546b17ec9fcc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-23T01:12:40.412Z] ---> job-cost.sh [2022-10-23T01:12:40.412Z] lf-activate-venv: SKIPPING [2022-10-23T01:12:40.412Z] INFO: No Stack... [2022-10-23T01:12:40.995Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-23T01:12:41.578Z] INFO: Archiving Costs [Pipeline] sh [2022-10-23T01:12:42.245Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-10-23T01:12:42.245Z] + cut -d, -f6 [Pipeline] lock [2022-10-23T01:12:42.298Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-182-1-stack-cost] [2022-10-23T01:12:42.303Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-182-1-stack-cost] did not exist. Created. [2022-10-23T01:12:42.303Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-182-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-23T01:12:43.037Z] /w/workspace/device-onvif-camera/1@tmp/durable-fb3e3a08/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-23T01:12:43.389Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-23T01:12:43.423Z] Warning: overwriting stash ‘stack-cost’ [2022-10-23T01:12:43.482Z] Stashed 1 file(s) [Pipeline] } [2022-10-23T01:12:43.497Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-182-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-23T01:12:43.579Z] $ docker stop --time=1 883bff18d5a6fc6c6668ceebdf3f860e5b77b38424f07351fa8d546b17ec9fcc [2022-10-23T01:12:45.062Z] $ docker rm -f 883bff18d5a6fc6c6668ceebdf3f860e5b77b38424f07351fa8d546b17ec9fcc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-23T01:12:46.031Z] provisioning config files... [2022-10-23T01:12:46.038Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-182@tmp/config4711623674479000169tmp [Pipeline] { [Pipeline] sh [2022-10-23T01:12:46.375Z] + set +x [2022-10-23T01:12:46.375Z] + curl -s https://codecov.io/bash [2022-10-23T01:12:46.375Z] + bash -s -- [2022-10-23T01:12:46.375Z] [2022-10-23T01:12:46.375Z] _____ _ [2022-10-23T01:12:46.375Z] / ____| | | [2022-10-23T01:12:46.375Z] | | ___ __| | ___ ___ _____ __ [2022-10-23T01:12:46.375Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-23T01:12:46.375Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-23T01:12:46.375Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-23T01:12:46.375Z] Bash-1.0.6 [2022-10-23T01:12:46.375Z] [2022-10-23T01:12:46.375Z] [2022-10-23T01:12:46.375Z] ==> git version 2.25.1 found [2022-10-23T01:12:46.375Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-23T01:12:46.375Z] Release-Date: 2020-01-08 [2022-10-23T01:12:46.375Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-23T01:12:46.375Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-23T01:12:46.375Z] ==> Jenkins CI detected. [2022-10-23T01:12:46.375Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-182 [2022-10-23T01:12:46.375Z] project root: . [2022-10-23T01:12:46.375Z] --> token set from env [2022-10-23T01:12:46.375Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-23T01:12:46.375Z] ==> Running gcov in . (disable via -X gcov) [2022-10-23T01:12:46.375Z] ==> Python coveragepy not found [2022-10-23T01:12:46.375Z] ==> Searching for coverage reports in: [2022-10-23T01:12:46.375Z] + . [2022-10-23T01:12:46.375Z] -> Found 1 reports [2022-10-23T01:12:46.375Z] ==> Detecting git/mercurial file structure [2022-10-23T01:12:46.633Z] ==> Reading reports [2022-10-23T01:12:46.633Z] + ./coverage.out bytes=79184 [2022-10-23T01:12:46.633Z] ==> Appending adjustments [2022-10-23T01:12:46.633Z] https://docs.codecov.io/docs/fixing-reports [2022-10-23T01:12:46.633Z] + Found adjustments [2022-10-23T01:12:46.633Z] ==> Gzipping contents [2022-10-23T01:12:46.633Z] 12K /tmp/codecov.UKyu6C.gz [2022-10-23T01:12:46.633Z] ==> Uploading reports [2022-10-23T01:12:46.633Z] url: https://codecov.io [2022-10-23T01:12:46.633Z] query: branch=PR-182&commit=ddd77a41f09bb63cbf3930549c8067b70c81881e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-182%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=182&job=&cmd_args= [2022-10-23T01:12:46.633Z] -> Pinging Codecov [2022-10-23T01:12:46.633Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-182&commit=ddd77a41f09bb63cbf3930549c8067b70c81881e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-182%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=182&job=&cmd_args= [2022-10-23T01:12:46.892Z] -> Uploading to [2022-10-23T01:12:46.892Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-23/F29A59C45E3A92E06B3E522C9905F8EF/ddd77a41f09bb63cbf3930549c8067b70c81881e/96ac5cc2-35c3-4f50-9710-6c9e3b8b1530.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221023%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221023T011246Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d198072e42f07c756f26a0ce7c47202155734aaad94e14759849ec24d9d65283 [2022-10-23T01:12:46.892Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-23T01:12:46.892Z] Dload Upload Total Spent Left Speed [2022-10-23T01:12:47.151Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10857 0 0 100 10857 0 41757 --:--:-- --:--:-- --:--:-- 41918 [2022-10-23T01:12:47.151Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/ddd77a41f09bb63cbf3930549c8067b70c81881e [Pipeline] } [2022-10-23T01:12:47.178Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-23T01:12:48.942Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-182/archives ] [2022-10-23T01:12:48.942Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-182/archives [2022-10-23T01:12:48.942Z] total 16 [2022-10-23T01:12:48.942Z] drwxr-xr-x 3 root root 4096 Oct 23 01:02 . [2022-10-23T01:12:48.942Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 23 01:02 .. [2022-10-23T01:12:48.942Z] drwxr-xr-x 2 root root 4096 Oct 23 01:02 cost [2022-10-23T01:12:48.942Z] -rw-r--r-- 1 root root 91 Oct 23 01:02 cost.csv [2022-10-23T01:12:48.942Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-182/archives [2022-10-23T01:12:48.942Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-182/archives [2022-10-23T01:12:48.942Z] total 16 [2022-10-23T01:12:48.942Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 23 01:02 . [2022-10-23T01:12:48.942Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 23 01:02 .. [2022-10-23T01:12:48.942Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 23 01:02 cost [2022-10-23T01:12:48.942Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 23 01:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-23T01:12:49.270Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-23T01:12:50.155Z] ---> package-listing.sh [2022-10-23T01:12:50.155Z] ++ facter osfamily [2022-10-23T01:12:50.155Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-23T01:12:50.415Z] + OS_FAMILY=debian [2022-10-23T01:12:50.415Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-182 [2022-10-23T01:12:50.415Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-23T01:12:50.415Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-23T01:12:50.415Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-23T01:12:50.415Z] + PACKAGES=/tmp/packages_start.txt [2022-10-23T01:12:50.415Z] + '[' /w/workspace/undry_device-onvif-camera_PR-182 ']' [2022-10-23T01:12:50.415Z] + PACKAGES=/tmp/packages_end.txt [2022-10-23T01:12:50.415Z] + case "${OS_FAMILY}" in [2022-10-23T01:12:50.415Z] + dpkg -l [2022-10-23T01:12:50.415Z] + grep '^ii' [2022-10-23T01:12:50.415Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-23T01:12:50.415Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-23T01:12:50.415Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-23T01:12:50.416Z] + '[' /w/workspace/undry_device-onvif-camera_PR-182 ']' [2022-10-23T01:12:50.416Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-182/archives/ [2022-10-23T01:12:50.416Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-182/archives/ [Pipeline] echo [2022-10-23T01:12:50.455Z] 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-182/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-23T01:12:50.740Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-23T01:12:51.362Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-23T01:12:51.363Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-23T01:12:51.504Z] prd-ubuntu20.04-docker-8c-8g-8880 does not seem to be running inside a container [2022-10-23T01:12:51.532Z] $ 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-182/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-182 -v /w/workspace/undry_device-onvif-camera_PR-182:/w/workspace/undry_device-onvif-camera_PR-182:rw,z -v /w/workspace/undry_device-onvif-camera_PR-182@tmp:/w/workspace/undry_device-onvif-camera_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-23T01:12:51.744Z] $ docker top c154d8d54e1c2f73f1b13b3582e3d3962bdf938be847e2ed9a699c367852c273 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-23T01:12:52.137Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-23T01:12:52.445Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-23T01:12:52.758Z] + ls /var/log/sa-host [2022-10-23T01:12:52.758Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-23T01:12:52.976Z] provisioning config files... [2022-10-23T01:12:52.984Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-182@tmp/config12962314898662277552tmp [Pipeline] { [Pipeline] echo [2022-10-23T01:12:53.034Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-23T01:12:53.343Z] ---> create-netrc.sh [Pipeline] } [2022-10-23T01:12:53.371Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-23T01:12:53.769Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-23T01:12:53.801Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-23T01:12:54.110Z] ---> sudo-logs.sh [2022-10-23T01:12:54.110Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-23T01:12:54.194Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-23T01:12:54.511Z] ---> job-cost.sh [2022-10-23T01:12:54.511Z] lf-activate-venv: SKIPPING [2022-10-23T01:12:54.511Z] DEBUG: total: 0.2199999988079071 [2022-10-23T01:12:54.511Z] INFO: Retrieving Stack Cost... [2022-10-23T01:12:54.770Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-23T01:12:55.338Z] INFO: Archiving Costs [Pipeline] echo [2022-10-23T01:12:55.370Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-23T01:12:55.688Z] ---> logs-deploy.sh [2022-10-23T01:12:55.688Z] lf-activate-venv: SKIPPING [2022-10-23T01:12:55.688Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-182/1 [2022-10-23T01:12:55.688Z] INFO: archiving workspace using pattern(s): [2022-10-23T01:12:56.623Z] Archives upload complete. [2022-10-23T01:12:56.623Z] INFO: archiving logs to Nexus