Pull request #94 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ajcasagrande for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from e808fee6c563d4229e1aa5e6588d93d475c5fb74+3bc4a4f14c266509a03f6bfa054e7774f1ea3255 (1f50fc0bf819b90e437c32ae638d64ae82531a05) 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-ssh11884066833127475127.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh1938619692311301391.key > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-94/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-94/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12780171391763461756.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-94/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10601165895561648877.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6373271250247916635.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-94/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-94/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6558976635841144621.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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] ========================================================= [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.17 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: false SWAGGER_API_FOLDERS: openapi/v1 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16365 in /w/workspace/oundry_device-onvif-camera_PR-94 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-94 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3bc4a4f14c266509a03f6bfa054e7774f1ea3255 into PR head commit e808fee6c563d4229e1aa5e6588d93d475c5fb74 Merge succeeded, producing e808fee6c563d4229e1aa5e6588d93d475c5fb74 Checking out Revision e808fee6c563d4229e1aa5e6588d93d475c5fb74 (PR-94) > git config core.sparsecheckout # timeout=10 > git checkout -f e808fee6c563d4229e1aa5e6588d93d475c5fb74 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3bc4a4f14c266509a03f6bfa054e7774f1ea3255 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e808fee6c563d4229e1aa5e6588d93d475c5fb74 # timeout=10 Commit message: "fix: remove gofrs-uuid" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-29T16:50:47.810Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-29T16:50:47.971Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-29T16:50:48.062Z] ========================================================= [2022-06-29T16:50:48.062Z] EdgeX Global Pipelines Version Info [2022-06-29T16:50:48.062Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:50:48.830Z] ------------------- [2022-06-29T16:50:48.831Z] stable info: [2022-06-29T16:50:48.831Z] ------------------- [2022-06-29T16:50:48.831Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-29T16:50:48.831Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T16:50:48.831Z] Message: update stable to v1.0.234 [2022-06-29T16:50:49.406Z] ------------------- [2022-06-29T16:50:49.406Z] experimental info: [2022-06-29T16:50:49.406Z] ------------------- [2022-06-29T16:50:49.406Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-29T16:50:49.406Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-06-29T16:50:49.406Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-29T16:50:49.715Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-29T16:50:49.755Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-29T16:50:49.791Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-29T16:50:49.828Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-29T16:50:49.867Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-29T16:50:49.902Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-29T16:50:49.940Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-29T16:50:49.983Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-29T16:50:50.025Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-29T16:50:50.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-29T16:50:50.111Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-29T16:50:50.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-29T16:50:50.193Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-29T16:50:50.231Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-29T16:50:50.271Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T16:50:50.313Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T16:50:50.356Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T16:50:50.400Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T16:50:50.440Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-29T16:50:50.485Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-29T16:50:50.524Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-29T16:50:50.559Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-29T16:50:50.596Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-29T16:50:50.639Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-29T16:50:50.676Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-29T16:50:50.716Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-29T16:50:50.760Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-29T16:50:50.800Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-94 [Pipeline] echo [2022-06-29T16:50:50.842Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-94 [Pipeline] echo [2022-06-29T16:50:50.885Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-94 [Pipeline] echo [2022-06-29T16:50:50.926Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e808fee6c563d4229e1aa5e6588d93d475c5fb74 [Pipeline] echo [2022-06-29T16:50:50.965Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e808fee [Pipeline] echo [2022-06-29T16:50:51.010Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T16:50:51.125Z] provisioning config files... [2022-06-29T16:50:51.140Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-94@tmp/config978395180293118134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:50:51.512Z] ---> docker-login.sh [2022-06-29T16:50:51.512Z] nexus3.edgexfoundry.org:10001 [2022-06-29T16:50:51.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:50:51.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:50:51.773Z] Configure a credential helper to remove this warning. See [2022-06-29T16:50:51.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:50:51.773Z] [2022-06-29T16:50:51.773Z] Login Succeeded [2022-06-29T16:50:51.773Z] nexus3.edgexfoundry.org:10002 [2022-06-29T16:50:52.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:50:52.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:50:52.034Z] Configure a credential helper to remove this warning. See [2022-06-29T16:50:52.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:50:52.034Z] [2022-06-29T16:50:52.034Z] Login Succeeded [2022-06-29T16:50:52.034Z] nexus3.edgexfoundry.org:10003 [2022-06-29T16:50:52.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:50:52.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:50:52.034Z] Configure a credential helper to remove this warning. See [2022-06-29T16:50:52.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:50:52.034Z] [2022-06-29T16:50:52.034Z] Login Succeeded [2022-06-29T16:50:52.034Z] nexus3.edgexfoundry.org:10004 [2022-06-29T16:50:52.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:50:52.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:50:52.295Z] Configure a credential helper to remove this warning. See [2022-06-29T16:50:52.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:50:52.295Z] [2022-06-29T16:50:52.295Z] Login Succeeded [2022-06-29T16:50:52.295Z] docker.io [2022-06-29T16:50:52.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:50:52.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:50:52.870Z] Configure a credential helper to remove this warning. See [2022-06-29T16:50:52.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:50:52.870Z] [2022-06-29T16:50:52.870Z] Login Succeeded [2022-06-29T16:50:52.870Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T16:50:52.898Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-29T16:50:53.555Z] + git rev-list -1 --merges e808fee6c563d4229e1aa5e6588d93d475c5fb74~1..e808fee6c563d4229e1aa5e6588d93d475c5fb74 [Pipeline] echo [2022-06-29T16:50:53.606Z] -----------> git rev-list -1 --merges e808fee6c563d4229e1aa5e6588d93d475c5fb74~1..e808fee6c563d4229e1aa5e6588d93d475c5fb74 e808fee6c563d4229e1aa5e6588d93d475c5fb74 [false] [Pipeline] sh [2022-06-29T16:50:53.917Z] + git log --format=format:%s -1 e808fee6c563d4229e1aa5e6588d93d475c5fb74 [Pipeline] echo [2022-06-29T16:50:53.949Z] ========================================================= [2022-06-29T16:50:53.949Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-29T16:50:53.949Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T16:50:54.388Z] + git log --format=format:%s -1 e808fee6c563d4229e1aa5e6588d93d475c5fb74 [Pipeline] echo [2022-06-29T16:50:54.422Z] [semverPrep] GIT_COMMIT: e808fee6c563d4229e1aa5e6588d93d475c5fb74, Commit Message: fix: remove gofrs-uuid [Pipeline] echo [2022-06-29T16:50:54.454Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-29T16:50:54.851Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-29T16:50:54.851Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-29T16:50:54.851Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-29T16:50:54.851Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-29T16:50:54.851Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-29T16:50:54.851Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-29T16:50:54.851Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:50:55.341Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T16:50:55.341Z] [2022-06-29T16:50:55.341Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:50:55.723Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T16:50:55.723Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-29T16:50:55.723Z] 42c077c10790: Pulling fs layer [2022-06-29T16:50:55.723Z] f63e77b7563a: Pulling fs layer [2022-06-29T16:50:55.723Z] bd5fdadae976: Pulling fs layer [2022-06-29T16:50:55.723Z] 205491f53016: Pulling fs layer [2022-06-29T16:50:55.723Z] df18705c85c3: Pulling fs layer [2022-06-29T16:50:55.723Z] bdb3f477010e: Pulling fs layer [2022-06-29T16:50:55.723Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-29T16:50:55.723Z] 205491f53016: Waiting [2022-06-29T16:50:55.723Z] df18705c85c3: Waiting [2022-06-29T16:50:55.723Z] bdb3f477010e: Waiting [2022-06-29T16:50:55.723Z] 2c6e9b1d212d: Pulling fs layer [2022-06-29T16:50:55.723Z] bdb8f0575790: Pulling fs layer [2022-06-29T16:50:55.723Z] c8a8fc8e1c8f: Waiting [2022-06-29T16:50:55.723Z] 2c6e9b1d212d: Waiting [2022-06-29T16:50:55.723Z] 386e3cb2ff24: Pulling fs layer [2022-06-29T16:50:55.723Z] 2343380bae48: Pulling fs layer [2022-06-29T16:50:55.723Z] bdb8f0575790: Waiting [2022-06-29T16:50:55.723Z] 2343380bae48: Waiting [2022-06-29T16:50:55.723Z] 386e3cb2ff24: Waiting [2022-06-29T16:50:55.723Z] f63e77b7563a: Download complete [2022-06-29T16:50:55.724Z] 205491f53016: Verifying Checksum [2022-06-29T16:50:55.724Z] 205491f53016: Download complete [2022-06-29T16:50:55.987Z] bd5fdadae976: Verifying Checksum [2022-06-29T16:50:55.987Z] bd5fdadae976: Download complete [2022-06-29T16:50:55.987Z] df18705c85c3: Verifying Checksum [2022-06-29T16:50:55.987Z] df18705c85c3: Download complete [2022-06-29T16:50:55.987Z] bdb3f477010e: Verifying Checksum [2022-06-29T16:50:55.987Z] bdb3f477010e: Download complete [2022-06-29T16:50:55.987Z] 2c6e9b1d212d: Verifying Checksum [2022-06-29T16:50:55.987Z] 2c6e9b1d212d: Download complete [2022-06-29T16:50:55.987Z] bdb8f0575790: Verifying Checksum [2022-06-29T16:50:55.987Z] bdb8f0575790: Download complete [2022-06-29T16:50:55.987Z] 386e3cb2ff24: Verifying Checksum [2022-06-29T16:50:55.987Z] 386e3cb2ff24: Download complete [2022-06-29T16:50:55.987Z] 2343380bae48: Verifying Checksum [2022-06-29T16:50:55.987Z] 2343380bae48: Download complete [2022-06-29T16:50:55.987Z] 42c077c10790: Download complete [2022-06-29T16:50:56.246Z] c8a8fc8e1c8f: Download complete [2022-06-29T16:50:57.184Z] 42c077c10790: Pull complete [2022-06-29T16:50:57.184Z] f63e77b7563a: Pull complete [2022-06-29T16:50:57.754Z] bd5fdadae976: Pull complete [2022-06-29T16:50:57.754Z] 205491f53016: Pull complete [2022-06-29T16:50:58.015Z] df18705c85c3: Pull complete [2022-06-29T16:50:58.015Z] bdb3f477010e: Pull complete [2022-06-29T16:50:59.929Z] c8a8fc8e1c8f: Pull complete [2022-06-29T16:50:59.929Z] 2c6e9b1d212d: Pull complete [2022-06-29T16:50:59.929Z] bdb8f0575790: Pull complete [2022-06-29T16:51:00.190Z] 386e3cb2ff24: Pull complete [2022-06-29T16:51:00.190Z] 2343380bae48: Pull complete [2022-06-29T16:51:00.190Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-29T16:51:00.190Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T16:51:00.190Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:51:00.430Z] prd-ubuntu20.04-docker-8c-8g-16365 does not seem to be running inside a container [2022-06-29T16:51:00.465Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-94 -v /w/workspace/oundry_device-onvif-camera_PR-94:/w/workspace/oundry_device-onvif-camera_PR-94:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-94@tmp:/w/workspace/oundry_device-onvif-camera_PR-94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-29T16:51:01.860Z] $ docker top 227fd27c384f32cf24da84e12218b38e84e39e875544d892de4a2e3f769bded7 -eo pid,comm [2022-06-29T16:51:01.923Z] 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-06-29T16:51:01.923Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-29T16:51:02.036Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T16:51:02.036Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T16:51:02.151Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T16:51:02.153Z] $ docker exec 227fd27c384f32cf24da84e12218b38e84e39e875544d892de4a2e3f769bded7 ssh-agent [2022-06-29T16:51:02.271Z] SSH_AUTH_SOCK=/tmp/ssh-dKZ6lguNQf9P/agent.32 [2022-06-29T16:51:02.271Z] SSH_AGENT_PID=39 [2022-06-29T16:51:02.277Z] Running ssh-add (command line suppressed) [2022-06-29T16:51:02.394Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-94@tmp/private_key_3606501817150691217.key (/w/workspace/oundry_device-onvif-camera_PR-94@tmp/private_key_3606501817150691217.key) [2022-06-29T16:51:02.410Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T16:51:02.738Z] + git tag --points-at HEAD [Pipeline] } [2022-06-29T16:51:02.762Z] $ docker exec --env ******** --env ******** 227fd27c384f32cf24da84e12218b38e84e39e875544d892de4a2e3f769bded7 ssh-agent -k [2022-06-29T16:51:02.875Z] unset SSH_AUTH_SOCK; [2022-06-29T16:51:02.875Z] unset SSH_AGENT_PID; [2022-06-29T16:51:02.875Z] echo Agent pid 39 killed; [2022-06-29T16:51:02.887Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-29T16:51:02.971Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T16:51:02.971Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T16:51:03.094Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T16:51:03.096Z] $ docker exec 227fd27c384f32cf24da84e12218b38e84e39e875544d892de4a2e3f769bded7 ssh-agent [2022-06-29T16:51:03.229Z] SSH_AUTH_SOCK=/tmp/ssh-4rSguYZnXXRs/agent.71 [2022-06-29T16:51:03.229Z] SSH_AGENT_PID=78 [2022-06-29T16:51:03.236Z] Running ssh-add (command line suppressed) [2022-06-29T16:51:03.342Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-94@tmp/private_key_3762268733299927457.key (/w/workspace/oundry_device-onvif-camera_PR-94@tmp/private_key_3762268733299927457.key) [2022-06-29T16:51:03.356Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T16:51:03.689Z] + git semver init [2022-06-29T16:51:03.948Z] 2022-06-29 16:51:03,886 [run_init] DEBUG init version:0.0.0 force:False [2022-06-29T16:51:03.948Z] 2022-06-29 16:51:03,886 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-94/.semver [2022-06-29T16:51:03.948Z] 2022-06-29 16:51:03,887 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-94/.semver [2022-06-29T16:51:03.948Z] 2022-06-29 16:51:03,887 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-94/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-94, universal_newlines=False, shell=None, istream=None) [2022-06-29T16:51:04.889Z] 2022-06-29 16:51:04,602 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-94/.git/info/exclude [2022-06-29T16:51:04.889Z] 2022-06-29 16:51:04,603 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-94/.semver/PR-94 with force:False [2022-06-29T16:51:04.889Z] 2022-06-29 16:51:04,603 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-94/.semver/PR-94 [2022-06-29T16:51:04.889Z] 2022-06-29 16:51:04,607 [execute] INFO git cat-file --batch-check [2022-06-29T16:51:04.889Z] 2022-06-29 16:51:04,608 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-94/.semver, universal_newlines=False, shell=None, istream=) [2022-06-29T16:51:04.889Z] 2022-06-29 16:51:04,614 [execute] INFO git cat-file --batch [2022-06-29T16:51:04.889Z] 2022-06-29 16:51:04,614 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-94/.semver, universal_newlines=False, shell=None, istream=) [2022-06-29T16:51:04.889Z] 2022-06-29 16:51:04,619 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-94/.semver/PR-94 [2022-06-29T16:51:04.889Z] 0.0.0 [Pipeline] } [2022-06-29T16:51:04.915Z] $ docker exec --env ******** --env ******** 227fd27c384f32cf24da84e12218b38e84e39e875544d892de4a2e3f769bded7 ssh-agent -k [2022-06-29T16:51:05.022Z] unset SSH_AUTH_SOCK; [2022-06-29T16:51:05.023Z] unset SSH_AGENT_PID; [2022-06-29T16:51:05.023Z] echo Agent pid 78 killed; [2022-06-29T16:51:05.033Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-29T16:51:05.448Z] + git semver [Pipeline] } [2022-06-29T16:51:05.732Z] $ docker stop --time=1 227fd27c384f32cf24da84e12218b38e84e39e875544d892de4a2e3f769bded7 [2022-06-29T16:51:07.092Z] $ docker rm -f 227fd27c384f32cf24da84e12218b38e84e39e875544d892de4a2e3f769bded7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T16:51:07.497Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-29T16:51:07.806Z] Stashed 1 file(s) [Pipeline] echo [2022-06-29T16:51:07.821Z] [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-06-29T16:51:08.388Z] provisioning config files... [2022-06-29T16:51:08.402Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-94@tmp/config3519221922865752149tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:51:08.746Z] ---> docker-login.sh [2022-06-29T16:51:08.746Z] nexus3.edgexfoundry.org:10001 [2022-06-29T16:51:08.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:51:08.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:51:08.746Z] Configure a credential helper to remove this warning. See [2022-06-29T16:51:08.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:51:08.746Z] [2022-06-29T16:51:08.746Z] Login Succeeded [2022-06-29T16:51:08.746Z] nexus3.edgexfoundry.org:10002 [2022-06-29T16:51:08.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:51:08.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:51:08.746Z] Configure a credential helper to remove this warning. See [2022-06-29T16:51:08.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:51:08.746Z] [2022-06-29T16:51:08.746Z] Login Succeeded [2022-06-29T16:51:08.746Z] nexus3.edgexfoundry.org:10003 [2022-06-29T16:51:09.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:51:09.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:51:09.006Z] Configure a credential helper to remove this warning. See [2022-06-29T16:51:09.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:51:09.006Z] [2022-06-29T16:51:09.006Z] Login Succeeded [2022-06-29T16:51:09.006Z] nexus3.edgexfoundry.org:10004 [2022-06-29T16:51:09.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:51:09.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:51:09.006Z] Configure a credential helper to remove this warning. See [2022-06-29T16:51:09.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:51:09.006Z] [2022-06-29T16:51:09.006Z] Login Succeeded [2022-06-29T16:51:09.006Z] docker.io [2022-06-29T16:51:09.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:51:09.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:51:09.530Z] Configure a credential helper to remove this warning. See [2022-06-29T16:51:09.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:51:09.530Z] [2022-06-29T16:51:09.530Z] Login Succeeded [2022-06-29T16:51:09.530Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T16:51:09.557Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T16:51:09.741Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T16:51:09.778Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T16:51:09.806Z] ========================================================= [2022-06-29T16:51:09.806Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-29T16:51:09.806Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:51:10.264Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-29T16:51:10.264Z] Sending build context to Docker daemon 9.339MB [2022-06-29T16:51:10.264Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T16:51:10.264Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-29T16:51:10.264Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-29T16:51:10.264Z] 59bf1c3509f3: Pulling fs layer [2022-06-29T16:51:10.264Z] 666ba61612fd: Pulling fs layer [2022-06-29T16:51:10.264Z] 8ed8ca486205: Pulling fs layer [2022-06-29T16:51:10.265Z] cc1cd167ecdc: Pulling fs layer [2022-06-29T16:51:10.265Z] c516ae0d96e1: Pulling fs layer [2022-06-29T16:51:10.265Z] 684cea983483: Pulling fs layer [2022-06-29T16:51:10.265Z] dd3240ac7de5: Pulling fs layer [2022-06-29T16:51:10.265Z] b1e948a4e11c: Pulling fs layer [2022-06-29T16:51:10.265Z] a8fd76ee1af6: Pulling fs layer [2022-06-29T16:51:10.265Z] 646ad004c059: Pulling fs layer [2022-06-29T16:51:10.265Z] 684cea983483: Waiting [2022-06-29T16:51:10.265Z] dd3240ac7de5: Waiting [2022-06-29T16:51:10.265Z] b1e948a4e11c: Waiting [2022-06-29T16:51:10.265Z] a8fd76ee1af6: Waiting [2022-06-29T16:51:10.265Z] 646ad004c059: Waiting [2022-06-29T16:51:10.265Z] cc1cd167ecdc: Waiting [2022-06-29T16:51:10.265Z] 8ed8ca486205: Verifying Checksum [2022-06-29T16:51:10.265Z] 8ed8ca486205: Download complete [2022-06-29T16:51:10.265Z] 666ba61612fd: Download complete [2022-06-29T16:51:10.526Z] c516ae0d96e1: Verifying Checksum [2022-06-29T16:51:10.526Z] c516ae0d96e1: Download complete [2022-06-29T16:51:10.526Z] 684cea983483: Verifying Checksum [2022-06-29T16:51:10.526Z] 684cea983483: Download complete [2022-06-29T16:51:10.526Z] 59bf1c3509f3: Download complete [2022-06-29T16:51:10.526Z] dd3240ac7de5: Verifying Checksum [2022-06-29T16:51:10.526Z] dd3240ac7de5: Download complete [2022-06-29T16:51:10.526Z] b1e948a4e11c: Verifying Checksum [2022-06-29T16:51:10.526Z] b1e948a4e11c: Download complete [2022-06-29T16:51:10.526Z] 59bf1c3509f3: Pull complete [2022-06-29T16:51:10.789Z] 666ba61612fd: Pull complete [2022-06-29T16:51:10.789Z] 8ed8ca486205: Pull complete [2022-06-29T16:51:11.048Z] 646ad004c059: Verifying Checksum [2022-06-29T16:51:11.048Z] 646ad004c059: Download complete [2022-06-29T16:51:11.048Z] a8fd76ee1af6: Verifying Checksum [2022-06-29T16:51:11.048Z] a8fd76ee1af6: Download complete [2022-06-29T16:51:11.048Z] cc1cd167ecdc: Verifying Checksum [2022-06-29T16:51:11.048Z] cc1cd167ecdc: Download complete [2022-06-29T16:51:14.335Z] cc1cd167ecdc: Pull complete [2022-06-29T16:51:14.594Z] c516ae0d96e1: Pull complete [2022-06-29T16:51:14.594Z] 684cea983483: Pull complete [2022-06-29T16:51:14.594Z] dd3240ac7de5: Pull complete [2022-06-29T16:51:14.852Z] b1e948a4e11c: Pull complete [2022-06-29T16:51:16.753Z] a8fd76ee1af6: Pull complete [2022-06-29T16:51:17.322Z] 646ad004c059: Pull complete [2022-06-29T16:51:17.322Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-29T16:51:17.322Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-29T16:51:17.322Z] ---> 8f69c11f6b0c [2022-06-29T16:51:17.322Z] Step 3/13 : ARG MAKE="make build" [2022-06-29T16:51:19.236Z] ---> Running in 9bbbd335acac [2022-06-29T16:51:19.494Z] Removing intermediate container 9bbbd335acac [2022-06-29T16:51:19.495Z] ---> 7329ecb0171d [2022-06-29T16:51:19.495Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T16:51:19.495Z] ---> Running in 1fc45bd0dca5 [2022-06-29T16:51:19.495Z] Removing intermediate container 1fc45bd0dca5 [2022-06-29T16:51:19.495Z] ---> d69da1ec930c [2022-06-29T16:51:19.495Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T16:51:19.495Z] ---> Running in 159145435c6f [2022-06-29T16:51:19.753Z] Removing intermediate container 159145435c6f [2022-06-29T16:51:19.753Z] ---> 88ff5947ac65 [2022-06-29T16:51:19.754Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-29T16:51:19.754Z] ---> Running in c20201d4ec0b [2022-06-29T16:51:19.754Z] Removing intermediate container c20201d4ec0b [2022-06-29T16:51:19.754Z] ---> 0868657b9cf9 [2022-06-29T16:51:19.754Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T16:51:20.013Z] ---> Running in c07b0986f0a2 [2022-06-29T16:51:20.584Z] Removing intermediate container c07b0986f0a2 [2022-06-29T16:51:20.584Z] ---> 4c68cef1a0df [2022-06-29T16:51:20.584Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T16:51:20.584Z] ---> Running in 37ea0be8a5b2 [2022-06-29T16:51:20.845Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T16:51:21.787Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T16:51:21.787Z] OK: 221 MiB in 52 packages [2022-06-29T16:51:22.359Z] Removing intermediate container 37ea0be8a5b2 [2022-06-29T16:51:22.359Z] ---> 090661ec41c6 [2022-06-29T16:51:22.359Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-29T16:51:22.359Z] ---> Running in 6a8fe32e63e0 [2022-06-29T16:51:22.359Z] Removing intermediate container 6a8fe32e63e0 [2022-06-29T16:51:22.359Z] ---> 41ba4c8770a4 [2022-06-29T16:51:22.359Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-29T16:51:22.619Z] ---> 1283e4ec4bbb [2022-06-29T16:51:22.619Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T16:51:22.619Z] ---> Running in 46052b1cbe92 [2022-06-29T16:51:23.225Z] Still waiting to schedule task [2022-06-29T16:51:23.226Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-29T16:51:40.752Z] Removing intermediate container 46052b1cbe92 [2022-06-29T16:51:40.752Z] ---> 7428e0b7972a [2022-06-29T16:51:40.752Z] Step 12/13 : COPY . . [2022-06-29T16:51:41.012Z] ---> b47a5cff06d4 [2022-06-29T16:51:41.012Z] Step 13/13 : RUN ${MAKE} [2022-06-29T16:51:41.012Z] ---> Running in 37c4feb5b511 [2022-06-29T16:51:41.272Z] noop [2022-06-29T16:51:41.532Z] Removing intermediate container 37c4feb5b511 [2022-06-29T16:51:41.532Z] ---> 8de0cc35024f [2022-06-29T16:51:41.532Z] Successfully built 8de0cc35024f [2022-06-29T16:51:41.532Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:51:42.001Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T16:51:42.001Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:51:42.151Z] prd-ubuntu20.04-docker-8c-8g-16365 does not seem to be running inside a container [2022-06-29T16:51:42.197Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-94 -v /w/workspace/oundry_device-onvif-camera_PR-94:/w/workspace/oundry_device-onvif-camera_PR-94:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-94@tmp:/w/workspace/oundry_device-onvif-camera_PR-94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-29T16:51:42.569Z] $ docker top e639488c7c76dbcb1ce576448feba4522857b0cc46b67a74e517e1b70a061a67 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T16:51:42.973Z] + go version [2022-06-29T16:51:42.973Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-29T16:51:43.011Z] $ docker stop --time=1 e639488c7c76dbcb1ce576448feba4522857b0cc46b67a74e517e1b70a061a67 [2022-06-29T16:51:44.451Z] $ docker rm -f e639488c7c76dbcb1ce576448feba4522857b0cc46b67a74e517e1b70a061a67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:51:45.161Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T16:51:45.161Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:51:45.335Z] prd-ubuntu20.04-docker-8c-8g-16365 does not seem to be running inside a container [2022-06-29T16:51:45.439Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-94 -v /w/workspace/oundry_device-onvif-camera_PR-94:/w/workspace/oundry_device-onvif-camera_PR-94:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-94@tmp:/w/workspace/oundry_device-onvif-camera_PR-94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-29T16:51:45.976Z] $ docker top 9661c78cadaf81abafc64019a08409fac26090743af8cb26609f956aa773af9e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T16:51:46.419Z] + make test [2022-06-29T16:51:46.419Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-29T16:51:46.679Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-29T16:51:56.670Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-29T16:51:56.670Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.015s coverage: 7.0% of statements [2022-06-29T16:51:56.670Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-06-29T16:51:59.973Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.715s coverage: 13.8% of statements [2022-06-29T16:52:06.545Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-29T16:52:10.741Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T16:52:10.741Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T16:52:10.741Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T16:52:11.028Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T16:52:11.062Z] $ docker stop --time=1 9661c78cadaf81abafc64019a08409fac26090743af8cb26609f956aa773af9e [2022-06-29T16:52:12.992Z] $ docker rm -f 9661c78cadaf81abafc64019a08409fac26090743af8cb26609f956aa773af9e [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T16:52:13.497Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T16:52:13.580Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-29T16:52:14.260Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T16:52:14.565Z] + ls -al . [2022-06-29T16:52:14.565Z] total 248 [2022-06-29T16:52:14.565Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 16:52 . [2022-06-29T16:52:14.565Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 16:50 .. [2022-06-29T16:52:14.565Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 16:51 .git [2022-06-29T16:52:14.565Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:50 .github [2022-06-29T16:52:14.565Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 29 16:50 .gitignore [2022-06-29T16:52:14.565Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 29 16:50 .golangci.yml [2022-06-29T16:52:14.565Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 16:51 .semver [2022-06-29T16:52:14.565Z] -rw-rw-r-- 1 jenkins jenkins 9206 Jun 29 16:50 Attribution.txt [2022-06-29T16:52:14.565Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 29 16:50 CHANGELOG.md [2022-06-29T16:52:14.565Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 29 16:50 Dockerfile [2022-06-29T16:52:14.565Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 16:50 GOVERNANCE.md [2022-06-29T16:52:14.565Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 29 16:50 Jenkinsfile [2022-06-29T16:52:14.565Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 29 16:50 LICENSE [2022-06-29T16:52:14.565Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 29 16:50 Makefile [2022-06-29T16:52:14.565Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 29 16:50 OWNERS.md [2022-06-29T16:52:14.565Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jun 29 16:50 README.md [2022-06-29T16:52:14.565Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 16:51 VERSION [2022-06-29T16:52:14.565Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:50 bin [2022-06-29T16:52:14.565Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 16:50 cmd [2022-06-29T16:52:14.565Z] -rw-r--r-- 1 jenkins jenkins 70262 Jun 29 16:51 coverage.out [2022-06-29T16:52:14.565Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 29 16:50 doc [2022-06-29T16:52:14.565Z] -rw-rw-r-- 1 jenkins jenkins 3551 Jun 29 16:50 go.mod [2022-06-29T16:52:14.565Z] -rw-rw-r-- 1 jenkins jenkins 37492 Jun 29 16:50 go.sum [2022-06-29T16:52:14.565Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 16:50 internal [2022-06-29T16:52:14.565Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 29 16:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:52:14.938Z] + 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=e808fee6c563d4229e1aa5e6588d93d475c5fb74 --label arch=amd64 --label version=0.0.0 . [2022-06-29T16:52:14.938Z] Sending build context to Docker daemon 9.411MB [2022-06-29T16:52:14.938Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T16:52:14.938Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-29T16:52:14.938Z] ---> 8de0cc35024f [2022-06-29T16:52:14.938Z] Step 3/26 : ARG MAKE="make build" [2022-06-29T16:52:15.198Z] ---> Running in 8344acf8aa89 [2022-06-29T16:52:15.198Z] Removing intermediate container 8344acf8aa89 [2022-06-29T16:52:15.198Z] ---> 52f86dad7b65 [2022-06-29T16:52:15.198Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T16:52:15.198Z] ---> Running in b06d3de4283e [2022-06-29T16:52:15.198Z] Removing intermediate container b06d3de4283e [2022-06-29T16:52:15.198Z] ---> 872732f121f6 [2022-06-29T16:52:15.198Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T16:52:15.198Z] ---> Running in 8b749e9f6207 [2022-06-29T16:52:15.458Z] Removing intermediate container 8b749e9f6207 [2022-06-29T16:52:15.458Z] ---> 7ddf43a7b5b4 [2022-06-29T16:52:15.458Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-29T16:52:15.458Z] ---> Running in 86040522aae7 [2022-06-29T16:52:15.458Z] Removing intermediate container 86040522aae7 [2022-06-29T16:52:15.458Z] ---> 0bbde4754633 [2022-06-29T16:52:15.458Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T16:52:15.718Z] ---> Running in 24bbf1e3cb8f [2022-06-29T16:52:16.288Z] Removing intermediate container 24bbf1e3cb8f [2022-06-29T16:52:16.288Z] ---> 73dbd9e7fae8 [2022-06-29T16:52:16.288Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T16:52:16.288Z] ---> Running in 523bbbcfa242 [2022-06-29T16:52:16.549Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T16:52:17.493Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T16:52:17.760Z] OK: 221 MiB in 52 packages [2022-06-29T16:52:18.022Z] Removing intermediate container 523bbbcfa242 [2022-06-29T16:52:18.022Z] ---> 27317810dedd [2022-06-29T16:52:18.022Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-29T16:52:18.022Z] ---> Running in e0cf51967298 [2022-06-29T16:52:18.282Z] Removing intermediate container e0cf51967298 [2022-06-29T16:52:18.282Z] ---> 86c6e2d57a03 [2022-06-29T16:52:18.282Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-29T16:52:18.282Z] ---> 472c39e4843a [2022-06-29T16:52:18.282Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T16:52:18.282Z] ---> Running in d085afa7adb1 [2022-06-29T16:52:19.224Z] Removing intermediate container d085afa7adb1 [2022-06-29T16:52:19.224Z] ---> c81889f30972 [2022-06-29T16:52:19.224Z] Step 12/26 : COPY . . [2022-06-29T16:52:19.224Z] ---> cebe8881d72f [2022-06-29T16:52:19.224Z] Step 13/26 : RUN ${MAKE} [2022-06-29T16:52:19.224Z] ---> Running in d9c546a6e589 [2022-06-29T16:52:19.484Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-29T16:52:41.442Z] Removing intermediate container d9c546a6e589 [2022-06-29T16:52:41.442Z] ---> 81c8d9d11551 [2022-06-29T16:52:41.442Z] Step 14/26 : FROM alpine:3.15 [2022-06-29T16:52:41.442Z] 3.15: Pulling from library/alpine [2022-06-29T16:52:41.442Z] df9b9388f04a: Pulling fs layer [2022-06-29T16:52:41.442Z] df9b9388f04a: Verifying Checksum [2022-06-29T16:52:41.442Z] df9b9388f04a: Download complete [2022-06-29T16:52:41.442Z] df9b9388f04a: Pull complete [2022-06-29T16:52:41.442Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-29T16:52:41.442Z] Status: Downloaded newer image for alpine:3.15 [2022-06-29T16:52:41.442Z] ---> 0ac33e5f5afa [2022-06-29T16:52:41.442Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-29T16:52:41.442Z] ---> Running in b14716295403 [2022-06-29T16:52:41.442Z] Removing intermediate container b14716295403 [2022-06-29T16:52:41.442Z] ---> a87403487bcc [2022-06-29T16:52:41.442Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-29T16:52:41.442Z] ---> Running in 1bb702ebf826 [2022-06-29T16:52:41.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T16:52:41.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T16:52:41.442Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-29T16:52:41.442Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-29T16:52:41.442Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-29T16:52:41.442Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-29T16:52:41.442Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-29T16:52:41.442Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-29T16:52:41.442Z] Executing busybox-1.34.1-r5.trigger [2022-06-29T16:52:41.442Z] OK: 8 MiB in 20 packages [2022-06-29T16:52:41.442Z] Removing intermediate container 1bb702ebf826 [2022-06-29T16:52:41.442Z] ---> 2beeeac48eda [2022-06-29T16:52:41.442Z] Step 17/26 : WORKDIR / [2022-06-29T16:52:41.442Z] ---> Running in f5ffce5cea0b [2022-06-29T16:52:41.703Z] Removing intermediate container f5ffce5cea0b [2022-06-29T16:52:41.703Z] ---> 061a31893c02 [2022-06-29T16:52:41.703Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-29T16:52:42.284Z] ---> 77407d090540 [2022-06-29T16:52:42.284Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-29T16:52:42.545Z] ---> 453f025b06d4 [2022-06-29T16:52:42.545Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-29T16:52:42.545Z] ---> 292ab36de4cd [2022-06-29T16:52:42.545Z] Step 21/26 : EXPOSE 59984 [2022-06-29T16:52:42.545Z] ---> Running in 181c4cea260f [2022-06-29T16:52:42.805Z] Removing intermediate container 181c4cea260f [2022-06-29T16:52:42.805Z] ---> 658d3785c499 [2022-06-29T16:52:42.805Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-29T16:52:42.805Z] ---> Running in dc8f5ae346c2 [2022-06-29T16:52:42.805Z] Removing intermediate container dc8f5ae346c2 [2022-06-29T16:52:42.805Z] ---> 862e008630ef [2022-06-29T16:52:42.805Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-29T16:52:42.805Z] ---> Running in 53c5813e7e1e [2022-06-29T16:52:43.065Z] Removing intermediate container 53c5813e7e1e [2022-06-29T16:52:43.066Z] ---> b732d633f9dc [2022-06-29T16:52:43.066Z] Step 24/26 : LABEL arch=amd64 [2022-06-29T16:52:43.066Z] ---> Running in 0f1066ed9561 [2022-06-29T16:52:43.066Z] Removing intermediate container 0f1066ed9561 [2022-06-29T16:52:43.066Z] ---> fe5661f7988b [2022-06-29T16:52:43.066Z] Step 25/26 : LABEL git_sha=e808fee6c563d4229e1aa5e6588d93d475c5fb74 [2022-06-29T16:52:43.066Z] ---> Running in e8287fdab46a [2022-06-29T16:52:43.327Z] Removing intermediate container e8287fdab46a [2022-06-29T16:52:43.327Z] ---> ac7b730e5334 [2022-06-29T16:52:43.327Z] Step 26/26 : LABEL version=0.0.0 [2022-06-29T16:52:43.327Z] ---> Running in a15ffc2e4ddc [2022-06-29T16:52:43.327Z] Removing intermediate container a15ffc2e4ddc [2022-06-29T16:52:43.327Z] ---> fb55844fc866 [2022-06-29T16:52:43.327Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T16:52:43.327Z] Successfully built fb55844fc866 [2022-06-29T16:52:43.327Z] 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-06-29T16:52:44.215Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T16:52:44.215Z] [2022-06-29T16:52:44.215Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:52:44.599Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T16:52:44.599Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-29T16:52:44.599Z] 5eb5b503b376: Pulling fs layer [2022-06-29T16:52:44.599Z] 5c69ac0246d0: Pulling fs layer [2022-06-29T16:52:44.599Z] ec43610c2a17: Pulling fs layer [2022-06-29T16:52:44.599Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-29T16:52:44.599Z] 33b1e0a273af: Pulling fs layer [2022-06-29T16:52:44.599Z] 5d3b04190fa2: Pulling fs layer [2022-06-29T16:52:44.599Z] 2f39f015ded8: Pulling fs layer [2022-06-29T16:52:44.599Z] 3a2ae6a8a46f: Waiting [2022-06-29T16:52:44.599Z] 33b1e0a273af: Waiting [2022-06-29T16:52:44.599Z] 5d3b04190fa2: Waiting [2022-06-29T16:52:44.599Z] 2f39f015ded8: Waiting [2022-06-29T16:52:44.599Z] 5c69ac0246d0: Download complete [2022-06-29T16:52:44.599Z] 33b1e0a273af: Verifying Checksum [2022-06-29T16:52:44.599Z] 33b1e0a273af: Download complete [2022-06-29T16:52:44.599Z] 5d3b04190fa2: Download complete [2022-06-29T16:52:44.859Z] ec43610c2a17: Verifying Checksum [2022-06-29T16:52:44.859Z] ec43610c2a17: Download complete [2022-06-29T16:52:44.859Z] 5eb5b503b376: Verifying Checksum [2022-06-29T16:52:44.859Z] 5eb5b503b376: Download complete [2022-06-29T16:52:45.427Z] 2f39f015ded8: Verifying Checksum [2022-06-29T16:52:45.427Z] 2f39f015ded8: Download complete [2022-06-29T16:52:46.000Z] 5eb5b503b376: Pull complete [2022-06-29T16:52:46.260Z] 5c69ac0246d0: Pull complete [2022-06-29T16:52:46.829Z] ec43610c2a17: Pull complete [2022-06-29T16:52:46.829Z] 3a2ae6a8a46f: Pull complete [2022-06-29T16:52:47.090Z] 33b1e0a273af: Pull complete [2022-06-29T16:52:47.350Z] 5d3b04190fa2: Pull complete [2022-06-29T16:52:51.544Z] 2f39f015ded8: Pull complete [2022-06-29T16:52:51.544Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-29T16:52:51.544Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T16:52:51.544Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:52:51.767Z] prd-ubuntu20.04-docker-8c-8g-16365 does not seem to be running inside a container [2022-06-29T16:52:51.805Z] $ 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/oundry_device-onvif-camera_PR-94 -v /w/workspace/oundry_device-onvif-camera_PR-94:/w/workspace/oundry_device-onvif-camera_PR-94:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-94@tmp:/w/workspace/oundry_device-onvif-camera_PR-94@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-06-29T16:52:53.561Z] $ docker top 50211ee35928007b937cb013b959f38a4f8aed0d8a8bd29fa3494e8478878c13 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:52:54.033Z] ---> job-cost.sh [2022-06-29T16:52:54.033Z] lf-activate-venv: SKIPPING [2022-06-29T16:52:54.033Z] INFO: No Stack... [2022-06-29T16:52:54.292Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T16:52:54.861Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T16:52:55.258Z] + cat /w/workspace/oundry_device-onvif-camera_PR-94/archives/cost.csv [2022-06-29T16:52:55.258Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T16:52:55.306Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-94-1-stack-cost] [2022-06-29T16:52:55.311Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-94-1-stack-cost] did not exist. Created. [2022-06-29T16:52:55.311Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-94-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T16:52:55.708Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-29T16:52:55.761Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T16:52:55.788Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-94-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T16:52:55.868Z] $ docker stop --time=1 50211ee35928007b937cb013b959f38a4f8aed0d8a8bd29fa3494e8478878c13 [2022-06-29T16:52:57.058Z] $ docker rm -f 50211ee35928007b937cb013b959f38a4f8aed0d8a8bd29fa3494e8478878c13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-29T16:52:57.505Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16366 in /w/workspace/oundry_device-onvif-camera_PR-94 [Pipeline] { [Pipeline] ws [2022-06-29T16:52:57.549Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-06-29T16:52:57.627Z] Selected Git installation does not exist. Using Default [2022-06-29T16:52:57.627Z] The recommended git tool is: NONE [2022-06-29T16:53:04.803Z] using credential edgex-jenkins-ssh [2022-06-29T16:53:04.820Z] Cloning the remote Git repository [2022-06-29T16:53:04.882Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-29T16:53:04.965Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-06-29T16:53:05.052Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-29T16:53:05.053Z] > git --version # timeout=10 [2022-06-29T16:53:05.168Z] > git --version # 'git version 2.25.1' [2022-06-29T16:53:05.171Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T16:53:05.269Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T16:53:06.148Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-29T16:53:06.163Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T16:53:06.192Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-29T16:53:06.229Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-29T16:53:06.230Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T16:53:06.247Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-29T16:53:06.740Z] Merging remotes/origin/main commit 3bc4a4f14c266509a03f6bfa054e7774f1ea3255 into PR head commit e808fee6c563d4229e1aa5e6588d93d475c5fb74 [2022-06-29T16:53:07.032Z] Merge succeeded, producing e808fee6c563d4229e1aa5e6588d93d475c5fb74 [2022-06-29T16:53:07.032Z] Checking out Revision e808fee6c563d4229e1aa5e6588d93d475c5fb74 (PR-94) [2022-06-29T16:53:06.763Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T16:53:06.787Z] > git checkout -f e808fee6c563d4229e1aa5e6588d93d475c5fb74 # timeout=10 [2022-06-29T16:53:06.937Z] > git remote # timeout=10 [2022-06-29T16:53:06.958Z] > git config --get remote.origin.url # timeout=10 [2022-06-29T16:53:06.977Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T16:53:06.989Z] > git merge 3bc4a4f14c266509a03f6bfa054e7774f1ea3255 # timeout=10 [2022-06-29T16:53:07.015Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-29T16:53:07.043Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T16:53:07.065Z] > git checkout -f e808fee6c563d4229e1aa5e6588d93d475c5fb74 # timeout=10 [2022-06-29T16:53:11.308Z] Commit message: "fix: remove gofrs-uuid" [2022-06-29T16:53:11.367Z] > git --version # timeout=10 [2022-06-29T16:53:11.377Z] > git --version # 'git version 2.25.1' [2022-06-29T16:53:11.389Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T16:53:12.472Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-29T16:53:12.472Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T16:53:12.472Z] Dload Upload Total Spent Left Speed [2022-06-29T16:53:12.472Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 94984 0 --:--:-- --:--:-- --:--:-- 94984 [Pipeline] sh [2022-06-29T16:53:13.369Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-29T16:53:13.737Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-29T16:53:13.737Z] + sudo tee /etc/docker/daemon.new [2022-06-29T16:53:13.737Z] { [2022-06-29T16:53:13.737Z] "registry-mirrors": [ [2022-06-29T16:53:13.737Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-29T16:53:13.737Z] ], [2022-06-29T16:53:13.737Z] "bip": "10.250.0.254/24", [2022-06-29T16:53:13.737Z] "hosts": [ [2022-06-29T16:53:13.737Z] "tcp://0.0.0.0:5555", [2022-06-29T16:53:13.737Z] "unix:///var/run/docker.sock" [2022-06-29T16:53:13.737Z] ], [2022-06-29T16:53:13.737Z] "mtu": 1458, [2022-06-29T16:53:13.737Z] "selinux-enabled": true, [2022-06-29T16:53:13.737Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-29T16:53:13.737Z] } [Pipeline] sh [2022-06-29T16:53:14.082Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-29T16:53:14.439Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T16:53:32.834Z] provisioning config files... [2022-06-29T16:53:33.035Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config4500020989718602632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:53:33.509Z] ---> docker-login.sh [2022-06-29T16:53:33.510Z] nexus3.edgexfoundry.org:10001 [2022-06-29T16:53:34.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:53:34.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:53:34.385Z] Configure a credential helper to remove this warning. See [2022-06-29T16:53:34.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:53:34.385Z] [2022-06-29T16:53:34.385Z] Login Succeeded [2022-06-29T16:53:34.385Z] nexus3.edgexfoundry.org:10002 [2022-06-29T16:53:34.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:53:34.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:53:34.660Z] Configure a credential helper to remove this warning. See [2022-06-29T16:53:34.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:53:34.660Z] [2022-06-29T16:53:34.660Z] Login Succeeded [2022-06-29T16:53:34.660Z] nexus3.edgexfoundry.org:10003 [2022-06-29T16:53:35.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:53:35.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:53:35.262Z] Configure a credential helper to remove this warning. See [2022-06-29T16:53:35.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:53:35.262Z] [2022-06-29T16:53:35.262Z] Login Succeeded [2022-06-29T16:53:35.262Z] nexus3.edgexfoundry.org:10004 [2022-06-29T16:53:35.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:53:35.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:53:35.809Z] Configure a credential helper to remove this warning. See [2022-06-29T16:53:35.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:53:35.809Z] [2022-06-29T16:53:35.809Z] Login Succeeded [2022-06-29T16:53:35.809Z] docker.io [2022-06-29T16:53:36.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:53:36.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:53:36.354Z] Configure a credential helper to remove this warning. See [2022-06-29T16:53:36.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:53:36.354Z] [2022-06-29T16:53:36.354Z] Login Succeeded [2022-06-29T16:53:36.354Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T16:53:36.382Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T16:53:36.767Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T16:53:36.798Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T16:53:36.831Z] ========================================================= [2022-06-29T16:53:36.831Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-29T16:53:36.831Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:53:37.328Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-29T16:53:37.604Z] Sending build context to Docker daemon 6.434MB [2022-06-29T16:53:37.604Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T16:53:37.604Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-29T16:53:37.881Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-29T16:53:37.881Z] 9b3977197b4f: Pulling fs layer [2022-06-29T16:53:37.881Z] 1a89e8eeedd5: Pulling fs layer [2022-06-29T16:53:37.881Z] 94645a83ff95: Pulling fs layer [2022-06-29T16:53:37.881Z] e6fb740bc735: Pulling fs layer [2022-06-29T16:53:37.881Z] 3a77bd46dcc9: Pulling fs layer [2022-06-29T16:53:37.881Z] 355e64cbe906: Pulling fs layer [2022-06-29T16:53:37.881Z] 63ab81a10011: Pulling fs layer [2022-06-29T16:53:37.881Z] 555d1d1c4555: Pulling fs layer [2022-06-29T16:53:37.881Z] 7d9057610161: Pulling fs layer [2022-06-29T16:53:37.881Z] 355e64cbe906: Waiting [2022-06-29T16:53:37.881Z] 63ab81a10011: Waiting [2022-06-29T16:53:37.881Z] 555d1d1c4555: Waiting [2022-06-29T16:53:37.881Z] 7d9057610161: Waiting [2022-06-29T16:53:37.881Z] e6fb740bc735: Waiting [2022-06-29T16:53:37.881Z] 3a77bd46dcc9: Waiting [2022-06-29T16:53:37.881Z] 94645a83ff95: Download complete [2022-06-29T16:53:37.881Z] 1a89e8eeedd5: Verifying Checksum [2022-06-29T16:53:37.881Z] 1a89e8eeedd5: Download complete [2022-06-29T16:53:37.881Z] 3a77bd46dcc9: Verifying Checksum [2022-06-29T16:53:37.881Z] 3a77bd46dcc9: Download complete [2022-06-29T16:53:37.881Z] 355e64cbe906: Verifying Checksum [2022-06-29T16:53:37.881Z] 355e64cbe906: Download complete [2022-06-29T16:53:37.881Z] 9b3977197b4f: Download complete [2022-06-29T16:53:38.166Z] 63ab81a10011: Verifying Checksum [2022-06-29T16:53:38.166Z] 63ab81a10011: Download complete [2022-06-29T16:53:38.765Z] 9b3977197b4f: Pull complete [2022-06-29T16:53:39.044Z] 7d9057610161: Verifying Checksum [2022-06-29T16:53:39.044Z] 7d9057610161: Download complete [2022-06-29T16:53:39.649Z] 1a89e8eeedd5: Pull complete [2022-06-29T16:53:39.649Z] 94645a83ff95: Pull complete [2022-06-29T16:53:40.248Z] 555d1d1c4555: Verifying Checksum [2022-06-29T16:53:40.248Z] 555d1d1c4555: Download complete [2022-06-29T16:53:40.845Z] e6fb740bc735: Verifying Checksum [2022-06-29T16:53:40.845Z] e6fb740bc735: Download complete [2022-06-29T16:53:53.245Z] e6fb740bc735: Pull complete [2022-06-29T16:53:53.245Z] 3a77bd46dcc9: Pull complete [2022-06-29T16:53:53.245Z] 355e64cbe906: Pull complete [2022-06-29T16:53:53.245Z] 63ab81a10011: Pull complete [2022-06-29T16:53:59.983Z] 555d1d1c4555: Pull complete [2022-06-29T16:54:01.964Z] 7d9057610161: Pull complete [2022-06-29T16:54:01.964Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-29T16:54:01.964Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-29T16:54:01.964Z] ---> 819e984ddca1 [2022-06-29T16:54:01.964Z] Step 3/13 : ARG MAKE="make build" [2022-06-29T16:54:02.562Z] ---> Running in 5e359fa62b41 [2022-06-29T16:54:02.836Z] Removing intermediate container 5e359fa62b41 [2022-06-29T16:54:02.836Z] ---> 40b9e5955af5 [2022-06-29T16:54:02.836Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T16:54:02.836Z] ---> Running in 9501049e6c10 [2022-06-29T16:54:03.112Z] Removing intermediate container 9501049e6c10 [2022-06-29T16:54:03.112Z] ---> 0d4fc530741f [2022-06-29T16:54:03.112Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T16:54:03.389Z] ---> Running in ca474844c809 [2022-06-29T16:54:03.668Z] Removing intermediate container ca474844c809 [2022-06-29T16:54:03.668Z] ---> 3ba501d030ef [2022-06-29T16:54:03.668Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-29T16:54:03.668Z] ---> Running in b50bf026c979 [2022-06-29T16:54:03.946Z] Removing intermediate container b50bf026c979 [2022-06-29T16:54:03.946Z] ---> ba673e587b3e [2022-06-29T16:54:03.946Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T16:54:03.946Z] ---> Running in 3ccfe78643b7 [2022-06-29T16:54:05.943Z] Removing intermediate container 3ccfe78643b7 [2022-06-29T16:54:05.943Z] ---> ce017617af50 [2022-06-29T16:54:05.943Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T16:54:05.943Z] ---> Running in 66b4bba6f66e [2022-06-29T16:54:07.920Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T16:54:08.895Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T16:54:09.868Z] OK: 220 MiB in 52 packages [2022-06-29T16:54:10.475Z] Removing intermediate container 66b4bba6f66e [2022-06-29T16:54:10.475Z] ---> 0d8e61d27d7e [2022-06-29T16:54:10.475Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-29T16:54:10.475Z] ---> Running in 360115ae27a2 [2022-06-29T16:54:11.075Z] Removing intermediate container 360115ae27a2 [2022-06-29T16:54:11.075Z] ---> 0b2ebfa7f49e [2022-06-29T16:54:11.075Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-29T16:54:11.358Z] ---> fbde6e9c2f07 [2022-06-29T16:54:11.358Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T16:54:11.652Z] ---> Running in dd326437f908 [2022-06-29T16:54:58.637Z] Removing intermediate container dd326437f908 [2022-06-29T16:54:58.637Z] ---> 035a313875e7 [2022-06-29T16:54:58.637Z] Step 12/13 : COPY . . [2022-06-29T16:54:58.637Z] ---> 620e8346a239 [2022-06-29T16:54:58.637Z] Step 13/13 : RUN ${MAKE} [2022-06-29T16:54:58.637Z] ---> Running in e3b1ab5c0ab2 [2022-06-29T16:54:58.637Z] noop [2022-06-29T16:54:58.637Z] Removing intermediate container e3b1ab5c0ab2 [2022-06-29T16:54:58.637Z] ---> 78ca156c4286 [2022-06-29T16:54:58.637Z] Successfully built 78ca156c4286 [2022-06-29T16:54:58.637Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:54:59.117Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T16:54:59.117Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:54:59.423Z] prd-ubuntu20.04-docker-arm64-4c-16g-16366 does not seem to be running inside a container [2022-06-29T16:54:59.502Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-29T16:55:00.823Z] $ docker top 552f3980be681b516ca9e1175af44b531434f1db57ffbb5b48b88105d72c4a86 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T16:55:01.786Z] + go version [2022-06-29T16:55:01.787Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-29T16:55:01.822Z] $ docker stop --time=1 552f3980be681b516ca9e1175af44b531434f1db57ffbb5b48b88105d72c4a86 [2022-06-29T16:55:03.461Z] $ docker rm -f 552f3980be681b516ca9e1175af44b531434f1db57ffbb5b48b88105d72c4a86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:55:04.358Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T16:55:04.358Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:55:04.660Z] prd-ubuntu20.04-docker-arm64-4c-16g-16366 does not seem to be running inside a container [2022-06-29T16:55:04.741Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-29T16:55:06.004Z] $ docker top b0b2e840ef261225b97d3e00a90d6aa3f6ca8733c844397a6059a8a1b8d90e04 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T16:55:07.021Z] + make test [2022-06-29T16:55:07.021Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-29T16:55:09.017Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-29T16:56:30.944Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-29T16:56:34.371Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.092s coverage: 7.0% of statements [2022-06-29T16:56:34.371Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-06-29T16:56:56.554Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.169s coverage: 13.8% of statements [2022-06-29T16:56:56.554Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-29T16:56:56.554Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-29T16:57:23.371Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T16:57:23.371Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T16:57:23.371Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T16:57:26.807Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T16:57:26.838Z] $ docker stop --time=1 b0b2e840ef261225b97d3e00a90d6aa3f6ca8733c844397a6059a8a1b8d90e04 [2022-06-29T16:57:28.600Z] $ docker rm -f b0b2e840ef261225b97d3e00a90d6aa3f6ca8733c844397a6059a8a1b8d90e04 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T16:57:29.627Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T16:57:29.661Z] Warning: overwriting stash ‘coverage-report’ [2022-06-29T16:57:30.192Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T16:57:30.809Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T16:57:31.166Z] + ls -al . [2022-06-29T16:57:31.166Z] total 244 [2022-06-29T16:57:31.166Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 16:57 . [2022-06-29T16:57:31.166Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 16:53 .. [2022-06-29T16:57:31.166Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 16:53 .git [2022-06-29T16:57:31.166Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:53 .github [2022-06-29T16:57:31.166Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 29 16:53 .gitignore [2022-06-29T16:57:31.166Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 29 16:53 .golangci.yml [2022-06-29T16:57:31.166Z] -rw-rw-r-- 1 jenkins jenkins 9206 Jun 29 16:53 Attribution.txt [2022-06-29T16:57:31.166Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 29 16:53 CHANGELOG.md [2022-06-29T16:57:31.166Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 29 16:53 Dockerfile [2022-06-29T16:57:31.166Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 16:53 GOVERNANCE.md [2022-06-29T16:57:31.166Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 29 16:53 Jenkinsfile [2022-06-29T16:57:31.166Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 29 16:53 LICENSE [2022-06-29T16:57:31.166Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 29 16:53 Makefile [2022-06-29T16:57:31.166Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 29 16:53 OWNERS.md [2022-06-29T16:57:31.166Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jun 29 16:53 README.md [2022-06-29T16:57:31.166Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 16:51 VERSION [2022-06-29T16:57:31.166Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:53 bin [2022-06-29T16:57:31.166Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 16:53 cmd [2022-06-29T16:57:31.166Z] -rw-r--r-- 1 jenkins jenkins 70262 Jun 29 16:56 coverage.out [2022-06-29T16:57:31.166Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 29 16:53 doc [2022-06-29T16:57:31.166Z] -rw-rw-r-- 1 jenkins jenkins 3551 Jun 29 16:53 go.mod [2022-06-29T16:57:31.166Z] -rw-rw-r-- 1 jenkins jenkins 37492 Jun 29 16:53 go.sum [2022-06-29T16:57:31.166Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 16:53 internal [2022-06-29T16:57:31.166Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 29 16:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:57:31.599Z] + 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=e808fee6c563d4229e1aa5e6588d93d475c5fb74 --label arch=arm64 --label version=0.0.0 . [2022-06-29T16:57:31.875Z] Sending build context to Docker daemon 6.505MB [2022-06-29T16:57:31.875Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T16:57:31.875Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-29T16:57:31.875Z] ---> 78ca156c4286 [2022-06-29T16:57:31.875Z] Step 3/26 : ARG MAKE="make build" [2022-06-29T16:57:32.153Z] ---> Running in ef24b21f0ec3 [2022-06-29T16:57:32.433Z] Removing intermediate container ef24b21f0ec3 [2022-06-29T16:57:32.433Z] ---> 88912e170ca7 [2022-06-29T16:57:32.433Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T16:57:32.433Z] ---> Running in b767e26e4362 [2022-06-29T16:57:33.039Z] Removing intermediate container b767e26e4362 [2022-06-29T16:57:33.039Z] ---> 2978b126e0a6 [2022-06-29T16:57:33.039Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T16:57:33.039Z] ---> Running in 5a0985e92260 [2022-06-29T16:57:33.312Z] Removing intermediate container 5a0985e92260 [2022-06-29T16:57:33.312Z] ---> a2a82ecafb08 [2022-06-29T16:57:33.312Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-29T16:57:33.312Z] ---> Running in 3b880b422296 [2022-06-29T16:57:33.590Z] Removing intermediate container 3b880b422296 [2022-06-29T16:57:33.590Z] ---> 8ffb71c462d1 [2022-06-29T16:57:33.590Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T16:57:33.590Z] ---> Running in 6ab2b66da0ed [2022-06-29T16:57:35.582Z] Removing intermediate container 6ab2b66da0ed [2022-06-29T16:57:35.582Z] ---> a3547521d037 [2022-06-29T16:57:35.582Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T16:57:35.582Z] ---> Running in 30547de87362 [2022-06-29T16:57:36.563Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T16:57:37.158Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T16:57:38.140Z] OK: 220 MiB in 52 packages [2022-06-29T16:57:38.746Z] Removing intermediate container 30547de87362 [2022-06-29T16:57:38.746Z] ---> 44e8ca6ba7a3 [2022-06-29T16:57:38.746Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-29T16:57:39.021Z] ---> Running in ea70d9aae697 [2022-06-29T16:57:39.296Z] Removing intermediate container ea70d9aae697 [2022-06-29T16:57:39.296Z] ---> 5acf8fef4816 [2022-06-29T16:57:39.296Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-29T16:57:39.897Z] ---> 28a69246e01b [2022-06-29T16:57:39.897Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T16:57:39.897Z] ---> Running in 2af8e94a8764 [2022-06-29T16:57:41.885Z] Removing intermediate container 2af8e94a8764 [2022-06-29T16:57:41.885Z] ---> 86328e6f5853 [2022-06-29T16:57:41.885Z] Step 12/26 : COPY . . [2022-06-29T16:57:42.867Z] ---> 214b596a0bd1 [2022-06-29T16:57:42.867Z] Step 13/26 : RUN ${MAKE} [2022-06-29T16:57:42.867Z] ---> Running in 394b14276ca8 [2022-06-29T16:57:43.853Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-29T16:59:50.747Z] Removing intermediate container 394b14276ca8 [2022-06-29T16:59:50.747Z] ---> 91e8ee8a8771 [2022-06-29T16:59:50.747Z] Step 14/26 : FROM alpine:3.15 [2022-06-29T16:59:50.747Z] 3.15: Pulling from library/alpine [2022-06-29T16:59:50.747Z] 9981e73032c8: Pulling fs layer [2022-06-29T16:59:50.747Z] 9981e73032c8: Verifying Checksum [2022-06-29T16:59:50.747Z] 9981e73032c8: Download complete [2022-06-29T16:59:50.747Z] 9981e73032c8: Pull complete [2022-06-29T16:59:50.747Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-29T16:59:50.747Z] Status: Downloaded newer image for alpine:3.15 [2022-06-29T16:59:50.747Z] ---> 3fb3c9af89a9 [2022-06-29T16:59:50.747Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-29T16:59:50.747Z] ---> Running in aa3c7dfe39f1 [2022-06-29T16:59:50.747Z] Removing intermediate container aa3c7dfe39f1 [2022-06-29T16:59:50.747Z] ---> 0fc715a18ff6 [2022-06-29T16:59:50.747Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-29T16:59:50.747Z] ---> Running in de99e43d6b09 [2022-06-29T16:59:50.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T16:59:50.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T16:59:50.747Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-29T16:59:50.747Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-29T16:59:50.747Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-29T16:59:50.747Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-29T16:59:50.747Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-29T16:59:50.747Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-29T16:59:50.747Z] Executing busybox-1.34.1-r5.trigger [2022-06-29T16:59:50.747Z] OK: 8 MiB in 20 packages [2022-06-29T16:59:50.747Z] Removing intermediate container de99e43d6b09 [2022-06-29T16:59:50.747Z] ---> 4c234c5b7774 [2022-06-29T16:59:50.747Z] Step 17/26 : WORKDIR / [2022-06-29T16:59:50.747Z] ---> Running in 18149523b246 [2022-06-29T16:59:50.747Z] Removing intermediate container 18149523b246 [2022-06-29T16:59:50.747Z] ---> 6378e1449243 [2022-06-29T16:59:50.747Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-29T16:59:50.747Z] ---> dba10588fadc [2022-06-29T16:59:50.747Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-29T16:59:50.747Z] ---> 8e8f0174f154 [2022-06-29T16:59:50.747Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-29T16:59:51.346Z] ---> 508c2d3f0405 [2022-06-29T16:59:51.346Z] Step 21/26 : EXPOSE 59984 [2022-06-29T16:59:51.346Z] ---> Running in aba1186d0572 [2022-06-29T16:59:51.624Z] Removing intermediate container aba1186d0572 [2022-06-29T16:59:51.624Z] ---> 230fdcc1a311 [2022-06-29T16:59:51.624Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-29T16:59:51.901Z] ---> Running in b4d0962ee136 [2022-06-29T16:59:52.176Z] Removing intermediate container b4d0962ee136 [2022-06-29T16:59:52.176Z] ---> b9b93011f0e0 [2022-06-29T16:59:52.176Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-29T16:59:52.176Z] ---> Running in f18ef023ca20 [2022-06-29T16:59:52.452Z] Removing intermediate container f18ef023ca20 [2022-06-29T16:59:52.452Z] ---> 32802f6cdb15 [2022-06-29T16:59:52.452Z] Step 24/26 : LABEL arch=arm64 [2022-06-29T16:59:52.452Z] ---> Running in f145c1195a36 [2022-06-29T16:59:53.057Z] Removing intermediate container f145c1195a36 [2022-06-29T16:59:53.057Z] ---> 41c9c8250192 [2022-06-29T16:59:53.057Z] Step 25/26 : LABEL git_sha=e808fee6c563d4229e1aa5e6588d93d475c5fb74 [2022-06-29T16:59:53.057Z] ---> Running in d679bd80e33f [2022-06-29T16:59:53.334Z] Removing intermediate container d679bd80e33f [2022-06-29T16:59:53.334Z] ---> 09b708f6934c [2022-06-29T16:59:53.334Z] Step 26/26 : LABEL version=0.0.0 [2022-06-29T16:59:53.334Z] ---> Running in 2b18da3f674d [2022-06-29T16:59:53.610Z] Removing intermediate container 2b18da3f674d [2022-06-29T16:59:53.610Z] ---> cef604f7faff [2022-06-29T16:59:53.610Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T16:59:53.610Z] Successfully built cef604f7faff [2022-06-29T16:59:53.610Z] 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-06-29T16:59:54.437Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T16:59:54.437Z] [2022-06-29T16:59:54.437Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:59:54.853Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T16:59:55.128Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-29T16:59:55.128Z] 8998bd30e6a1: Pulling fs layer [2022-06-29T16:59:55.128Z] 04944245beec: Pulling fs layer [2022-06-29T16:59:55.128Z] 699f458cf7ca: Pulling fs layer [2022-06-29T16:59:55.128Z] 765212b225bb: Pulling fs layer [2022-06-29T16:59:55.128Z] f23df028b6ca: Pulling fs layer [2022-06-29T16:59:55.128Z] d65c8cfc05b1: Pulling fs layer [2022-06-29T16:59:55.128Z] 2437ff75d9bd: Pulling fs layer [2022-06-29T16:59:55.128Z] f23df028b6ca: Waiting [2022-06-29T16:59:55.128Z] d65c8cfc05b1: Waiting [2022-06-29T16:59:55.128Z] 2437ff75d9bd: Waiting [2022-06-29T16:59:55.128Z] 765212b225bb: Waiting [2022-06-29T16:59:55.128Z] 04944245beec: Verifying Checksum [2022-06-29T16:59:55.129Z] 04944245beec: Download complete [2022-06-29T16:59:55.129Z] 765212b225bb: Verifying Checksum [2022-06-29T16:59:55.129Z] 765212b225bb: Download complete [2022-06-29T16:59:55.129Z] f23df028b6ca: Verifying Checksum [2022-06-29T16:59:55.129Z] f23df028b6ca: Download complete [2022-06-29T16:59:55.129Z] d65c8cfc05b1: Verifying Checksum [2022-06-29T16:59:55.129Z] d65c8cfc05b1: Download complete [2022-06-29T16:59:55.410Z] 699f458cf7ca: Verifying Checksum [2022-06-29T16:59:55.410Z] 699f458cf7ca: Download complete [2022-06-29T16:59:55.684Z] 8998bd30e6a1: Verifying Checksum [2022-06-29T16:59:55.684Z] 8998bd30e6a1: Download complete [2022-06-29T16:59:58.309Z] 2437ff75d9bd: Verifying Checksum [2022-06-29T16:59:58.309Z] 2437ff75d9bd: Download complete [2022-06-29T17:00:00.296Z] 8998bd30e6a1: Pull complete [2022-06-29T17:00:00.572Z] 04944245beec: Pull complete [2022-06-29T17:00:02.018Z] 699f458cf7ca: Pull complete [2022-06-29T17:00:02.294Z] 765212b225bb: Pull complete [2022-06-29T17:00:03.287Z] f23df028b6ca: Pull complete [2022-06-29T17:00:03.288Z] d65c8cfc05b1: Pull complete [2022-06-29T17:00:18.391Z] 2437ff75d9bd: Pull complete [2022-06-29T17:00:18.391Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-29T17:00:18.391Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T17:00:18.391Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T17:00:18.772Z] prd-ubuntu20.04-docker-arm64-4c-16g-16366 does not seem to be running inside a container [2022-06-29T17:00:18.850Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-29T17:00:21.396Z] $ docker top 5dc8a8f5cbd2f0825aa10f5371fb8d4c8ed1284f45af31f89799734a9f275bfd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T17:00:22.370Z] ---> job-cost.sh [2022-06-29T17:00:22.370Z] lf-activate-venv: SKIPPING [2022-06-29T17:00:22.370Z] INFO: No Stack... [2022-06-29T17:00:22.642Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-29T17:00:23.620Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T17:00:24.308Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv+ [2022-06-29T17:00:24.308Z] cut -d, -f6 [Pipeline] lock [2022-06-29T17:00:24.392Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-94-1-stack-cost] [2022-06-29T17:00:24.398Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-94-1-stack-cost] did not exist. Created. [2022-06-29T17:00:24.398Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-94-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T17:00:25.151Z] /w/workspace/device-onvif-camera/1@tmp/durable-e82d27bd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-29T17:00:25.846Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-29T17:00:25.883Z] Warning: overwriting stash ‘stack-cost’ [2022-06-29T17:00:25.928Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T17:00:25.942Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-94-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T17:00:26.015Z] $ docker stop --time=1 5dc8a8f5cbd2f0825aa10f5371fb8d4c8ed1284f45af31f89799734a9f275bfd [2022-06-29T17:00:27.501Z] $ docker rm -f 5dc8a8f5cbd2f0825aa10f5371fb8d4c8ed1284f45af31f89799734a9f275bfd [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-06-29T17:00:28.506Z] provisioning config files... [2022-06-29T17:00:28.514Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-94@tmp/config124145192175316451tmp [Pipeline] { [Pipeline] sh [2022-06-29T17:00:28.853Z] + set +x [2022-06-29T17:00:28.853Z] + curl -s https://codecov.io/bash [2022-06-29T17:00:28.853Z] + bash -s -- [2022-06-29T17:00:28.853Z] [2022-06-29T17:00:28.853Z] _____ _ [2022-06-29T17:00:28.853Z] / ____| | | [2022-06-29T17:00:28.853Z] | | ___ __| | ___ ___ _____ __ [2022-06-29T17:00:28.853Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-29T17:00:28.853Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-29T17:00:28.853Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-29T17:00:28.853Z] Bash-1.0.6 [2022-06-29T17:00:28.853Z] [2022-06-29T17:00:28.853Z] [2022-06-29T17:00:28.853Z] ==> git version 2.25.1 found [2022-06-29T17:00:28.853Z] ==> 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-06-29T17:00:28.853Z] Release-Date: 2020-01-08 [2022-06-29T17:00:28.853Z] 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-06-29T17:00:28.853Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-29T17:00:28.853Z] ==> Jenkins CI detected. [2022-06-29T17:00:28.853Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-94 [2022-06-29T17:00:28.853Z] project root: . [2022-06-29T17:00:28.853Z] --> token set from env [2022-06-29T17:00:28.853Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-29T17:00:28.853Z] ==> Running gcov in . (disable via -X gcov) [2022-06-29T17:00:28.853Z] ==> Python coveragepy not found [2022-06-29T17:00:28.853Z] ==> Searching for coverage reports in: [2022-06-29T17:00:28.853Z] + . [2022-06-29T17:00:28.853Z] -> Found 1 reports [2022-06-29T17:00:28.853Z] ==> Detecting git/mercurial file structure [2022-06-29T17:00:28.853Z] ==> Reading reports [2022-06-29T17:00:28.853Z] + ./coverage.out bytes=70262 [2022-06-29T17:00:28.853Z] ==> Appending adjustments [2022-06-29T17:00:28.853Z] https://docs.codecov.io/docs/fixing-reports [2022-06-29T17:00:29.114Z] + Found adjustments [2022-06-29T17:00:29.114Z] ==> Gzipping contents [2022-06-29T17:00:29.114Z] 12K /tmp/codecov.kU54yT.gz [2022-06-29T17:00:29.114Z] ==> Uploading reports [2022-06-29T17:00:29.114Z] url: https://codecov.io [2022-06-29T17:00:29.114Z] query: branch=PR-94&commit=e808fee6c563d4229e1aa5e6588d93d475c5fb74&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-94%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=94&job=&cmd_args= [2022-06-29T17:00:29.114Z] -> Pinging Codecov [2022-06-29T17:00:29.114Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-94&commit=e808fee6c563d4229e1aa5e6588d93d475c5fb74&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-94%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=94&job=&cmd_args= [2022-06-29T17:00:29.377Z] -> Uploading to [2022-06-29T17:00:29.377Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-29/F29A59C45E3A92E06B3E522C9905F8EF/e808fee6c563d4229e1aa5e6588d93d475c5fb74/763650e5-2ba4-4387-b9b0-166fbe060d83.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220629%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220629T170029Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4eca06b4e1a8304b09c502df48fa12126750a0f472d9b988e45a0c505c4bd2d3 [2022-06-29T17:00:29.377Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T17:00:29.377Z] Dload Upload Total Spent Left Speed [2022-06-29T17:00:29.637Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9328 0 0 100 9328 0 42018 --:--:-- --:--:-- --:--:-- 41829 100 9328 0 0 100 9328 0 38866 --:--:-- --:--:-- --:--:-- 38705 [2022-06-29T17:00:29.637Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/e808fee6c563d4229e1aa5e6588d93d475c5fb74 [Pipeline] } [2022-06-29T17:00:29.666Z] 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-06-29T17:00:31.362Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-94/archives ] [2022-06-29T17:00:31.362Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-94/archives [2022-06-29T17:00:31.362Z] total 16 [2022-06-29T17:00:31.362Z] drwxr-xr-x 3 root root 4096 Jun 29 16:52 . [2022-06-29T17:00:31.362Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 16:52 .. [2022-06-29T17:00:31.362Z] drwxr-xr-x 2 root root 4096 Jun 29 16:52 cost [2022-06-29T17:00:31.362Z] -rw-r--r-- 1 root root 89 Jun 29 16:52 cost.csv [2022-06-29T17:00:31.362Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-94/archives [2022-06-29T17:00:31.362Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-94/archives [2022-06-29T17:00:31.362Z] total 16 [2022-06-29T17:00:31.362Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 16:52 . [2022-06-29T17:00:31.362Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 16:52 .. [2022-06-29T17:00:31.362Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 16:52 cost [2022-06-29T17:00:31.362Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 29 16:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-29T17:00:31.695Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T17:00:32.591Z] ---> package-listing.sh [2022-06-29T17:00:32.591Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-29T17:00:32.591Z] ++ facter osfamily [2022-06-29T17:00:32.851Z] + OS_FAMILY=debian [2022-06-29T17:00:32.851Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-94 [2022-06-29T17:00:32.851Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-29T17:00:32.851Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-29T17:00:32.851Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-29T17:00:32.851Z] + PACKAGES=/tmp/packages_start.txt [2022-06-29T17:00:32.851Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-94 ']' [2022-06-29T17:00:32.851Z] + PACKAGES=/tmp/packages_end.txt [2022-06-29T17:00:32.851Z] + case "${OS_FAMILY}" in [2022-06-29T17:00:32.851Z] + dpkg -l [2022-06-29T17:00:32.851Z] + grep '^ii' [2022-06-29T17:00:32.851Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-29T17:00:32.851Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-29T17:00:32.851Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-29T17:00:32.851Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-94 ']' [2022-06-29T17:00:32.851Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-94/archives/ [2022-06-29T17:00:32.851Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-94/archives/ [Pipeline] echo [2022-06-29T17:00:32.884Z] 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/oundry_device-onvif-camera_PR-94/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-29T17:00:33.176Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T17:00:33.814Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T17:00:33.814Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T17:00:33.969Z] prd-ubuntu20.04-docker-8c-8g-16365 does not seem to be running inside a container [2022-06-29T17:00:34.013Z] $ 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/oundry_device-onvif-camera_PR-94/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-94 -v /w/workspace/oundry_device-onvif-camera_PR-94:/w/workspace/oundry_device-onvif-camera_PR-94:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-94@tmp:/w/workspace/oundry_device-onvif-camera_PR-94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-29T17:00:34.237Z] $ docker top 84489ceeb8f2de9faaa76a7de692ee7b53bcce1ed361d4dd9210c7754b1f30ed -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T17:00:34.639Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-29T17:00:34.949Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-29T17:00:35.259Z] + ls /var/log/sa-host [2022-06-29T17:00:35.259Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T17:00:35.450Z] provisioning config files... [2022-06-29T17:00:35.460Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-94@tmp/config6592808497125976854tmp [Pipeline] { [Pipeline] echo [2022-06-29T17:00:35.511Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T17:00:35.830Z] ---> create-netrc.sh [Pipeline] } [2022-06-29T17:00:35.857Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-29T17:00:36.246Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-29T17:00:36.276Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T17:00:36.589Z] ---> sudo-logs.sh [2022-06-29T17:00:36.589Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-29T17:00:36.668Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T17:00:36.977Z] ---> job-cost.sh [2022-06-29T17:00:36.977Z] lf-activate-venv: SKIPPING [2022-06-29T17:00:36.977Z] DEBUG: total: 0.2199999988079071 [2022-06-29T17:00:36.977Z] INFO: Retrieving Stack Cost... [2022-06-29T17:00:37.917Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T17:00:38.178Z] INFO: Archiving Costs [Pipeline] echo [2022-06-29T17:00:38.215Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T17:00:38.530Z] ---> logs-deploy.sh [2022-06-29T17:00:38.530Z] lf-activate-venv: SKIPPING [2022-06-29T17:00:38.530Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-94/1 [2022-06-29T17:00:38.530Z] INFO: archiving workspace using pattern(s): [2022-06-29T17:00:39.474Z] Archives upload complete. [2022-06-29T17:00:39.735Z] INFO: archiving logs to Nexus