Pull request #182 event Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 48aac476b513547f736cc1fa92662379694eca8e rather than ec78aac8f60fa80343258aafea3521d8f996d761 Obtained Jenkinsfile from 48aac476b513547f736cc1fa92662379694eca8e 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-ssh8624988700021973696.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10422593285004389370.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-182/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-182/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12797051129306920548.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11124543273839466431.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-182/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-182/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12487491134682387483.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-116967 in /w/workspace/undry_device-onvif-camera_PR-182 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-182 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/182/head:refs/remotes/origin/PR-182 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 48aac476b513547f736cc1fa92662379694eca8e into PR head commit ec78aac8f60fa80343258aafea3521d8f996d761 Merge succeeded, producing d5cd690e56a842f6906e652c41dde27842c837f8 Checking out Revision d5cd690e56a842f6906e652c41dde27842c837f8 (PR-182) > git config core.sparsecheckout # timeout=10 > git checkout -f ec78aac8f60fa80343258aafea3521d8f996d761 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 48aac476b513547f736cc1fa92662379694eca8e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d5cd690e56a842f6906e652c41dde27842c837f8 # timeout=10 Commit message: "Merge commit '48aac476b513547f736cc1fa92662379694eca8e' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk a532537c8df3e6dbad09e52d76e7984388350fce # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-25T19:29:59.551Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-25T19:29:59.613Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-25T19:29:59.626Z] ========================================================= [2022-10-25T19:29:59.626Z] EdgeX Global Pipelines Version Info [2022-10-25T19:29:59.626Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-25T19:30:00.332Z] ------------------- [2022-10-25T19:30:00.332Z] stable info: [2022-10-25T19:30:00.332Z] ------------------- [2022-10-25T19:30:00.332Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-25T19:30:00.332Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T19:30:00.332Z] Message: update stable to v1.0.243 [2022-10-25T19:30:00.900Z] ------------------- [2022-10-25T19:30:00.900Z] experimental info: [2022-10-25T19:30:00.900Z] ------------------- [2022-10-25T19:30:00.900Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-25T19:30:00.900Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T19:30:00.900Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-25T19:30:01.067Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-25T19:30:01.077Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-25T19:30:01.093Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-25T19:30:01.109Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-25T19:30:01.121Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-25T19:30:01.134Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-25T19:30:01.152Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-25T19:30:01.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-25T19:30:01.174Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-25T19:30:01.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-25T19:30:01.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-25T19:30:01.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-25T19:30:01.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-25T19:30:01.231Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-25T19:30:01.247Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T19:30:01.263Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T19:30:01.274Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T19:30:01.285Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T19:30:01.296Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-25T19:30:01.311Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-25T19:30:01.328Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-25T19:30:01.345Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-25T19:30:01.361Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-25T19:30:01.375Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-25T19:30:01.387Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-25T19:30:01.399Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-25T19:30:01.413Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-25T19:30:01.427Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-182 [Pipeline] echo [2022-10-25T19:30:01.439Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-182 [Pipeline] echo [2022-10-25T19:30:01.454Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-182 [Pipeline] echo [2022-10-25T19:30:01.469Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d5cd690e56a842f6906e652c41dde27842c837f8 [Pipeline] echo [2022-10-25T19:30:01.485Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d5cd690 [Pipeline] echo [2022-10-25T19:30:01.501Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T19:30:01.545Z] provisioning config files... [2022-10-25T19:30:01.560Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-182@tmp/config14262926799299751222tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T19:30:01.865Z] ---> docker-login.sh [2022-10-25T19:30:01.866Z] nexus3.edgexfoundry.org:10001 [2022-10-25T19:30:02.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T19:30:02.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T19:30:02.131Z] Configure a credential helper to remove this warning. See [2022-10-25T19:30:02.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T19:30:02.131Z] [2022-10-25T19:30:02.131Z] Login Succeeded [2022-10-25T19:30:02.131Z] nexus3.edgexfoundry.org:10002 [2022-10-25T19:30:02.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T19:30:02.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T19:30:02.394Z] Configure a credential helper to remove this warning. See [2022-10-25T19:30:02.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T19:30:02.394Z] [2022-10-25T19:30:02.394Z] Login Succeeded [2022-10-25T19:30:02.394Z] nexus3.edgexfoundry.org:10003 [2022-10-25T19:30:02.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T19:30:02.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T19:30:02.394Z] Configure a credential helper to remove this warning. See [2022-10-25T19:30:02.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T19:30:02.394Z] [2022-10-25T19:30:02.394Z] Login Succeeded [2022-10-25T19:30:02.394Z] nexus3.edgexfoundry.org:10004 [2022-10-25T19:30:02.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T19:30:02.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T19:30:02.655Z] Configure a credential helper to remove this warning. See [2022-10-25T19:30:02.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T19:30:02.655Z] [2022-10-25T19:30:02.655Z] Login Succeeded [2022-10-25T19:30:02.655Z] docker.io [2022-10-25T19:30:02.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T19:30:03.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T19:30:03.224Z] Configure a credential helper to remove this warning. See [2022-10-25T19:30:03.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T19:30:03.224Z] [2022-10-25T19:30:03.224Z] Login Succeeded [2022-10-25T19:30:03.224Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T19:30:03.234Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-25T19:30:03.586Z] + git rev-list -1 --merges d5cd690e56a842f6906e652c41dde27842c837f8~1..d5cd690e56a842f6906e652c41dde27842c837f8 [Pipeline] echo [2022-10-25T19:30:03.618Z] -----------> git rev-list -1 --merges d5cd690e56a842f6906e652c41dde27842c837f8~1..d5cd690e56a842f6906e652c41dde27842c837f8 d5cd690e56a842f6906e652c41dde27842c837f8 [2022-10-25T19:30:03.618Z] d5cd690e56a842f6906e652c41dde27842c837f8 [false] [Pipeline] sh [2022-10-25T19:30:03.908Z] + git log --format=format:%s -1 d5cd690e56a842f6906e652c41dde27842c837f8 [Pipeline] echo [2022-10-25T19:30:03.922Z] ========================================================= [2022-10-25T19:30:03.922Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-25T19:30:03.922Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T19:30:04.235Z] + git log --format=format:%s -1 d5cd690e56a842f6906e652c41dde27842c837f8 [Pipeline] echo [2022-10-25T19:30:04.247Z] [semverPrep] GIT_COMMIT: d5cd690e56a842f6906e652c41dde27842c837f8, Commit Message: Merge commit '48aac476b513547f736cc1fa92662379694eca8e' into HEAD [Pipeline] echo [2022-10-25T19:30:04.256Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-25T19:30:04.650Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T19:30:04.650Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-25T19:30:04.650Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-25T19:30:04.650Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-25T19:30:04.650Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-25T19:30:04.650Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-25T19:30:04.650Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:30:05.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T19:30:05.089Z] [2022-10-25T19:30:05.089Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:30:05.389Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T19:30:05.389Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-25T19:30:05.389Z] b85a868b505f: Pulling fs layer [2022-10-25T19:30:05.389Z] e2be974225ed: Pulling fs layer [2022-10-25T19:30:05.389Z] 339a4e72a1f5: Pulling fs layer [2022-10-25T19:30:05.389Z] 988bab9f4d93: Pulling fs layer [2022-10-25T19:30:05.389Z] 1469e6f7b9e6: Pulling fs layer [2022-10-25T19:30:05.389Z] eaf3925da568: Pulling fs layer [2022-10-25T19:30:05.389Z] bab4dde63d76: Pulling fs layer [2022-10-25T19:30:05.389Z] bde34c3a00c8: Pulling fs layer [2022-10-25T19:30:05.389Z] b352a97aabf1: Pulling fs layer [2022-10-25T19:30:05.389Z] 4872d77fe225: Pulling fs layer [2022-10-25T19:30:05.389Z] 5851b861e8e6: Pulling fs layer [2022-10-25T19:30:05.389Z] 1469e6f7b9e6: Waiting [2022-10-25T19:30:05.389Z] 4872d77fe225: Waiting [2022-10-25T19:30:05.389Z] b352a97aabf1: Waiting [2022-10-25T19:30:05.389Z] 988bab9f4d93: Waiting [2022-10-25T19:30:05.389Z] 5851b861e8e6: Waiting [2022-10-25T19:30:05.389Z] bab4dde63d76: Waiting [2022-10-25T19:30:05.389Z] eaf3925da568: Waiting [2022-10-25T19:30:05.389Z] bde34c3a00c8: Waiting [2022-10-25T19:30:05.389Z] e2be974225ed: Download complete [2022-10-25T19:30:05.389Z] 988bab9f4d93: Verifying Checksum [2022-10-25T19:30:05.389Z] 988bab9f4d93: Download complete [2022-10-25T19:30:05.649Z] 1469e6f7b9e6: Verifying Checksum [2022-10-25T19:30:05.649Z] 1469e6f7b9e6: Download complete [2022-10-25T19:30:05.649Z] eaf3925da568: Verifying Checksum [2022-10-25T19:30:05.649Z] eaf3925da568: Download complete [2022-10-25T19:30:05.649Z] 339a4e72a1f5: Verifying Checksum [2022-10-25T19:30:05.649Z] 339a4e72a1f5: Download complete [2022-10-25T19:30:05.649Z] bde34c3a00c8: Download complete [2022-10-25T19:30:05.649Z] b352a97aabf1: Download complete [2022-10-25T19:30:05.649Z] 4872d77fe225: Download complete [2022-10-25T19:30:05.649Z] 5851b861e8e6: Download complete [2022-10-25T19:30:05.649Z] b85a868b505f: Verifying Checksum [2022-10-25T19:30:05.649Z] b85a868b505f: Download complete [2022-10-25T19:30:05.908Z] bab4dde63d76: Verifying Checksum [2022-10-25T19:30:05.908Z] bab4dde63d76: Download complete [2022-10-25T19:30:06.850Z] b85a868b505f: Pull complete [2022-10-25T19:30:06.850Z] e2be974225ed: Pull complete [2022-10-25T19:30:07.416Z] 339a4e72a1f5: Pull complete [2022-10-25T19:30:07.416Z] 988bab9f4d93: Pull complete [2022-10-25T19:30:07.675Z] 1469e6f7b9e6: Pull complete [2022-10-25T19:30:07.933Z] eaf3925da568: Pull complete [2022-10-25T19:30:09.835Z] bab4dde63d76: Pull complete [2022-10-25T19:30:09.835Z] bde34c3a00c8: Pull complete [2022-10-25T19:30:09.835Z] b352a97aabf1: Pull complete [2022-10-25T19:30:09.835Z] 4872d77fe225: Pull complete [2022-10-25T19:30:09.835Z] 5851b861e8e6: Pull complete [2022-10-25T19:30:09.835Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-25T19:30:09.835Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T19:30:09.835Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T19:30:09.909Z] prd-ubuntu20.04-docker-8c-8g-116967 does not seem to be running inside a container [2022-10-25T19:30:09.932Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-182 -v /w/workspace/undry_device-onvif-camera_PR-182:/w/workspace/undry_device-onvif-camera_PR-182:rw,z -v /w/workspace/undry_device-onvif-camera_PR-182@tmp:/w/workspace/undry_device-onvif-camera_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-25T19:30:11.480Z] $ docker top 196206a111431dbe5dab66c41fd371e4d68f72952f1f1bee75b00b343a2ded49 -eo pid,comm [2022-10-25T19:30:11.541Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-25T19:30:11.541Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T19:30:11.578Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T19:30:11.578Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T19:30:11.679Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T19:30:11.675Z] $ docker exec 196206a111431dbe5dab66c41fd371e4d68f72952f1f1bee75b00b343a2ded49 ssh-agent [2022-10-25T19:30:11.800Z] SSH_AUTH_SOCK=/tmp/ssh-I5OtIGEABufG/agent.32 [2022-10-25T19:30:11.800Z] SSH_AGENT_PID=38 [2022-10-25T19:30:11.806Z] Running ssh-add (command line suppressed) [2022-10-25T19:30:11.889Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-182@tmp/private_key_12868431810663892497.key (/w/workspace/undry_device-onvif-camera_PR-182@tmp/private_key_12868431810663892497.key) [2022-10-25T19:30:11.907Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T19:30:12.193Z] + git tag --points-at HEAD [Pipeline] } [2022-10-25T19:30:12.202Z] $ docker exec --env ******** --env ******** 196206a111431dbe5dab66c41fd371e4d68f72952f1f1bee75b00b343a2ded49 ssh-agent -k [2022-10-25T19:30:12.292Z] unset SSH_AUTH_SOCK; [2022-10-25T19:30:12.293Z] unset SSH_AGENT_PID; [2022-10-25T19:30:12.293Z] echo Agent pid 38 killed; [2022-10-25T19:30:12.311Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-25T19:30:12.336Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T19:30:12.336Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T19:30:12.451Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T19:30:12.447Z] $ docker exec 196206a111431dbe5dab66c41fd371e4d68f72952f1f1bee75b00b343a2ded49 ssh-agent [2022-10-25T19:30:12.566Z] SSH_AUTH_SOCK=/tmp/ssh-7Lkc8ZJT2MB3/agent.70 [2022-10-25T19:30:12.566Z] SSH_AGENT_PID=76 [2022-10-25T19:30:12.570Z] Running ssh-add (command line suppressed) [2022-10-25T19:30:12.671Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-182@tmp/private_key_3803082705049862156.key (/w/workspace/undry_device-onvif-camera_PR-182@tmp/private_key_3803082705049862156.key) [2022-10-25T19:30:12.691Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T19:30:12.975Z] + git semver init [2022-10-25T19:30:13.234Z] 2022-10-25 19:30:13,161 [run_init] DEBUG init version:0.0.0 force:False [2022-10-25T19:30:13.234Z] 2022-10-25 19:30:13,162 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-182/.semver [2022-10-25T19:30:13.234Z] 2022-10-25 19:30:13,162 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-182/.semver [2022-10-25T19:30:13.234Z] 2022-10-25 19:30:13,163 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-182/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-182, universal_newlines=False, shell=None, istream=None) [2022-10-25T19:30:14.611Z] 2022-10-25 19:30:14,421 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-182/.git/info/exclude [2022-10-25T19:30:14.612Z] 2022-10-25 19:30:14,422 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-182/.semver/PR-182 with force:False [2022-10-25T19:30:14.612Z] 2022-10-25 19:30:14,422 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-182/.semver/PR-182 [2022-10-25T19:30:14.612Z] 2022-10-25 19:30:14,426 [execute] INFO git cat-file --batch-check [2022-10-25T19:30:14.612Z] 2022-10-25 19:30:14,427 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-182/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T19:30:14.612Z] 2022-10-25 19:30:14,434 [execute] INFO git cat-file --batch [2022-10-25T19:30:14.612Z] 2022-10-25 19:30:14,434 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-182/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T19:30:14.612Z] 2022-10-25 19:30:14,440 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-182/.semver/PR-182 [2022-10-25T19:30:14.612Z] 0.0.0 [Pipeline] } [2022-10-25T19:30:14.616Z] $ docker exec --env ******** --env ******** 196206a111431dbe5dab66c41fd371e4d68f72952f1f1bee75b00b343a2ded49 ssh-agent -k [2022-10-25T19:30:14.721Z] unset SSH_AUTH_SOCK; [2022-10-25T19:30:14.723Z] unset SSH_AGENT_PID; [2022-10-25T19:30:14.723Z] echo Agent pid 76 killed; [2022-10-25T19:30:14.737Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T19:30:15.099Z] + git semver [Pipeline] } [2022-10-25T19:30:15.366Z] $ docker stop --time=1 196206a111431dbe5dab66c41fd371e4d68f72952f1f1bee75b00b343a2ded49 [2022-10-25T19:30:16.655Z] $ docker rm -f 196206a111431dbe5dab66c41fd371e4d68f72952f1f1bee75b00b343a2ded49 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T19:30:16.990Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-25T19:30:17.152Z] Stashed 1 file(s) [Pipeline] echo [2022-10-25T19:30:17.155Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T19:30:17.263Z] provisioning config files... [2022-10-25T19:30:17.271Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-182@tmp/config5395942899382443036tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T19:30:17.561Z] ---> docker-login.sh [2022-10-25T19:30:17.561Z] nexus3.edgexfoundry.org:10001 [2022-10-25T19:30:17.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T19:30:17.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T19:30:17.561Z] Configure a credential helper to remove this warning. See [2022-10-25T19:30:17.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T19:30:17.561Z] [2022-10-25T19:30:17.561Z] Login Succeeded [2022-10-25T19:30:17.561Z] nexus3.edgexfoundry.org:10002 [2022-10-25T19:30:17.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T19:30:17.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T19:30:17.561Z] Configure a credential helper to remove this warning. See [2022-10-25T19:30:17.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T19:30:17.561Z] [2022-10-25T19:30:17.561Z] Login Succeeded [2022-10-25T19:30:17.561Z] nexus3.edgexfoundry.org:10003 [2022-10-25T19:30:17.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T19:30:17.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T19:30:17.820Z] Configure a credential helper to remove this warning. See [2022-10-25T19:30:17.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T19:30:17.820Z] [2022-10-25T19:30:17.820Z] Login Succeeded [2022-10-25T19:30:17.820Z] nexus3.edgexfoundry.org:10004 [2022-10-25T19:30:17.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T19:30:17.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T19:30:17.820Z] Configure a credential helper to remove this warning. See [2022-10-25T19:30:17.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T19:30:17.820Z] [2022-10-25T19:30:17.820Z] Login Succeeded [2022-10-25T19:30:17.820Z] docker.io [2022-10-25T19:30:18.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T19:30:18.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T19:30:18.351Z] Configure a credential helper to remove this warning. See [2022-10-25T19:30:18.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T19:30:18.351Z] [2022-10-25T19:30:18.351Z] Login Succeeded [2022-10-25T19:30:18.351Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T19:30:18.377Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T19:30:18.442Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T19:30:18.452Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T19:30:18.458Z] ========================================================= [2022-10-25T19:30:18.458Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-25T19:30:18.458Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:30:18.814Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-25T19:30:18.814Z] Sending build context to Docker daemon 21.56MB [2022-10-25T19:30:18.814Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T19:30:18.814Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-25T19:30:19.112Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-25T19:30:19.113Z] 213ec9aee27d: Pulling fs layer [2022-10-25T19:30:19.113Z] 4583459ba037: Pulling fs layer [2022-10-25T19:30:19.113Z] 93c1e223e6f2: Pulling fs layer [2022-10-25T19:30:19.113Z] 53926ce57604: Pulling fs layer [2022-10-25T19:30:19.113Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-25T19:30:19.113Z] 30f14e443154: Pulling fs layer [2022-10-25T19:30:19.113Z] 801331c1e519: Pulling fs layer [2022-10-25T19:30:19.113Z] 99cc6dd402b0: Pulling fs layer [2022-10-25T19:30:19.113Z] 7d9ed39f4882: Pulling fs layer [2022-10-25T19:30:19.113Z] 53926ce57604: Waiting [2022-10-25T19:30:19.113Z] 21b2b0c7a3f4: Waiting [2022-10-25T19:30:19.113Z] 30f14e443154: Waiting [2022-10-25T19:30:19.113Z] 801331c1e519: Waiting [2022-10-25T19:30:19.113Z] 99cc6dd402b0: Waiting [2022-10-25T19:30:19.113Z] 7d9ed39f4882: Waiting [2022-10-25T19:30:19.113Z] 93c1e223e6f2: Download complete [2022-10-25T19:30:19.113Z] 4583459ba037: Download complete [2022-10-25T19:30:19.113Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-25T19:30:19.401Z] 30f14e443154: Verifying Checksum [2022-10-25T19:30:19.401Z] 30f14e443154: Download complete [2022-10-25T19:30:19.401Z] 213ec9aee27d: Verifying Checksum [2022-10-25T19:30:19.401Z] 213ec9aee27d: Pull complete [2022-10-25T19:30:19.711Z] 801331c1e519: Download complete [2022-10-25T19:30:19.712Z] 4583459ba037: Pull complete [2022-10-25T19:30:19.712Z] 93c1e223e6f2: Pull complete [2022-10-25T19:30:21.259Z] 7d9ed39f4882: Verifying Checksum [2022-10-25T19:30:21.259Z] 7d9ed39f4882: Download complete [2022-10-25T19:30:21.259Z] 53926ce57604: Verifying Checksum [2022-10-25T19:30:21.259Z] 53926ce57604: Download complete [2022-10-25T19:30:21.528Z] 99cc6dd402b0: Verifying Checksum [2022-10-25T19:30:21.528Z] 99cc6dd402b0: Download complete [2022-10-25T19:30:24.817Z] 53926ce57604: Pull complete [2022-10-25T19:30:24.817Z] 21b2b0c7a3f4: Pull complete [2022-10-25T19:30:24.817Z] 30f14e443154: Pull complete [2022-10-25T19:30:24.817Z] 801331c1e519: Pull complete [2022-10-25T19:30:26.725Z] 99cc6dd402b0: Pull complete [2022-10-25T19:30:27.669Z] 7d9ed39f4882: Pull complete [2022-10-25T19:30:27.669Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-25T19:30:27.669Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-25T19:30:27.669Z] ---> 1dedd983c030 [2022-10-25T19:30:27.669Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-25T19:30:30.203Z] ---> Running in 552ed72cbedf [2022-10-25T19:30:30.203Z] Removing intermediate container 552ed72cbedf [2022-10-25T19:30:30.203Z] ---> c0810d391920 [2022-10-25T19:30:30.203Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T19:30:30.203Z] ---> Running in 8472e86e2d17 [2022-10-25T19:30:30.203Z] Removing intermediate container 8472e86e2d17 [2022-10-25T19:30:30.203Z] ---> a04c1b9ff6c0 [2022-10-25T19:30:30.203Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T19:30:30.203Z] ---> Running in 719a3ba4ffff [2022-10-25T19:30:30.203Z] Removing intermediate container 719a3ba4ffff [2022-10-25T19:30:30.203Z] ---> 2cfba5945e7b [2022-10-25T19:30:30.203Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T19:30:30.203Z] ---> Running in 62cb4703d394 [2022-10-25T19:30:30.203Z] Removing intermediate container 62cb4703d394 [2022-10-25T19:30:30.203Z] ---> bde06edbd494 [2022-10-25T19:30:30.203Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-25T19:30:30.203Z] ---> Running in 80708636ffbc [2022-10-25T19:30:30.203Z] Removing intermediate container 80708636ffbc [2022-10-25T19:30:30.203Z] ---> cbee155e018a [2022-10-25T19:30:30.203Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T19:30:30.461Z] ---> Running in 9bc5a14c3ef2 [2022-10-25T19:30:31.026Z] Removing intermediate container 9bc5a14c3ef2 [2022-10-25T19:30:31.026Z] ---> 161e6e2841cb [2022-10-25T19:30:31.026Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T19:30:31.026Z] ---> Running in 0940bd34059e [2022-10-25T19:30:31.026Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T19:30:31.594Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T19:30:32.162Z] OK: 211 MiB in 51 packages [2022-10-25T19:30:32.234Z] Still waiting to schedule task [2022-10-25T19:30:32.234Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-25T19:30:32.421Z] Removing intermediate container 0940bd34059e [2022-10-25T19:30:32.421Z] ---> 10de06d4b301 [2022-10-25T19:30:32.421Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-25T19:30:32.421Z] ---> Running in 6dc10bc32d5e [2022-10-25T19:30:32.679Z] Removing intermediate container 6dc10bc32d5e [2022-10-25T19:30:32.679Z] ---> 834a32f7f099 [2022-10-25T19:30:32.679Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-25T19:30:32.679Z] ---> 903128ed3f8b [2022-10-25T19:30:32.679Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T19:30:32.679Z] ---> Running in d61b322dfc5a [2022-10-25T19:30:54.622Z] Removing intermediate container d61b322dfc5a [2022-10-25T19:30:54.622Z] ---> 25a5fa18ac84 [2022-10-25T19:30:54.622Z] Step 13/14 : COPY . . [2022-10-25T19:30:54.622Z] ---> 8b83ff3b2970 [2022-10-25T19:30:54.622Z] Step 14/14 : RUN ${MAKE} [2022-10-25T19:30:54.622Z] ---> Running in ec5fa921422c [2022-10-25T19:30:54.622Z] noop [2022-10-25T19:30:54.622Z] Removing intermediate container ec5fa921422c [2022-10-25T19:30:54.622Z] ---> d7019de30b52 [2022-10-25T19:30:54.622Z] Successfully built d7019de30b52 [2022-10-25T19:30:54.622Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:30:54.935Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T19:30:54.935Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T19:30:55.002Z] prd-ubuntu20.04-docker-8c-8g-116967 does not seem to be running inside a container [2022-10-25T19:30:55.031Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-182 -v /w/workspace/undry_device-onvif-camera_PR-182:/w/workspace/undry_device-onvif-camera_PR-182:rw,z -v /w/workspace/undry_device-onvif-camera_PR-182@tmp:/w/workspace/undry_device-onvif-camera_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-25T19:30:55.353Z] $ docker top 2066c04637e1f78b9123532579e35ac4fd3856ee8299f099ab7dd5454ea31792 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T19:30:55.688Z] + go version [2022-10-25T19:30:55.688Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-25T19:30:55.699Z] $ docker stop --time=1 2066c04637e1f78b9123532579e35ac4fd3856ee8299f099ab7dd5454ea31792 [2022-10-25T19:30:56.975Z] $ docker rm -f 2066c04637e1f78b9123532579e35ac4fd3856ee8299f099ab7dd5454ea31792 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:30:57.373Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T19:30:57.373Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T19:30:57.432Z] prd-ubuntu20.04-docker-8c-8g-116967 does not seem to be running inside a container [2022-10-25T19:30:57.465Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-182 -v /w/workspace/undry_device-onvif-camera_PR-182:/w/workspace/undry_device-onvif-camera_PR-182:rw,z -v /w/workspace/undry_device-onvif-camera_PR-182@tmp:/w/workspace/undry_device-onvif-camera_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-25T19:30:57.803Z] $ docker top 752294f9e0490a5e014f52861806f558cd4d3532029a010833814801bc0931a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T19:30:58.134Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-182 [Pipeline] fileExists [Pipeline] sh [2022-10-25T19:30:58.428Z] + make test [2022-10-25T19:30:58.428Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T19:30:58.685Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-25T19:31:09.033Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-25T19:31:11.622Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 29.3% of statements [2022-10-25T19:31:11.622Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-25T19:31:11.622Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.216s coverage: 86.5% of statements [2022-10-25T19:31:18.269Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-25T19:31:18.270Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T19:31:21.550Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T19:31:21.550Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T19:31:21.550Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T19:31:21.561Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T19:31:21.573Z] $ docker stop --time=1 752294f9e0490a5e014f52861806f558cd4d3532029a010833814801bc0931a3 [2022-10-25T19:31:23.743Z] $ docker rm -f 752294f9e0490a5e014f52861806f558cd4d3532029a010833814801bc0931a3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T19:31:24.182Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T19:31:24.248Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-25T19:31:24.865Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T19:31:25.149Z] + ls -al . [2022-10-25T19:31:25.149Z] total 244 [2022-10-25T19:31:25.149Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 19:30 . [2022-10-25T19:31:25.149Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 19:29 .. [2022-10-25T19:31:25.149Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 19:31 .git [2022-10-25T19:31:25.149Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 19:29 .github [2022-10-25T19:31:25.149Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 25 19:29 .gitignore [2022-10-25T19:31:25.149Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 19:29 .golangci.yml [2022-10-25T19:31:25.149Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 19:30 .semver [2022-10-25T19:31:25.149Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 25 19:29 Attribution.txt [2022-10-25T19:31:25.149Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 25 19:29 CHANGELOG.md [2022-10-25T19:31:25.149Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 25 19:29 Dockerfile [2022-10-25T19:31:25.149Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 19:29 GOVERNANCE.md [2022-10-25T19:31:25.149Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 25 19:29 Jenkinsfile [2022-10-25T19:31:25.149Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 19:29 LICENSE [2022-10-25T19:31:25.149Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 25 19:29 Makefile [2022-10-25T19:31:25.149Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 25 19:29 OWNERS.md [2022-10-25T19:31:25.149Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 25 19:29 README.md [2022-10-25T19:31:25.149Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 19:30 VERSION [2022-10-25T19:31:25.149Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 19:29 bin [2022-10-25T19:31:25.149Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 19:29 cmd [2022-10-25T19:31:25.149Z] -rw-r--r-- 1 jenkins jenkins 79184 Oct 25 19:31 coverage.out [2022-10-25T19:31:25.149Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 19:29 doc [2022-10-25T19:31:25.149Z] -rw-rw-r-- 1 jenkins jenkins 3735 Oct 25 19:29 go.mod [2022-10-25T19:31:25.149Z] -rw-rw-r-- 1 jenkins jenkins 46201 Oct 25 19:29 go.sum [2022-10-25T19:31:25.149Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 19:29 internal [2022-10-25T19:31:25.149Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 19:29 snap [2022-10-25T19:31:25.149Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 25 19:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:31:25.450Z] + 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=d5cd690e56a842f6906e652c41dde27842c837f8 --label arch=amd64 --label version=0.0.0 . [2022-10-25T19:31:25.450Z] Sending build context to Docker daemon 21.64MB [2022-10-25T19:31:25.450Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T19:31:25.450Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-25T19:31:25.450Z] ---> d7019de30b52 [2022-10-25T19:31:25.450Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-25T19:31:25.709Z] ---> Running in 350264b86d46 [2022-10-25T19:31:25.709Z] Removing intermediate container 350264b86d46 [2022-10-25T19:31:25.709Z] ---> 5c2ca00cb45e [2022-10-25T19:31:25.709Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T19:31:25.709Z] ---> Running in a0037637b587 [2022-10-25T19:31:25.967Z] Removing intermediate container a0037637b587 [2022-10-25T19:31:25.967Z] ---> cb1ab9055b07 [2022-10-25T19:31:25.967Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T19:31:25.967Z] ---> Running in dd8ecdbf2c99 [2022-10-25T19:31:25.967Z] Removing intermediate container dd8ecdbf2c99 [2022-10-25T19:31:25.967Z] ---> d9a961816720 [2022-10-25T19:31:25.967Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T19:31:25.967Z] ---> Running in 102cb01754fe [2022-10-25T19:31:25.967Z] Removing intermediate container 102cb01754fe [2022-10-25T19:31:25.967Z] ---> 1e600bb63aca [2022-10-25T19:31:25.967Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-25T19:31:25.967Z] ---> Running in ae0318e48a25 [2022-10-25T19:31:26.225Z] Removing intermediate container ae0318e48a25 [2022-10-25T19:31:26.225Z] ---> da7c60487eab [2022-10-25T19:31:26.225Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T19:31:26.225Z] ---> Running in d6f063e839d0 [2022-10-25T19:31:26.789Z] Removing intermediate container d6f063e839d0 [2022-10-25T19:31:26.789Z] ---> 346a4aa31b78 [2022-10-25T19:31:26.789Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T19:31:26.789Z] ---> Running in 388493d541ac [2022-10-25T19:31:26.789Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T19:31:27.358Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T19:31:27.927Z] OK: 211 MiB in 51 packages [2022-10-25T19:31:28.185Z] Removing intermediate container 388493d541ac [2022-10-25T19:31:28.185Z] ---> d936a781cf86 [2022-10-25T19:31:28.185Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-25T19:31:28.185Z] ---> Running in e5954a88ac10 [2022-10-25T19:31:28.185Z] Removing intermediate container e5954a88ac10 [2022-10-25T19:31:28.185Z] ---> 90f67657262e [2022-10-25T19:31:28.185Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-25T19:31:28.443Z] ---> 0b4b3ce20902 [2022-10-25T19:31:28.443Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T19:31:28.443Z] ---> Running in 0bc7b8645b2e [2022-10-25T19:31:29.008Z] Removing intermediate container 0bc7b8645b2e [2022-10-25T19:31:29.008Z] ---> 77f3f0dc025b [2022-10-25T19:31:29.008Z] Step 13/27 : COPY . . [2022-10-25T19:31:29.945Z] ---> 0713466f908e [2022-10-25T19:31:29.945Z] Step 14/27 : RUN ${MAKE} [2022-10-25T19:31:29.945Z] ---> Running in 777aafe4980e [2022-10-25T19:31:29.945Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-25T19:31:51.855Z] Removing intermediate container 777aafe4980e [2022-10-25T19:31:51.855Z] ---> 8f734b240b1d [2022-10-25T19:31:51.856Z] Step 15/27 : FROM alpine:3.16 [2022-10-25T19:31:51.856Z] 3.16: Pulling from library/alpine [2022-10-25T19:31:51.856Z] 213ec9aee27d: Already exists [2022-10-25T19:31:51.856Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T19:31:51.856Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T19:31:51.856Z] ---> 9c6f07244728 [2022-10-25T19:31:51.856Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-25T19:31:51.856Z] ---> Running in 1527bae80134 [2022-10-25T19:31:51.856Z] Removing intermediate container 1527bae80134 [2022-10-25T19:31:51.856Z] ---> bd30a12af1e9 [2022-10-25T19:31:51.856Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T19:31:51.856Z] ---> Running in e7c28ede6bad [2022-10-25T19:31:51.856Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T19:31:51.856Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T19:31:51.856Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T19:31:51.856Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T19:31:51.856Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T19:31:51.856Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T19:31:51.856Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T19:31:51.856Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T19:31:51.856Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T19:31:51.856Z] OK: 8 MiB in 20 packages [2022-10-25T19:31:52.421Z] Removing intermediate container e7c28ede6bad [2022-10-25T19:31:52.421Z] ---> 656eb5a1e399 [2022-10-25T19:31:52.421Z] Step 18/27 : WORKDIR / [2022-10-25T19:31:52.421Z] ---> Running in 2ee40bb1293d [2022-10-25T19:31:52.421Z] Removing intermediate container 2ee40bb1293d [2022-10-25T19:31:52.421Z] ---> ac586c7118a8 [2022-10-25T19:31:52.421Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-25T19:31:53.363Z] ---> 132ecf1daa08 [2022-10-25T19:31:53.363Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-25T19:31:53.363Z] ---> 2a5ffd526b4e [2022-10-25T19:31:53.363Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-25T19:31:53.363Z] ---> 0fcdfbb0b588 [2022-10-25T19:31:53.363Z] Step 22/27 : EXPOSE 59984 [2022-10-25T19:31:53.363Z] ---> Running in 44670a180bb1 [2022-10-25T19:31:53.363Z] Removing intermediate container 44670a180bb1 [2022-10-25T19:31:53.363Z] ---> 1761a67425c8 [2022-10-25T19:31:53.363Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-25T19:31:53.363Z] ---> Running in 066a49eb3801 [2022-10-25T19:31:53.622Z] Removing intermediate container 066a49eb3801 [2022-10-25T19:31:53.622Z] ---> 4bb795e62b40 [2022-10-25T19:31:53.622Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-25T19:31:53.622Z] ---> Running in 8d84feec50d3 [2022-10-25T19:31:53.622Z] Removing intermediate container 8d84feec50d3 [2022-10-25T19:31:53.622Z] ---> 6a385d9e3278 [2022-10-25T19:31:53.622Z] Step 25/27 : LABEL arch=amd64 [2022-10-25T19:31:53.622Z] ---> Running in 6056339b972e [2022-10-25T19:31:53.622Z] Removing intermediate container 6056339b972e [2022-10-25T19:31:53.622Z] ---> e41e274dbb4d [2022-10-25T19:31:53.622Z] Step 26/27 : LABEL git_sha=d5cd690e56a842f6906e652c41dde27842c837f8 [2022-10-25T19:31:53.622Z] ---> Running in 85c4213b415c [2022-10-25T19:31:53.881Z] Removing intermediate container 85c4213b415c [2022-10-25T19:31:53.881Z] ---> 7cb45eba355a [2022-10-25T19:31:53.881Z] Step 27/27 : LABEL version=0.0.0 [2022-10-25T19:31:53.881Z] ---> Running in 790020db6a7e [2022-10-25T19:31:53.881Z] Removing intermediate container 790020db6a7e [2022-10-25T19:31:53.881Z] ---> c141ea1aadb3 [2022-10-25T19:31:53.881Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T19:31:53.881Z] Successfully built c141ea1aadb3 [2022-10-25T19:31:53.881Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:31:54.328Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T19:31:54.328Z] [2022-10-25T19:31:54.328Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:31:54.627Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T19:31:54.627Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-25T19:31:54.627Z] 5eb5b503b376: Pulling fs layer [2022-10-25T19:31:54.627Z] 5c69ac0246d0: Pulling fs layer [2022-10-25T19:31:54.627Z] ec43610c2a17: Pulling fs layer [2022-10-25T19:31:54.627Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-25T19:31:54.627Z] 33b1e0a273af: Pulling fs layer [2022-10-25T19:31:54.627Z] 5d3b04190fa2: Pulling fs layer [2022-10-25T19:31:54.627Z] 2f39f015ded8: Pulling fs layer [2022-10-25T19:31:54.627Z] 33b1e0a273af: Waiting [2022-10-25T19:31:54.627Z] 5d3b04190fa2: Waiting [2022-10-25T19:31:54.627Z] 2f39f015ded8: Waiting [2022-10-25T19:31:54.627Z] 3a2ae6a8a46f: Waiting [2022-10-25T19:31:54.627Z] 5c69ac0246d0: Verifying Checksum [2022-10-25T19:31:54.627Z] 5c69ac0246d0: Download complete [2022-10-25T19:31:54.627Z] 3a2ae6a8a46f: Download complete [2022-10-25T19:31:54.627Z] 33b1e0a273af: Verifying Checksum [2022-10-25T19:31:54.627Z] 33b1e0a273af: Download complete [2022-10-25T19:31:54.627Z] 5d3b04190fa2: Verifying Checksum [2022-10-25T19:31:54.627Z] 5d3b04190fa2: Download complete [2022-10-25T19:31:54.627Z] ec43610c2a17: Download complete [2022-10-25T19:31:54.886Z] 5eb5b503b376: Verifying Checksum [2022-10-25T19:31:54.886Z] 5eb5b503b376: Download complete [2022-10-25T19:31:55.451Z] 2f39f015ded8: Verifying Checksum [2022-10-25T19:31:55.451Z] 2f39f015ded8: Download complete [2022-10-25T19:31:56.016Z] 5eb5b503b376: Pull complete [2022-10-25T19:31:56.016Z] 5c69ac0246d0: Pull complete [2022-10-25T19:31:56.581Z] ec43610c2a17: Pull complete [2022-10-25T19:31:56.581Z] 3a2ae6a8a46f: Pull complete [2022-10-25T19:31:56.840Z] 33b1e0a273af: Pull complete [2022-10-25T19:31:56.840Z] 5d3b04190fa2: Pull complete [2022-10-25T19:32:01.018Z] 2f39f015ded8: Pull complete [2022-10-25T19:32:01.018Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-25T19:32:01.018Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T19:32:01.018Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T19:32:01.089Z] prd-ubuntu20.04-docker-8c-8g-116967 does not seem to be running inside a container [2022-10-25T19:32:01.120Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-182 -v /w/workspace/undry_device-onvif-camera_PR-182:/w/workspace/undry_device-onvif-camera_PR-182:rw,z -v /w/workspace/undry_device-onvif-camera_PR-182@tmp:/w/workspace/undry_device-onvif-camera_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-25T19:32:04.788Z] $ docker top 7b7696a329c9c97fef8632af98ffe4102303233c51d56f3358d88d5206e15891 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T19:32:05.174Z] ---> job-cost.sh [2022-10-25T19:32:05.174Z] lf-activate-venv: SKIPPING [2022-10-25T19:32:05.174Z] INFO: No Stack... [2022-10-25T19:32:05.433Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T19:32:06.006Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T19:32:06.295Z] + + cat /w/workspace/undry_device-onvif-camera_PR-182/archives/cost.csv [2022-10-25T19:32:06.295Z] cut -d, -f6 [Pipeline] lock [2022-10-25T19:32:06.308Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-182-3-stack-cost] [2022-10-25T19:32:06.313Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-182-3-stack-cost] did not exist. Created. [2022-10-25T19:32:06.314Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-182-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T19:32:06.609Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-25T19:32:06.639Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T19:32:06.645Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-182-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T19:32:06.665Z] $ docker stop --time=1 7b7696a329c9c97fef8632af98ffe4102303233c51d56f3358d88d5206e15891 [2022-10-25T19:32:07.827Z] $ docker rm -f 7b7696a329c9c97fef8632af98ffe4102303233c51d56f3358d88d5206e15891 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-25T19:50:53.548Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-116973 in /w/workspace/undry_device-onvif-camera_PR-182 [Pipeline] { [Pipeline] ws [2022-10-25T19:50:53.561Z] Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout [2022-10-25T19:50:53.602Z] The recommended git tool is: git [2022-10-25T19:51:00.064Z] using credential edgex-jenkins-ssh [2022-10-25T19:51:00.087Z] Cloning the remote Git repository [2022-10-25T19:51:00.148Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-25T19:51:00.247Z] > git init /w/workspace/device-onvif-camera/3 # timeout=10 [2022-10-25T19:51:00.426Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-25T19:51:00.427Z] > git --version # timeout=10 [2022-10-25T19:51:00.454Z] > git --version # 'git version 2.25.1' [2022-10-25T19:51:00.456Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T19:51:00.515Z] Verifying host key using known hosts file [2022-10-25T19:51:00.765Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-25T19:51:00.779Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T19:51:02.331Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-25T19:51:02.373Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T19:51:03.359Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-25T19:51:03.414Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-25T19:51:03.416Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T19:51:03.422Z] Verifying host key using known hosts file [2022-10-25T19:51:03.429Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-25T19:51:03.442Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/182/head:refs/remotes/origin/PR-182 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-25T19:51:04.110Z] Merging remotes/origin/main commit 48aac476b513547f736cc1fa92662379694eca8e into PR head commit ec78aac8f60fa80343258aafea3521d8f996d761 [2022-10-25T19:51:05.106Z] Merge succeeded, producing 40d336d63f4ac0db0ac91ca2e2b01e2833dbf53a [2022-10-25T19:51:05.106Z] Checking out Revision 40d336d63f4ac0db0ac91ca2e2b01e2833dbf53a (PR-182) [2022-10-25T19:51:04.134Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T19:51:04.172Z] > git checkout -f ec78aac8f60fa80343258aafea3521d8f996d761 # timeout=10 [2022-10-25T19:51:04.433Z] > git remote # timeout=10 [2022-10-25T19:51:04.450Z] > git config --get remote.origin.url # timeout=10 [2022-10-25T19:51:04.472Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T19:51:04.478Z] Verifying host key using known hosts file [2022-10-25T19:51:04.482Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-25T19:51:04.492Z] > git merge 48aac476b513547f736cc1fa92662379694eca8e # timeout=10 [2022-10-25T19:51:05.088Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-25T19:51:05.113Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T19:51:05.128Z] > git checkout -f 40d336d63f4ac0db0ac91ca2e2b01e2833dbf53a # timeout=10 [2022-10-25T19:51:08.693Z] Commit message: "Merge commit '48aac476b513547f736cc1fa92662379694eca8e' into HEAD" [2022-10-25T19:51:08.728Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T19:51:09.738Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-25T19:51:09.738Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T19:51:09.738Z] Dload Upload Total Spent Left Speed [2022-10-25T19:51:09.738Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 56008 0 --:--:-- --:--:-- --:--:-- 55761 [2022-10-25T19:51:08.706Z] > git rev-list --no-walk a532537c8df3e6dbad09e52d76e7984388350fce # timeout=10 [Pipeline] sh [2022-10-25T19:51:10.506Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-25T19:51:10.850Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-25T19:51:10.850Z] + sudo tee /etc/docker/daemon.new [2022-10-25T19:51:10.850Z] { [2022-10-25T19:51:10.850Z] "registry-mirrors": [ [2022-10-25T19:51:10.850Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-25T19:51:10.850Z] ], [2022-10-25T19:51:10.850Z] "bip": "10.250.0.254/24", [2022-10-25T19:51:10.850Z] "hosts": [ [2022-10-25T19:51:10.850Z] "tcp://0.0.0.0:5555", [2022-10-25T19:51:10.850Z] "unix:///var/run/docker.sock" [2022-10-25T19:51:10.850Z] ], [2022-10-25T19:51:10.850Z] "mtu": 1458, [2022-10-25T19:51:10.850Z] "selinux-enabled": true, [2022-10-25T19:51:10.850Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-25T19:51:10.850Z] } [Pipeline] sh [2022-10-25T19:51:11.193Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-25T19:51:11.539Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T19:51:29.853Z] provisioning config files... [2022-10-25T19:51:29.886Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config5874088328817022783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T19:51:30.259Z] ---> docker-login.sh [2022-10-25T19:51:30.259Z] nexus3.edgexfoundry.org:10001 [2022-10-25T19:51:30.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T19:51:31.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T19:51:31.445Z] Configure a credential helper to remove this warning. See [2022-10-25T19:51:31.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T19:51:31.445Z] [2022-10-25T19:51:31.445Z] Login Succeeded [2022-10-25T19:51:31.445Z] nexus3.edgexfoundry.org:10002 [2022-10-25T19:51:31.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T19:51:31.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T19:51:31.716Z] Configure a credential helper to remove this warning. See [2022-10-25T19:51:31.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T19:51:31.716Z] [2022-10-25T19:51:31.716Z] Login Succeeded [2022-10-25T19:51:31.716Z] nexus3.edgexfoundry.org:10003 [2022-10-25T19:51:31.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T19:51:32.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T19:51:32.264Z] Configure a credential helper to remove this warning. See [2022-10-25T19:51:32.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T19:51:32.264Z] [2022-10-25T19:51:32.264Z] Login Succeeded [2022-10-25T19:51:32.264Z] nexus3.edgexfoundry.org:10004 [2022-10-25T19:51:32.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T19:51:32.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T19:51:32.538Z] Configure a credential helper to remove this warning. See [2022-10-25T19:51:32.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T19:51:32.538Z] [2022-10-25T19:51:32.538Z] Login Succeeded [2022-10-25T19:51:32.538Z] docker.io [2022-10-25T19:51:32.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T19:51:33.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T19:51:33.396Z] Configure a credential helper to remove this warning. See [2022-10-25T19:51:33.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T19:51:33.396Z] [2022-10-25T19:51:33.396Z] Login Succeeded [2022-10-25T19:51:33.396Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T19:51:33.410Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T19:51:33.737Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T19:51:33.747Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T19:51:33.757Z] ========================================================= [2022-10-25T19:51:33.757Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-25T19:51:33.757Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:51:34.104Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-25T19:51:34.715Z] Sending build context to Docker daemon 14.86MB [2022-10-25T19:51:34.715Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T19:51:34.715Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-25T19:51:34.996Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-25T19:51:34.996Z] 9b18e9b68314: Pulling fs layer [2022-10-25T19:51:34.996Z] d32db5db7311: Pulling fs layer [2022-10-25T19:51:34.996Z] d0c4b47475fc: Pulling fs layer [2022-10-25T19:51:34.996Z] 5831b945b038: Pulling fs layer [2022-10-25T19:51:34.996Z] 86bbec2aaacd: Pulling fs layer [2022-10-25T19:51:34.996Z] e10730c5d714: Pulling fs layer [2022-10-25T19:51:34.996Z] 5dd5c2283517: Pulling fs layer [2022-10-25T19:51:34.996Z] d5ac0230b979: Pulling fs layer [2022-10-25T19:51:34.996Z] 86bbec2aaacd: Waiting [2022-10-25T19:51:34.996Z] e10730c5d714: Waiting [2022-10-25T19:51:34.996Z] 5dd5c2283517: Waiting [2022-10-25T19:51:34.996Z] 5831b945b038: Waiting [2022-10-25T19:51:34.996Z] d5ac0230b979: Waiting [2022-10-25T19:51:34.996Z] d0c4b47475fc: Download complete [2022-10-25T19:51:34.996Z] d32db5db7311: Verifying Checksum [2022-10-25T19:51:34.996Z] d32db5db7311: Download complete [2022-10-25T19:51:34.996Z] 86bbec2aaacd: Download complete [2022-10-25T19:51:34.996Z] e10730c5d714: Verifying Checksum [2022-10-25T19:51:34.996Z] e10730c5d714: Download complete [2022-10-25T19:51:34.996Z] 9b18e9b68314: Download complete [2022-10-25T19:51:35.984Z] 9b18e9b68314: Pull complete [2022-10-25T19:51:35.984Z] d5ac0230b979: Verifying Checksum [2022-10-25T19:51:35.984Z] d5ac0230b979: Download complete [2022-10-25T19:51:36.577Z] d32db5db7311: Pull complete [2022-10-25T19:51:36.850Z] d0c4b47475fc: Pull complete [2022-10-25T19:51:37.449Z] 5dd5c2283517: Verifying Checksum [2022-10-25T19:51:37.449Z] 5dd5c2283517: Download complete [2022-10-25T19:51:38.033Z] 5831b945b038: Verifying Checksum [2022-10-25T19:51:38.033Z] 5831b945b038: Download complete [2022-10-25T19:51:50.356Z] 5831b945b038: Pull complete [2022-10-25T19:51:50.356Z] 86bbec2aaacd: Pull complete [2022-10-25T19:51:50.356Z] e10730c5d714: Pull complete [2022-10-25T19:51:54.639Z] 5dd5c2283517: Pull complete [2022-10-25T19:51:56.601Z] d5ac0230b979: Pull complete [2022-10-25T19:51:56.601Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-25T19:51:56.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-25T19:51:56.601Z] ---> 59b3b1a385d4 [2022-10-25T19:51:56.601Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-25T19:51:58.571Z] ---> Running in cac844b072ad [2022-10-25T19:51:58.840Z] Removing intermediate container cac844b072ad [2022-10-25T19:51:58.840Z] ---> 4151aa4c8ec8 [2022-10-25T19:51:58.840Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T19:51:58.840Z] ---> Running in dce8e7ea3d4c [2022-10-25T19:51:59.108Z] Removing intermediate container dce8e7ea3d4c [2022-10-25T19:51:59.108Z] ---> f3292c2f6caf [2022-10-25T19:51:59.108Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T19:51:59.383Z] ---> Running in 29038402a160 [2022-10-25T19:51:59.651Z] Removing intermediate container 29038402a160 [2022-10-25T19:51:59.651Z] ---> 5fda5375f4e2 [2022-10-25T19:51:59.651Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T19:51:59.651Z] ---> Running in 4fca11a39c35 [2022-10-25T19:51:59.920Z] Removing intermediate container 4fca11a39c35 [2022-10-25T19:51:59.920Z] ---> 7463b58594e0 [2022-10-25T19:51:59.920Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-25T19:51:59.920Z] ---> Running in b2eceaf6618f [2022-10-25T19:52:00.508Z] Removing intermediate container b2eceaf6618f [2022-10-25T19:52:00.508Z] ---> 8960caba5137 [2022-10-25T19:52:00.508Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T19:52:00.508Z] ---> Running in e90ac61b0fd9 [2022-10-25T19:52:02.461Z] Removing intermediate container e90ac61b0fd9 [2022-10-25T19:52:02.461Z] ---> f5666f3ca59b [2022-10-25T19:52:02.461Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T19:52:02.461Z] ---> Running in 82f2fd48944e [2022-10-25T19:52:03.435Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T19:52:04.022Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T19:52:05.443Z] OK: 221 MiB in 51 packages [2022-10-25T19:52:06.034Z] Removing intermediate container 82f2fd48944e [2022-10-25T19:52:06.034Z] ---> ab251801bd42 [2022-10-25T19:52:06.034Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-25T19:52:06.311Z] ---> Running in 2fa9d66772bd [2022-10-25T19:52:06.585Z] Removing intermediate container 2fa9d66772bd [2022-10-25T19:52:06.585Z] ---> 8345e1c2e8f0 [2022-10-25T19:52:06.585Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-25T19:52:07.190Z] ---> c9034836c10d [2022-10-25T19:52:07.190Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T19:52:07.190Z] ---> Running in eddc0a8cd53e [2022-10-25T19:53:15.118Z] Removing intermediate container eddc0a8cd53e [2022-10-25T19:53:15.118Z] ---> 34f35331f045 [2022-10-25T19:53:15.118Z] Step 13/14 : COPY . . [2022-10-25T19:53:15.118Z] ---> f10ccb434930 [2022-10-25T19:53:15.118Z] Step 14/14 : RUN ${MAKE} [2022-10-25T19:53:15.118Z] ---> Running in d1e127b41ac7 [2022-10-25T19:53:15.118Z] noop [2022-10-25T19:53:15.118Z] Removing intermediate container d1e127b41ac7 [2022-10-25T19:53:15.118Z] ---> 520576018002 [2022-10-25T19:53:15.118Z] Successfully built 520576018002 [2022-10-25T19:53:15.118Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:53:15.478Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T19:53:15.478Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T19:53:15.689Z] prd-ubuntu20.04-docker-arm64-4c-16g-116973 does not seem to be running inside a container [2022-10-25T19:53:15.784Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-25T19:53:17.193Z] $ docker top df690e11574d7fe53896e03211dee3fba1e5426e55fd7eff2ef9677ce5af95d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T19:53:18.070Z] + go version [2022-10-25T19:53:18.070Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-25T19:53:18.102Z] $ docker stop --time=1 df690e11574d7fe53896e03211dee3fba1e5426e55fd7eff2ef9677ce5af95d1 [2022-10-25T19:53:19.836Z] $ docker rm -f df690e11574d7fe53896e03211dee3fba1e5426e55fd7eff2ef9677ce5af95d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:53:20.879Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T19:53:20.879Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T19:53:21.070Z] prd-ubuntu20.04-docker-arm64-4c-16g-116973 does not seem to be running inside a container [2022-10-25T19:53:21.159Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-25T19:53:22.487Z] $ docker top 03c48dd66d5213ea13fa48c1cf0f150b3f7a860b844a2995416403bf98c27fc7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T19:53:23.339Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh [2022-10-25T19:53:23.998Z] + make test [2022-10-25T19:53:23.998Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T19:53:25.963Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-25T19:55:17.659Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-25T19:55:27.780Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.222s coverage: 29.3% of statements [2022-10-25T19:55:27.780Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-25T19:55:42.849Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.384s coverage: 86.5% of statements [2022-10-25T19:55:42.849Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-25T19:55:42.849Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T19:56:29.785Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T19:56:29.785Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T19:56:29.785Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T19:56:29.805Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T19:56:29.834Z] $ docker stop --time=1 03c48dd66d5213ea13fa48c1cf0f150b3f7a860b844a2995416403bf98c27fc7 [2022-10-25T19:56:31.679Z] $ docker rm -f 03c48dd66d5213ea13fa48c1cf0f150b3f7a860b844a2995416403bf98c27fc7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T19:56:32.725Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T19:56:32.749Z] Warning: overwriting stash ‘coverage-report’ [2022-10-25T19:56:33.361Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T19:56:33.751Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T19:56:34.076Z] + ls -al . [2022-10-25T19:56:34.076Z] total 240 [2022-10-25T19:56:34.076Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 19:53 . [2022-10-25T19:56:34.076Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 19:51 .. [2022-10-25T19:56:34.076Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 19:51 .git [2022-10-25T19:56:34.076Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 19:51 .github [2022-10-25T19:56:34.076Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 25 19:51 .gitignore [2022-10-25T19:56:34.076Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 19:51 .golangci.yml [2022-10-25T19:56:34.076Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 25 19:51 Attribution.txt [2022-10-25T19:56:34.076Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 25 19:51 CHANGELOG.md [2022-10-25T19:56:34.076Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 25 19:51 Dockerfile [2022-10-25T19:56:34.076Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 19:51 GOVERNANCE.md [2022-10-25T19:56:34.076Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 25 19:51 Jenkinsfile [2022-10-25T19:56:34.076Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 19:51 LICENSE [2022-10-25T19:56:34.076Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 25 19:51 Makefile [2022-10-25T19:56:34.076Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 25 19:51 OWNERS.md [2022-10-25T19:56:34.076Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 25 19:51 README.md [2022-10-25T19:56:34.077Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 19:30 VERSION [2022-10-25T19:56:34.077Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 19:51 bin [2022-10-25T19:56:34.077Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 19:51 cmd [2022-10-25T19:56:34.077Z] -rw-r--r-- 1 jenkins jenkins 79184 Oct 25 19:55 coverage.out [2022-10-25T19:56:34.077Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 19:51 doc [2022-10-25T19:56:34.077Z] -rw-rw-r-- 1 jenkins jenkins 3735 Oct 25 19:51 go.mod [2022-10-25T19:56:34.077Z] -rw-rw-r-- 1 jenkins jenkins 46201 Oct 25 19:51 go.sum [2022-10-25T19:56:34.077Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 19:51 internal [2022-10-25T19:56:34.077Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 19:51 snap [2022-10-25T19:56:34.077Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 25 19:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:56:34.433Z] + 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=40d336d63f4ac0db0ac91ca2e2b01e2833dbf53a --label arch=arm64 --label version=0.0.0 . [2022-10-25T19:56:35.027Z] Sending build context to Docker daemon 14.94MB [2022-10-25T19:56:35.027Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T19:56:35.027Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-25T19:56:35.027Z] ---> 520576018002 [2022-10-25T19:56:35.027Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-25T19:56:35.296Z] ---> Running in 2b1519899a6d [2022-10-25T19:56:35.565Z] Removing intermediate container 2b1519899a6d [2022-10-25T19:56:35.565Z] ---> a869a7c692de [2022-10-25T19:56:35.565Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T19:56:35.565Z] ---> Running in 126c490e2621 [2022-10-25T19:56:36.264Z] Removing intermediate container 126c490e2621 [2022-10-25T19:56:36.264Z] ---> c85ece54d62e [2022-10-25T19:56:36.264Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T19:56:36.264Z] ---> Running in 496d7aa7a774 [2022-10-25T19:56:36.544Z] Removing intermediate container 496d7aa7a774 [2022-10-25T19:56:36.544Z] ---> 7af63c2f175f [2022-10-25T19:56:36.544Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T19:56:36.544Z] ---> Running in 48d7d1d6f1a9 [2022-10-25T19:56:36.829Z] Removing intermediate container 48d7d1d6f1a9 [2022-10-25T19:56:36.829Z] ---> 15b80e696355 [2022-10-25T19:56:36.829Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-25T19:56:37.106Z] ---> Running in 883f1d79665a [2022-10-25T19:56:37.390Z] Removing intermediate container 883f1d79665a [2022-10-25T19:56:37.390Z] ---> 09b0db367a5d [2022-10-25T19:56:37.390Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T19:56:37.390Z] ---> Running in 9fd7ec16987c [2022-10-25T19:56:39.405Z] Removing intermediate container 9fd7ec16987c [2022-10-25T19:56:39.405Z] ---> 6f699af983df [2022-10-25T19:56:39.405Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T19:56:39.405Z] ---> Running in 1ff219705e7f [2022-10-25T19:56:40.383Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T19:56:40.972Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T19:56:42.939Z] OK: 221 MiB in 51 packages [2022-10-25T19:56:43.531Z] Removing intermediate container 1ff219705e7f [2022-10-25T19:56:43.531Z] ---> ea6b06fa7965 [2022-10-25T19:56:43.531Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-25T19:56:43.531Z] ---> Running in 0a9b704367d2 [2022-10-25T19:56:43.803Z] Removing intermediate container 0a9b704367d2 [2022-10-25T19:56:43.803Z] ---> 8890ea71cb67 [2022-10-25T19:56:43.803Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-25T19:56:44.402Z] ---> 6169717b8b9e [2022-10-25T19:56:44.402Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T19:56:44.675Z] ---> Running in 790fef0bc723 [2022-10-25T19:56:47.284Z] Removing intermediate container 790fef0bc723 [2022-10-25T19:56:47.284Z] ---> 49bf1ee09d70 [2022-10-25T19:56:47.284Z] Step 13/27 : COPY . . [2022-10-25T19:56:48.707Z] ---> 7028e84b9f06 [2022-10-25T19:56:48.707Z] Step 14/27 : RUN ${MAKE} [2022-10-25T19:56:48.707Z] ---> Running in b46a2d58142e [2022-10-25T19:56:49.692Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-25T19:59:56.506Z] Removing intermediate container b46a2d58142e [2022-10-25T19:59:56.506Z] ---> 9b9fcbd8dba7 [2022-10-25T19:59:56.506Z] Step 15/27 : FROM alpine:3.16 [2022-10-25T19:59:56.506Z] 3.16: Pulling from library/alpine [2022-10-25T19:59:56.506Z] 9b18e9b68314: Already exists [2022-10-25T19:59:56.506Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T19:59:56.506Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T19:59:56.506Z] ---> a6215f271958 [2022-10-25T19:59:56.506Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-25T19:59:56.506Z] ---> Running in edaf2cdf35cf [2022-10-25T19:59:56.506Z] Removing intermediate container edaf2cdf35cf [2022-10-25T19:59:56.506Z] ---> 0c8c214f2ebd [2022-10-25T19:59:56.506Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T19:59:56.506Z] ---> Running in 7ecb3f4fe0f6 [2022-10-25T19:59:56.506Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T19:59:56.506Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T19:59:56.506Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T19:59:56.506Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T19:59:56.506Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T19:59:56.506Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T19:59:56.506Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T19:59:56.506Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T19:59:56.506Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T19:59:56.506Z] OK: 8 MiB in 20 packages [2022-10-25T19:59:56.506Z] Removing intermediate container 7ecb3f4fe0f6 [2022-10-25T19:59:56.506Z] ---> 92cc41519bf6 [2022-10-25T19:59:56.506Z] Step 18/27 : WORKDIR / [2022-10-25T19:59:56.506Z] ---> Running in d689143beb62 [2022-10-25T19:59:56.506Z] Removing intermediate container d689143beb62 [2022-10-25T19:59:56.506Z] ---> dc4538dadf8c [2022-10-25T19:59:56.506Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-25T19:59:56.506Z] ---> 9485d046fe3b [2022-10-25T19:59:56.506Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-25T19:59:56.506Z] ---> e9aaa8828dd4 [2022-10-25T19:59:56.506Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-25T19:59:56.506Z] ---> 487ef745996e [2022-10-25T19:59:56.506Z] Step 22/27 : EXPOSE 59984 [2022-10-25T19:59:56.506Z] ---> Running in 09d93c14b19b [2022-10-25T19:59:56.506Z] Removing intermediate container 09d93c14b19b [2022-10-25T19:59:56.506Z] ---> f0555a091497 [2022-10-25T19:59:56.506Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-25T19:59:56.506Z] ---> Running in 6b9ca806bf22 [2022-10-25T19:59:56.506Z] Removing intermediate container 6b9ca806bf22 [2022-10-25T19:59:56.506Z] ---> 834f02f24b7a [2022-10-25T19:59:56.506Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-25T19:59:56.506Z] ---> Running in ee818fb4d9b9 [2022-10-25T19:59:56.506Z] Removing intermediate container ee818fb4d9b9 [2022-10-25T19:59:56.506Z] ---> 5af3700407dd [2022-10-25T19:59:56.506Z] Step 25/27 : LABEL arch=arm64 [2022-10-25T19:59:56.506Z] ---> Running in 3b7a065f8665 [2022-10-25T19:59:56.506Z] Removing intermediate container 3b7a065f8665 [2022-10-25T19:59:56.506Z] ---> 83fc396247f7 [2022-10-25T19:59:56.506Z] Step 26/27 : LABEL git_sha=40d336d63f4ac0db0ac91ca2e2b01e2833dbf53a [2022-10-25T19:59:56.506Z] ---> Running in 587508d6a0bf [2022-10-25T19:59:56.506Z] Removing intermediate container 587508d6a0bf [2022-10-25T19:59:56.506Z] ---> 7ad26dd44cbc [2022-10-25T19:59:56.507Z] Step 27/27 : LABEL version=0.0.0 [2022-10-25T19:59:56.507Z] ---> Running in e593e9e0277e [2022-10-25T19:59:56.507Z] Removing intermediate container e593e9e0277e [2022-10-25T19:59:56.507Z] ---> 4e46ae8a8f06 [2022-10-25T19:59:56.507Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T19:59:56.507Z] Successfully built 4e46ae8a8f06 [2022-10-25T19:59:56.507Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:59:56.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T19:59:56.945Z] [2022-10-25T19:59:56.945Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:59:57.284Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T19:59:57.556Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-25T19:59:57.556Z] 8998bd30e6a1: Pulling fs layer [2022-10-25T19:59:57.556Z] 04944245beec: Pulling fs layer [2022-10-25T19:59:57.556Z] 699f458cf7ca: Pulling fs layer [2022-10-25T19:59:57.556Z] 765212b225bb: Pulling fs layer [2022-10-25T19:59:57.556Z] f23df028b6ca: Pulling fs layer [2022-10-25T19:59:57.556Z] d65c8cfc05b1: Pulling fs layer [2022-10-25T19:59:57.556Z] 2437ff75d9bd: Pulling fs layer [2022-10-25T19:59:57.556Z] f23df028b6ca: Waiting [2022-10-25T19:59:57.556Z] d65c8cfc05b1: Waiting [2022-10-25T19:59:57.556Z] 2437ff75d9bd: Waiting [2022-10-25T19:59:57.556Z] 765212b225bb: Waiting [2022-10-25T19:59:57.556Z] 04944245beec: Verifying Checksum [2022-10-25T19:59:57.556Z] 04944245beec: Download complete [2022-10-25T19:59:57.556Z] 765212b225bb: Verifying Checksum [2022-10-25T19:59:57.556Z] 765212b225bb: Download complete [2022-10-25T19:59:57.556Z] f23df028b6ca: Verifying Checksum [2022-10-25T19:59:57.556Z] f23df028b6ca: Download complete [2022-10-25T19:59:57.827Z] d65c8cfc05b1: Verifying Checksum [2022-10-25T19:59:57.827Z] d65c8cfc05b1: Download complete [2022-10-25T19:59:57.827Z] 699f458cf7ca: Verifying Checksum [2022-10-25T19:59:57.827Z] 699f458cf7ca: Download complete [2022-10-25T19:59:58.101Z] 8998bd30e6a1: Verifying Checksum [2022-10-25T19:59:58.101Z] 8998bd30e6a1: Download complete [2022-10-25T20:00:00.727Z] 2437ff75d9bd: Verifying Checksum [2022-10-25T20:00:00.727Z] 2437ff75d9bd: Download complete [2022-10-25T20:00:02.683Z] 8998bd30e6a1: Pull complete [2022-10-25T20:00:02.951Z] 04944245beec: Pull complete [2022-10-25T20:00:04.371Z] 699f458cf7ca: Pull complete [2022-10-25T20:00:04.643Z] 765212b225bb: Pull complete [2022-10-25T20:00:05.608Z] f23df028b6ca: Pull complete [2022-10-25T20:00:05.608Z] d65c8cfc05b1: Pull complete [2022-10-25T20:00:20.643Z] 2437ff75d9bd: Pull complete [2022-10-25T20:00:20.643Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-25T20:00:20.643Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T20:00:20.643Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T20:00:20.850Z] prd-ubuntu20.04-docker-arm64-4c-16g-116973 does not seem to be running inside a container [2022-10-25T20:00:20.940Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-25T20:00:24.030Z] $ docker top e488b7b67e66810edd50ffded1f6efe085b714c8207c9cc814d30c4683f911fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T20:00:24.927Z] ---> job-cost.sh [2022-10-25T20:00:24.928Z] lf-activate-venv: SKIPPING [2022-10-25T20:00:24.928Z] INFO: No Stack... [2022-10-25T20:00:25.512Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-25T20:00:26.472Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T20:00:27.127Z] + cut -d, -f6 [2022-10-25T20:00:27.127Z] + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [Pipeline] lock [2022-10-25T20:00:27.201Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-182-3-stack-cost] [2022-10-25T20:00:27.208Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-182-3-stack-cost] did not exist. Created. [2022-10-25T20:00:27.208Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-182-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T20:00:27.870Z] /w/workspace/device-onvif-camera/3@tmp/durable-920557ba/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-25T20:00:28.545Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-25T20:00:28.560Z] Warning: overwriting stash ‘stack-cost’ [2022-10-25T20:00:28.624Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T20:00:28.630Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-182-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T20:00:28.668Z] $ docker stop --time=1 e488b7b67e66810edd50ffded1f6efe085b714c8207c9cc814d30c4683f911fa [2022-10-25T20:00:30.255Z] $ docker rm -f e488b7b67e66810edd50ffded1f6efe085b714c8207c9cc814d30c4683f911fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-25T20:00:30.716Z] provisioning config files... [2022-10-25T20:00:30.724Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-182@tmp/config13991944281341705040tmp [Pipeline] { [Pipeline] sh [2022-10-25T20:00:31.017Z] + set +x [2022-10-25T20:00:31.017Z] + curl -s https://codecov.io/bash [2022-10-25T20:00:31.017Z] + bash -s -- [2022-10-25T20:00:31.017Z] [2022-10-25T20:00:31.017Z] _____ _ [2022-10-25T20:00:31.017Z] / ____| | | [2022-10-25T20:00:31.017Z] | | ___ __| | ___ ___ _____ __ [2022-10-25T20:00:31.017Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-25T20:00:31.017Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-25T20:00:31.017Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-25T20:00:31.018Z] Bash-1.0.6 [2022-10-25T20:00:31.018Z] [2022-10-25T20:00:31.018Z] [2022-10-25T20:00:31.018Z] ==> git version 2.25.1 found [2022-10-25T20:00:31.018Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-25T20:00:31.018Z] Release-Date: 2020-01-08 [2022-10-25T20:00:31.018Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-25T20:00:31.018Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-25T20:00:31.018Z] ==> Jenkins CI detected. [2022-10-25T20:00:31.018Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-182 [2022-10-25T20:00:31.018Z] project root: . [2022-10-25T20:00:31.018Z] --> token set from env [2022-10-25T20:00:31.018Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-25T20:00:31.018Z] ==> Running gcov in . (disable via -X gcov) [2022-10-25T20:00:31.018Z] ==> Python coveragepy not found [2022-10-25T20:00:31.018Z] ==> Searching for coverage reports in: [2022-10-25T20:00:31.018Z] + . [2022-10-25T20:00:31.018Z] -> Found 1 reports [2022-10-25T20:00:31.018Z] ==> Detecting git/mercurial file structure [2022-10-25T20:00:31.018Z] ==> Reading reports [2022-10-25T20:00:31.276Z] + ./coverage.out bytes=79184 [2022-10-25T20:00:31.276Z] ==> Appending adjustments [2022-10-25T20:00:31.276Z] https://docs.codecov.io/docs/fixing-reports [2022-10-25T20:00:31.276Z] + Found adjustments [2022-10-25T20:00:31.276Z] ==> Gzipping contents [2022-10-25T20:00:31.276Z] 12K /tmp/codecov.FiVtKG.gz [2022-10-25T20:00:31.276Z] ==> Uploading reports [2022-10-25T20:00:31.276Z] url: https://codecov.io [2022-10-25T20:00:31.276Z] query: branch=PR-182&commit=d5cd690e56a842f6906e652c41dde27842c837f8&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-182%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=182&job=&cmd_args= [2022-10-25T20:00:31.276Z] -> Pinging Codecov [2022-10-25T20:00:31.276Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-182&commit=d5cd690e56a842f6906e652c41dde27842c837f8&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-182%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=182&job=&cmd_args= [2022-10-25T20:00:31.853Z] -> Uploading to [2022-10-25T20:00:31.853Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-25/F29A59C45E3A92E06B3E522C9905F8EF/d5cd690e56a842f6906e652c41dde27842c837f8/af4f70c6-3bbb-4f23-8b66-5e9a16e87579.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T200031Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7e9cf728162cd668feab3a03583d61d0a2f2d37066b9ca2d0adc7462b9028faa [2022-10-25T20:00:31.853Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T20:00:31.853Z] Dload Upload Total Spent Left Speed [2022-10-25T20:00:31.853Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10896 0 0 100 10896 0 50444 --:--:-- --:--:-- --:--:-- 50211 [2022-10-25T20:00:31.853Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/d5cd690e56a842f6906e652c41dde27842c837f8 [Pipeline] } [2022-10-25T20:00:31.860Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-25T20:00:32.657Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-182/archives ] [2022-10-25T20:00:32.658Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-182/archives [2022-10-25T20:00:32.658Z] total 16 [2022-10-25T20:00:32.658Z] drwxr-xr-x 3 root root 4096 Oct 25 19:32 . [2022-10-25T20:00:32.658Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 19:32 .. [2022-10-25T20:00:32.658Z] drwxr-xr-x 2 root root 4096 Oct 25 19:32 cost [2022-10-25T20:00:32.658Z] -rw-r--r-- 1 root root 91 Oct 25 19:32 cost.csv [2022-10-25T20:00:32.658Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-182/archives [2022-10-25T20:00:32.658Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-182/archives [2022-10-25T20:00:32.658Z] total 16 [2022-10-25T20:00:32.658Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 19:32 . [2022-10-25T20:00:32.658Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 19:32 .. [2022-10-25T20:00:32.658Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 19:32 cost [2022-10-25T20:00:32.658Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 25 19:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-25T20:00:32.948Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T20:00:33.800Z] ---> package-listing.sh [2022-10-25T20:00:33.800Z] ++ facter osfamily [2022-10-25T20:00:33.800Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-25T20:00:34.061Z] + OS_FAMILY=debian [2022-10-25T20:00:34.061Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-182 [2022-10-25T20:00:34.061Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-25T20:00:34.061Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-25T20:00:34.061Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-25T20:00:34.061Z] + PACKAGES=/tmp/packages_start.txt [2022-10-25T20:00:34.061Z] + '[' /w/workspace/undry_device-onvif-camera_PR-182 ']' [2022-10-25T20:00:34.061Z] + PACKAGES=/tmp/packages_end.txt [2022-10-25T20:00:34.061Z] + case "${OS_FAMILY}" in [2022-10-25T20:00:34.061Z] + dpkg -l [2022-10-25T20:00:34.061Z] + grep '^ii' [2022-10-25T20:00:34.061Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-25T20:00:34.061Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-25T20:00:34.061Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-25T20:00:34.061Z] + '[' /w/workspace/undry_device-onvif-camera_PR-182 ']' [2022-10-25T20:00:34.061Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-182/archives/ [2022-10-25T20:00:34.061Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-182/archives/ [Pipeline] echo [2022-10-25T20:00:34.071Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-182/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-25T20:00:34.347Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T20:00:34.898Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T20:00:34.898Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T20:00:34.962Z] prd-ubuntu20.04-docker-8c-8g-116967 does not seem to be running inside a container [2022-10-25T20:00:34.997Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-182/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-182 -v /w/workspace/undry_device-onvif-camera_PR-182:/w/workspace/undry_device-onvif-camera_PR-182:rw,z -v /w/workspace/undry_device-onvif-camera_PR-182@tmp:/w/workspace/undry_device-onvif-camera_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-25T20:00:35.348Z] $ docker top 6b294e81118a2bee661e46bb8284cc251ae9ac7e9133c584a6565a0a1bdc9cf2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T20:00:35.669Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-25T20:00:35.949Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-25T20:00:36.228Z] + ls /var/log/sa-host [2022-10-25T20:00:36.228Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T20:00:36.369Z] provisioning config files... [2022-10-25T20:00:36.377Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-182@tmp/config13793491088034965034tmp [Pipeline] { [Pipeline] echo [2022-10-25T20:00:36.392Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T20:00:36.669Z] ---> create-netrc.sh [Pipeline] } [2022-10-25T20:00:36.676Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-25T20:00:37.001Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-25T20:00:37.009Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T20:00:37.293Z] ---> sudo-logs.sh [2022-10-25T20:00:37.293Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-25T20:00:37.320Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T20:00:37.599Z] ---> job-cost.sh [2022-10-25T20:00:37.599Z] lf-activate-venv: SKIPPING [2022-10-25T20:00:37.599Z] DEBUG: total: 0.2199999988079071 [2022-10-25T20:00:37.599Z] INFO: Retrieving Stack Cost... [2022-10-25T20:00:38.169Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T20:00:38.428Z] INFO: Archiving Costs [Pipeline] echo [2022-10-25T20:00:38.439Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T20:00:38.722Z] ---> logs-deploy.sh [2022-10-25T20:00:38.722Z] lf-activate-venv: SKIPPING [2022-10-25T20:00:38.722Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-182/3 [2022-10-25T20:00:38.722Z] INFO: archiving workspace using pattern(s): [2022-10-25T20:00:40.100Z] Archives upload complete. [2022-10-25T20:00:40.100Z] INFO: archiving logs to Nexus [2022-10-25T20:00:40.669Z] ---> uname -a: [2022-10-25T20:00:40.669Z] Linux prd-ubuntu20-04-docker-8c-8g-116967 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-25T20:00:40.669Z] [2022-10-25T20:00:40.669Z] [2022-10-25T20:00:40.669Z] ---> lscpu: [2022-10-25T20:00:40.669Z] Architecture: x86_64 [2022-10-25T20:00:40.669Z] CPU op-mode(s): 32-bit, 64-bit [2022-10-25T20:00:40.669Z] Byte Order: Little Endian [2022-10-25T20:00:40.669Z] Address sizes: 40 bits physical, 48 bits virtual [2022-10-25T20:00:40.670Z] CPU(s): 8 [2022-10-25T20:00:40.670Z] On-line CPU(s) list: 0-7 [2022-10-25T20:00:40.670Z] Thread(s) per core: 1 [2022-10-25T20:00:40.670Z] Core(s) per socket: 1 [2022-10-25T20:00:40.670Z] Socket(s): 8 [2022-10-25T20:00:40.670Z] NUMA node(s): 1 [2022-10-25T20:00:40.670Z] Vendor ID: AuthenticAMD [2022-10-25T20:00:40.670Z] CPU family: 23 [2022-10-25T20:00:40.670Z] Model: 49 [2022-10-25T20:00:40.670Z] Model name: AMD EPYC-Rome Processor [2022-10-25T20:00:40.670Z] Stepping: 0 [2022-10-25T20:00:40.670Z] CPU MHz: 2799.998 [2022-10-25T20:00:40.670Z] BogoMIPS: 5599.99 [2022-10-25T20:00:40.670Z] Virtualization: AMD-V [2022-10-25T20:00:40.670Z] Hypervisor vendor: KVM [2022-10-25T20:00:40.670Z] Virtualization type: full [2022-10-25T20:00:40.670Z] L1d cache: 256 KiB [2022-10-25T20:00:40.670Z] L1i cache: 256 KiB [2022-10-25T20:00:40.670Z] L2 cache: 4 MiB [2022-10-25T20:00:40.670Z] L3 cache: 128 MiB [2022-10-25T20:00:40.670Z] NUMA node0 CPU(s): 0-7 [2022-10-25T20:00:40.670Z] Vulnerability Itlb multihit: Not affected [2022-10-25T20:00:40.670Z] Vulnerability L1tf: Not affected [2022-10-25T20:00:40.670Z] Vulnerability Mds: Not affected [2022-10-25T20:00:40.670Z] Vulnerability Meltdown: Not affected [2022-10-25T20:00:40.670Z] Vulnerability Mmio stale data: Not affected [2022-10-25T20:00:40.670Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-10-25T20:00:40.670Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-10-25T20:00:40.670Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-10-25T20:00:40.670Z] Vulnerability Srbds: Not affected [2022-10-25T20:00:40.670Z] Vulnerability Tsx async abort: Not affected [2022-10-25T20:00:40.670Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-10-25T20:00:40.670Z] [2022-10-25T20:00:40.670Z] [2022-10-25T20:00:40.670Z] ---> nproc: [2022-10-25T20:00:40.670Z] 8 [2022-10-25T20:00:40.670Z] [2022-10-25T20:00:40.670Z] [2022-10-25T20:00:40.670Z] ---> df -h: [2022-10-25T20:00:40.670Z] Filesystem Size Used Avail Use% Mounted on [2022-10-25T20:00:40.670Z] overlay 155G 12G 144G 8% / [2022-10-25T20:00:40.670Z] tmpfs 64M 0 64M 0% /dev [2022-10-25T20:00:40.670Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-10-25T20:00:40.670Z] shm 64M 0 64M 0% /dev/shm [2022-10-25T20:00:40.670Z] /dev/vda1 155G 12G 144G 8% /facter-os [2022-10-25T20:00:40.670Z] [2022-10-25T20:00:40.670Z]