Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ef0e1dc43e01e3af63e43192147483735d9789c0 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-ssh4941239175760706428.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh11291398471827128246.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14150183167918655011.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh12462580327454206913.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10503395167892124813.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-118629 in /w/workspace/foundry_device-onvif-camera_main [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/foundry_device-onvif-camera_main # 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 Avoid second fetch Checking out Revision ef0e1dc43e01e3af63e43192147483735d9789c0 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f ef0e1dc43e01e3af63e43192147483735d9789c0 # timeout=10 Commit message: "build: Update to use released SDK (#196)" > git rev-list --no-walk 85f19cd4395ab38c9fed3c9acaecd010dfd8799e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-08T16:28:38.990Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-08T16:28:39.059Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-08T16:28:39.072Z] ========================================================= [2022-11-08T16:28:39.072Z] EdgeX Global Pipelines Version Info [2022-11-08T16:28:39.072Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:28:39.825Z] ------------------- [2022-11-08T16:28:39.825Z] stable info: [2022-11-08T16:28:39.825Z] ------------------- [2022-11-08T16:28:39.825Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-08T16:28:39.825Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T16:28:39.825Z] Message: update stable to v1.0.244 [2022-11-08T16:28:40.395Z] ------------------- [2022-11-08T16:28:40.396Z] experimental info: [2022-11-08T16:28:40.396Z] ------------------- [2022-11-08T16:28:40.396Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-08T16:28:40.396Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T16:28:40.396Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-08T16:28:40.564Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-11-08T16:28:40.574Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-11-08T16:28:40.586Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-08T16:28:40.600Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-08T16:28:40.614Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-08T16:28:40.625Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-08T16:28:40.636Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-08T16:28:40.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-08T16:28:40.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-08T16:28:40.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-08T16:28:40.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-08T16:28:40.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-11-08T16:28:40.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-08T16:28:40.718Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-08T16:28:40.728Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T16:28:40.739Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T16:28:40.751Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T16:28:40.762Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T16:28:40.773Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-08T16:28:40.785Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-08T16:28:40.802Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-11-08T16:28:40.813Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-11-08T16:28:40.824Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-08T16:28:40.836Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-08T16:28:40.854Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-08T16:28:40.864Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-08T16:28:40.877Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-08T16:28:40.889Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-11-08T16:28:40.899Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-11-08T16:28:40.914Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-11-08T16:28:40.926Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ef0e1dc43e01e3af63e43192147483735d9789c0 [Pipeline] echo [2022-11-08T16:28:40.945Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ef0e1dc [Pipeline] echo [2022-11-08T16:28:40.963Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T16:28:41.001Z] provisioning config files... [2022-11-08T16:28:41.016Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6677180933829019714tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:28:41.321Z] ---> docker-login.sh [2022-11-08T16:28:41.321Z] nexus3.edgexfoundry.org:10001 [2022-11-08T16:28:41.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:28:41.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:28:41.582Z] Configure a credential helper to remove this warning. See [2022-11-08T16:28:41.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:28:41.582Z] [2022-11-08T16:28:41.582Z] Login Succeeded [2022-11-08T16:28:41.582Z] nexus3.edgexfoundry.org:10002 [2022-11-08T16:28:41.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:28:41.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:28:41.582Z] Configure a credential helper to remove this warning. See [2022-11-08T16:28:41.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:28:41.582Z] [2022-11-08T16:28:41.582Z] Login Succeeded [2022-11-08T16:28:41.582Z] nexus3.edgexfoundry.org:10003 [2022-11-08T16:28:41.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:28:41.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:28:41.844Z] Configure a credential helper to remove this warning. See [2022-11-08T16:28:41.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:28:41.844Z] [2022-11-08T16:28:41.844Z] Login Succeeded [2022-11-08T16:28:41.844Z] nexus3.edgexfoundry.org:10004 [2022-11-08T16:28:41.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:28:41.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:28:41.844Z] Configure a credential helper to remove this warning. See [2022-11-08T16:28:41.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:28:41.844Z] [2022-11-08T16:28:41.844Z] Login Succeeded [2022-11-08T16:28:41.844Z] docker.io [2022-11-08T16:28:42.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:28:42.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:28:42.366Z] Configure a credential helper to remove this warning. See [2022-11-08T16:28:42.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:28:42.366Z] [2022-11-08T16:28:42.366Z] Login Succeeded [2022-11-08T16:28:42.366Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T16:28:42.374Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-08T16:28:42.753Z] + git rev-list -1 --merges ef0e1dc43e01e3af63e43192147483735d9789c0~1..ef0e1dc43e01e3af63e43192147483735d9789c0 [Pipeline] echo [2022-11-08T16:28:42.786Z] -----------> git rev-list -1 --merges ef0e1dc43e01e3af63e43192147483735d9789c0~1..ef0e1dc43e01e3af63e43192147483735d9789c0 ef0e1dc43e01e3af63e43192147483735d9789c0 [false] [Pipeline] sh [2022-11-08T16:28:43.075Z] + git log --format=format:%s -1 ef0e1dc43e01e3af63e43192147483735d9789c0 [Pipeline] echo [2022-11-08T16:28:43.091Z] ========================================================= [2022-11-08T16:28:43.091Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-08T16:28:43.091Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T16:28:43.406Z] + git log --format=format:%s -1 ef0e1dc43e01e3af63e43192147483735d9789c0 [Pipeline] echo [2022-11-08T16:28:43.416Z] [semverPrep] GIT_COMMIT: ef0e1dc43e01e3af63e43192147483735d9789c0, Commit Message: build: Update to use released SDK (#196) [Pipeline] echo [2022-11-08T16:28:43.424Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-08T16:28:43.758Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T16:28:43.758Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-08T16:28:43.758Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-08T16:28:43.758Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-08T16:28:43.758Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-08T16:28:43.758Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-08T16:28:43.758Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:28:44.099Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T16:28:44.099Z] [2022-11-08T16:28:44.099Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:28:44.408Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T16:28:44.408Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-08T16:28:44.408Z] b85a868b505f: Pulling fs layer [2022-11-08T16:28:44.408Z] e2be974225ed: Pulling fs layer [2022-11-08T16:28:44.408Z] 339a4e72a1f5: Pulling fs layer [2022-11-08T16:28:44.408Z] 988bab9f4d93: Pulling fs layer [2022-11-08T16:28:44.408Z] 1469e6f7b9e6: Pulling fs layer [2022-11-08T16:28:44.408Z] eaf3925da568: Pulling fs layer [2022-11-08T16:28:44.408Z] bab4dde63d76: Pulling fs layer [2022-11-08T16:28:44.408Z] bde34c3a00c8: Pulling fs layer [2022-11-08T16:28:44.408Z] b352a97aabf1: Pulling fs layer [2022-11-08T16:28:44.408Z] 4872d77fe225: Pulling fs layer [2022-11-08T16:28:44.408Z] 5851b861e8e6: Pulling fs layer [2022-11-08T16:28:44.408Z] bde34c3a00c8: Waiting [2022-11-08T16:28:44.408Z] bab4dde63d76: Waiting [2022-11-08T16:28:44.408Z] b352a97aabf1: Waiting [2022-11-08T16:28:44.408Z] 4872d77fe225: Waiting [2022-11-08T16:28:44.408Z] 988bab9f4d93: Waiting [2022-11-08T16:28:44.408Z] 5851b861e8e6: Waiting [2022-11-08T16:28:44.408Z] eaf3925da568: Waiting [2022-11-08T16:28:44.408Z] 1469e6f7b9e6: Waiting [2022-11-08T16:28:44.408Z] e2be974225ed: Verifying Checksum [2022-11-08T16:28:44.408Z] e2be974225ed: Download complete [2022-11-08T16:28:44.408Z] 988bab9f4d93: Download complete [2022-11-08T16:28:44.677Z] 1469e6f7b9e6: Verifying Checksum [2022-11-08T16:28:44.678Z] 1469e6f7b9e6: Download complete [2022-11-08T16:28:44.678Z] eaf3925da568: Verifying Checksum [2022-11-08T16:28:44.678Z] eaf3925da568: Download complete [2022-11-08T16:28:44.941Z] b85a868b505f: Verifying Checksum [2022-11-08T16:28:44.941Z] b85a868b505f: Download complete [2022-11-08T16:28:44.941Z] 339a4e72a1f5: Verifying Checksum [2022-11-08T16:28:44.941Z] 339a4e72a1f5: Download complete [2022-11-08T16:28:44.941Z] bde34c3a00c8: Verifying Checksum [2022-11-08T16:28:44.941Z] bde34c3a00c8: Download complete [2022-11-08T16:28:44.941Z] 4872d77fe225: Download complete [2022-11-08T16:28:44.941Z] 5851b861e8e6: Verifying Checksum [2022-11-08T16:28:44.941Z] 5851b861e8e6: Download complete [2022-11-08T16:28:44.941Z] b352a97aabf1: Verifying Checksum [2022-11-08T16:28:44.941Z] b352a97aabf1: Download complete [2022-11-08T16:28:45.202Z] bab4dde63d76: Verifying Checksum [2022-11-08T16:28:45.202Z] bab4dde63d76: Download complete [2022-11-08T16:28:46.143Z] b85a868b505f: Pull complete [2022-11-08T16:28:46.403Z] e2be974225ed: Pull complete [2022-11-08T16:28:46.663Z] 339a4e72a1f5: Pull complete [2022-11-08T16:28:46.924Z] 988bab9f4d93: Pull complete [2022-11-08T16:28:47.183Z] 1469e6f7b9e6: Pull complete [2022-11-08T16:28:47.183Z] eaf3925da568: Pull complete [2022-11-08T16:28:49.087Z] bab4dde63d76: Pull complete [2022-11-08T16:28:49.087Z] bde34c3a00c8: Pull complete [2022-11-08T16:28:49.348Z] b352a97aabf1: Pull complete [2022-11-08T16:28:49.348Z] 4872d77fe225: Pull complete [2022-11-08T16:28:49.348Z] 5851b861e8e6: Pull complete [2022-11-08T16:28:49.348Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-08T16:28:49.348Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T16:28:49.348Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:28:49.699Z] prd-ubuntu20.04-docker-8c-8g-118629 does not seem to be running inside a container [2022-11-08T16:28:49.728Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-08T16:28:51.261Z] $ docker top 50aa6997ca226356a87ce68cc07a559acdacf467eda348f48c5134a699db32e4 -eo pid,comm [2022-11-08T16:28:51.336Z] 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-11-08T16:28:51.336Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T16:28:51.375Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T16:28:51.375Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T16:28:51.483Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T16:28:51.477Z] $ docker exec 50aa6997ca226356a87ce68cc07a559acdacf467eda348f48c5134a699db32e4 ssh-agent [2022-11-08T16:28:51.596Z] SSH_AUTH_SOCK=/tmp/ssh-aO51rCiBYq1e/agent.32 [2022-11-08T16:28:51.596Z] SSH_AGENT_PID=38 [2022-11-08T16:28:51.604Z] Running ssh-add (command line suppressed) [2022-11-08T16:28:51.700Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12106066687217451388.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12106066687217451388.key) [2022-11-08T16:28:51.723Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T16:28:52.011Z] + git tag --points-at HEAD [Pipeline] } [2022-11-08T16:28:52.014Z] $ docker exec --env ******** --env ******** 50aa6997ca226356a87ce68cc07a559acdacf467eda348f48c5134a699db32e4 ssh-agent -k [2022-11-08T16:28:52.123Z] unset SSH_AUTH_SOCK; [2022-11-08T16:28:52.124Z] unset SSH_AGENT_PID; [2022-11-08T16:28:52.124Z] echo Agent pid 38 killed; [2022-11-08T16:28:52.142Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-08T16:28:52.163Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T16:28:52.163Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T16:28:52.303Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T16:28:52.299Z] $ docker exec 50aa6997ca226356a87ce68cc07a559acdacf467eda348f48c5134a699db32e4 ssh-agent [2022-11-08T16:28:52.432Z] SSH_AUTH_SOCK=/tmp/ssh-qB22ecJZFEoi/agent.70 [2022-11-08T16:28:52.432Z] SSH_AGENT_PID=76 [2022-11-08T16:28:52.438Z] Running ssh-add (command line suppressed) [2022-11-08T16:28:52.542Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9818046579816973579.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9818046579816973579.key) [2022-11-08T16:28:52.565Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T16:28:52.852Z] + git semver init [2022-11-08T16:28:53.109Z] 2022-11-08 16:28:53,030 [run_init] DEBUG init version:0.0.0 force:False [2022-11-08T16:28:53.109Z] 2022-11-08 16:28:53,031 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2022-11-08T16:28:53.109Z] 2022-11-08 16:28:53,031 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2022-11-08T16:28:53.109Z] 2022-11-08 16:28:53,031 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2022-11-08T16:28:54.486Z] 2022-11-08 16:28:54,159 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2022-11-08T16:28:54.486Z] 2022-11-08 16:28:54,160 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2022-11-08T16:28:54.487Z] 2022-11-08 16:28:54,160 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-11-08T16:28:54.487Z] 2022-11-08 16:28:54,161 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-11-08T16:28:54.487Z] 2.3.0-dev.45 [Pipeline] } [2022-11-08T16:28:54.490Z] $ docker exec --env ******** --env ******** 50aa6997ca226356a87ce68cc07a559acdacf467eda348f48c5134a699db32e4 ssh-agent -k [2022-11-08T16:28:54.594Z] unset SSH_AUTH_SOCK; [2022-11-08T16:28:54.594Z] unset SSH_AGENT_PID; [2022-11-08T16:28:54.594Z] echo Agent pid 76 killed; [2022-11-08T16:28:54.612Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T16:28:54.921Z] + git semver [Pipeline] } [2022-11-08T16:28:55.186Z] $ docker stop --time=1 50aa6997ca226356a87ce68cc07a559acdacf467eda348f48c5134a699db32e4 [2022-11-08T16:28:56.525Z] $ docker rm -f 50aa6997ca226356a87ce68cc07a559acdacf467eda348f48c5134a699db32e4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T16:28:56.870Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-08T16:28:57.029Z] Stashed 1 file(s) [Pipeline] echo [2022-11-08T16:28:57.030Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.45 [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-11-08T16:28:57.165Z] provisioning config files... [2022-11-08T16:28:57.174Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5373886244420583045tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:28:57.470Z] ---> docker-login.sh [2022-11-08T16:28:57.470Z] nexus3.edgexfoundry.org:10001 [2022-11-08T16:28:57.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:28:57.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:28:57.470Z] Configure a credential helper to remove this warning. See [2022-11-08T16:28:57.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:28:57.470Z] [2022-11-08T16:28:57.470Z] Login Succeeded [2022-11-08T16:28:57.470Z] nexus3.edgexfoundry.org:10002 [2022-11-08T16:28:57.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:28:57.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:28:57.729Z] Configure a credential helper to remove this warning. See [2022-11-08T16:28:57.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:28:57.729Z] [2022-11-08T16:28:57.729Z] Login Succeeded [2022-11-08T16:28:57.729Z] nexus3.edgexfoundry.org:10003 [2022-11-08T16:28:57.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:28:57.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:28:57.729Z] Configure a credential helper to remove this warning. See [2022-11-08T16:28:57.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:28:57.729Z] [2022-11-08T16:28:57.729Z] Login Succeeded [2022-11-08T16:28:57.729Z] nexus3.edgexfoundry.org:10004 [2022-11-08T16:28:57.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:28:57.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:28:57.729Z] Configure a credential helper to remove this warning. See [2022-11-08T16:28:57.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:28:57.729Z] [2022-11-08T16:28:57.729Z] Login Succeeded [2022-11-08T16:28:57.729Z] docker.io [2022-11-08T16:28:57.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:28:58.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:28:58.249Z] Configure a credential helper to remove this warning. See [2022-11-08T16:28:58.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:28:58.249Z] [2022-11-08T16:28:58.249Z] Login Succeeded [2022-11-08T16:28:58.249Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T16:28:58.256Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T16:28:58.307Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T16:28:58.318Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T16:28:58.324Z] ========================================================= [2022-11-08T16:28:58.324Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-08T16:28:58.324Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:28:58.625Z] + 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-11-08T16:28:58.625Z] Sending build context to Docker daemon 27.5MB [2022-11-08T16:28:58.625Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T16:28:58.625Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-08T16:28:58.887Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-08T16:28:58.887Z] 213ec9aee27d: Pulling fs layer [2022-11-08T16:28:58.887Z] 4583459ba037: Pulling fs layer [2022-11-08T16:28:58.887Z] 93c1e223e6f2: Pulling fs layer [2022-11-08T16:28:58.887Z] 53926ce57604: Pulling fs layer [2022-11-08T16:28:58.887Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-08T16:28:58.887Z] 22ff95d597cd: Pulling fs layer [2022-11-08T16:28:58.887Z] 12d6caf4c0d1: Pulling fs layer [2022-11-08T16:28:58.887Z] 96b7cbca73a9: Pulling fs layer [2022-11-08T16:28:58.887Z] a7acece74701: Pulling fs layer [2022-11-08T16:28:58.887Z] 22ff95d597cd: Waiting [2022-11-08T16:28:58.887Z] 12d6caf4c0d1: Waiting [2022-11-08T16:28:58.887Z] 96b7cbca73a9: Waiting [2022-11-08T16:28:58.887Z] a7acece74701: Waiting [2022-11-08T16:28:58.887Z] 53926ce57604: Waiting [2022-11-08T16:28:58.887Z] 21b2b0c7a3f4: Waiting [2022-11-08T16:28:58.887Z] 93c1e223e6f2: Verifying Checksum [2022-11-08T16:28:58.887Z] 93c1e223e6f2: Download complete [2022-11-08T16:28:58.887Z] 4583459ba037: Download complete [2022-11-08T16:28:58.887Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-08T16:28:58.887Z] 21b2b0c7a3f4: Download complete [2022-11-08T16:28:58.887Z] 22ff95d597cd: Verifying Checksum [2022-11-08T16:28:58.887Z] 22ff95d597cd: Download complete [2022-11-08T16:28:58.887Z] 213ec9aee27d: Verifying Checksum [2022-11-08T16:28:58.887Z] 213ec9aee27d: Download complete [2022-11-08T16:28:58.887Z] 12d6caf4c0d1: Verifying Checksum [2022-11-08T16:28:58.887Z] 12d6caf4c0d1: Download complete [2022-11-08T16:28:59.156Z] 213ec9aee27d: Pull complete [2022-11-08T16:28:59.156Z] 4583459ba037: Pull complete [2022-11-08T16:28:59.156Z] 93c1e223e6f2: Pull complete [2022-11-08T16:28:59.426Z] a7acece74701: Verifying Checksum [2022-11-08T16:28:59.426Z] a7acece74701: Download complete [2022-11-08T16:29:00.028Z] 96b7cbca73a9: Download complete [2022-11-08T16:29:00.028Z] 53926ce57604: Verifying Checksum [2022-11-08T16:29:00.028Z] 53926ce57604: Download complete [2022-11-08T16:29:04.217Z] 53926ce57604: Pull complete [2022-11-08T16:29:04.217Z] 21b2b0c7a3f4: Pull complete [2022-11-08T16:29:04.217Z] 22ff95d597cd: Pull complete [2022-11-08T16:29:04.217Z] 12d6caf4c0d1: Pull complete [2022-11-08T16:29:06.115Z] 96b7cbca73a9: Pull complete [2022-11-08T16:29:07.047Z] a7acece74701: Pull complete [2022-11-08T16:29:07.047Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-08T16:29:07.047Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-08T16:29:07.047Z] ---> db6d94c90886 [2022-11-08T16:29:07.047Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-08T16:29:08.951Z] ---> Running in 016e53b64305 [2022-11-08T16:29:08.951Z] Removing intermediate container 016e53b64305 [2022-11-08T16:29:08.951Z] ---> ddd23d5b0e38 [2022-11-08T16:29:08.951Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T16:29:08.951Z] ---> Running in 5962da74a58e [2022-11-08T16:29:09.209Z] Removing intermediate container 5962da74a58e [2022-11-08T16:29:09.209Z] ---> d4c6ae0310eb [2022-11-08T16:29:09.209Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T16:29:09.209Z] ---> Running in 39127991f867 [2022-11-08T16:29:09.209Z] Removing intermediate container 39127991f867 [2022-11-08T16:29:09.209Z] ---> 0f3cdf9ff4c0 [2022-11-08T16:29:09.209Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T16:29:09.209Z] ---> Running in 3dbcad4b3987 [2022-11-08T16:29:09.470Z] Removing intermediate container 3dbcad4b3987 [2022-11-08T16:29:09.470Z] ---> c36cc9e5c3a0 [2022-11-08T16:29:09.470Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-11-08T16:29:09.470Z] ---> Running in 963f2eb7efcd [2022-11-08T16:29:09.470Z] Removing intermediate container 963f2eb7efcd [2022-11-08T16:29:09.470Z] ---> 8f9b776ccaaf [2022-11-08T16:29:09.470Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T16:29:09.470Z] ---> Running in eb114d519511 [2022-11-08T16:29:10.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T16:29:10.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T16:29:10.301Z] OK: 211 MiB in 51 packages [2022-11-08T16:29:10.561Z] Removing intermediate container eb114d519511 [2022-11-08T16:29:10.561Z] ---> f11123126b48 [2022-11-08T16:29:10.561Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-11-08T16:29:10.821Z] ---> Running in 3b26b1101920 [2022-11-08T16:29:10.821Z] Removing intermediate container 3b26b1101920 [2022-11-08T16:29:10.821Z] ---> c660ff9d0300 [2022-11-08T16:29:10.821Z] Step 10/13 : COPY go.mod vendor* ./ [2022-11-08T16:29:10.821Z] ---> b58ac023c3b1 [2022-11-08T16:29:10.821Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T16:29:11.081Z] ---> Running in dda29109129e [2022-11-08T16:29:12.121Z] Still waiting to schedule task [2022-11-08T16:29:12.122Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-11-08T16:29:29.185Z] Removing intermediate container dda29109129e [2022-11-08T16:29:29.185Z] ---> 04e13caf7b2f [2022-11-08T16:29:29.185Z] Step 12/13 : COPY . . [2022-11-08T16:29:29.185Z] ---> 0a541025e2ae [2022-11-08T16:29:29.185Z] Step 13/13 : RUN ${MAKE} [2022-11-08T16:29:29.185Z] ---> Running in 80db89a3fbfb [2022-11-08T16:29:29.185Z] noop [2022-11-08T16:29:29.185Z] Removing intermediate container 80db89a3fbfb [2022-11-08T16:29:29.185Z] ---> c680d175672c [2022-11-08T16:29:29.185Z] Successfully built c680d175672c [2022-11-08T16:29:29.185Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:29:29.488Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T16:29:29.488Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:29:29.552Z] prd-ubuntu20.04-docker-8c-8g-118629 does not seem to be running inside a container [2022-11-08T16:29:29.583Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** ci-base-image-x86_64 cat [2022-11-08T16:29:29.937Z] $ docker top 3fda9be74a81d1a988b84eb56b4afa910bcd1bc5973757a9ca69ec33232c85ee -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T16:29:30.272Z] + go version [2022-11-08T16:29:30.272Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-08T16:29:30.284Z] $ docker stop --time=1 3fda9be74a81d1a988b84eb56b4afa910bcd1bc5973757a9ca69ec33232c85ee [2022-11-08T16:29:31.623Z] $ docker rm -f 3fda9be74a81d1a988b84eb56b4afa910bcd1bc5973757a9ca69ec33232c85ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:29:32.023Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T16:29:32.023Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:29:32.091Z] prd-ubuntu20.04-docker-8c-8g-118629 does not seem to be running inside a container [2022-11-08T16:29:32.135Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** ci-base-image-x86_64 cat [2022-11-08T16:29:32.490Z] $ docker top f5569e27e9eddb817d2651db5f772f81bf3c5b24bbf6dec44d1c435b1e0e9980 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T16:29:32.921Z] + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh [2022-11-08T16:29:33.246Z] + make test [2022-11-08T16:29:33.247Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-08T16:29:33.504Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-11-08T16:29:43.476Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-11-08T16:29:46.021Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 29.3% of statements [2022-11-08T16:29:46.021Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-11-08T16:29:46.021Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.243s coverage: 86.5% of statements [2022-11-08T16:29:52.575Z] 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-11-08T16:29:52.575Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T16:29:55.852Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T16:29:55.852Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T16:29:55.852Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T16:29:55.863Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T16:29:55.878Z] $ docker stop --time=1 f5569e27e9eddb817d2651db5f772f81bf3c5b24bbf6dec44d1c435b1e0e9980 [2022-11-08T16:29:57.616Z] $ docker rm -f f5569e27e9eddb817d2651db5f772f81bf3c5b24bbf6dec44d1c435b1e0e9980 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T16:29:58.057Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T16:29:58.103Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-08T16:29:58.591Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T16:29:58.876Z] + ls -al . [2022-11-08T16:29:58.876Z] total 248 [2022-11-08T16:29:58.876Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 16:29 . [2022-11-08T16:29:58.876Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:28 .. [2022-11-08T16:29:58.876Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 16:29 .git [2022-11-08T16:29:58.876Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:28 .github [2022-11-08T16:29:58.876Z] -rw-rw-r-- 1 jenkins jenkins 496 Nov 8 16:28 .gitignore [2022-11-08T16:29:58.876Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 8 16:28 .golangci.yml [2022-11-08T16:29:58.876Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 16:28 .semver [2022-11-08T16:29:58.876Z] -rw-rw-r-- 1 jenkins jenkins 9739 Nov 8 16:28 Attribution.txt [2022-11-08T16:29:58.876Z] -rw-rw-r-- 1 jenkins jenkins 6312 Nov 8 16:28 CHANGELOG.md [2022-11-08T16:29:58.876Z] -rw-rw-r-- 1 jenkins jenkins 1637 Nov 8 16:28 Dockerfile [2022-11-08T16:29:58.876Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 16:28 GOVERNANCE.md [2022-11-08T16:29:58.876Z] -rw-rw-r-- 1 jenkins jenkins 734 Nov 8 16:28 Jenkinsfile [2022-11-08T16:29:58.876Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 8 16:28 LICENSE [2022-11-08T16:29:58.876Z] -rw-rw-r-- 1 jenkins jenkins 2858 Nov 8 16:28 Makefile [2022-11-08T16:29:58.876Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 8 16:28 OWNERS.md [2022-11-08T16:29:58.876Z] -rw-rw-r-- 1 jenkins jenkins 6595 Nov 8 16:28 README.md [2022-11-08T16:29:58.876Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 16:28 VERSION [2022-11-08T16:29:58.876Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:28 bin [2022-11-08T16:29:58.876Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:28 cmd [2022-11-08T16:29:58.876Z] -rw-r--r-- 1 jenkins jenkins 79184 Nov 8 16:29 coverage.out [2022-11-08T16:29:58.876Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 8 16:28 doc [2022-11-08T16:29:58.876Z] -rw-rw-r-- 1 jenkins jenkins 3687 Nov 8 16:28 go.mod [2022-11-08T16:29:58.876Z] -rw-rw-r-- 1 jenkins jenkins 46105 Nov 8 16:28 go.sum [2022-11-08T16:29:58.876Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:28 internal [2022-11-08T16:29:58.876Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:28 snap [2022-11-08T16:29:58.876Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 8 16:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:29:59.181Z] + 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=ef0e1dc43e01e3af63e43192147483735d9789c0 --label arch=amd64 --label version=2.3.0-dev.45 . [2022-11-08T16:29:59.181Z] Sending build context to Docker daemon 27.58MB [2022-11-08T16:29:59.181Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T16:29:59.181Z] Step 2/26 : FROM ${BASE} AS builder [2022-11-08T16:29:59.181Z] ---> c680d175672c [2022-11-08T16:29:59.181Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-11-08T16:29:59.440Z] ---> Running in 46493a9cd664 [2022-11-08T16:29:59.440Z] Removing intermediate container 46493a9cd664 [2022-11-08T16:29:59.440Z] ---> 9952b9b1da49 [2022-11-08T16:29:59.440Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T16:29:59.700Z] ---> Running in 04faa0f25f86 [2022-11-08T16:29:59.700Z] Removing intermediate container 04faa0f25f86 [2022-11-08T16:29:59.700Z] ---> 7a5713addafe [2022-11-08T16:29:59.700Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T16:29:59.700Z] ---> Running in 2dfba71f0001 [2022-11-08T16:29:59.700Z] Removing intermediate container 2dfba71f0001 [2022-11-08T16:29:59.700Z] ---> 231edb264ac8 [2022-11-08T16:29:59.700Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T16:29:59.700Z] ---> Running in 28fd7d45b4b9 [2022-11-08T16:29:59.959Z] Removing intermediate container 28fd7d45b4b9 [2022-11-08T16:29:59.959Z] ---> 5f2fe4a32ae4 [2022-11-08T16:29:59.959Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-11-08T16:29:59.959Z] ---> Running in 4c7607cc8042 [2022-11-08T16:29:59.959Z] Removing intermediate container 4c7607cc8042 [2022-11-08T16:29:59.959Z] ---> 75629bab422a [2022-11-08T16:29:59.959Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T16:29:59.959Z] ---> Running in c0f912f6ae3b [2022-11-08T16:30:00.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T16:30:00.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T16:30:00.735Z] OK: 211 MiB in 51 packages [2022-11-08T16:30:00.993Z] Removing intermediate container c0f912f6ae3b [2022-11-08T16:30:00.993Z] ---> bcb518820c89 [2022-11-08T16:30:00.993Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-11-08T16:30:00.993Z] ---> Running in e98ad36785c1 [2022-11-08T16:30:01.251Z] Removing intermediate container e98ad36785c1 [2022-11-08T16:30:01.251Z] ---> 1e32c20ec57a [2022-11-08T16:30:01.251Z] Step 10/26 : COPY go.mod vendor* ./ [2022-11-08T16:30:01.251Z] ---> 89170a70c3a8 [2022-11-08T16:30:01.251Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T16:30:01.251Z] ---> Running in d91032b4193b [2022-11-08T16:30:02.190Z] Removing intermediate container d91032b4193b [2022-11-08T16:30:02.190Z] ---> 4ea5645ccf22 [2022-11-08T16:30:02.190Z] Step 12/26 : COPY . . [2022-11-08T16:30:02.764Z] ---> c1f8ec53c04a [2022-11-08T16:30:02.764Z] Step 13/26 : RUN ${MAKE} [2022-11-08T16:30:02.764Z] ---> Running in b828392b5d0a [2022-11-08T16:30:02.764Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.45 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-11-08T16:30:24.686Z] Removing intermediate container b828392b5d0a [2022-11-08T16:30:24.686Z] ---> 189ca83ea197 [2022-11-08T16:30:24.686Z] Step 14/26 : FROM alpine:3.16 [2022-11-08T16:30:24.686Z] 3.16: Pulling from library/alpine [2022-11-08T16:30:24.686Z] 213ec9aee27d: Already exists [2022-11-08T16:30:24.686Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-08T16:30:24.686Z] Status: Downloaded newer image for alpine:3.16 [2022-11-08T16:30:24.686Z] ---> 9c6f07244728 [2022-11-08T16:30:24.686Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-11-08T16:30:24.686Z] ---> Running in b1a9d376a646 [2022-11-08T16:30:24.686Z] Removing intermediate container b1a9d376a646 [2022-11-08T16:30:24.686Z] ---> 617e31024999 [2022-11-08T16:30:24.686Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-08T16:30:24.686Z] ---> Running in e0a3cbdfa2a5 [2022-11-08T16:30:24.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T16:30:24.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T16:30:24.687Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-08T16:30:24.687Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-08T16:30:24.687Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-08T16:30:24.687Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-08T16:30:24.687Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-08T16:30:24.687Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-08T16:30:24.687Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T16:30:24.687Z] OK: 8 MiB in 20 packages [2022-11-08T16:30:24.687Z] Removing intermediate container e0a3cbdfa2a5 [2022-11-08T16:30:24.687Z] ---> d10b8997bfa6 [2022-11-08T16:30:24.687Z] Step 17/26 : WORKDIR / [2022-11-08T16:30:24.687Z] ---> Running in cae747ed14f9 [2022-11-08T16:30:24.687Z] Removing intermediate container cae747ed14f9 [2022-11-08T16:30:24.687Z] ---> a0a4a74837cf [2022-11-08T16:30:24.687Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-11-08T16:30:25.254Z] ---> e998179fc92b [2022-11-08T16:30:25.254Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-11-08T16:30:25.254Z] ---> c2b0735c9bdc [2022-11-08T16:30:25.254Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-11-08T16:30:25.513Z] ---> 35b0bcd83b36 [2022-11-08T16:30:25.513Z] Step 21/26 : EXPOSE 59984 [2022-11-08T16:30:25.513Z] ---> Running in 715c1f2ae278 [2022-11-08T16:30:25.513Z] Removing intermediate container 715c1f2ae278 [2022-11-08T16:30:25.513Z] ---> 83e167ff8898 [2022-11-08T16:30:25.513Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-11-08T16:30:25.513Z] ---> Running in 4511e668f240 [2022-11-08T16:30:25.772Z] Removing intermediate container 4511e668f240 [2022-11-08T16:30:25.772Z] ---> b630269edafa [2022-11-08T16:30:25.772Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-08T16:30:25.772Z] ---> Running in dbc100f9ddca [2022-11-08T16:30:25.772Z] Removing intermediate container dbc100f9ddca [2022-11-08T16:30:25.772Z] ---> e623d4b87a4a [2022-11-08T16:30:25.772Z] Step 24/26 : LABEL arch=amd64 [2022-11-08T16:30:25.772Z] ---> Running in dcffc323639a [2022-11-08T16:30:26.032Z] Removing intermediate container dcffc323639a [2022-11-08T16:30:26.032Z] ---> da0754642768 [2022-11-08T16:30:26.032Z] Step 25/26 : LABEL git_sha=ef0e1dc43e01e3af63e43192147483735d9789c0 [2022-11-08T16:30:26.032Z] ---> Running in 3b5788e23615 [2022-11-08T16:30:26.032Z] Removing intermediate container 3b5788e23615 [2022-11-08T16:30:26.032Z] ---> f7e4419405c9 [2022-11-08T16:30:26.032Z] Step 26/26 : LABEL version=2.3.0-dev.45 [2022-11-08T16:30:26.032Z] ---> Running in d433e886558f [2022-11-08T16:30:26.032Z] Removing intermediate container d433e886558f [2022-11-08T16:30:26.032Z] ---> 7a23ce384bef [2022-11-08T16:30:26.032Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T16:30:26.291Z] Successfully built 7a23ce384bef [2022-11-08T16:30:26.291Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T16:30:26.397Z] provisioning config files... [2022-11-08T16:30:26.403Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7723339730233593503tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:30:26.757Z] ---> docker-login.sh [2022-11-08T16:30:26.757Z] nexus3.edgexfoundry.org:10001 [2022-11-08T16:30:26.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:30:26.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:30:26.757Z] Configure a credential helper to remove this warning. See [2022-11-08T16:30:26.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:30:26.757Z] [2022-11-08T16:30:26.757Z] Login Succeeded [2022-11-08T16:30:26.757Z] nexus3.edgexfoundry.org:10002 [2022-11-08T16:30:26.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:30:26.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:30:26.757Z] Configure a credential helper to remove this warning. See [2022-11-08T16:30:26.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:30:26.757Z] [2022-11-08T16:30:26.757Z] Login Succeeded [2022-11-08T16:30:26.757Z] nexus3.edgexfoundry.org:10003 [2022-11-08T16:30:26.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:30:27.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:30:27.024Z] Configure a credential helper to remove this warning. See [2022-11-08T16:30:27.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:30:27.024Z] [2022-11-08T16:30:27.024Z] Login Succeeded [2022-11-08T16:30:27.024Z] nexus3.edgexfoundry.org:10004 [2022-11-08T16:30:27.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:30:27.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:30:27.024Z] Configure a credential helper to remove this warning. See [2022-11-08T16:30:27.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:30:27.024Z] [2022-11-08T16:30:27.024Z] Login Succeeded [2022-11-08T16:30:27.024Z] docker.io [2022-11-08T16:30:27.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:30:27.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:30:27.637Z] Configure a credential helper to remove this warning. See [2022-11-08T16:30:27.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:30:27.637Z] [2022-11-08T16:30:27.637Z] Login Succeeded [2022-11-08T16:30:27.637Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T16:30:27.645Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-08T16:30:27.673Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T16:30:27.694Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2022-11-08T16:30:27.694Z] ef0e1dc43e01e3af63e43192147483735d9789c0 [2022-11-08T16:30:27.694Z] latest [2022-11-08T16:30:27.694Z] 2.3.0-dev.45 [2022-11-08T16:30:27.694Z] ef0e1dc43e01e3af63e43192147483735d9789c0-2.3.0-dev.45 [2022-11-08T16:30:27.694Z] main [2022-11-08T16:30:27.694Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:30:28.039Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:ef0e1dc43e01e3af63e43192147483735d9789c0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:30:28.340Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:ef0e1dc43e01e3af63e43192147483735d9789c0 [2022-11-08T16:30:28.341Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-11-08T16:30:28.341Z] 423df0fae666: Preparing [2022-11-08T16:30:28.341Z] dba2411d2a8f: Preparing [2022-11-08T16:30:28.341Z] 52e0b5f3998a: Preparing [2022-11-08T16:30:28.341Z] da40886e919a: Preparing [2022-11-08T16:30:28.341Z] 994393dc58e7: Preparing [2022-11-08T16:30:28.341Z] 994393dc58e7: Layer already exists [2022-11-08T16:30:28.906Z] dba2411d2a8f: Pushed [2022-11-08T16:30:28.906Z] 423df0fae666: Pushed [2022-11-08T16:30:28.906Z] da40886e919a: Pushed [2022-11-08T16:30:30.804Z] 52e0b5f3998a: Pushed [2022-11-08T16:30:31.067Z] ef0e1dc43e01e3af63e43192147483735d9789c0: digest: sha256:e24de734dc8ccd4920b71605dea871aef73f41d1b9ef60b0b4bd2c5fac7aec81 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:30:31.402Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:30:31.701Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-11-08T16:30:31.701Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-11-08T16:30:31.701Z] 423df0fae666: Preparing [2022-11-08T16:30:31.701Z] dba2411d2a8f: Preparing [2022-11-08T16:30:31.701Z] 52e0b5f3998a: Preparing [2022-11-08T16:30:31.701Z] da40886e919a: Preparing [2022-11-08T16:30:31.701Z] 994393dc58e7: Preparing [2022-11-08T16:30:31.701Z] 994393dc58e7: Layer already exists [2022-11-08T16:30:31.701Z] 423df0fae666: Layer already exists [2022-11-08T16:30:31.701Z] dba2411d2a8f: Layer already exists [2022-11-08T16:30:31.701Z] da40886e919a: Layer already exists [2022-11-08T16:30:31.701Z] 52e0b5f3998a: Layer already exists [2022-11-08T16:30:31.701Z] latest: digest: sha256:e24de734dc8ccd4920b71605dea871aef73f41d1b9ef60b0b4bd2c5fac7aec81 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:30:32.004Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:30:32.301Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.45 [2022-11-08T16:30:32.302Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-11-08T16:30:32.302Z] 423df0fae666: Preparing [2022-11-08T16:30:32.302Z] dba2411d2a8f: Preparing [2022-11-08T16:30:32.302Z] 52e0b5f3998a: Preparing [2022-11-08T16:30:32.302Z] da40886e919a: Preparing [2022-11-08T16:30:32.302Z] 994393dc58e7: Preparing [2022-11-08T16:30:32.302Z] 423df0fae666: Layer already exists [2022-11-08T16:30:32.302Z] 994393dc58e7: Layer already exists [2022-11-08T16:30:32.302Z] 52e0b5f3998a: Layer already exists [2022-11-08T16:30:32.302Z] dba2411d2a8f: Layer already exists [2022-11-08T16:30:32.302Z] da40886e919a: Layer already exists [2022-11-08T16:30:32.302Z] 2.3.0-dev.45: digest: sha256:e24de734dc8ccd4920b71605dea871aef73f41d1b9ef60b0b4bd2c5fac7aec81 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:30:32.614Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:ef0e1dc43e01e3af63e43192147483735d9789c0-2.3.0-dev.45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:30:32.913Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:ef0e1dc43e01e3af63e43192147483735d9789c0-2.3.0-dev.45 [2022-11-08T16:30:32.913Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-11-08T16:30:32.913Z] 423df0fae666: Preparing [2022-11-08T16:30:32.913Z] dba2411d2a8f: Preparing [2022-11-08T16:30:32.913Z] 52e0b5f3998a: Preparing [2022-11-08T16:30:32.913Z] da40886e919a: Preparing [2022-11-08T16:30:32.913Z] 994393dc58e7: Preparing [2022-11-08T16:30:32.913Z] 52e0b5f3998a: Layer already exists [2022-11-08T16:30:32.913Z] 994393dc58e7: Layer already exists [2022-11-08T16:30:32.913Z] 423df0fae666: Layer already exists [2022-11-08T16:30:32.913Z] dba2411d2a8f: Layer already exists [2022-11-08T16:30:32.913Z] da40886e919a: Layer already exists [2022-11-08T16:30:32.913Z] ef0e1dc43e01e3af63e43192147483735d9789c0-2.3.0-dev.45: digest: sha256:e24de734dc8ccd4920b71605dea871aef73f41d1b9ef60b0b4bd2c5fac7aec81 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:30:33.224Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:30:33.537Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2022-11-08T16:30:33.537Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-11-08T16:30:33.537Z] 423df0fae666: Preparing [2022-11-08T16:30:33.537Z] dba2411d2a8f: Preparing [2022-11-08T16:30:33.537Z] 52e0b5f3998a: Preparing [2022-11-08T16:30:33.537Z] da40886e919a: Preparing [2022-11-08T16:30:33.537Z] 994393dc58e7: Preparing [2022-11-08T16:30:33.537Z] dba2411d2a8f: Layer already exists [2022-11-08T16:30:33.537Z] 52e0b5f3998a: Layer already exists [2022-11-08T16:30:33.537Z] 423df0fae666: Layer already exists [2022-11-08T16:30:33.537Z] 994393dc58e7: Layer already exists [2022-11-08T16:30:33.537Z] da40886e919a: Layer already exists [2022-11-08T16:30:33.537Z] main: digest: sha256:e24de734dc8ccd4920b71605dea871aef73f41d1b9ef60b0b4bd2c5fac7aec81 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-08T16:30:33.572Z] ===================================================== [Pipeline] echo [2022-11-08T16:30:33.582Z] taggedImages: [2022-11-08T16:30:33.582Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:ef0e1dc43e01e3af63e43192147483735d9789c0 [2022-11-08T16:30:33.582Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-11-08T16:30:33.582Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.45 [2022-11-08T16:30:33.582Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:ef0e1dc43e01e3af63e43192147483735d9789c0-2.3.0-dev.45 [2022-11-08T16:30:33.582Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [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-11-08T16:30:33.937Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T16:30:33.937Z] [2022-11-08T16:30:33.937Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:30:34.228Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T16:30:34.228Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-08T16:30:34.228Z] 5eb5b503b376: Pulling fs layer [2022-11-08T16:30:34.228Z] 5c69ac0246d0: Pulling fs layer [2022-11-08T16:30:34.228Z] ec43610c2a17: Pulling fs layer [2022-11-08T16:30:34.228Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-08T16:30:34.228Z] 33b1e0a273af: Pulling fs layer [2022-11-08T16:30:34.228Z] 5d3b04190fa2: Pulling fs layer [2022-11-08T16:30:34.228Z] 2f39f015ded8: Pulling fs layer [2022-11-08T16:30:34.228Z] 3a2ae6a8a46f: Waiting [2022-11-08T16:30:34.228Z] 33b1e0a273af: Waiting [2022-11-08T16:30:34.228Z] 5d3b04190fa2: Waiting [2022-11-08T16:30:34.228Z] 2f39f015ded8: Waiting [2022-11-08T16:30:34.228Z] 5c69ac0246d0: Verifying Checksum [2022-11-08T16:30:34.228Z] 5c69ac0246d0: Download complete [2022-11-08T16:30:34.228Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-08T16:30:34.228Z] 3a2ae6a8a46f: Download complete [2022-11-08T16:30:34.497Z] 33b1e0a273af: Verifying Checksum [2022-11-08T16:30:34.497Z] 33b1e0a273af: Download complete [2022-11-08T16:30:34.497Z] 5d3b04190fa2: Download complete [2022-11-08T16:30:34.497Z] ec43610c2a17: Verifying Checksum [2022-11-08T16:30:34.497Z] ec43610c2a17: Download complete [2022-11-08T16:30:34.497Z] 5eb5b503b376: Verifying Checksum [2022-11-08T16:30:34.497Z] 5eb5b503b376: Download complete [2022-11-08T16:30:35.461Z] 2f39f015ded8: Download complete [2022-11-08T16:30:35.461Z] 5eb5b503b376: Pull complete [2022-11-08T16:30:35.461Z] 5c69ac0246d0: Pull complete [2022-11-08T16:30:36.028Z] ec43610c2a17: Pull complete [2022-11-08T16:30:36.028Z] 3a2ae6a8a46f: Pull complete [2022-11-08T16:30:36.295Z] 33b1e0a273af: Pull complete [2022-11-08T16:30:36.295Z] 5d3b04190fa2: Pull complete [2022-11-08T16:30:40.476Z] 2f39f015ded8: Pull complete [2022-11-08T16:30:40.476Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-08T16:30:40.476Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T16:30:40.476Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:30:40.555Z] prd-ubuntu20.04-docker-8c-8g-118629 does not seem to be running inside a container [2022-11-08T16:30:40.584Z] $ 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/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-08T16:30:42.202Z] $ docker top 667db32a30af8cbf7a09a8de7403f4c09831b3b6528fc51c5efdee6c58926bda -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:30:42.555Z] ---> job-cost.sh [2022-11-08T16:30:42.555Z] lf-activate-venv: SKIPPING [2022-11-08T16:30:42.555Z] INFO: No Stack... [2022-11-08T16:30:42.813Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T16:30:43.075Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T16:30:43.360Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2022-11-08T16:30:43.360Z] + cut -d, -f6 [Pipeline] lock [2022-11-08T16:30:43.368Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-84-stack-cost] [2022-11-08T16:30:43.375Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-84-stack-cost] did not exist. Created. [2022-11-08T16:30:43.375Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-84-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T16:30:43.676Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-08T16:30:43.707Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T16:30:43.716Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-84-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T16:30:43.737Z] $ docker stop --time=1 667db32a30af8cbf7a09a8de7403f4c09831b3b6528fc51c5efdee6c58926bda [2022-11-08T16:30:44.890Z] $ docker rm -f 667db32a30af8cbf7a09a8de7403f4c09831b3b6528fc51c5efdee6c58926bda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-08T16:31:18.276Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118633 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2022-11-08T16:31:18.288Z] Running in /w/workspace/device-onvif-camera/84 [Pipeline] { [Pipeline] checkout [2022-11-08T16:31:18.323Z] The recommended git tool is: git [2022-11-08T16:31:23.430Z] using credential edgex-jenkins-ssh [2022-11-08T16:31:23.455Z] Cloning the remote Git repository [2022-11-08T16:31:23.495Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-08T16:31:23.572Z] > git init /w/workspace/device-onvif-camera/84 # timeout=10 [2022-11-08T16:31:23.726Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-08T16:31:23.728Z] > git --version # timeout=10 [2022-11-08T16:31:23.747Z] > git --version # 'git version 2.25.1' [2022-11-08T16:31:23.749Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T16:31:23.801Z] Verifying host key using known hosts file [2022-11-08T16:31:24.007Z] 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-11-08T16:31:24.021Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T16:31:25.544Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-11-08T16:31:25.572Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T16:31:26.422Z] Avoid second fetch [2022-11-08T16:31:26.422Z] Checking out Revision ef0e1dc43e01e3af63e43192147483735d9789c0 (main) [2022-11-08T16:31:26.437Z] > git config core.sparsecheckout # timeout=10 [2022-11-08T16:31:26.457Z] > git checkout -f ef0e1dc43e01e3af63e43192147483735d9789c0 # timeout=10 [2022-11-08T16:31:27.148Z] Commit message: "build: Update to use released SDK (#196)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T16:31:28.007Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-08T16:31:28.007Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T16:31:28.007Z] Dload Upload Total Spent Left Speed [2022-11-08T16:31:28.007Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 208k 0 --:--:-- --:--:-- --:--:-- 212k [Pipeline] sh [2022-11-08T16:31:28.757Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-08T16:31:29.094Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-08T16:31:29.095Z] + sudo tee /etc/docker/daemon.new [2022-11-08T16:31:29.095Z] { [2022-11-08T16:31:29.095Z] "registry-mirrors": [ [2022-11-08T16:31:29.095Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-08T16:31:29.095Z] ], [2022-11-08T16:31:29.095Z] "bip": "10.250.0.254/24", [2022-11-08T16:31:29.095Z] "hosts": [ [2022-11-08T16:31:29.095Z] "tcp://0.0.0.0:5555", [2022-11-08T16:31:29.095Z] "unix:///var/run/docker.sock" [2022-11-08T16:31:29.095Z] ], [2022-11-08T16:31:29.095Z] "mtu": 1458, [2022-11-08T16:31:29.095Z] "selinux-enabled": true, [2022-11-08T16:31:29.095Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-08T16:31:29.095Z] } [Pipeline] sh [2022-11-08T16:31:29.433Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-08T16:31:29.773Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T16:31:48.078Z] provisioning config files... [2022-11-08T16:31:48.103Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/84@tmp/config9598127848034356504tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:31:48.450Z] ---> docker-login.sh [2022-11-08T16:31:48.450Z] nexus3.edgexfoundry.org:10001 [2022-11-08T16:31:49.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:31:49.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:31:49.038Z] Configure a credential helper to remove this warning. See [2022-11-08T16:31:49.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:31:49.038Z] [2022-11-08T16:31:49.038Z] Login Succeeded [2022-11-08T16:31:49.038Z] nexus3.edgexfoundry.org:10002 [2022-11-08T16:31:49.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:31:49.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:31:49.319Z] Configure a credential helper to remove this warning. See [2022-11-08T16:31:49.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:31:49.319Z] [2022-11-08T16:31:49.319Z] Login Succeeded [2022-11-08T16:31:49.319Z] nexus3.edgexfoundry.org:10003 [2022-11-08T16:31:49.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:31:49.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:31:49.856Z] Configure a credential helper to remove this warning. See [2022-11-08T16:31:49.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:31:49.856Z] [2022-11-08T16:31:49.856Z] Login Succeeded [2022-11-08T16:31:49.856Z] nexus3.edgexfoundry.org:10004 [2022-11-08T16:31:50.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:31:50.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:31:50.124Z] Configure a credential helper to remove this warning. See [2022-11-08T16:31:50.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:31:50.124Z] [2022-11-08T16:31:50.124Z] Login Succeeded [2022-11-08T16:31:50.124Z] docker.io [2022-11-08T16:31:50.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:31:50.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:31:50.977Z] Configure a credential helper to remove this warning. See [2022-11-08T16:31:50.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:31:50.977Z] [2022-11-08T16:31:50.977Z] Login Succeeded [2022-11-08T16:31:50.977Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T16:31:50.990Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T16:31:51.145Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T16:31:51.157Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T16:31:51.166Z] ========================================================= [2022-11-08T16:31:51.166Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-08T16:31:51.166Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:31:51.505Z] + 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-11-08T16:31:52.092Z] Sending build context to Docker daemon 20.44MB [2022-11-08T16:31:52.092Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T16:31:52.092Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-08T16:31:52.092Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-08T16:31:52.092Z] 9b18e9b68314: Pulling fs layer [2022-11-08T16:31:52.092Z] 35d82f9e3411: Pulling fs layer [2022-11-08T16:31:52.092Z] e16973657156: Pulling fs layer [2022-11-08T16:31:52.092Z] fc693d55d65f: Pulling fs layer [2022-11-08T16:31:52.092Z] 7e9fc2657dce: Pulling fs layer [2022-11-08T16:31:52.092Z] dda99020689f: Pulling fs layer [2022-11-08T16:31:52.092Z] db1c61fa0a46: Pulling fs layer [2022-11-08T16:31:52.092Z] 891c053d2c06: Pulling fs layer [2022-11-08T16:31:52.092Z] fc693d55d65f: Waiting [2022-11-08T16:31:52.092Z] 7e9fc2657dce: Waiting [2022-11-08T16:31:52.092Z] dda99020689f: Waiting [2022-11-08T16:31:52.092Z] db1c61fa0a46: Waiting [2022-11-08T16:31:52.092Z] 891c053d2c06: Waiting [2022-11-08T16:31:52.361Z] e16973657156: Verifying Checksum [2022-11-08T16:31:52.361Z] e16973657156: Download complete [2022-11-08T16:31:52.361Z] 35d82f9e3411: Download complete [2022-11-08T16:31:52.361Z] 7e9fc2657dce: Download complete [2022-11-08T16:31:52.361Z] dda99020689f: Verifying Checksum [2022-11-08T16:31:52.361Z] dda99020689f: Download complete [2022-11-08T16:31:52.361Z] 9b18e9b68314: Download complete [2022-11-08T16:31:53.335Z] 9b18e9b68314: Pull complete [2022-11-08T16:31:53.335Z] 891c053d2c06: Verifying Checksum [2022-11-08T16:31:53.335Z] 891c053d2c06: Download complete [2022-11-08T16:31:54.319Z] db1c61fa0a46: Verifying Checksum [2022-11-08T16:31:54.319Z] db1c61fa0a46: Download complete [2022-11-08T16:31:54.592Z] 35d82f9e3411: Pull complete [2022-11-08T16:31:54.861Z] e16973657156: Pull complete [2022-11-08T16:31:55.127Z] fc693d55d65f: Verifying Checksum [2022-11-08T16:31:55.127Z] fc693d55d65f: Download complete [2022-11-08T16:32:07.466Z] fc693d55d65f: Pull complete [2022-11-08T16:32:07.466Z] 7e9fc2657dce: Pull complete [2022-11-08T16:32:07.466Z] dda99020689f: Pull complete [2022-11-08T16:32:12.843Z] db1c61fa0a46: Pull complete [2022-11-08T16:32:14.813Z] 891c053d2c06: Pull complete [2022-11-08T16:32:14.813Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-08T16:32:14.813Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-08T16:32:14.813Z] ---> f96f9c87975a [2022-11-08T16:32:14.813Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-08T16:32:16.766Z] ---> Running in f47e6744225a [2022-11-08T16:32:17.361Z] Removing intermediate container f47e6744225a [2022-11-08T16:32:17.361Z] ---> 94f641217ad1 [2022-11-08T16:32:17.361Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T16:32:17.361Z] ---> Running in edf09a969cd5 [2022-11-08T16:32:17.639Z] Removing intermediate container edf09a969cd5 [2022-11-08T16:32:17.639Z] ---> f9fff29bd285 [2022-11-08T16:32:17.639Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T16:32:17.639Z] ---> Running in 5fcb44e0d7e4 [2022-11-08T16:32:18.280Z] Removing intermediate container 5fcb44e0d7e4 [2022-11-08T16:32:18.280Z] ---> 43d1647fcd28 [2022-11-08T16:32:18.280Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T16:32:18.280Z] ---> Running in 7acc028c17fe [2022-11-08T16:32:18.569Z] Removing intermediate container 7acc028c17fe [2022-11-08T16:32:18.569Z] ---> e7d601868631 [2022-11-08T16:32:18.569Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-11-08T16:32:18.865Z] ---> Running in e8cb9b28029a [2022-11-08T16:32:19.139Z] Removing intermediate container e8cb9b28029a [2022-11-08T16:32:19.139Z] ---> 8a7b9643d7cf [2022-11-08T16:32:19.139Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T16:32:19.139Z] ---> Running in dcab62951355 [2022-11-08T16:32:20.558Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T16:32:20.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T16:32:23.427Z] OK: 221 MiB in 51 packages [2022-11-08T16:32:24.407Z] Removing intermediate container dcab62951355 [2022-11-08T16:32:24.407Z] ---> 204cf4b1355a [2022-11-08T16:32:24.407Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-11-08T16:32:24.407Z] ---> Running in 5758bb8ac9cc [2022-11-08T16:32:24.679Z] Removing intermediate container 5758bb8ac9cc [2022-11-08T16:32:24.679Z] ---> 7cec56b51abf [2022-11-08T16:32:24.679Z] Step 10/13 : COPY go.mod vendor* ./ [2022-11-08T16:32:25.267Z] ---> 540333755810 [2022-11-08T16:32:25.267Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T16:32:25.267Z] ---> Running in a052f586a466 [2022-11-08T16:33:33.191Z] Removing intermediate container a052f586a466 [2022-11-08T16:33:33.191Z] ---> c2a3628c933d [2022-11-08T16:33:33.191Z] Step 12/13 : COPY . . [2022-11-08T16:33:33.191Z] ---> 6af390985c5b [2022-11-08T16:33:33.191Z] Step 13/13 : RUN ${MAKE} [2022-11-08T16:33:33.191Z] ---> Running in 06efc735ea24 [2022-11-08T16:33:33.191Z] noop [2022-11-08T16:33:33.191Z] Removing intermediate container 06efc735ea24 [2022-11-08T16:33:33.191Z] ---> 8d68ad1343ff [2022-11-08T16:33:33.191Z] Successfully built 8d68ad1343ff [2022-11-08T16:33:33.191Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:33:33.546Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T16:33:33.546Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:33:33.760Z] prd-ubuntu20.04-docker-arm64-4c-16g-118633 does not seem to be running inside a container [2022-11-08T16:33:33.847Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/84 -v /w/workspace/device-onvif-camera/84:/w/workspace/device-onvif-camera/84:rw,z -v /w/workspace/device-onvif-camera/84@tmp:/w/workspace/device-onvif-camera/84@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 ******** ci-base-image-arm64 cat [2022-11-08T16:33:35.198Z] $ docker top 5341f887771c7fde0c9b0e5e1362f8273d2f73fdb705a7baf3911b554abc4626 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T16:33:36.092Z] + go version [2022-11-08T16:33:36.092Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-08T16:33:36.116Z] $ docker stop --time=1 5341f887771c7fde0c9b0e5e1362f8273d2f73fdb705a7baf3911b554abc4626 [2022-11-08T16:33:37.835Z] $ docker rm -f 5341f887771c7fde0c9b0e5e1362f8273d2f73fdb705a7baf3911b554abc4626 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:33:38.399Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T16:33:38.399Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:33:38.592Z] prd-ubuntu20.04-docker-arm64-4c-16g-118633 does not seem to be running inside a container [2022-11-08T16:33:38.673Z] $ 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/84 -v /w/workspace/device-onvif-camera/84:/w/workspace/device-onvif-camera/84:rw,z -v /w/workspace/device-onvif-camera/84@tmp:/w/workspace/device-onvif-camera/84@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 ******** ci-base-image-arm64 cat [2022-11-08T16:33:39.925Z] $ docker top 746354f18b4b8f3e925db906f9fced17dc982241778427664a8aed229f23e76b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T16:33:40.776Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/84 [Pipeline] fileExists [Pipeline] sh [2022-11-08T16:33:41.116Z] + make test [2022-11-08T16:33:41.387Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-08T16:33:43.339Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-11-08T16:35:35.040Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-11-08T16:35:40.436Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.219s coverage: 29.3% of statements [2022-11-08T16:35:40.436Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-11-08T16:35:58.702Z] --- FAIL: TestIpGenerator (0.00s) [2022-11-08T16:35:58.702Z] --- FAIL: TestIpGenerator/basic_/8_subnet (30.14s) [2022-11-08T16:35:58.702Z] util_test.go:180: [2022-11-08T16:35:58.702Z] Error Trace: /w/workspace/device-onvif-camera/84/internal/netscan/util_test.go:180 [2022-11-08T16:35:58.702Z] Error: Not equal: [2022-11-08T16:35:58.702Z] expected: 0xfffffe [2022-11-08T16:35:58.702Z] actual : 0xfeb551 [2022-11-08T16:35:58.702Z] Test: TestIpGenerator/basic_/8_subnet [2022-11-08T16:35:58.702Z] util_test.go:183: [2022-11-08T16:35:58.703Z] Error Trace: /w/workspace/device-onvif-camera/84/internal/netscan/util_test.go:183 [2022-11-08T16:35:58.703Z] Error: Not equal: [2022-11-08T16:35:58.703Z] expected: "10.255.255.254" [2022-11-08T16:35:58.703Z] actual : "10.254.181.81" [2022-11-08T16:35:58.703Z] [2022-11-08T16:35:58.703Z] Diff: [2022-11-08T16:35:58.703Z] --- Expected [2022-11-08T16:35:58.703Z] +++ Actual [2022-11-08T16:35:58.703Z] @@ -1 +1 @@ [2022-11-08T16:35:58.703Z] -10.255.255.254 [2022-11-08T16:35:58.703Z] +10.254.181.81 [2022-11-08T16:35:58.703Z] Test: TestIpGenerator/basic_/8_subnet [2022-11-08T16:35:58.703Z] FAIL [2022-11-08T16:35:58.703Z] coverage: 86.5% of statements [2022-11-08T16:35:58.703Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.373s [2022-11-08T16:35:58.703Z] FAIL [2022-11-08T16:35:58.703Z] make: *** [Makefile:61: unittest] Error 1 [Pipeline] } [2022-11-08T16:35:58.731Z] $ docker stop --time=1 746354f18b4b8f3e925db906f9fced17dc982241778427664a8aed229f23e76b [2022-11-08T16:36:00.753Z] $ docker rm -f 746354f18b4b8f3e925db906f9fced17dc982241778427664a8aed229f23e76b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:36:01.949Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T16:36:01.949Z] [2022-11-08T16:36:01.949Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:36:02.334Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T16:36:02.608Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-08T16:36:02.608Z] 8998bd30e6a1: Pulling fs layer [2022-11-08T16:36:02.608Z] 04944245beec: Pulling fs layer [2022-11-08T16:36:02.608Z] 699f458cf7ca: Pulling fs layer [2022-11-08T16:36:02.608Z] 765212b225bb: Pulling fs layer [2022-11-08T16:36:02.608Z] f23df028b6ca: Pulling fs layer [2022-11-08T16:36:02.608Z] d65c8cfc05b1: Pulling fs layer [2022-11-08T16:36:02.608Z] 2437ff75d9bd: Pulling fs layer [2022-11-08T16:36:02.608Z] 765212b225bb: Waiting [2022-11-08T16:36:02.608Z] f23df028b6ca: Waiting [2022-11-08T16:36:02.608Z] 2437ff75d9bd: Waiting [2022-11-08T16:36:02.608Z] d65c8cfc05b1: Waiting [2022-11-08T16:36:02.608Z] 04944245beec: Verifying Checksum [2022-11-08T16:36:02.608Z] 04944245beec: Download complete [2022-11-08T16:36:02.608Z] 765212b225bb: Verifying Checksum [2022-11-08T16:36:02.608Z] 765212b225bb: Download complete [2022-11-08T16:36:02.881Z] f23df028b6ca: Verifying Checksum [2022-11-08T16:36:02.881Z] f23df028b6ca: Download complete [2022-11-08T16:36:02.881Z] d65c8cfc05b1: Verifying Checksum [2022-11-08T16:36:02.881Z] d65c8cfc05b1: Download complete [2022-11-08T16:36:02.881Z] 699f458cf7ca: Verifying Checksum [2022-11-08T16:36:02.881Z] 699f458cf7ca: Download complete [2022-11-08T16:36:03.481Z] 8998bd30e6a1: Verifying Checksum [2022-11-08T16:36:03.481Z] 8998bd30e6a1: Download complete [2022-11-08T16:36:08.965Z] 2437ff75d9bd: Verifying Checksum [2022-11-08T16:36:08.965Z] 2437ff75d9bd: Download complete [2022-11-08T16:36:13.259Z] 8998bd30e6a1: Pull complete [2022-11-08T16:36:13.259Z] 04944245beec: Pull complete [2022-11-08T16:36:16.625Z] 699f458cf7ca: Pull complete [2022-11-08T16:36:16.625Z] 765212b225bb: Pull complete [2022-11-08T16:36:17.219Z] f23df028b6ca: Pull complete [2022-11-08T16:36:17.823Z] d65c8cfc05b1: Pull complete [2022-11-08T16:36:36.642Z] 2437ff75d9bd: Pull complete [2022-11-08T16:36:36.642Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-08T16:36:36.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T16:36:36.642Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:36:36.839Z] prd-ubuntu20.04-docker-arm64-4c-16g-118633 does not seem to be running inside a container [2022-11-08T16:36:36.933Z] $ 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/84 -v /w/workspace/device-onvif-camera/84:/w/workspace/device-onvif-camera/84:rw,z -v /w/workspace/device-onvif-camera/84@tmp:/w/workspace/device-onvif-camera/84@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-08T16:36:38.636Z] $ docker top 326fbc160fe3ddad4103e1923ab389d779ab7739d96f5e324f287020299834f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:36:39.510Z] ---> job-cost.sh [2022-11-08T16:36:39.510Z] lf-activate-venv: SKIPPING [2022-11-08T16:36:39.510Z] INFO: No Stack... [2022-11-08T16:36:40.096Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-08T16:36:40.682Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T16:36:41.328Z] + cat /w/workspace/device-onvif-camera/84/archives/cost.csv [2022-11-08T16:36:41.328Z] + cut -d, -f6 [Pipeline] lock [2022-11-08T16:36:41.436Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-84-stack-cost] [2022-11-08T16:36:41.444Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-84-stack-cost] did not exist. Created. [2022-11-08T16:36:41.444Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-84-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T16:36:42.150Z] /w/workspace/device-onvif-camera/84@tmp/durable-cae8e4e4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-08T16:36:42.895Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-08T16:36:42.923Z] Warning: overwriting stash ‘stack-cost’ [2022-11-08T16:36:43.770Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T16:36:43.778Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-84-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T16:36:43.804Z] $ docker stop --time=1 326fbc160fe3ddad4103e1923ab389d779ab7739d96f5e324f287020299834f5 [2022-11-08T16:36:45.432Z] $ docker rm -f 326fbc160fe3ddad4103e1923ab389d779ab7739d96f5e324f287020299834f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-08T16:36:45.703Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-11-08T16:36:46.345Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2022-11-08T16:36:46.345Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-11-08T16:36:46.345Z] total 16 [2022-11-08T16:36:46.345Z] drwxr-xr-x 3 root root 4096 Nov 8 16:30 . [2022-11-08T16:36:46.345Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 16:30 .. [2022-11-08T16:36:46.345Z] drwxr-xr-x 2 root root 4096 Nov 8 16:30 cost [2022-11-08T16:36:46.345Z] -rw-r--r-- 1 root root 90 Nov 8 16:30 cost.csv [2022-11-08T16:36:46.345Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2022-11-08T16:36:46.345Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-11-08T16:36:46.345Z] total 16 [2022-11-08T16:36:46.345Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 16:30 . [2022-11-08T16:36:46.345Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 16:30 .. [2022-11-08T16:36:46.345Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 16:30 cost [2022-11-08T16:36:46.345Z] -rw-r--r-- 1 jenkins jenkins 90 Nov 8 16:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:36:46.635Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:36:47.493Z] ---> package-listing.sh [2022-11-08T16:36:47.493Z] ++ facter osfamily [2022-11-08T16:36:47.493Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-08T16:36:47.751Z] + OS_FAMILY=debian [2022-11-08T16:36:47.751Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2022-11-08T16:36:47.751Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-08T16:36:47.751Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-08T16:36:47.751Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-08T16:36:47.751Z] + PACKAGES=/tmp/packages_start.txt [2022-11-08T16:36:47.751Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-11-08T16:36:47.751Z] + PACKAGES=/tmp/packages_end.txt [2022-11-08T16:36:47.751Z] + case "${OS_FAMILY}" in [2022-11-08T16:36:47.751Z] + dpkg -l [2022-11-08T16:36:47.751Z] + grep '^ii' [2022-11-08T16:36:47.751Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-08T16:36:47.751Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-08T16:36:47.751Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-08T16:36:47.751Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-11-08T16:36:47.751Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2022-11-08T16:36:47.751Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo [2022-11-08T16:36:47.762Z] 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-08T16:36:48.040Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:36:48.604Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T16:36:48.604Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:36:48.674Z] prd-ubuntu20.04-docker-8c-8g-118629 does not seem to be running inside a container [2022-11-08T16:36:48.714Z] $ 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-08T16:36:48.929Z] $ docker top 4fdf1403862c365e75a51675b6a5782c46a1fe76685925f16b2cd613c3f868fe -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T16:36:49.278Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-08T16:36:49.569Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-08T16:36:49.856Z] + ls /var/log/sa-host [2022-11-08T16:36:49.856Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T16:36:49.928Z] provisioning config files... [2022-11-08T16:36:49.936Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8220513114264960777tmp [Pipeline] { [Pipeline] echo [2022-11-08T16:36:49.951Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:36:50.232Z] ---> create-netrc.sh [Pipeline] } [2022-11-08T16:36:50.239Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:36:50.566Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-08T16:36:50.574Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:36:50.853Z] ---> sudo-logs.sh [2022-11-08T16:36:50.853Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-08T16:36:50.872Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:36:51.153Z] ---> job-cost.sh [2022-11-08T16:36:51.153Z] lf-activate-venv: SKIPPING [2022-11-08T16:36:51.153Z] DEBUG: total: 0.2199999988079071 [2022-11-08T16:36:51.153Z] INFO: Retrieving Stack Cost... [2022-11-08T16:36:51.721Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T16:36:51.980Z] INFO: Archiving Costs [Pipeline] echo [2022-11-08T16:36:51.991Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:36:52.275Z] ---> logs-deploy.sh [2022-11-08T16:36:52.275Z] lf-activate-venv: SKIPPING [2022-11-08T16:36:52.275Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/84 [2022-11-08T16:36:52.275Z] INFO: archiving workspace using pattern(s): [2022-11-08T16:36:53.210Z] Archives upload complete. [2022-11-08T16:36:53.210Z] INFO: archiving logs to Nexus