Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at c606ad227c7573c7ba828fdfaccb601fc033aacf rather than d437390197e4b33a9b1d58de54a754797261d788 Obtained Jenkinsfile from c606ad227c7573c7ba828fdfaccb601fc033aacf 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-ssh7535203170989982215.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-ssh10116466495492249351.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-182/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-182/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10470981997497582031.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 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-ssh11264453819769008096.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-182/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-182/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11235257359710051429.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-117398’ Running on prd-ubuntu20.04-docker-8c-8g-117405 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 Merging remotes/origin/main commit c606ad227c7573c7ba828fdfaccb601fc033aacf into PR head commit d437390197e4b33a9b1d58de54a754797261d788 Merge succeeded, producing 613caef4ad82c4800e6e46af2b864d9355a3e32a Checking out Revision 613caef4ad82c4800e6e46af2b864d9355a3e32a (PR-182) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f d437390197e4b33a9b1d58de54a754797261d788 # 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 c606ad227c7573c7ba828fdfaccb601fc033aacf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 613caef4ad82c4800e6e46af2b864d9355a3e32a # timeout=10 Commit message: "Merge commit 'c606ad227c7573c7ba828fdfaccb601fc033aacf' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-27T02:11:20.610Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-27T02:11:20.665Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-27T02:11:20.677Z] ========================================================= [2022-10-27T02:11:20.677Z] EdgeX Global Pipelines Version Info [2022-10-27T02:11:20.677Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk b7a606ef2e31158ba3c4e96448a27db7de414187 # timeout=10 [2022-10-27T02:11:21.373Z] ------------------- [2022-10-27T02:11:21.373Z] stable info: [2022-10-27T02:11:21.373Z] ------------------- [2022-10-27T02:11:21.373Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-27T02:11:21.373Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-27T02:11:21.373Z] Message: update stable to v1.0.243 [2022-10-27T02:11:21.942Z] ------------------- [2022-10-27T02:11:21.942Z] experimental info: [2022-10-27T02:11:21.942Z] ------------------- [2022-10-27T02:11:21.942Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-27T02:11:21.942Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-27T02:11:21.942Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-27T02:11:22.102Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-27T02:11:22.113Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-27T02:11:22.125Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-27T02:11:22.139Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-27T02:11:22.154Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-27T02:11:22.166Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-27T02:11:22.183Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-27T02:11:22.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-27T02:11:22.210Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-27T02:11:22.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-27T02:11:22.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-27T02:11:22.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-27T02:11:22.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-27T02:11:22.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-27T02:11:22.289Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-27T02:11:22.300Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-27T02:11:22.315Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-27T02:11:22.325Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-27T02:11:22.336Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-27T02:11:22.353Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-27T02:11:22.367Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-27T02:11:22.379Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-27T02:11:22.393Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-27T02:11:22.404Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-27T02:11:22.416Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-27T02:11:22.429Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-27T02:11:22.440Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-27T02:11:22.452Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-182 [Pipeline] echo [2022-10-27T02:11:22.469Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-182 [Pipeline] echo [2022-10-27T02:11:22.483Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-182 [Pipeline] echo [2022-10-27T02:11:22.493Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 613caef4ad82c4800e6e46af2b864d9355a3e32a [Pipeline] echo [2022-10-27T02:11:22.506Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 613caef [Pipeline] echo [2022-10-27T02:11:22.517Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-27T02:11:22.556Z] provisioning config files... [2022-10-27T02:11:22.568Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-182@tmp/config2075686269358255880tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-27T02:11:22.865Z] ---> docker-login.sh [2022-10-27T02:11:22.865Z] nexus3.edgexfoundry.org:10001 [2022-10-27T02:11:23.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T02:11:23.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T02:11:23.126Z] Configure a credential helper to remove this warning. See [2022-10-27T02:11:23.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T02:11:23.126Z] [2022-10-27T02:11:23.126Z] Login Succeeded [2022-10-27T02:11:23.126Z] nexus3.edgexfoundry.org:10002 [2022-10-27T02:11:23.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T02:11:23.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T02:11:23.386Z] Configure a credential helper to remove this warning. See [2022-10-27T02:11:23.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T02:11:23.386Z] [2022-10-27T02:11:23.386Z] Login Succeeded [2022-10-27T02:11:23.386Z] nexus3.edgexfoundry.org:10003 [2022-10-27T02:11:23.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T02:11:23.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T02:11:23.386Z] Configure a credential helper to remove this warning. See [2022-10-27T02:11:23.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T02:11:23.386Z] [2022-10-27T02:11:23.386Z] Login Succeeded [2022-10-27T02:11:23.386Z] nexus3.edgexfoundry.org:10004 [2022-10-27T02:11:23.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T02:11:23.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T02:11:23.386Z] Configure a credential helper to remove this warning. See [2022-10-27T02:11:23.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T02:11:23.386Z] [2022-10-27T02:11:23.386Z] Login Succeeded [2022-10-27T02:11:23.386Z] docker.io [2022-10-27T02:11:23.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T02:11:23.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T02:11:23.905Z] Configure a credential helper to remove this warning. See [2022-10-27T02:11:23.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T02:11:23.905Z] [2022-10-27T02:11:23.905Z] Login Succeeded [2022-10-27T02:11:23.905Z] ---> docker-login.sh ends [Pipeline] } [2022-10-27T02:11:23.915Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-27T02:11:24.286Z] + git rev-list -1 --merges 613caef4ad82c4800e6e46af2b864d9355a3e32a~1..613caef4ad82c4800e6e46af2b864d9355a3e32a [Pipeline] echo [2022-10-27T02:11:24.318Z] -----------> git rev-list -1 --merges 613caef4ad82c4800e6e46af2b864d9355a3e32a~1..613caef4ad82c4800e6e46af2b864d9355a3e32a 613caef4ad82c4800e6e46af2b864d9355a3e32a [2022-10-27T02:11:24.318Z] 613caef4ad82c4800e6e46af2b864d9355a3e32a [false] [Pipeline] sh [2022-10-27T02:11:24.604Z] + git log --format=format:%s -1 613caef4ad82c4800e6e46af2b864d9355a3e32a [Pipeline] echo [2022-10-27T02:11:24.618Z] ========================================================= [2022-10-27T02:11:24.618Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-27T02:11:24.618Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-27T02:11:24.935Z] + git log --format=format:%s -1 613caef4ad82c4800e6e46af2b864d9355a3e32a [Pipeline] echo [2022-10-27T02:11:24.945Z] [semverPrep] GIT_COMMIT: 613caef4ad82c4800e6e46af2b864d9355a3e32a, Commit Message: Merge commit 'c606ad227c7573c7ba828fdfaccb601fc033aacf' into HEAD [Pipeline] echo [2022-10-27T02:11:24.953Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-27T02:11:25.293Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-27T02:11:25.293Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-27T02:11:25.293Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-27T02:11:25.293Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-27T02:11:25.293Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-27T02:11:25.293Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-27T02:11:25.293Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T02:11:25.638Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-27T02:11:25.638Z] [2022-10-27T02:11:25.638Z] 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-27T02:11:25.937Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-27T02:11:25.937Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-27T02:11:25.937Z] b85a868b505f: Pulling fs layer [2022-10-27T02:11:25.937Z] e2be974225ed: Pulling fs layer [2022-10-27T02:11:25.937Z] 339a4e72a1f5: Pulling fs layer [2022-10-27T02:11:25.937Z] 988bab9f4d93: Pulling fs layer [2022-10-27T02:11:25.937Z] 1469e6f7b9e6: Pulling fs layer [2022-10-27T02:11:25.937Z] eaf3925da568: Pulling fs layer [2022-10-27T02:11:25.937Z] 988bab9f4d93: Waiting [2022-10-27T02:11:25.937Z] 1469e6f7b9e6: Waiting [2022-10-27T02:11:25.937Z] bab4dde63d76: Pulling fs layer [2022-10-27T02:11:25.937Z] bde34c3a00c8: Pulling fs layer [2022-10-27T02:11:25.937Z] eaf3925da568: Waiting [2022-10-27T02:11:25.937Z] bab4dde63d76: Waiting [2022-10-27T02:11:25.937Z] b352a97aabf1: Pulling fs layer [2022-10-27T02:11:25.937Z] 4872d77fe225: Pulling fs layer [2022-10-27T02:11:25.937Z] bde34c3a00c8: Waiting [2022-10-27T02:11:25.937Z] 5851b861e8e6: Pulling fs layer [2022-10-27T02:11:25.937Z] b352a97aabf1: Waiting [2022-10-27T02:11:25.937Z] 4872d77fe225: Waiting [2022-10-27T02:11:25.937Z] 5851b861e8e6: Waiting [2022-10-27T02:11:25.937Z] e2be974225ed: Verifying Checksum [2022-10-27T02:11:25.937Z] e2be974225ed: Download complete [2022-10-27T02:11:25.937Z] 988bab9f4d93: Download complete [2022-10-27T02:11:26.196Z] 1469e6f7b9e6: Verifying Checksum [2022-10-27T02:11:26.196Z] 1469e6f7b9e6: Download complete [2022-10-27T02:11:26.196Z] eaf3925da568: Verifying Checksum [2022-10-27T02:11:26.196Z] eaf3925da568: Download complete [2022-10-27T02:11:26.196Z] 339a4e72a1f5: Verifying Checksum [2022-10-27T02:11:26.196Z] 339a4e72a1f5: Download complete [2022-10-27T02:11:26.196Z] bde34c3a00c8: Download complete [2022-10-27T02:11:26.196Z] b352a97aabf1: Verifying Checksum [2022-10-27T02:11:26.196Z] b352a97aabf1: Download complete [2022-10-27T02:11:26.196Z] 4872d77fe225: Verifying Checksum [2022-10-27T02:11:26.196Z] 4872d77fe225: Download complete [2022-10-27T02:11:26.196Z] 5851b861e8e6: Verifying Checksum [2022-10-27T02:11:26.196Z] 5851b861e8e6: Download complete [2022-10-27T02:11:26.196Z] b85a868b505f: Download complete [2022-10-27T02:11:26.454Z] bab4dde63d76: Verifying Checksum [2022-10-27T02:11:26.454Z] bab4dde63d76: Download complete [2022-10-27T02:11:27.392Z] b85a868b505f: Pull complete [2022-10-27T02:11:27.650Z] e2be974225ed: Pull complete [2022-10-27T02:11:28.216Z] 339a4e72a1f5: Pull complete [2022-10-27T02:11:28.216Z] 988bab9f4d93: Pull complete [2022-10-27T02:11:28.475Z] 1469e6f7b9e6: Pull complete [2022-10-27T02:11:28.475Z] eaf3925da568: Pull complete [2022-10-27T02:11:30.380Z] bab4dde63d76: Pull complete [2022-10-27T02:11:30.380Z] bde34c3a00c8: Pull complete [2022-10-27T02:11:30.380Z] b352a97aabf1: Pull complete [2022-10-27T02:11:30.380Z] 4872d77fe225: Pull complete [2022-10-27T02:11:30.380Z] 5851b861e8e6: Pull complete [2022-10-27T02:11:30.380Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-27T02:11:30.380Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-27T02:11:30.380Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-27T02:11:30.471Z] prd-ubuntu20.04-docker-8c-8g-117405 does not seem to be running inside a container [2022-10-27T02:11:30.496Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-27T02:11:33.180Z] $ docker top 3d1db52ce2024d3ae36727b4e54bd995302b08286d87ce274cb51060d9e2ab21 -eo pid,comm [2022-10-27T02:11:33.237Z] 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-27T02:11:33.237Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-27T02:11:33.272Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-27T02:11:33.273Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-27T02:11:33.392Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-27T02:11:33.391Z] $ docker exec 3d1db52ce2024d3ae36727b4e54bd995302b08286d87ce274cb51060d9e2ab21 ssh-agent [2022-10-27T02:11:33.502Z] SSH_AUTH_SOCK=/tmp/ssh-PCZ9f4Hp8A7u/agent.32 [2022-10-27T02:11:33.502Z] SSH_AGENT_PID=38 [2022-10-27T02:11:33.507Z] Running ssh-add (command line suppressed) [2022-10-27T02:11:33.611Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-182@tmp/private_key_4122075551085552137.key (/w/workspace/undry_device-onvif-camera_PR-182@tmp/private_key_4122075551085552137.key) [2022-10-27T02:11:33.628Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-27T02:11:33.916Z] + git tag --points-at HEAD [Pipeline] } [2022-10-27T02:11:33.926Z] $ docker exec --env ******** --env ******** 3d1db52ce2024d3ae36727b4e54bd995302b08286d87ce274cb51060d9e2ab21 ssh-agent -k [2022-10-27T02:11:34.023Z] unset SSH_AUTH_SOCK; [2022-10-27T02:11:34.023Z] unset SSH_AGENT_PID; [2022-10-27T02:11:34.023Z] echo Agent pid 38 killed; [2022-10-27T02:11:34.047Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-27T02:11:34.074Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-27T02:11:34.074Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-27T02:11:34.179Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-27T02:11:34.177Z] $ docker exec 3d1db52ce2024d3ae36727b4e54bd995302b08286d87ce274cb51060d9e2ab21 ssh-agent [2022-10-27T02:11:34.284Z] SSH_AUTH_SOCK=/tmp/ssh-paiwx2KGTtHL/agent.70 [2022-10-27T02:11:34.285Z] SSH_AGENT_PID=76 [2022-10-27T02:11:34.289Z] Running ssh-add (command line suppressed) [2022-10-27T02:11:34.390Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-182@tmp/private_key_8205258394528440033.key (/w/workspace/undry_device-onvif-camera_PR-182@tmp/private_key_8205258394528440033.key) [2022-10-27T02:11:34.408Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-27T02:11:34.687Z] + git semver init [2022-10-27T02:11:34.947Z] 2022-10-27 02:11:34,861 [run_init] DEBUG init version:0.0.0 force:False [2022-10-27T02:11:34.947Z] 2022-10-27 02:11:34,862 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-182/.semver [2022-10-27T02:11:34.947Z] 2022-10-27 02:11:34,862 [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-27T02:11:34.947Z] 2022-10-27 02:11:34,862 [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-27T02:11:36.329Z] 2022-10-27 02:11:36,014 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-182/.git/info/exclude [2022-10-27T02:11:36.329Z] 2022-10-27 02:11:36,015 [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-27T02:11:36.329Z] 2022-10-27 02:11:36,015 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-182/.semver/PR-182 [2022-10-27T02:11:36.329Z] 2022-10-27 02:11:36,019 [execute] INFO git cat-file --batch-check [2022-10-27T02:11:36.329Z] 2022-10-27 02:11:36,020 [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-27T02:11:36.329Z] 2022-10-27 02:11:36,025 [execute] INFO git cat-file --batch [2022-10-27T02:11:36.329Z] 2022-10-27 02:11:36,025 [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-27T02:11:36.329Z] 2022-10-27 02:11:36,030 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-182/.semver/PR-182 [2022-10-27T02:11:36.329Z] 0.0.0 [Pipeline] } [2022-10-27T02:11:36.331Z] $ docker exec --env ******** --env ******** 3d1db52ce2024d3ae36727b4e54bd995302b08286d87ce274cb51060d9e2ab21 ssh-agent -k [2022-10-27T02:11:36.426Z] unset SSH_AUTH_SOCK; [2022-10-27T02:11:36.427Z] unset SSH_AGENT_PID; [2022-10-27T02:11:36.428Z] echo Agent pid 76 killed; [2022-10-27T02:11:36.444Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-27T02:11:36.756Z] + git semver [Pipeline] } [2022-10-27T02:11:37.035Z] $ docker stop --time=1 3d1db52ce2024d3ae36727b4e54bd995302b08286d87ce274cb51060d9e2ab21 [2022-10-27T02:11:38.328Z] $ docker rm -f 3d1db52ce2024d3ae36727b4e54bd995302b08286d87ce274cb51060d9e2ab21 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-27T02:11:38.679Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-27T02:11:38.848Z] Stashed 1 file(s) [Pipeline] echo [2022-10-27T02:11:38.850Z] [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-27T02:11:38.945Z] provisioning config files... [2022-10-27T02:11:38.953Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-182@tmp/config16229763721130305415tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-27T02:11:39.244Z] ---> docker-login.sh [2022-10-27T02:11:39.244Z] nexus3.edgexfoundry.org:10001 [2022-10-27T02:11:39.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T02:11:39.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T02:11:39.244Z] Configure a credential helper to remove this warning. See [2022-10-27T02:11:39.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T02:11:39.244Z] [2022-10-27T02:11:39.244Z] Login Succeeded [2022-10-27T02:11:39.244Z] nexus3.edgexfoundry.org:10002 [2022-10-27T02:11:39.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T02:11:39.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T02:11:39.244Z] Configure a credential helper to remove this warning. See [2022-10-27T02:11:39.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T02:11:39.244Z] [2022-10-27T02:11:39.244Z] Login Succeeded [2022-10-27T02:11:39.244Z] nexus3.edgexfoundry.org:10003 [2022-10-27T02:11:39.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T02:11:39.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T02:11:39.505Z] Configure a credential helper to remove this warning. See [2022-10-27T02:11:39.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T02:11:39.505Z] [2022-10-27T02:11:39.505Z] Login Succeeded [2022-10-27T02:11:39.505Z] nexus3.edgexfoundry.org:10004 [2022-10-27T02:11:39.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T02:11:39.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T02:11:39.505Z] Configure a credential helper to remove this warning. See [2022-10-27T02:11:39.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T02:11:39.505Z] [2022-10-27T02:11:39.505Z] Login Succeeded [2022-10-27T02:11:39.505Z] docker.io [2022-10-27T02:11:39.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T02:11:40.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T02:11:40.020Z] Configure a credential helper to remove this warning. See [2022-10-27T02:11:40.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T02:11:40.020Z] [2022-10-27T02:11:40.020Z] Login Succeeded [2022-10-27T02:11:40.020Z] ---> docker-login.sh ends [Pipeline] } [2022-10-27T02:11:40.027Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-27T02:11:40.093Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-27T02:11:40.109Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-27T02:11:40.119Z] ========================================================= [2022-10-27T02:11:40.119Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-27T02:11:40.119Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T02:11:40.447Z] + 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-27T02:11:40.447Z] Sending build context to Docker daemon 27.48MB [2022-10-27T02:11:40.447Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-27T02:11:40.447Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-27T02:11:40.711Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-27T02:11:40.711Z] 213ec9aee27d: Pulling fs layer [2022-10-27T02:11:40.711Z] 4583459ba037: Pulling fs layer [2022-10-27T02:11:40.711Z] 93c1e223e6f2: Pulling fs layer [2022-10-27T02:11:40.711Z] 53926ce57604: Pulling fs layer [2022-10-27T02:11:40.711Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-27T02:11:40.711Z] 30f14e443154: Pulling fs layer [2022-10-27T02:11:40.711Z] 801331c1e519: Pulling fs layer [2022-10-27T02:11:40.711Z] 99cc6dd402b0: Pulling fs layer [2022-10-27T02:11:40.711Z] 21b2b0c7a3f4: Waiting [2022-10-27T02:11:40.711Z] 30f14e443154: Waiting [2022-10-27T02:11:40.711Z] 801331c1e519: Waiting [2022-10-27T02:11:40.711Z] 7d9ed39f4882: Pulling fs layer [2022-10-27T02:11:40.711Z] 53926ce57604: Waiting [2022-10-27T02:11:40.711Z] 99cc6dd402b0: Waiting [2022-10-27T02:11:40.711Z] 93c1e223e6f2: Verifying Checksum [2022-10-27T02:11:40.711Z] 93c1e223e6f2: Download complete [2022-10-27T02:11:40.711Z] 4583459ba037: Verifying Checksum [2022-10-27T02:11:40.711Z] 4583459ba037: Download complete [2022-10-27T02:11:40.711Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-27T02:11:40.711Z] 21b2b0c7a3f4: Download complete [2022-10-27T02:11:40.711Z] 30f14e443154: Download complete [2022-10-27T02:11:40.711Z] 213ec9aee27d: Verifying Checksum [2022-10-27T02:11:40.711Z] 213ec9aee27d: Download complete [2022-10-27T02:11:40.711Z] 801331c1e519: Verifying Checksum [2022-10-27T02:11:40.711Z] 801331c1e519: Download complete [2022-10-27T02:11:40.980Z] 213ec9aee27d: Pull complete [2022-10-27T02:11:40.980Z] 4583459ba037: Pull complete [2022-10-27T02:11:40.980Z] 93c1e223e6f2: Pull complete [2022-10-27T02:11:41.243Z] 7d9ed39f4882: Verifying Checksum [2022-10-27T02:11:41.243Z] 7d9ed39f4882: Download complete [2022-10-27T02:11:41.243Z] 99cc6dd402b0: Verifying Checksum [2022-10-27T02:11:41.502Z] 53926ce57604: Verifying Checksum [2022-10-27T02:11:41.502Z] 53926ce57604: Download complete [2022-10-27T02:11:45.689Z] 53926ce57604: Pull complete [2022-10-27T02:11:45.689Z] 21b2b0c7a3f4: Pull complete [2022-10-27T02:11:45.689Z] 30f14e443154: Pull complete [2022-10-27T02:11:45.689Z] 801331c1e519: Pull complete [2022-10-27T02:11:47.585Z] 99cc6dd402b0: Pull complete [2022-10-27T02:11:48.520Z] 7d9ed39f4882: Pull complete [2022-10-27T02:11:48.520Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-27T02:11:48.520Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-27T02:11:48.520Z] ---> 1dedd983c030 [2022-10-27T02:11:48.520Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-27T02:11:53.796Z] ---> Running in 96596ed9780c [2022-10-27T02:11:53.796Z] Removing intermediate container 96596ed9780c [2022-10-27T02:11:53.796Z] ---> 0b2553b39afd [2022-10-27T02:11:53.796Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-27T02:11:53.796Z] ---> Running in d05f5601e15e [2022-10-27T02:11:53.796Z] Removing intermediate container d05f5601e15e [2022-10-27T02:11:53.796Z] ---> 720dcfa64468 [2022-10-27T02:11:53.796Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-27T02:11:53.796Z] ---> Running in 4ad6ca64700e [2022-10-27T02:11:53.796Z] Removing intermediate container 4ad6ca64700e [2022-10-27T02:11:53.796Z] ---> 30a7be622802 [2022-10-27T02:11:53.796Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-27T02:11:53.796Z] ---> Running in b778ab47e72c [2022-10-27T02:11:53.796Z] Removing intermediate container b778ab47e72c [2022-10-27T02:11:53.796Z] ---> 4fac16672560 [2022-10-27T02:11:53.796Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-10-27T02:11:53.796Z] ---> Running in c00b8ca32af0 [2022-10-27T02:11:53.796Z] Removing intermediate container c00b8ca32af0 [2022-10-27T02:11:53.796Z] ---> df90aaf3d820 [2022-10-27T02:11:53.796Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-27T02:11:53.796Z] ---> Running in 3953a381b5b0 [2022-10-27T02:11:53.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-27T02:11:53.919Z] Still waiting to schedule task [2022-10-27T02:11:53.919Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-117402’ [2022-10-27T02:11:54.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-27T02:11:54.054Z] OK: 211 MiB in 51 packages [2022-10-27T02:11:54.622Z] Removing intermediate container 3953a381b5b0 [2022-10-27T02:11:54.622Z] ---> c4ad86456c09 [2022-10-27T02:11:54.622Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-10-27T02:11:54.622Z] ---> Running in e63dad808606 [2022-10-27T02:11:54.881Z] Removing intermediate container e63dad808606 [2022-10-27T02:11:54.881Z] ---> 3838c9249ab5 [2022-10-27T02:11:54.881Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-27T02:11:54.881Z] ---> 7f54a9d8d662 [2022-10-27T02:11:54.881Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-27T02:11:54.881Z] ---> Running in 4e4091fd7a24 [2022-10-27T02:12:16.821Z] Removing intermediate container 4e4091fd7a24 [2022-10-27T02:12:16.821Z] ---> 35e12e9c5650 [2022-10-27T02:12:16.821Z] Step 12/13 : COPY . . [2022-10-27T02:12:16.821Z] ---> 0e4f0126cf0d [2022-10-27T02:12:16.821Z] Step 13/13 : RUN ${MAKE} [2022-10-27T02:12:16.821Z] ---> Running in cab2200b6a4b [2022-10-27T02:12:16.821Z] noop [2022-10-27T02:12:17.080Z] Removing intermediate container cab2200b6a4b [2022-10-27T02:12:17.080Z] ---> 3d0e68fe8257 [2022-10-27T02:12:17.080Z] Successfully built 3d0e68fe8257 [2022-10-27T02:12:17.080Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T02:12:17.379Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-27T02:12:17.379Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-27T02:12:17.441Z] prd-ubuntu20.04-docker-8c-8g-117405 does not seem to be running inside a container [2022-10-27T02:12:17.445Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-27T02:12:17.777Z] $ docker top 7991a9f2f99eaf991f19020c606b8f219a6c66e7652866dc7317b991c4f60ef3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-27T02:12:18.142Z] + go version [2022-10-27T02:12:18.142Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-27T02:12:18.130Z] $ docker stop --time=1 7991a9f2f99eaf991f19020c606b8f219a6c66e7652866dc7317b991c4f60ef3 [2022-10-27T02:12:20.898Z] $ docker rm -f 7991a9f2f99eaf991f19020c606b8f219a6c66e7652866dc7317b991c4f60ef3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T02:12:21.672Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-27T02:12:21.672Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-27T02:12:21.740Z] prd-ubuntu20.04-docker-8c-8g-117405 does not seem to be running inside a container [2022-10-27T02:12:21.748Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-27T02:12:24.085Z] $ docker top 140ba8f540159def9abf82d8b331425e3104e7991ada8159c5fdbfb62d28027b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-27T02:12:24.448Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-182 [Pipeline] fileExists [Pipeline] sh [2022-10-27T02:12:24.744Z] + make test [2022-10-27T02:12:24.744Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-27T02:12:25.003Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-27T02:12:34.967Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-27T02:12:38.251Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.043s coverage: 29.3% of statements [2022-10-27T02:12:38.251Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-27T02:12:38.251Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.487s coverage: 86.5% of statements [2022-10-27T02:12:46.359Z] 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-27T02:12:46.359Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-27T02:12:48.891Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-27T02:12:48.891Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-27T02:12:48.891Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-27T02:12:48.904Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-27T02:12:48.906Z] $ docker stop --time=1 140ba8f540159def9abf82d8b331425e3104e7991ada8159c5fdbfb62d28027b [2022-10-27T02:12:55.613Z] $ docker rm -f 140ba8f540159def9abf82d8b331425e3104e7991ada8159c5fdbfb62d28027b [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-27T02:12:56.054Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-27T02:12:56.109Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-27T02:12:56.539Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-27T02:12:56.836Z] + ls -al . [2022-10-27T02:12:56.836Z] total 244 [2022-10-27T02:12:56.836Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 27 02:12 . [2022-10-27T02:12:56.836Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 02:11 .. [2022-10-27T02:12:56.836Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 02:12 .git [2022-10-27T02:12:56.836Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 02:11 .github [2022-10-27T02:12:56.836Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 27 02:11 .gitignore [2022-10-27T02:12:56.836Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 27 02:11 .golangci.yml [2022-10-27T02:12:56.836Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 02:11 .semver [2022-10-27T02:12:56.836Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 27 02:11 Attribution.txt [2022-10-27T02:12:56.836Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 27 02:11 CHANGELOG.md [2022-10-27T02:12:56.836Z] -rw-rw-r-- 1 jenkins jenkins 1637 Oct 27 02:11 Dockerfile [2022-10-27T02:12:56.836Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 02:11 GOVERNANCE.md [2022-10-27T02:12:56.836Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 27 02:11 Jenkinsfile [2022-10-27T02:12:56.836Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 27 02:11 LICENSE [2022-10-27T02:12:56.836Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 27 02:11 Makefile [2022-10-27T02:12:56.836Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 27 02:11 OWNERS.md [2022-10-27T02:12:56.836Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 27 02:11 README.md [2022-10-27T02:12:56.836Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 02:11 VERSION [2022-10-27T02:12:56.836Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 02:11 bin [2022-10-27T02:12:56.836Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 02:11 cmd [2022-10-27T02:12:56.836Z] -rw-r--r-- 1 jenkins jenkins 79184 Oct 27 02:12 coverage.out [2022-10-27T02:12:56.836Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 27 02:11 doc [2022-10-27T02:12:56.836Z] -rw-rw-r-- 1 jenkins jenkins 3736 Oct 27 02:11 go.mod [2022-10-27T02:12:56.836Z] -rw-rw-r-- 1 jenkins jenkins 46203 Oct 27 02:11 go.sum [2022-10-27T02:12:56.836Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 02:11 internal [2022-10-27T02:12:56.836Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 02:11 snap [2022-10-27T02:12:56.836Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 27 02:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T02:12:57.139Z] + 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=613caef4ad82c4800e6e46af2b864d9355a3e32a --label arch=amd64 --label version=0.0.0 . [2022-10-27T02:12:57.139Z] Sending build context to Docker daemon 27.56MB [2022-10-27T02:12:57.139Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-27T02:12:57.139Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-27T02:12:57.139Z] ---> 3d0e68fe8257 [2022-10-27T02:12:57.139Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-27T02:12:58.516Z] ---> Running in 20a2a40d1a65 [2022-10-27T02:12:58.775Z] Removing intermediate container 20a2a40d1a65 [2022-10-27T02:12:58.775Z] ---> c91a0d9c5bf5 [2022-10-27T02:12:58.775Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-27T02:12:59.033Z] ---> Running in 6bb6147291fb [2022-10-27T02:12:59.598Z] Removing intermediate container 6bb6147291fb [2022-10-27T02:12:59.598Z] ---> 4dc6399d1d32 [2022-10-27T02:12:59.598Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-27T02:12:59.855Z] ---> Running in 763ad1064e3e [2022-10-27T02:13:00.421Z] Removing intermediate container 763ad1064e3e [2022-10-27T02:13:00.422Z] ---> 58374aff3eab [2022-10-27T02:13:00.422Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-27T02:13:00.989Z] ---> Running in 2f1a8f8a26e3 [2022-10-27T02:13:01.253Z] Removing intermediate container 2f1a8f8a26e3 [2022-10-27T02:13:01.253Z] ---> 1af84975c426 [2022-10-27T02:13:01.253Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-10-27T02:13:01.820Z] ---> Running in 613828da4ff4 [2022-10-27T02:13:02.386Z] Removing intermediate container 613828da4ff4 [2022-10-27T02:13:02.386Z] ---> 74b868f4eb22 [2022-10-27T02:13:02.386Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-27T02:13:02.645Z] ---> Running in 09ce9909d448 [2022-10-27T02:13:03.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-27T02:13:03.471Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-27T02:13:03.728Z] OK: 211 MiB in 51 packages [2022-10-27T02:13:05.107Z] Removing intermediate container 09ce9909d448 [2022-10-27T02:13:05.107Z] ---> a50c5ee2239f [2022-10-27T02:13:05.107Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-10-27T02:13:05.675Z] ---> Running in 4704da730fd3 [2022-10-27T02:13:06.241Z] Removing intermediate container 4704da730fd3 [2022-10-27T02:13:06.241Z] ---> 68079f9b7a64 [2022-10-27T02:13:06.241Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-27T02:13:06.499Z] ---> e339aee88cd3 [2022-10-27T02:13:06.499Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-27T02:13:06.499Z] ---> Running in d940168bf044 [2022-10-27T02:13:07.432Z] Removing intermediate container d940168bf044 [2022-10-27T02:13:07.432Z] ---> a4841e04f16f [2022-10-27T02:13:07.432Z] Step 12/26 : COPY . . [2022-10-27T02:13:08.000Z] ---> 8ab5d46b3b78 [2022-10-27T02:13:08.000Z] Step 13/26 : RUN ${MAKE} [2022-10-27T02:13:08.000Z] ---> Running in e63193912b59 [2022-10-27T02:13:08.258Z] 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.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-27T02:13:34.783Z] Removing intermediate container e63193912b59 [2022-10-27T02:13:34.783Z] ---> 337a92c072a6 [2022-10-27T02:13:34.783Z] Step 14/26 : FROM alpine:3.16 [2022-10-27T02:13:34.783Z] 3.16: Pulling from library/alpine [2022-10-27T02:13:34.783Z] 213ec9aee27d: Already exists [2022-10-27T02:13:34.783Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-27T02:13:34.783Z] Status: Downloaded newer image for alpine:3.16 [2022-10-27T02:13:34.783Z] ---> 9c6f07244728 [2022-10-27T02:13:34.783Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-27T02:13:34.783Z] ---> Running in c5e0fac9093c [2022-10-27T02:13:34.783Z] Removing intermediate container c5e0fac9093c [2022-10-27T02:13:34.783Z] ---> ef1eec04fac2 [2022-10-27T02:13:34.783Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-27T02:13:34.783Z] ---> Running in 5afbeaa10569 [2022-10-27T02:13:34.783Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-27T02:13:34.783Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-27T02:13:34.783Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-27T02:13:34.783Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-27T02:13:34.783Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-27T02:13:34.783Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-27T02:13:34.783Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-27T02:13:34.783Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-27T02:13:34.783Z] Executing busybox-1.35.0-r17.trigger [2022-10-27T02:13:34.783Z] OK: 8 MiB in 20 packages [2022-10-27T02:13:34.783Z] Removing intermediate container 5afbeaa10569 [2022-10-27T02:13:34.783Z] ---> a4b6784ab63d [2022-10-27T02:13:34.783Z] Step 17/26 : WORKDIR / [2022-10-27T02:13:34.783Z] ---> Running in 780472fed790 [2022-10-27T02:13:34.783Z] Removing intermediate container 780472fed790 [2022-10-27T02:13:34.783Z] ---> fe061e9e3fd9 [2022-10-27T02:13:34.783Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-27T02:13:34.783Z] ---> 5c1476e03221 [2022-10-27T02:13:34.783Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-27T02:13:35.042Z] ---> e1f978e29495 [2022-10-27T02:13:35.042Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-27T02:13:35.042Z] ---> 23c271545d27 [2022-10-27T02:13:35.042Z] Step 21/26 : EXPOSE 59984 [2022-10-27T02:13:35.042Z] ---> Running in 97ef173e38be [2022-10-27T02:13:35.042Z] Removing intermediate container 97ef173e38be [2022-10-27T02:13:35.042Z] ---> f46a1d1887eb [2022-10-27T02:13:35.042Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-27T02:13:35.042Z] ---> Running in fc80ddd5219a [2022-10-27T02:13:35.303Z] Removing intermediate container fc80ddd5219a [2022-10-27T02:13:35.304Z] ---> 8a659bf66d1f [2022-10-27T02:13:35.304Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-27T02:13:35.304Z] ---> Running in fe642c55fe60 [2022-10-27T02:13:35.304Z] Removing intermediate container fe642c55fe60 [2022-10-27T02:13:35.304Z] ---> c817fb59b2f7 [2022-10-27T02:13:35.304Z] Step 24/26 : LABEL arch=amd64 [2022-10-27T02:13:35.304Z] ---> Running in 1da5329b483f [2022-10-27T02:13:35.304Z] Removing intermediate container 1da5329b483f [2022-10-27T02:13:35.304Z] ---> 42cf9ec978e4 [2022-10-27T02:13:35.304Z] Step 25/26 : LABEL git_sha=613caef4ad82c4800e6e46af2b864d9355a3e32a [2022-10-27T02:13:35.304Z] ---> Running in 09ad002e23f6 [2022-10-27T02:13:35.564Z] Removing intermediate container 09ad002e23f6 [2022-10-27T02:13:35.564Z] ---> b163999a11e2 [2022-10-27T02:13:35.564Z] Step 26/26 : LABEL version=0.0.0 [2022-10-27T02:13:35.564Z] ---> Running in 72a39b321b4a [2022-10-27T02:13:35.564Z] Removing intermediate container 72a39b321b4a [2022-10-27T02:13:35.564Z] ---> 9f2a5950b9cd [2022-10-27T02:13:35.564Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-27T02:13:35.564Z] Successfully built 9f2a5950b9cd [2022-10-27T02:13:35.564Z] 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-27T02:13:36.011Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-27T02:13:36.012Z] [2022-10-27T02:13:36.012Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T02:13:36.312Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-27T02:13:36.312Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-27T02:13:36.312Z] 5eb5b503b376: Pulling fs layer [2022-10-27T02:13:36.312Z] 5c69ac0246d0: Pulling fs layer [2022-10-27T02:13:36.312Z] ec43610c2a17: Pulling fs layer [2022-10-27T02:13:36.312Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-27T02:13:36.312Z] 33b1e0a273af: Pulling fs layer [2022-10-27T02:13:36.312Z] 3a2ae6a8a46f: Waiting [2022-10-27T02:13:36.312Z] 5d3b04190fa2: Pulling fs layer [2022-10-27T02:13:36.312Z] 2f39f015ded8: Pulling fs layer [2022-10-27T02:13:36.312Z] 33b1e0a273af: Waiting [2022-10-27T02:13:36.312Z] 5d3b04190fa2: Waiting [2022-10-27T02:13:36.312Z] 5c69ac0246d0: Verifying Checksum [2022-10-27T02:13:36.312Z] 5c69ac0246d0: Download complete [2022-10-27T02:13:36.312Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-27T02:13:36.312Z] 3a2ae6a8a46f: Download complete [2022-10-27T02:13:36.571Z] ec43610c2a17: Verifying Checksum [2022-10-27T02:13:36.571Z] ec43610c2a17: Download complete [2022-10-27T02:13:36.571Z] 33b1e0a273af: Verifying Checksum [2022-10-27T02:13:36.571Z] 33b1e0a273af: Download complete [2022-10-27T02:13:36.571Z] 5d3b04190fa2: Verifying Checksum [2022-10-27T02:13:36.571Z] 5d3b04190fa2: Download complete [2022-10-27T02:13:36.571Z] 5eb5b503b376: Verifying Checksum [2022-10-27T02:13:36.571Z] 5eb5b503b376: Download complete [2022-10-27T02:13:37.135Z] 2f39f015ded8: Verifying Checksum [2022-10-27T02:13:37.135Z] 2f39f015ded8: Download complete [2022-10-27T02:13:37.699Z] 5eb5b503b376: Pull complete [2022-10-27T02:13:37.969Z] 5c69ac0246d0: Pull complete [2022-10-27T02:13:38.539Z] ec43610c2a17: Pull complete [2022-10-27T02:13:38.539Z] 3a2ae6a8a46f: Pull complete [2022-10-27T02:13:38.797Z] 33b1e0a273af: Pull complete [2022-10-27T02:13:39.055Z] 5d3b04190fa2: Pull complete [2022-10-27T02:13:43.237Z] 2f39f015ded8: Pull complete [2022-10-27T02:13:43.237Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-27T02:13:43.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-27T02:13:43.237Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-27T02:13:43.314Z] prd-ubuntu20.04-docker-8c-8g-117405 does not seem to be running inside a container [2022-10-27T02:13:43.338Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-27T02:13:47.903Z] $ docker top 08a3bfa2eae55cc293596b4764276fb6a175db105c37aa0caa7d1712db3c40c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-27T02:13:48.263Z] ---> job-cost.sh [2022-10-27T02:13:48.263Z] lf-activate-venv: SKIPPING [2022-10-27T02:13:48.263Z] INFO: No Stack... [2022-10-27T02:13:48.521Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-27T02:13:49.088Z] INFO: Archiving Costs [Pipeline] sh [2022-10-27T02:13:49.372Z] + cat /w/workspace/undry_device-onvif-camera_PR-182/archives/cost.csv [2022-10-27T02:13:49.373Z] + cut -d, -f6 [Pipeline] lock [2022-10-27T02:13:49.387Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-182-6-stack-cost] [2022-10-27T02:13:49.392Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-182-6-stack-cost] did not exist. Created. [2022-10-27T02:13:49.392Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-182-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-27T02:13:49.697Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-27T02:13:49.727Z] Stashed 1 file(s) [Pipeline] } [2022-10-27T02:13:49.733Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-182-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-27T02:13:49.751Z] $ docker stop --time=1 08a3bfa2eae55cc293596b4764276fb6a175db105c37aa0caa7d1712db3c40c1 [2022-10-27T02:13:50.895Z] $ docker rm -f 08a3bfa2eae55cc293596b4764276fb6a175db105c37aa0caa7d1712db3c40c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-27T02:14:54.174Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117408 in /w/workspace/undry_device-onvif-camera_PR-182 [Pipeline] { [Pipeline] ws [2022-10-27T02:14:54.185Z] Running in /w/workspace/device-onvif-camera/6 [Pipeline] { [Pipeline] checkout [2022-10-27T02:14:54.226Z] The recommended git tool is: git [2022-10-27T02:15:00.785Z] using credential edgex-jenkins-ssh [2022-10-27T02:15:00.801Z] Cloning the remote Git repository [2022-10-27T02:15:00.856Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-27T02:15:00.944Z] > git init /w/workspace/device-onvif-camera/6 # timeout=10 [2022-10-27T02:15:01.126Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-27T02:15:01.127Z] > git --version # timeout=10 [2022-10-27T02:15:01.153Z] > git --version # 'git version 2.25.1' [2022-10-27T02:15:01.156Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-27T02:15:01.219Z] Verifying host key using known hosts file [2022-10-27T02:15:01.476Z] 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-27T02:15:01.492Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-27T02:15:03.303Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-27T02:15:03.334Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-27T02:15:04.419Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-27T02:15:04.475Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-27T02:15:04.478Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-27T02:15:04.485Z] Verifying host key using known hosts file [2022-10-27T02:15:04.492Z] 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-27T02:15:04.507Z] > 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-27T02:15:05.190Z] Merging remotes/origin/main commit c606ad227c7573c7ba828fdfaccb601fc033aacf into PR head commit d437390197e4b33a9b1d58de54a754797261d788 [2022-10-27T02:15:05.213Z] > git config core.sparsecheckout # timeout=10 [2022-10-27T02:15:05.241Z] > git checkout -f d437390197e4b33a9b1d58de54a754797261d788 # timeout=10 [2022-10-27T02:15:05.512Z] > git remote # timeout=10 [2022-10-27T02:15:05.536Z] > git config --get remote.origin.url # timeout=10 [2022-10-27T02:15:05.568Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-27T02:15:05.575Z] Verifying host key using known hosts file [2022-10-27T02:15:05.580Z] 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-27T02:15:05.593Z] > git merge c606ad227c7573c7ba828fdfaccb601fc033aacf # timeout=10 [2022-10-27T02:15:06.324Z] Merge succeeded, producing ebf1bfe8d2c43c9aee301924cc21d14dd610ac05 [2022-10-27T02:15:06.325Z] Checking out Revision ebf1bfe8d2c43c9aee301924cc21d14dd610ac05 (PR-182) [2022-10-27T02:15:06.303Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-27T02:15:06.335Z] > git config core.sparsecheckout # timeout=10 [2022-10-27T02:15:06.356Z] > git checkout -f ebf1bfe8d2c43c9aee301924cc21d14dd610ac05 # timeout=10 [2022-10-27T02:15:09.936Z] Commit message: "Merge commit 'c606ad227c7573c7ba828fdfaccb601fc033aacf' into HEAD" [2022-10-27T02:15:09.972Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-27T02:15:10.846Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-27T02:15:10.846Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-27T02:15:10.846Z] Dload Upload Total Spent Left Speed [2022-10-27T02:15:10.846Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 130k 0 --:--:-- --:--:-- --:--:-- 132k [2022-10-27T02:15:09.948Z] > git rev-list --no-walk b7a606ef2e31158ba3c4e96448a27db7de414187 # timeout=10 [Pipeline] sh [2022-10-27T02:15:11.544Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-27T02:15:11.882Z] + sudo tee /etc/docker/daemon.new [2022-10-27T02:15:11.882Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-27T02:15:11.882Z] { [2022-10-27T02:15:11.882Z] "registry-mirrors": [ [2022-10-27T02:15:11.882Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-27T02:15:11.882Z] ], [2022-10-27T02:15:11.882Z] "bip": "10.250.0.254/24", [2022-10-27T02:15:11.882Z] "hosts": [ [2022-10-27T02:15:11.882Z] "tcp://0.0.0.0:5555", [2022-10-27T02:15:11.882Z] "unix:///var/run/docker.sock" [2022-10-27T02:15:11.882Z] ], [2022-10-27T02:15:11.882Z] "mtu": 1458, [2022-10-27T02:15:11.882Z] "selinux-enabled": true, [2022-10-27T02:15:11.882Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-27T02:15:11.882Z] } [Pipeline] sh [2022-10-27T02:15:12.217Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-27T02:15:12.560Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-27T02:15:30.949Z] provisioning config files... [2022-10-27T02:15:30.983Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config5490036118442938167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-27T02:15:31.374Z] ---> docker-login.sh [2022-10-27T02:15:31.374Z] nexus3.edgexfoundry.org:10001 [2022-10-27T02:15:31.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T02:15:31.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T02:15:31.969Z] Configure a credential helper to remove this warning. See [2022-10-27T02:15:31.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T02:15:31.969Z] [2022-10-27T02:15:31.969Z] Login Succeeded [2022-10-27T02:15:32.240Z] nexus3.edgexfoundry.org:10002 [2022-10-27T02:15:32.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T02:15:32.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T02:15:32.513Z] Configure a credential helper to remove this warning. See [2022-10-27T02:15:32.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T02:15:32.513Z] [2022-10-27T02:15:32.513Z] Login Succeeded [2022-10-27T02:15:32.513Z] nexus3.edgexfoundry.org:10003 [2022-10-27T02:15:32.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T02:15:33.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T02:15:33.057Z] Configure a credential helper to remove this warning. See [2022-10-27T02:15:33.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T02:15:33.057Z] [2022-10-27T02:15:33.057Z] Login Succeeded [2022-10-27T02:15:33.057Z] nexus3.edgexfoundry.org:10004 [2022-10-27T02:15:33.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T02:15:33.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T02:15:33.332Z] Configure a credential helper to remove this warning. See [2022-10-27T02:15:33.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T02:15:33.332Z] [2022-10-27T02:15:33.332Z] Login Succeeded [2022-10-27T02:15:33.332Z] docker.io [2022-10-27T02:15:33.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T02:15:34.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T02:15:34.193Z] Configure a credential helper to remove this warning. See [2022-10-27T02:15:34.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T02:15:34.193Z] [2022-10-27T02:15:34.193Z] Login Succeeded [2022-10-27T02:15:34.193Z] ---> docker-login.sh ends [Pipeline] } [2022-10-27T02:15:34.209Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-27T02:15:34.387Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-27T02:15:34.404Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-27T02:15:34.412Z] ========================================================= [2022-10-27T02:15:34.412Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-27T02:15:34.412Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T02:15:34.774Z] + 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-27T02:15:35.382Z] Sending build context to Docker daemon 20.44MB [2022-10-27T02:15:35.382Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-27T02:15:35.382Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-27T02:15:35.653Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-27T02:15:35.653Z] 9b18e9b68314: Pulling fs layer [2022-10-27T02:15:35.653Z] d32db5db7311: Pulling fs layer [2022-10-27T02:15:35.653Z] d0c4b47475fc: Pulling fs layer [2022-10-27T02:15:35.653Z] 5831b945b038: Pulling fs layer [2022-10-27T02:15:35.653Z] 86bbec2aaacd: Pulling fs layer [2022-10-27T02:15:35.653Z] e10730c5d714: Pulling fs layer [2022-10-27T02:15:35.653Z] 5dd5c2283517: Pulling fs layer [2022-10-27T02:15:35.653Z] d5ac0230b979: Pulling fs layer [2022-10-27T02:15:35.653Z] e10730c5d714: Waiting [2022-10-27T02:15:35.653Z] 5dd5c2283517: Waiting [2022-10-27T02:15:35.653Z] 5831b945b038: Waiting [2022-10-27T02:15:35.653Z] d5ac0230b979: Waiting [2022-10-27T02:15:35.653Z] 86bbec2aaacd: Waiting [2022-10-27T02:15:35.653Z] d0c4b47475fc: Verifying Checksum [2022-10-27T02:15:35.653Z] d0c4b47475fc: Download complete [2022-10-27T02:15:35.653Z] d32db5db7311: Verifying Checksum [2022-10-27T02:15:35.653Z] d32db5db7311: Download complete [2022-10-27T02:15:35.653Z] 86bbec2aaacd: Verifying Checksum [2022-10-27T02:15:35.653Z] 86bbec2aaacd: Download complete [2022-10-27T02:15:35.653Z] e10730c5d714: Verifying Checksum [2022-10-27T02:15:35.653Z] e10730c5d714: Download complete [2022-10-27T02:15:35.927Z] 9b18e9b68314: Verifying Checksum [2022-10-27T02:15:35.927Z] 9b18e9b68314: Download complete [2022-10-27T02:15:36.911Z] 9b18e9b68314: Pull complete [2022-10-27T02:15:36.911Z] d5ac0230b979: Verifying Checksum [2022-10-27T02:15:36.911Z] d5ac0230b979: Download complete [2022-10-27T02:15:37.191Z] d32db5db7311: Pull complete [2022-10-27T02:15:37.820Z] d0c4b47475fc: Pull complete [2022-10-27T02:15:38.413Z] 5dd5c2283517: Verifying Checksum [2022-10-27T02:15:38.413Z] 5dd5c2283517: Download complete [2022-10-27T02:15:39.004Z] 5831b945b038: Verifying Checksum [2022-10-27T02:15:39.004Z] 5831b945b038: Download complete [2022-10-27T02:15:51.360Z] 5831b945b038: Pull complete [2022-10-27T02:15:51.360Z] 86bbec2aaacd: Pull complete [2022-10-27T02:15:51.637Z] e10730c5d714: Pull complete [2022-10-27T02:15:58.322Z] 5dd5c2283517: Pull complete [2022-10-27T02:16:00.937Z] d5ac0230b979: Pull complete [2022-10-27T02:16:00.937Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-27T02:16:00.937Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-27T02:16:00.937Z] ---> 59b3b1a385d4 [2022-10-27T02:16:00.937Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-27T02:16:02.900Z] ---> Running in 69b1341111ce [2022-10-27T02:16:03.172Z] Removing intermediate container 69b1341111ce [2022-10-27T02:16:03.172Z] ---> 531663a96dff [2022-10-27T02:16:03.172Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-27T02:16:03.172Z] ---> Running in 871b95d74327 [2022-10-27T02:16:03.445Z] Removing intermediate container 871b95d74327 [2022-10-27T02:16:03.445Z] ---> 45df17a647f3 [2022-10-27T02:16:03.445Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-27T02:16:03.445Z] ---> Running in 2d64900d7a69 [2022-10-27T02:16:04.041Z] Removing intermediate container 2d64900d7a69 [2022-10-27T02:16:04.041Z] ---> 55041e0dfd76 [2022-10-27T02:16:04.041Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-27T02:16:04.041Z] ---> Running in d34f7975b92e [2022-10-27T02:16:04.312Z] Removing intermediate container d34f7975b92e [2022-10-27T02:16:04.312Z] ---> 6695aaf800bd [2022-10-27T02:16:04.312Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-10-27T02:16:04.312Z] ---> Running in f5e8c817602e [2022-10-27T02:16:04.897Z] Removing intermediate container f5e8c817602e [2022-10-27T02:16:04.897Z] ---> 83d261696ee7 [2022-10-27T02:16:04.897Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-27T02:16:04.897Z] ---> Running in ac69f131878e [2022-10-27T02:16:06.315Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-27T02:16:06.315Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-27T02:16:07.286Z] OK: 221 MiB in 51 packages [2022-10-27T02:16:08.266Z] Removing intermediate container ac69f131878e [2022-10-27T02:16:08.266Z] ---> 85fae198c85e [2022-10-27T02:16:08.266Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-10-27T02:16:08.266Z] ---> Running in 2687669123c5 [2022-10-27T02:16:08.537Z] Removing intermediate container 2687669123c5 [2022-10-27T02:16:08.537Z] ---> 791576a2bbe8 [2022-10-27T02:16:08.537Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-27T02:16:09.123Z] ---> 647b11c35a45 [2022-10-27T02:16:09.123Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-27T02:16:09.123Z] ---> Running in f48b20fedf9f [2022-10-27T02:17:05.564Z] Removing intermediate container f48b20fedf9f [2022-10-27T02:17:05.564Z] ---> 2ce69a7c6455 [2022-10-27T02:17:05.564Z] Step 12/13 : COPY . . [2022-10-27T02:17:06.149Z] ---> f49c49d50d56 [2022-10-27T02:17:06.149Z] Step 13/13 : RUN ${MAKE} [2022-10-27T02:17:06.422Z] ---> Running in 57236e6aed1c [2022-10-27T02:17:07.388Z] noop [2022-10-27T02:17:07.979Z] Removing intermediate container 57236e6aed1c [2022-10-27T02:17:07.979Z] ---> 03a5c522fa68 [2022-10-27T02:17:07.979Z] Successfully built 03a5c522fa68 [2022-10-27T02:17:07.979Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T02:17:08.344Z] + docker inspect -f . ci-base-image-arm64 [2022-10-27T02:17:08.344Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-27T02:17:08.547Z] prd-ubuntu20.04-docker-arm64-4c-16g-117408 does not seem to be running inside a container [2022-10-27T02:17:08.624Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-27T02:17:11.281Z] $ docker top f34bc6a94d7e5da55ba714df526c73b90274626e5baed4ad108bd79d5bff5239 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-27T02:17:12.122Z] + go version [2022-10-27T02:17:12.122Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-27T02:17:12.143Z] $ docker stop --time=1 f34bc6a94d7e5da55ba714df526c73b90274626e5baed4ad108bd79d5bff5239 [2022-10-27T02:17:13.776Z] $ docker rm -f f34bc6a94d7e5da55ba714df526c73b90274626e5baed4ad108bd79d5bff5239 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T02:17:14.309Z] + docker inspect -f . ci-base-image-arm64 [2022-10-27T02:17:14.309Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-27T02:17:14.482Z] prd-ubuntu20.04-docker-arm64-4c-16g-117408 does not seem to be running inside a container [2022-10-27T02:17:14.551Z] $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-27T02:17:15.748Z] $ docker top f7eadfa37364cf9a9ca88a89a4abb64d8efdba3a9f5cd68159e39b2789a2a841 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-27T02:17:16.581Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/6 [Pipeline] fileExists [Pipeline] sh [2022-10-27T02:17:17.233Z] + make test [2022-10-27T02:17:17.234Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-27T02:17:19.185Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-27T02:19:10.892Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-27T02:19:15.164Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.254s coverage: 29.3% of statements [2022-10-27T02:19:15.164Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-27T02:19:33.451Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.844s coverage: 86.5% of statements [2022-10-27T02:19:33.451Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-27T02:19:33.451Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-27T02:20:12.405Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-27T02:20:12.405Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-27T02:20:12.405Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-27T02:20:12.423Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-27T02:20:12.435Z] $ docker stop --time=1 f7eadfa37364cf9a9ca88a89a4abb64d8efdba3a9f5cd68159e39b2789a2a841 [2022-10-27T02:20:14.397Z] $ docker rm -f f7eadfa37364cf9a9ca88a89a4abb64d8efdba3a9f5cd68159e39b2789a2a841 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-27T02:20:15.470Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-27T02:20:15.489Z] Warning: overwriting stash ‘coverage-report’ [2022-10-27T02:20:16.159Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-27T02:20:16.551Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-27T02:20:16.893Z] + ls -al . [2022-10-27T02:20:16.893Z] total 240 [2022-10-27T02:20:16.893Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 27 02:17 . [2022-10-27T02:20:16.893Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 02:15 .. [2022-10-27T02:20:16.893Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 02:15 .git [2022-10-27T02:20:16.893Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 02:15 .github [2022-10-27T02:20:16.893Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 27 02:15 .gitignore [2022-10-27T02:20:16.893Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 27 02:15 .golangci.yml [2022-10-27T02:20:16.893Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 27 02:15 Attribution.txt [2022-10-27T02:20:16.893Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 27 02:15 CHANGELOG.md [2022-10-27T02:20:16.893Z] -rw-rw-r-- 1 jenkins jenkins 1637 Oct 27 02:15 Dockerfile [2022-10-27T02:20:16.893Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 02:15 GOVERNANCE.md [2022-10-27T02:20:16.893Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 27 02:15 Jenkinsfile [2022-10-27T02:20:16.893Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 27 02:15 LICENSE [2022-10-27T02:20:16.893Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 27 02:15 Makefile [2022-10-27T02:20:16.893Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 27 02:15 OWNERS.md [2022-10-27T02:20:16.893Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 27 02:15 README.md [2022-10-27T02:20:16.893Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 02:11 VERSION [2022-10-27T02:20:16.893Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 02:15 bin [2022-10-27T02:20:16.893Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 02:15 cmd [2022-10-27T02:20:16.893Z] -rw-r--r-- 1 jenkins jenkins 79184 Oct 27 02:19 coverage.out [2022-10-27T02:20:16.893Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 27 02:15 doc [2022-10-27T02:20:16.893Z] -rw-rw-r-- 1 jenkins jenkins 3736 Oct 27 02:15 go.mod [2022-10-27T02:20:16.893Z] -rw-rw-r-- 1 jenkins jenkins 46203 Oct 27 02:15 go.sum [2022-10-27T02:20:16.893Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 02:15 internal [2022-10-27T02:20:16.893Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 02:15 snap [2022-10-27T02:20:16.893Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 27 02:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T02:20:17.249Z] + 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=ebf1bfe8d2c43c9aee301924cc21d14dd610ac05 --label arch=arm64 --label version=0.0.0 . [2022-10-27T02:20:18.659Z] Sending build context to Docker daemon 20.52MB [2022-10-27T02:20:18.925Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-27T02:20:18.925Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-27T02:20:18.925Z] ---> 03a5c522fa68 [2022-10-27T02:20:18.925Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-27T02:20:18.925Z] ---> Running in f9590ea46850 [2022-10-27T02:20:19.515Z] Removing intermediate container f9590ea46850 [2022-10-27T02:20:19.516Z] ---> a465bcf65fd0 [2022-10-27T02:20:19.516Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-27T02:20:19.516Z] ---> Running in c72ea6829b1c [2022-10-27T02:20:20.110Z] Removing intermediate container c72ea6829b1c [2022-10-27T02:20:20.110Z] ---> 23c7c59ea56a [2022-10-27T02:20:20.110Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-27T02:20:20.110Z] ---> Running in 0974a97bd431 [2022-10-27T02:20:22.070Z] Removing intermediate container 0974a97bd431 [2022-10-27T02:20:22.070Z] ---> 690a7c936478 [2022-10-27T02:20:22.070Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-27T02:20:22.070Z] ---> Running in c4a38566294f [2022-10-27T02:20:22.341Z] Removing intermediate container c4a38566294f [2022-10-27T02:20:22.341Z] ---> 71b051d2889c [2022-10-27T02:20:22.341Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-10-27T02:20:22.341Z] ---> Running in 90daa3c32175 [2022-10-27T02:20:24.300Z] Removing intermediate container 90daa3c32175 [2022-10-27T02:20:24.300Z] ---> 2239dacacaaa [2022-10-27T02:20:24.300Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-27T02:20:24.300Z] ---> Running in 3bed509650bb [2022-10-27T02:20:25.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-27T02:20:25.854Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-27T02:20:26.830Z] OK: 221 MiB in 51 packages [2022-10-27T02:20:27.967Z] Removing intermediate container 3bed509650bb [2022-10-27T02:20:27.967Z] ---> 0e2a93af4f89 [2022-10-27T02:20:27.967Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-10-27T02:20:27.967Z] ---> Running in e2f650fee3c2 [2022-10-27T02:20:28.568Z] Removing intermediate container e2f650fee3c2 [2022-10-27T02:20:28.568Z] ---> 710e2e109df0 [2022-10-27T02:20:28.568Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-27T02:20:29.179Z] ---> c3e13a8fcc44 [2022-10-27T02:20:29.179Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-27T02:20:29.179Z] ---> Running in 3e44743952de [2022-10-27T02:20:31.807Z] Removing intermediate container 3e44743952de [2022-10-27T02:20:31.807Z] ---> ed8147ac8ac6 [2022-10-27T02:20:31.807Z] Step 12/26 : COPY . . [2022-10-27T02:20:33.218Z] ---> af19c855d750 [2022-10-27T02:20:33.218Z] Step 13/26 : RUN ${MAKE} [2022-10-27T02:20:33.218Z] ---> Running in c937b87871f6 [2022-10-27T02:20:34.180Z] 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.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-27T02:23:25.958Z] Removing intermediate container c937b87871f6 [2022-10-27T02:23:25.958Z] ---> 0c00b521ac63 [2022-10-27T02:23:25.958Z] Step 14/26 : FROM alpine:3.16 [2022-10-27T02:23:25.958Z] 3.16: Pulling from library/alpine [2022-10-27T02:23:25.958Z] 9b18e9b68314: Already exists [2022-10-27T02:23:25.958Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-27T02:23:25.958Z] Status: Downloaded newer image for alpine:3.16 [2022-10-27T02:23:25.958Z] ---> a6215f271958 [2022-10-27T02:23:25.958Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-27T02:23:25.958Z] ---> Running in 398ec1f8c256 [2022-10-27T02:23:25.958Z] Removing intermediate container 398ec1f8c256 [2022-10-27T02:23:25.958Z] ---> a328c52027da [2022-10-27T02:23:25.958Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-27T02:23:25.958Z] ---> Running in 357e2bddfb24 [2022-10-27T02:23:25.958Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-27T02:23:25.958Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-27T02:23:25.958Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-27T02:23:25.958Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-27T02:23:25.958Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-27T02:23:25.958Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-27T02:23:25.958Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-27T02:23:25.958Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-27T02:23:25.958Z] Executing busybox-1.35.0-r17.trigger [2022-10-27T02:23:25.958Z] OK: 8 MiB in 20 packages [2022-10-27T02:23:25.958Z] Removing intermediate container 357e2bddfb24 [2022-10-27T02:23:25.958Z] ---> 7653fdf5426e [2022-10-27T02:23:25.958Z] Step 17/26 : WORKDIR / [2022-10-27T02:23:25.958Z] ---> Running in b1dc49fba994 [2022-10-27T02:23:25.958Z] Removing intermediate container b1dc49fba994 [2022-10-27T02:23:25.958Z] ---> ebacfb842bb1 [2022-10-27T02:23:25.958Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-27T02:23:25.958Z] ---> 980a8dfbac9d [2022-10-27T02:23:25.958Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-27T02:23:25.958Z] ---> 4df19335b7ce [2022-10-27T02:23:25.958Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-27T02:23:25.958Z] ---> 0f4600b99144 [2022-10-27T02:23:25.958Z] Step 21/26 : EXPOSE 59984 [2022-10-27T02:23:25.958Z] ---> Running in 724adcfc7615 [2022-10-27T02:23:25.958Z] Removing intermediate container 724adcfc7615 [2022-10-27T02:23:25.958Z] ---> 1b12cc3ba134 [2022-10-27T02:23:25.958Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-27T02:23:25.958Z] ---> Running in 921957840a35 [2022-10-27T02:23:25.958Z] Removing intermediate container 921957840a35 [2022-10-27T02:23:25.958Z] ---> c9ecd17d2c11 [2022-10-27T02:23:25.958Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-27T02:23:25.958Z] ---> Running in 8fc4423794dc [2022-10-27T02:23:25.958Z] Removing intermediate container 8fc4423794dc [2022-10-27T02:23:25.958Z] ---> 7f386fd78e05 [2022-10-27T02:23:25.958Z] Step 24/26 : LABEL arch=arm64 [2022-10-27T02:23:25.958Z] ---> Running in 527aa56c2cb1 [2022-10-27T02:23:25.958Z] Removing intermediate container 527aa56c2cb1 [2022-10-27T02:23:25.958Z] ---> 9a612003f2e2 [2022-10-27T02:23:25.958Z] Step 25/26 : LABEL git_sha=ebf1bfe8d2c43c9aee301924cc21d14dd610ac05 [2022-10-27T02:23:25.958Z] ---> Running in 06a9d1f0a858 [2022-10-27T02:23:25.958Z] Removing intermediate container 06a9d1f0a858 [2022-10-27T02:23:25.958Z] ---> 0fb85910ea92 [2022-10-27T02:23:25.958Z] Step 26/26 : LABEL version=0.0.0 [2022-10-27T02:23:25.958Z] ---> Running in 9c9d0b41a327 [2022-10-27T02:23:25.958Z] Removing intermediate container 9c9d0b41a327 [2022-10-27T02:23:25.958Z] ---> 5c740d94286c [2022-10-27T02:23:25.958Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-27T02:23:25.958Z] Successfully built 5c740d94286c [2022-10-27T02:23:25.958Z] 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-27T02:23:26.420Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-27T02:23:26.420Z] [2022-10-27T02:23:26.420Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T02:23:26.753Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-27T02:23:26.753Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-27T02:23:26.753Z] 8998bd30e6a1: Pulling fs layer [2022-10-27T02:23:26.753Z] 04944245beec: Pulling fs layer [2022-10-27T02:23:26.753Z] 699f458cf7ca: Pulling fs layer [2022-10-27T02:23:26.753Z] 765212b225bb: Pulling fs layer [2022-10-27T02:23:26.753Z] f23df028b6ca: Pulling fs layer [2022-10-27T02:23:26.753Z] d65c8cfc05b1: Pulling fs layer [2022-10-27T02:23:26.753Z] 2437ff75d9bd: Pulling fs layer [2022-10-27T02:23:26.753Z] 765212b225bb: Waiting [2022-10-27T02:23:26.753Z] f23df028b6ca: Waiting [2022-10-27T02:23:26.753Z] d65c8cfc05b1: Waiting [2022-10-27T02:23:26.753Z] 2437ff75d9bd: Waiting [2022-10-27T02:23:27.026Z] 04944245beec: Verifying Checksum [2022-10-27T02:23:27.026Z] 04944245beec: Download complete [2022-10-27T02:23:27.026Z] 765212b225bb: Verifying Checksum [2022-10-27T02:23:27.026Z] 765212b225bb: Download complete [2022-10-27T02:23:27.026Z] f23df028b6ca: Download complete [2022-10-27T02:23:27.026Z] d65c8cfc05b1: Verifying Checksum [2022-10-27T02:23:27.026Z] d65c8cfc05b1: Download complete [2022-10-27T02:23:27.297Z] 699f458cf7ca: Verifying Checksum [2022-10-27T02:23:27.297Z] 699f458cf7ca: Download complete [2022-10-27T02:23:27.565Z] 8998bd30e6a1: Verifying Checksum [2022-10-27T02:23:27.565Z] 8998bd30e6a1: Download complete [2022-10-27T02:23:30.150Z] 2437ff75d9bd: Verifying Checksum [2022-10-27T02:23:30.150Z] 2437ff75d9bd: Download complete [2022-10-27T02:23:31.564Z] 8998bd30e6a1: Pull complete [2022-10-27T02:23:32.154Z] 04944245beec: Pull complete [2022-10-27T02:23:33.565Z] 699f458cf7ca: Pull complete [2022-10-27T02:23:33.565Z] 765212b225bb: Pull complete [2022-10-27T02:23:34.524Z] f23df028b6ca: Pull complete [2022-10-27T02:23:34.524Z] d65c8cfc05b1: Pull complete [2022-10-27T02:23:49.525Z] 2437ff75d9bd: Pull complete [2022-10-27T02:23:49.525Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-27T02:23:49.525Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-27T02:23:49.525Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-27T02:23:49.700Z] prd-ubuntu20.04-docker-arm64-4c-16g-117408 does not seem to be running inside a container [2022-10-27T02:23:49.762Z] $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-27T02:23:52.504Z] $ docker top f28a1421520f965eaf645e2a14522f3c2130cc88f081213d00e2e214182d6b33 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-27T02:23:53.343Z] ---> job-cost.sh [2022-10-27T02:23:53.343Z] lf-activate-venv: SKIPPING [2022-10-27T02:23:53.343Z] INFO: No Stack... [2022-10-27T02:23:53.926Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-27T02:23:54.511Z] INFO: Archiving Costs [Pipeline] sh [2022-10-27T02:23:55.155Z] + cut -d, -f6 [2022-10-27T02:23:55.155Z] + cat /w/workspace/device-onvif-camera/6/archives/cost.csv [Pipeline] lock [2022-10-27T02:23:55.190Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-182-6-stack-cost] [2022-10-27T02:23:55.199Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-182-6-stack-cost] did not exist. Created. [2022-10-27T02:23:55.199Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-182-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-27T02:23:55.846Z] /w/workspace/device-onvif-camera/6@tmp/durable-bcb6fb2c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-27T02:23:56.499Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-27T02:23:56.521Z] Warning: overwriting stash ‘stack-cost’ [2022-10-27T02:23:56.581Z] Stashed 1 file(s) [Pipeline] } [2022-10-27T02:23:56.587Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-182-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-27T02:23:56.606Z] $ docker stop --time=1 f28a1421520f965eaf645e2a14522f3c2130cc88f081213d00e2e214182d6b33 [2022-10-27T02:23:58.087Z] $ docker rm -f f28a1421520f965eaf645e2a14522f3c2130cc88f081213d00e2e214182d6b33 [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-27T02:23:58.460Z] provisioning config files... [2022-10-27T02:23:58.467Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-182@tmp/config1026793517260680511tmp [Pipeline] { [Pipeline] sh [2022-10-27T02:23:58.754Z] + set +x [2022-10-27T02:23:58.754Z] + + curl -s https://codecov.io/bash [2022-10-27T02:23:58.754Z] bash -s -- [2022-10-27T02:23:58.754Z] [2022-10-27T02:23:58.754Z] _____ _ [2022-10-27T02:23:58.754Z] / ____| | | [2022-10-27T02:23:58.754Z] | | ___ __| | ___ ___ _____ __ [2022-10-27T02:23:58.754Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-27T02:23:58.754Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-27T02:23:58.754Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-27T02:23:58.754Z] Bash-1.0.6 [2022-10-27T02:23:58.754Z] [2022-10-27T02:23:58.754Z] [2022-10-27T02:23:58.754Z] ==> git version 2.25.1 found [2022-10-27T02:23:58.754Z] ==> 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-27T02:23:58.754Z] Release-Date: 2020-01-08 [2022-10-27T02:23:58.754Z] 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-27T02:23:58.754Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-27T02:23:58.754Z] ==> Jenkins CI detected. [2022-10-27T02:23:58.754Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-182 [2022-10-27T02:23:58.754Z] project root: . [2022-10-27T02:23:58.754Z] --> token set from env [2022-10-27T02:23:58.754Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-27T02:23:58.754Z] ==> Running gcov in . (disable via -X gcov) [2022-10-27T02:23:58.754Z] ==> Python coveragepy not found [2022-10-27T02:23:58.754Z] ==> Searching for coverage reports in: [2022-10-27T02:23:58.754Z] + . [2022-10-27T02:23:58.754Z] -> Found 1 reports [2022-10-27T02:23:58.754Z] ==> Detecting git/mercurial file structure [2022-10-27T02:23:58.754Z] ==> Reading reports [2022-10-27T02:23:58.754Z] + ./coverage.out bytes=79184 [2022-10-27T02:23:58.754Z] ==> Appending adjustments [2022-10-27T02:23:58.754Z] https://docs.codecov.io/docs/fixing-reports [2022-10-27T02:23:59.014Z] + Found adjustments [2022-10-27T02:23:59.014Z] ==> Gzipping contents [2022-10-27T02:23:59.014Z] 12K /tmp/codecov.NGxqkC.gz [2022-10-27T02:23:59.014Z] ==> Uploading reports [2022-10-27T02:23:59.014Z] url: https://codecov.io [2022-10-27T02:23:59.014Z] query: branch=PR-182&commit=613caef4ad82c4800e6e46af2b864d9355a3e32a&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-182%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=182&job=&cmd_args= [2022-10-27T02:23:59.014Z] -> Pinging Codecov [2022-10-27T02:23:59.014Z] 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=613caef4ad82c4800e6e46af2b864d9355a3e32a&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-182%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=182&job=&cmd_args= [2022-10-27T02:23:59.274Z] -> Uploading to [2022-10-27T02:23:59.274Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-27/F29A59C45E3A92E06B3E522C9905F8EF/613caef4ad82c4800e6e46af2b864d9355a3e32a/95d0ac14-a957-43ec-84d2-46ee47e726cc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221027%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221027T022359Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=27183f69023193f809c809bfce2d13b67b08c80029eab0172fa6234d7abf7810 [2022-10-27T02:23:59.274Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-27T02:23:59.274Z] Dload Upload Total Spent Left Speed [2022-10-27T02:23:59.534Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10877 0 0 100 10877 0 50124 --:--:-- --:--:-- --:--:-- 50124 [2022-10-27T02:23:59.534Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/613caef4ad82c4800e6e46af2b864d9355a3e32a [Pipeline] } [2022-10-27T02:23:59.541Z] 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-27T02:24:00.265Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-182/archives ] [2022-10-27T02:24:00.266Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-182/archives [2022-10-27T02:24:00.266Z] total 16 [2022-10-27T02:24:00.266Z] drwxr-xr-x 3 root root 4096 Oct 27 02:13 . [2022-10-27T02:24:00.266Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 27 02:13 .. [2022-10-27T02:24:00.266Z] drwxr-xr-x 2 root root 4096 Oct 27 02:13 cost [2022-10-27T02:24:00.266Z] -rw-r--r-- 1 root root 91 Oct 27 02:13 cost.csv [2022-10-27T02:24:00.266Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-182/archives [2022-10-27T02:24:00.266Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-182/archives [2022-10-27T02:24:00.266Z] total 16 [2022-10-27T02:24:00.266Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 02:13 . [2022-10-27T02:24:00.266Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 27 02:13 .. [2022-10-27T02:24:00.266Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 27 02:13 cost [2022-10-27T02:24:00.266Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 27 02:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-27T02:24:00.560Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-27T02:24:01.419Z] ---> package-listing.sh [2022-10-27T02:24:01.419Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-27T02:24:01.419Z] ++ facter osfamily [2022-10-27T02:24:01.678Z] + OS_FAMILY=debian [2022-10-27T02:24:01.679Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-182 [2022-10-27T02:24:01.679Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-27T02:24:01.679Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-27T02:24:01.679Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-27T02:24:01.679Z] + PACKAGES=/tmp/packages_start.txt [2022-10-27T02:24:01.679Z] + '[' /w/workspace/undry_device-onvif-camera_PR-182 ']' [2022-10-27T02:24:01.679Z] + PACKAGES=/tmp/packages_end.txt [2022-10-27T02:24:01.679Z] + case "${OS_FAMILY}" in [2022-10-27T02:24:01.679Z] + dpkg -l [2022-10-27T02:24:01.679Z] + grep '^ii' [2022-10-27T02:24:01.679Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-27T02:24:01.679Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-27T02:24:01.679Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-27T02:24:01.679Z] + '[' /w/workspace/undry_device-onvif-camera_PR-182 ']' [2022-10-27T02:24:01.679Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-182/archives/ [2022-10-27T02:24:01.679Z] + 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-27T02:24:01.689Z] 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-27T02:24:01.968Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T02:24:02.530Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-27T02:24:02.530Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-27T02:24:02.595Z] prd-ubuntu20.04-docker-8c-8g-117405 does not seem to be running inside a container [2022-10-27T02:24:02.624Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-27T02:24:02.805Z] $ docker top 19fe0fd2691918bcbc728ce0ce6d50d5ac5ba9a597d596dba8e1c53d3994543d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-27T02:24:03.147Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-27T02:24:03.432Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-27T02:24:03.729Z] + ls /var/log/sa-host [2022-10-27T02:24:03.729Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-27T02:24:03.797Z] provisioning config files... [2022-10-27T02:24:03.807Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-182@tmp/config15119352501870855103tmp [Pipeline] { [Pipeline] echo [2022-10-27T02:24:03.821Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-27T02:24:04.103Z] ---> create-netrc.sh [Pipeline] } [2022-10-27T02:24:04.109Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-27T02:24:04.430Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-27T02:24:04.438Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-27T02:24:04.724Z] ---> sudo-logs.sh [2022-10-27T02:24:04.724Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-27T02:24:04.742Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-27T02:24:05.031Z] ---> job-cost.sh [2022-10-27T02:24:05.031Z] lf-activate-venv: SKIPPING [2022-10-27T02:24:05.031Z] DEBUG: total: 0.2199999988079071 [2022-10-27T02:24:05.031Z] INFO: Retrieving Stack Cost... [2022-10-27T02:24:05.599Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-27T02:24:06.167Z] INFO: Archiving Costs [Pipeline] echo [2022-10-27T02:24:06.176Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-27T02:24:06.462Z] ---> logs-deploy.sh [2022-10-27T02:24:06.462Z] lf-activate-venv: SKIPPING [2022-10-27T02:24:06.462Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-182/6 [2022-10-27T02:24:06.462Z] INFO: archiving workspace using pattern(s): [2022-10-27T02:24:07.403Z] Archives upload complete. [2022-10-27T02:24:07.403Z] INFO: archiving logs to Nexus