Pull request #197 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from c1b75f94bf465599af031118e7b7fcc8d1969457+ef0e1dc43e01e3af63e43192147483735d9789c0 (3bf38b8aebd5f5e0a2d56a04f4ee82629103a55f) 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-ssh8948579443696228681.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-ssh9816723470299848746.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-197/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-197/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15484441229830653774.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-197/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13908575840558723258.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17524896765608414792.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-197/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-197/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15773154304901976669.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-118921 in /w/workspace/undry_device-onvif-camera_PR-197 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-197 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ef0e1dc43e01e3af63e43192147483735d9789c0 into PR head commit c1b75f94bf465599af031118e7b7fcc8d1969457 Merge succeeded, producing c1b75f94bf465599af031118e7b7fcc8d1969457 Checking out Revision c1b75f94bf465599af031118e7b7fcc8d1969457 (PR-197) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/197/head:refs/remotes/origin/PR-197 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c1b75f94bf465599af031118e7b7fcc8d1969457 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge ef0e1dc43e01e3af63e43192147483735d9789c0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c1b75f94bf465599af031118e7b7fcc8d1969457 # timeout=10 Commit message: "docs: Bump Swagger version for Levski to 2.3.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-10T13:52:01.502Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-10T13:52:01.695Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-10T13:52:01.786Z] ========================================================= [2022-11-10T13:52:01.786Z] EdgeX Global Pipelines Version Info [2022-11-10T13:52:01.786Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-10T13:52:02.527Z] ------------------- [2022-11-10T13:52:02.527Z] stable info: [2022-11-10T13:52:02.527Z] ------------------- [2022-11-10T13:52:02.527Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-10T13:52:02.527Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-10T13:52:02.527Z] Message: update stable to v1.0.244 [2022-11-10T13:52:03.096Z] ------------------- [2022-11-10T13:52:03.096Z] experimental info: [2022-11-10T13:52:03.096Z] ------------------- [2022-11-10T13:52:03.097Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-10T13:52:03.097Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-10T13:52:03.097Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-10T13:52:03.371Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-11-10T13:52:03.412Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-11-10T13:52:03.459Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-10T13:52:03.500Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-10T13:52:03.539Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-10T13:52:03.580Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-10T13:52:03.622Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-10T13:52:03.662Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-10T13:52:03.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-10T13:52:03.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-10T13:52:03.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-10T13:52:03.828Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-11-10T13:52:03.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-10T13:52:03.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-10T13:52:03.948Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-10T13:52:03.984Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-10T13:52:04.021Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-10T13:52:04.058Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-10T13:52:04.099Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-10T13:52:04.141Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-10T13:52:04.186Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-11-10T13:52:04.223Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-11-10T13:52:04.258Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-10T13:52:04.296Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-10T13:52:04.336Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-10T13:52:04.371Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-10T13:52:04.409Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-10T13:52:04.444Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-197 [Pipeline] echo [2022-11-10T13:52:04.490Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-197 [Pipeline] echo [2022-11-10T13:52:04.532Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-197 [Pipeline] echo [2022-11-10T13:52:04.575Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c1b75f94bf465599af031118e7b7fcc8d1969457 [Pipeline] echo [2022-11-10T13:52:04.611Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c1b75f9 [Pipeline] echo [2022-11-10T13:52:04.651Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-10T13:52:04.768Z] provisioning config files... [2022-11-10T13:52:04.780Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-197@tmp/config5639800230710284289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-10T13:52:05.126Z] ---> docker-login.sh [2022-11-10T13:52:05.126Z] nexus3.edgexfoundry.org:10001 [2022-11-10T13:52:05.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T13:52:05.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T13:52:05.646Z] Configure a credential helper to remove this warning. See [2022-11-10T13:52:05.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T13:52:05.646Z] [2022-11-10T13:52:05.646Z] Login Succeeded [2022-11-10T13:52:05.646Z] nexus3.edgexfoundry.org:10002 [2022-11-10T13:52:05.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T13:52:05.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T13:52:05.646Z] Configure a credential helper to remove this warning. See [2022-11-10T13:52:05.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T13:52:05.646Z] [2022-11-10T13:52:05.646Z] Login Succeeded [2022-11-10T13:52:05.646Z] nexus3.edgexfoundry.org:10003 [2022-11-10T13:52:05.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T13:52:05.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T13:52:05.646Z] Configure a credential helper to remove this warning. See [2022-11-10T13:52:05.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T13:52:05.646Z] [2022-11-10T13:52:05.646Z] Login Succeeded [2022-11-10T13:52:05.646Z] nexus3.edgexfoundry.org:10004 [2022-11-10T13:52:05.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T13:52:05.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T13:52:05.906Z] Configure a credential helper to remove this warning. See [2022-11-10T13:52:05.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T13:52:05.906Z] [2022-11-10T13:52:05.906Z] Login Succeeded [2022-11-10T13:52:05.906Z] docker.io [2022-11-10T13:52:05.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T13:52:06.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T13:52:06.165Z] Configure a credential helper to remove this warning. See [2022-11-10T13:52:06.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T13:52:06.165Z] [2022-11-10T13:52:06.165Z] Login Succeeded [2022-11-10T13:52:06.165Z] ---> docker-login.sh ends [Pipeline] } [2022-11-10T13:52:06.194Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-10T13:52:06.797Z] + git rev-list -1 --merges c1b75f94bf465599af031118e7b7fcc8d1969457~1..c1b75f94bf465599af031118e7b7fcc8d1969457 [Pipeline] echo [2022-11-10T13:52:06.837Z] -----------> git rev-list -1 --merges c1b75f94bf465599af031118e7b7fcc8d1969457~1..c1b75f94bf465599af031118e7b7fcc8d1969457 c1b75f94bf465599af031118e7b7fcc8d1969457 [false] [Pipeline] sh [2022-11-10T13:52:07.146Z] + git log --format=format:%s -1 c1b75f94bf465599af031118e7b7fcc8d1969457 [Pipeline] echo [2022-11-10T13:52:07.183Z] ========================================================= [2022-11-10T13:52:07.183Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-10T13:52:07.183Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-10T13:52:07.607Z] + git log --format=format:%s -1 c1b75f94bf465599af031118e7b7fcc8d1969457 [Pipeline] echo [2022-11-10T13:52:07.640Z] [semverPrep] GIT_COMMIT: c1b75f94bf465599af031118e7b7fcc8d1969457, Commit Message: docs: Bump Swagger version for Levski to 2.3.0 [Pipeline] echo [2022-11-10T13:52:07.669Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-10T13:52:08.053Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-10T13:52:08.053Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-10T13:52:08.053Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-10T13:52:08.053Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-10T13:52:08.053Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-10T13:52:08.053Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-10T13:52:08.053Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T13:52:08.532Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-10T13:52:08.532Z] [2022-11-10T13:52:08.532Z] 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-10T13:52:08.897Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-10T13:52:08.897Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-10T13:52:08.897Z] b85a868b505f: Pulling fs layer [2022-11-10T13:52:08.897Z] e2be974225ed: Pulling fs layer [2022-11-10T13:52:08.897Z] 339a4e72a1f5: Pulling fs layer [2022-11-10T13:52:08.897Z] 988bab9f4d93: Pulling fs layer [2022-11-10T13:52:08.897Z] 1469e6f7b9e6: Pulling fs layer [2022-11-10T13:52:08.897Z] eaf3925da568: Pulling fs layer [2022-11-10T13:52:08.897Z] bab4dde63d76: Pulling fs layer [2022-11-10T13:52:08.897Z] bde34c3a00c8: Pulling fs layer [2022-11-10T13:52:08.897Z] b352a97aabf1: Pulling fs layer [2022-11-10T13:52:08.897Z] 4872d77fe225: Pulling fs layer [2022-11-10T13:52:08.897Z] 5851b861e8e6: Pulling fs layer [2022-11-10T13:52:08.897Z] 1469e6f7b9e6: Waiting [2022-11-10T13:52:08.897Z] 988bab9f4d93: Waiting [2022-11-10T13:52:08.897Z] b352a97aabf1: Waiting [2022-11-10T13:52:08.897Z] 5851b861e8e6: Waiting [2022-11-10T13:52:08.897Z] eaf3925da568: Waiting [2022-11-10T13:52:08.897Z] bab4dde63d76: Waiting [2022-11-10T13:52:08.897Z] bde34c3a00c8: Waiting [2022-11-10T13:52:08.897Z] 4872d77fe225: Waiting [2022-11-10T13:52:08.897Z] e2be974225ed: Download complete [2022-11-10T13:52:08.897Z] 988bab9f4d93: Download complete [2022-11-10T13:52:09.157Z] 1469e6f7b9e6: Verifying Checksum [2022-11-10T13:52:09.157Z] 1469e6f7b9e6: Download complete [2022-11-10T13:52:09.157Z] 339a4e72a1f5: Verifying Checksum [2022-11-10T13:52:09.157Z] 339a4e72a1f5: Download complete [2022-11-10T13:52:09.157Z] eaf3925da568: Verifying Checksum [2022-11-10T13:52:09.157Z] eaf3925da568: Download complete [2022-11-10T13:52:09.157Z] bde34c3a00c8: Download complete [2022-11-10T13:52:09.157Z] b352a97aabf1: Download complete [2022-11-10T13:52:09.157Z] 4872d77fe225: Verifying Checksum [2022-11-10T13:52:09.157Z] 4872d77fe225: Download complete [2022-11-10T13:52:09.157Z] 5851b861e8e6: Verifying Checksum [2022-11-10T13:52:09.158Z] 5851b861e8e6: Download complete [2022-11-10T13:52:09.158Z] b85a868b505f: Verifying Checksum [2022-11-10T13:52:09.158Z] b85a868b505f: Download complete [2022-11-10T13:52:09.416Z] bab4dde63d76: Verifying Checksum [2022-11-10T13:52:09.416Z] bab4dde63d76: Download complete [2022-11-10T13:52:10.351Z] b85a868b505f: Pull complete [2022-11-10T13:52:10.351Z] e2be974225ed: Pull complete [2022-11-10T13:52:10.918Z] 339a4e72a1f5: Pull complete [2022-11-10T13:52:10.918Z] 988bab9f4d93: Pull complete [2022-11-10T13:52:11.179Z] 1469e6f7b9e6: Pull complete [2022-11-10T13:52:11.179Z] eaf3925da568: Pull complete [2022-11-10T13:52:13.083Z] bab4dde63d76: Pull complete [2022-11-10T13:52:13.083Z] bde34c3a00c8: Pull complete [2022-11-10T13:52:13.083Z] b352a97aabf1: Pull complete [2022-11-10T13:52:13.083Z] 4872d77fe225: Pull complete [2022-11-10T13:52:13.083Z] 5851b861e8e6: Pull complete [2022-11-10T13:52:13.083Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-10T13:52:13.083Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-10T13:52:13.083Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T13:52:13.299Z] prd-ubuntu20.04-docker-8c-8g-118921 does not seem to be running inside a container [2022-11-10T13:52:13.326Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-197 -v /w/workspace/undry_device-onvif-camera_PR-197:/w/workspace/undry_device-onvif-camera_PR-197:rw,z -v /w/workspace/undry_device-onvif-camera_PR-197@tmp:/w/workspace/undry_device-onvif-camera_PR-197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-10T13:52:15.497Z] $ docker top 235cc2c6d6c03b9feae94ddb753fc10c65166f1c53ecdc534ef274eb2c217471 -eo pid,comm [2022-11-10T13:52:15.551Z] 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-10T13:52:15.551Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-10T13:52:15.684Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-10T13:52:15.684Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-10T13:52:15.793Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-10T13:52:15.794Z] $ docker exec 235cc2c6d6c03b9feae94ddb753fc10c65166f1c53ecdc534ef274eb2c217471 ssh-agent [2022-11-10T13:52:15.894Z] SSH_AUTH_SOCK=/tmp/ssh-RZ9lCmMp2boz/agent.31 [2022-11-10T13:52:15.894Z] SSH_AGENT_PID=37 [2022-11-10T13:52:15.900Z] Running ssh-add (command line suppressed) [2022-11-10T13:52:15.987Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-197@tmp/private_key_1884728908069499952.key (/w/workspace/undry_device-onvif-camera_PR-197@tmp/private_key_1884728908069499952.key) [2022-11-10T13:52:16.001Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-10T13:52:16.327Z] + git tag --points-at HEAD [Pipeline] } [2022-11-10T13:52:16.353Z] $ docker exec --env ******** --env ******** 235cc2c6d6c03b9feae94ddb753fc10c65166f1c53ecdc534ef274eb2c217471 ssh-agent -k [2022-11-10T13:52:16.450Z] unset SSH_AUTH_SOCK; [2022-11-10T13:52:16.451Z] unset SSH_AGENT_PID; [2022-11-10T13:52:16.451Z] echo Agent pid 37 killed; [2022-11-10T13:52:16.461Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-10T13:52:16.560Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-10T13:52:16.560Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-10T13:52:16.669Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-10T13:52:16.671Z] $ docker exec 235cc2c6d6c03b9feae94ddb753fc10c65166f1c53ecdc534ef274eb2c217471 ssh-agent [2022-11-10T13:52:16.793Z] SSH_AUTH_SOCK=/tmp/ssh-3AxNLRjXxUuW/agent.69 [2022-11-10T13:52:16.793Z] SSH_AGENT_PID=75 [2022-11-10T13:52:16.798Z] Running ssh-add (command line suppressed) [2022-11-10T13:52:16.906Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-197@tmp/private_key_15700213749597655886.key (/w/workspace/undry_device-onvif-camera_PR-197@tmp/private_key_15700213749597655886.key) [2022-11-10T13:52:16.920Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-10T13:52:17.247Z] + git semver init [2022-11-10T13:52:17.506Z] 2022-11-10 13:52:17,427 [run_init] DEBUG init version:0.0.0 force:False [2022-11-10T13:52:17.506Z] 2022-11-10 13:52:17,428 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-197/.semver [2022-11-10T13:52:17.506Z] 2022-11-10 13:52:17,428 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-197/.semver [2022-11-10T13:52:17.507Z] 2022-11-10 13:52:17,428 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-197/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-197, universal_newlines=False, shell=None, istream=None) [2022-11-10T13:52:18.889Z] 2022-11-10 13:52:18,562 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-197/.git/info/exclude [2022-11-10T13:52:18.889Z] 2022-11-10 13:52:18,563 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-197/.semver/PR-197 with force:False [2022-11-10T13:52:18.889Z] 2022-11-10 13:52:18,563 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-197/.semver/PR-197 [2022-11-10T13:52:18.889Z] 2022-11-10 13:52:18,567 [execute] INFO git cat-file --batch-check [2022-11-10T13:52:18.889Z] 2022-11-10 13:52:18,568 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-197/.semver, universal_newlines=False, shell=None, istream=) [2022-11-10T13:52:18.889Z] 2022-11-10 13:52:18,575 [execute] INFO git cat-file --batch [2022-11-10T13:52:18.889Z] 2022-11-10 13:52:18,575 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-197/.semver, universal_newlines=False, shell=None, istream=) [2022-11-10T13:52:18.889Z] 2022-11-10 13:52:18,580 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-197/.semver/PR-197 [2022-11-10T13:52:18.889Z] 0.0.0 [Pipeline] } [2022-11-10T13:52:18.914Z] $ docker exec --env ******** --env ******** 235cc2c6d6c03b9feae94ddb753fc10c65166f1c53ecdc534ef274eb2c217471 ssh-agent -k [2022-11-10T13:52:19.009Z] unset SSH_AUTH_SOCK; [2022-11-10T13:52:19.009Z] unset SSH_AGENT_PID; [2022-11-10T13:52:19.009Z] echo Agent pid 75 killed; [2022-11-10T13:52:19.020Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-10T13:52:19.436Z] + git semver [Pipeline] } [2022-11-10T13:52:19.720Z] $ docker stop --time=1 235cc2c6d6c03b9feae94ddb753fc10c65166f1c53ecdc534ef274eb2c217471 [2022-11-10T13:52:21.038Z] $ docker rm -f 235cc2c6d6c03b9feae94ddb753fc10c65166f1c53ecdc534ef274eb2c217471 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-10T13:52:21.452Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-10T13:52:21.682Z] Stashed 1 file(s) [Pipeline] echo [2022-11-10T13:52:21.702Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-10T13:52:22.308Z] provisioning config files... [2022-11-10T13:52:22.317Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-197@tmp/config10729084064303297649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-10T13:52:22.673Z] ---> docker-login.sh [2022-11-10T13:52:22.673Z] nexus3.edgexfoundry.org:10001 [2022-11-10T13:52:22.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T13:52:22.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T13:52:22.673Z] Configure a credential helper to remove this warning. See [2022-11-10T13:52:22.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T13:52:22.673Z] [2022-11-10T13:52:22.673Z] Login Succeeded [2022-11-10T13:52:22.673Z] nexus3.edgexfoundry.org:10002 [2022-11-10T13:52:22.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T13:52:22.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T13:52:22.673Z] Configure a credential helper to remove this warning. See [2022-11-10T13:52:22.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T13:52:22.673Z] [2022-11-10T13:52:22.673Z] Login Succeeded [2022-11-10T13:52:22.673Z] nexus3.edgexfoundry.org:10003 [2022-11-10T13:52:22.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T13:52:22.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T13:52:22.932Z] Configure a credential helper to remove this warning. See [2022-11-10T13:52:22.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T13:52:22.932Z] [2022-11-10T13:52:22.932Z] Login Succeeded [2022-11-10T13:52:22.932Z] nexus3.edgexfoundry.org:10004 [2022-11-10T13:52:22.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T13:52:22.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T13:52:22.932Z] Configure a credential helper to remove this warning. See [2022-11-10T13:52:22.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T13:52:22.932Z] [2022-11-10T13:52:22.932Z] Login Succeeded [2022-11-10T13:52:23.190Z] docker.io [2022-11-10T13:52:23.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T13:52:23.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T13:52:23.450Z] Configure a credential helper to remove this warning. See [2022-11-10T13:52:23.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T13:52:23.450Z] [2022-11-10T13:52:23.450Z] Login Succeeded [2022-11-10T13:52:23.450Z] ---> docker-login.sh ends [Pipeline] } [2022-11-10T13:52:23.483Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-10T13:52:23.696Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-10T13:52:23.733Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-10T13:52:23.765Z] ========================================================= [2022-11-10T13:52:23.765Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-10T13:52:23.765Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T13:52:24.252Z] + 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-10T13:52:24.252Z] Sending build context to Docker daemon 27.61MB [2022-11-10T13:52:24.252Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-10T13:52:24.252Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-10T13:52:24.512Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-10T13:52:24.512Z] 213ec9aee27d: Pulling fs layer [2022-11-10T13:52:24.512Z] 4583459ba037: Pulling fs layer [2022-11-10T13:52:24.512Z] 93c1e223e6f2: Pulling fs layer [2022-11-10T13:52:24.512Z] 53926ce57604: Pulling fs layer [2022-11-10T13:52:24.512Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-10T13:52:24.512Z] 22ff95d597cd: Pulling fs layer [2022-11-10T13:52:24.512Z] 12d6caf4c0d1: Pulling fs layer [2022-11-10T13:52:24.512Z] 96b7cbca73a9: Pulling fs layer [2022-11-10T13:52:24.512Z] a7acece74701: Pulling fs layer [2022-11-10T13:52:24.512Z] 96b7cbca73a9: Waiting [2022-11-10T13:52:24.512Z] 12d6caf4c0d1: Waiting [2022-11-10T13:52:24.512Z] 22ff95d597cd: Waiting [2022-11-10T13:52:24.512Z] a7acece74701: Waiting [2022-11-10T13:52:24.512Z] 53926ce57604: Waiting [2022-11-10T13:52:24.512Z] 21b2b0c7a3f4: Waiting [2022-11-10T13:52:24.512Z] 93c1e223e6f2: Verifying Checksum [2022-11-10T13:52:24.512Z] 93c1e223e6f2: Download complete [2022-11-10T13:52:24.512Z] 4583459ba037: Download complete [2022-11-10T13:52:24.512Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-10T13:52:24.512Z] 21b2b0c7a3f4: Download complete [2022-11-10T13:52:24.512Z] 22ff95d597cd: Verifying Checksum [2022-11-10T13:52:24.512Z] 213ec9aee27d: Download complete [2022-11-10T13:52:24.512Z] 12d6caf4c0d1: Download complete [2022-11-10T13:52:24.772Z] 213ec9aee27d: Pull complete [2022-11-10T13:52:24.772Z] 4583459ba037: Pull complete [2022-11-10T13:52:25.060Z] 93c1e223e6f2: Pull complete [2022-11-10T13:52:25.060Z] a7acece74701: Verifying Checksum [2022-11-10T13:52:25.060Z] a7acece74701: Download complete [2022-11-10T13:52:25.325Z] 53926ce57604: Verifying Checksum [2022-11-10T13:52:25.325Z] 53926ce57604: Download complete [2022-11-10T13:52:25.582Z] 96b7cbca73a9: Verifying Checksum [2022-11-10T13:52:29.760Z] 53926ce57604: Pull complete [2022-11-10T13:52:29.761Z] 21b2b0c7a3f4: Pull complete [2022-11-10T13:52:29.761Z] 22ff95d597cd: Pull complete [2022-11-10T13:52:29.761Z] 12d6caf4c0d1: Pull complete [2022-11-10T13:52:31.658Z] 96b7cbca73a9: Pull complete [2022-11-10T13:52:32.223Z] a7acece74701: Pull complete [2022-11-10T13:52:32.223Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-10T13:52:32.223Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-10T13:52:32.223Z] ---> db6d94c90886 [2022-11-10T13:52:32.223Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-10T13:52:36.428Z] ---> Running in 041bacad7b2a [2022-11-10T13:52:36.428Z] Removing intermediate container 041bacad7b2a [2022-11-10T13:52:36.428Z] ---> 8e6181e82622 [2022-11-10T13:52:36.428Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-10T13:52:36.428Z] ---> Running in 5590f65fc8be [2022-11-10T13:52:36.428Z] Removing intermediate container 5590f65fc8be [2022-11-10T13:52:36.428Z] ---> 8f3a46af5c63 [2022-11-10T13:52:36.428Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-10T13:52:36.428Z] ---> Running in 165fc6b8dd70 [2022-11-10T13:52:36.428Z] Removing intermediate container 165fc6b8dd70 [2022-11-10T13:52:36.428Z] ---> 4558ae3d790d [2022-11-10T13:52:36.428Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-11-10T13:52:36.428Z] ---> Running in 3468a30543e3 [2022-11-10T13:52:36.428Z] Removing intermediate container 3468a30543e3 [2022-11-10T13:52:36.428Z] ---> 864cca8099de [2022-11-10T13:52:36.428Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-11-10T13:52:36.428Z] ---> Running in 6c3678dc21b5 [2022-11-10T13:52:36.428Z] Removing intermediate container 6c3678dc21b5 [2022-11-10T13:52:36.428Z] ---> fa44074ef2a2 [2022-11-10T13:52:36.428Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-10T13:52:36.428Z] ---> Running in 9acc7e0e4936 [2022-11-10T13:52:37.000Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-10T13:52:37.000Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-10T13:52:37.136Z] Still waiting to schedule task [2022-11-10T13:52:37.137Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-11-10T13:52:37.261Z] OK: 211 MiB in 51 packages [2022-11-10T13:52:37.520Z] Removing intermediate container 9acc7e0e4936 [2022-11-10T13:52:37.520Z] ---> dbc8c4c041f2 [2022-11-10T13:52:37.520Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-11-10T13:52:37.520Z] ---> Running in 683b4960ca45 [2022-11-10T13:52:37.778Z] Removing intermediate container 683b4960ca45 [2022-11-10T13:52:37.778Z] ---> f7f76ebebd6a [2022-11-10T13:52:37.778Z] Step 10/13 : COPY go.mod vendor* ./ [2022-11-10T13:52:37.778Z] ---> 64e27ec7eb9c [2022-11-10T13:52:37.778Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-10T13:52:37.778Z] ---> Running in ab4df69046b8 [2022-11-10T13:53:04.334Z] Removing intermediate container ab4df69046b8 [2022-11-10T13:53:04.334Z] ---> 4241e3d634a7 [2022-11-10T13:53:04.334Z] Step 12/13 : COPY . . [2022-11-10T13:53:04.334Z] ---> e47131e7c15f [2022-11-10T13:53:04.334Z] Step 13/13 : RUN ${MAKE} [2022-11-10T13:53:04.334Z] ---> Running in 7fe9f07f6f00 [2022-11-10T13:53:04.334Z] noop [2022-11-10T13:53:04.334Z] Removing intermediate container 7fe9f07f6f00 [2022-11-10T13:53:04.334Z] ---> 02f9f7b88e3b [2022-11-10T13:53:04.334Z] Successfully built 02f9f7b88e3b [2022-11-10T13:53:04.334Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T13:53:04.780Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-10T13:53:04.780Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T13:53:04.927Z] prd-ubuntu20.04-docker-8c-8g-118921 does not seem to be running inside a container [2022-11-10T13:53:04.950Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-197 -v /w/workspace/undry_device-onvif-camera_PR-197:/w/workspace/undry_device-onvif-camera_PR-197:rw,z -v /w/workspace/undry_device-onvif-camera_PR-197@tmp:/w/workspace/undry_device-onvif-camera_PR-197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-10T13:53:05.263Z] $ docker top e723136c9a3f8f8dd98b245caa49959947cb6ea342284ef330c8dfa67910a212 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-10T13:53:05.659Z] + go version [2022-11-10T13:53:05.659Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-10T13:53:05.688Z] $ docker stop --time=1 e723136c9a3f8f8dd98b245caa49959947cb6ea342284ef330c8dfa67910a212 [2022-11-10T13:53:06.965Z] $ docker rm -f e723136c9a3f8f8dd98b245caa49959947cb6ea342284ef330c8dfa67910a212 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T13:53:07.789Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-10T13:53:07.789Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T13:53:07.936Z] prd-ubuntu20.04-docker-8c-8g-118921 does not seem to be running inside a container [2022-11-10T13:53:07.960Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-197 -v /w/workspace/undry_device-onvif-camera_PR-197:/w/workspace/undry_device-onvif-camera_PR-197:rw,z -v /w/workspace/undry_device-onvif-camera_PR-197@tmp:/w/workspace/undry_device-onvif-camera_PR-197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-10T13:53:08.433Z] $ docker top aca10d22c90ca73cd21a5137d47dff0f97bca84d51b8c5cd146e9ee71c815bb4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-10T13:53:08.825Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-197 [Pipeline] fileExists [Pipeline] sh [2022-11-10T13:53:09.185Z] + make test [2022-11-10T13:53:09.185Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-10T13:53:09.752Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-11-10T13:53:19.714Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-11-10T13:53:23.003Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.032s coverage: 29.3% of statements [2022-11-10T13:53:23.003Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-11-10T13:53:23.003Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.270s coverage: 86.5% of statements [2022-11-10T13:53:29.557Z] 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-10T13:53:29.557Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-10T13:53:32.080Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-10T13:53:32.338Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-10T13:53:32.338Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-10T13:53:32.374Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-10T13:53:32.399Z] $ docker stop --time=1 aca10d22c90ca73cd21a5137d47dff0f97bca84d51b8c5cd146e9ee71c815bb4 [2022-11-10T13:53:34.926Z] $ docker rm -f aca10d22c90ca73cd21a5137d47dff0f97bca84d51b8c5cd146e9ee71c815bb4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-10T13:53:35.432Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-10T13:53:35.511Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-10T13:53:36.179Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-10T13:53:36.488Z] + ls -al . [2022-11-10T13:53:36.488Z] total 248 [2022-11-10T13:53:36.488Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 10 13:53 . [2022-11-10T13:53:36.488Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 13:51 .. [2022-11-10T13:53:36.488Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 13:53 .git [2022-11-10T13:53:36.488Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 13:51 .github [2022-11-10T13:53:36.488Z] -rw-rw-r-- 1 jenkins jenkins 496 Nov 10 13:51 .gitignore [2022-11-10T13:53:36.488Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 10 13:51 .golangci.yml [2022-11-10T13:53:36.488Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 13:52 .semver [2022-11-10T13:53:36.488Z] -rw-rw-r-- 1 jenkins jenkins 9739 Nov 10 13:51 Attribution.txt [2022-11-10T13:53:36.488Z] -rw-rw-r-- 1 jenkins jenkins 6312 Nov 10 13:51 CHANGELOG.md [2022-11-10T13:53:36.488Z] -rw-rw-r-- 1 jenkins jenkins 1637 Nov 10 13:51 Dockerfile [2022-11-10T13:53:36.488Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 13:51 GOVERNANCE.md [2022-11-10T13:53:36.488Z] -rw-rw-r-- 1 jenkins jenkins 734 Nov 10 13:51 Jenkinsfile [2022-11-10T13:53:36.488Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 10 13:51 LICENSE [2022-11-10T13:53:36.488Z] -rw-rw-r-- 1 jenkins jenkins 2858 Nov 10 13:51 Makefile [2022-11-10T13:53:36.488Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 10 13:51 OWNERS.md [2022-11-10T13:53:36.488Z] -rw-rw-r-- 1 jenkins jenkins 6595 Nov 10 13:51 README.md [2022-11-10T13:53:36.488Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 13:52 VERSION [2022-11-10T13:53:36.488Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 13:51 bin [2022-11-10T13:53:36.488Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 13:51 cmd [2022-11-10T13:53:36.488Z] -rw-r--r-- 1 jenkins jenkins 79184 Nov 10 13:53 coverage.out [2022-11-10T13:53:36.488Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 10 13:51 doc [2022-11-10T13:53:36.488Z] -rw-rw-r-- 1 jenkins jenkins 3687 Nov 10 13:51 go.mod [2022-11-10T13:53:36.488Z] -rw-rw-r-- 1 jenkins jenkins 46105 Nov 10 13:51 go.sum [2022-11-10T13:53:36.488Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 13:51 internal [2022-11-10T13:53:36.488Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 13:51 snap [2022-11-10T13:53:36.488Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 10 13:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T13:53:36.866Z] + 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=c1b75f94bf465599af031118e7b7fcc8d1969457 --label arch=amd64 --label version=0.0.0 . [2022-11-10T13:53:36.866Z] Sending build context to Docker daemon 27.69MB [2022-11-10T13:53:36.866Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-11-10T13:53:36.866Z] Step 2/26 : FROM ${BASE} AS builder [2022-11-10T13:53:36.866Z] ---> 02f9f7b88e3b [2022-11-10T13:53:36.866Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-11-10T13:53:37.125Z] ---> Running in 0bd5351c4869 [2022-11-10T13:53:37.125Z] Removing intermediate container 0bd5351c4869 [2022-11-10T13:53:37.125Z] ---> 77ad15b3761a [2022-11-10T13:53:37.125Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-10T13:53:37.125Z] ---> Running in 1dc26d5fb0d1 [2022-11-10T13:53:37.383Z] Removing intermediate container 1dc26d5fb0d1 [2022-11-10T13:53:37.384Z] ---> 8ba46d19e3de [2022-11-10T13:53:37.384Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-10T13:53:37.384Z] ---> Running in 12c5cf11109b [2022-11-10T13:53:37.384Z] Removing intermediate container 12c5cf11109b [2022-11-10T13:53:37.384Z] ---> b29a83b19cf2 [2022-11-10T13:53:37.384Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-11-10T13:53:37.384Z] ---> Running in d870896edcba [2022-11-10T13:53:37.384Z] Removing intermediate container d870896edcba [2022-11-10T13:53:37.384Z] ---> 24f3410c8fb2 [2022-11-10T13:53:37.384Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-11-10T13:53:37.642Z] ---> Running in 5579c5686d73 [2022-11-10T13:53:37.642Z] Removing intermediate container 5579c5686d73 [2022-11-10T13:53:37.642Z] ---> 9a671f3ea122 [2022-11-10T13:53:37.642Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-10T13:53:37.642Z] ---> Running in 0c7cab577f36 [2022-11-10T13:53:37.901Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-10T13:53:37.901Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-10T13:53:38.160Z] OK: 211 MiB in 51 packages [2022-11-10T13:53:38.420Z] Removing intermediate container 0c7cab577f36 [2022-11-10T13:53:38.420Z] ---> 7ebaa1cdd3c4 [2022-11-10T13:53:38.420Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-11-10T13:53:38.420Z] ---> Running in 5a6e38c185de [2022-11-10T13:53:38.420Z] Removing intermediate container 5a6e38c185de [2022-11-10T13:53:38.420Z] ---> f03ea8e2381d [2022-11-10T13:53:38.420Z] Step 10/26 : COPY go.mod vendor* ./ [2022-11-10T13:53:38.679Z] ---> f6dfec3553de [2022-11-10T13:53:38.679Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-10T13:53:38.679Z] ---> Running in 790b186bca06 [2022-11-10T13:53:39.247Z] Removing intermediate container 790b186bca06 [2022-11-10T13:53:39.247Z] ---> 1c9c43e01063 [2022-11-10T13:53:39.247Z] Step 12/26 : COPY . . [2022-11-10T13:53:40.626Z] ---> 625203cc3acc [2022-11-10T13:53:40.626Z] Step 13/26 : RUN ${MAKE} [2022-11-10T13:53:40.626Z] ---> Running in e548354d87e1 [2022-11-10T13:53:40.626Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-11-10T13:54:03.781Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118922 in /w/workspace/undry_device-onvif-camera_PR-197 [Pipeline] { [Pipeline] ws [2022-11-10T13:54:03.821Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-11-10T13:54:03.897Z] The recommended git tool is: git [2022-11-10T13:54:07.157Z] Removing intermediate container e548354d87e1 [2022-11-10T13:54:07.157Z] ---> b5b66bba2c68 [2022-11-10T13:54:07.157Z] Step 14/26 : FROM alpine:3.16 [2022-11-10T13:54:07.157Z] 3.16: Pulling from library/alpine [2022-11-10T13:54:07.157Z] 213ec9aee27d: Already exists [2022-11-10T13:54:07.157Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-10T13:54:07.157Z] Status: Downloaded newer image for alpine:3.16 [2022-11-10T13:54:07.157Z] ---> 9c6f07244728 [2022-11-10T13:54:07.157Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-11-10T13:54:07.157Z] ---> Running in 418cd6c54c1a [2022-11-10T13:54:07.157Z] Removing intermediate container 418cd6c54c1a [2022-11-10T13:54:07.157Z] ---> 0d5c68fd4496 [2022-11-10T13:54:07.157Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-10T13:54:07.157Z] ---> Running in e83096403bdd [2022-11-10T13:54:07.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-10T13:54:07.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-10T13:54:07.157Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-10T13:54:07.157Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-10T13:54:07.157Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-10T13:54:07.157Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-10T13:54:07.157Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-10T13:54:07.157Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-10T13:54:07.157Z] Executing busybox-1.35.0-r17.trigger [2022-11-10T13:54:07.157Z] OK: 8 MiB in 20 packages [2022-11-10T13:54:07.157Z] Removing intermediate container e83096403bdd [2022-11-10T13:54:07.157Z] ---> 82d5c064c86d [2022-11-10T13:54:07.157Z] Step 17/26 : WORKDIR / [2022-11-10T13:54:07.157Z] ---> Running in 40258bbe66bb [2022-11-10T13:54:07.157Z] Removing intermediate container 40258bbe66bb [2022-11-10T13:54:07.157Z] ---> 23f901ef74d4 [2022-11-10T13:54:07.157Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-11-10T13:54:07.157Z] ---> dbb7bd0621b7 [2022-11-10T13:54:07.157Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-11-10T13:54:07.157Z] ---> 2305b8146b15 [2022-11-10T13:54:07.157Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-11-10T13:54:07.157Z] ---> 830d46d2cdb1 [2022-11-10T13:54:07.157Z] Step 21/26 : EXPOSE 59984 [2022-11-10T13:54:07.157Z] ---> Running in d617b2d04ff1 [2022-11-10T13:54:07.157Z] Removing intermediate container d617b2d04ff1 [2022-11-10T13:54:07.157Z] ---> db87223a080c [2022-11-10T13:54:07.157Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-11-10T13:54:07.157Z] ---> Running in 76f86551be52 [2022-11-10T13:54:07.157Z] Removing intermediate container 76f86551be52 [2022-11-10T13:54:07.157Z] ---> 6d8b436c9c93 [2022-11-10T13:54:07.157Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-10T13:54:07.157Z] ---> Running in 264accda8862 [2022-11-10T13:54:07.157Z] Removing intermediate container 264accda8862 [2022-11-10T13:54:07.157Z] ---> bd70cc269346 [2022-11-10T13:54:07.157Z] Step 24/26 : LABEL arch=amd64 [2022-11-10T13:54:07.157Z] ---> Running in 4724b5831122 [2022-11-10T13:54:07.157Z] Removing intermediate container 4724b5831122 [2022-11-10T13:54:07.157Z] ---> 3043d4a538a9 [2022-11-10T13:54:07.157Z] Step 25/26 : LABEL git_sha=c1b75f94bf465599af031118e7b7fcc8d1969457 [2022-11-10T13:54:07.157Z] ---> Running in 806e82be4bf4 [2022-11-10T13:54:07.157Z] Removing intermediate container 806e82be4bf4 [2022-11-10T13:54:07.157Z] ---> 98cf371d9712 [2022-11-10T13:54:07.157Z] Step 26/26 : LABEL version=0.0.0 [2022-11-10T13:54:07.157Z] ---> Running in cde89f465c02 [2022-11-10T13:54:07.157Z] Removing intermediate container cde89f465c02 [2022-11-10T13:54:07.157Z] ---> 5f6ac6b1e2b7 [2022-11-10T13:54:07.157Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-10T13:54:07.157Z] Successfully built 5f6ac6b1e2b7 [2022-11-10T13:54:07.157Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T13:54:07.979Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-10T13:54:07.979Z] [2022-11-10T13:54:07.979Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T13:54:08.353Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-10T13:54:08.353Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-10T13:54:08.353Z] 5eb5b503b376: Pulling fs layer [2022-11-10T13:54:08.353Z] 5c69ac0246d0: Pulling fs layer [2022-11-10T13:54:08.353Z] ec43610c2a17: Pulling fs layer [2022-11-10T13:54:08.353Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-10T13:54:08.353Z] 33b1e0a273af: Pulling fs layer [2022-11-10T13:54:08.353Z] 5d3b04190fa2: Pulling fs layer [2022-11-10T13:54:08.353Z] 2f39f015ded8: Pulling fs layer [2022-11-10T13:54:08.353Z] 33b1e0a273af: Waiting [2022-11-10T13:54:08.353Z] 5d3b04190fa2: Waiting [2022-11-10T13:54:08.353Z] 3a2ae6a8a46f: Waiting [2022-11-10T13:54:08.353Z] 2f39f015ded8: Waiting [2022-11-10T13:54:08.353Z] 5c69ac0246d0: Verifying Checksum [2022-11-10T13:54:08.353Z] 5c69ac0246d0: Download complete [2022-11-10T13:54:08.353Z] 3a2ae6a8a46f: Download complete [2022-11-10T13:54:08.611Z] 33b1e0a273af: Verifying Checksum [2022-11-10T13:54:08.611Z] 33b1e0a273af: Download complete [2022-11-10T13:54:08.611Z] 5d3b04190fa2: Verifying Checksum [2022-11-10T13:54:08.611Z] 5d3b04190fa2: Download complete [2022-11-10T13:54:08.611Z] ec43610c2a17: Verifying Checksum [2022-11-10T13:54:08.611Z] ec43610c2a17: Download complete [2022-11-10T13:54:08.611Z] 5eb5b503b376: Verifying Checksum [2022-11-10T13:54:08.611Z] 5eb5b503b376: Download complete [2022-11-10T13:54:08.827Z] using credential edgex-jenkins-ssh [2022-11-10T13:54:08.841Z] Cloning the remote Git repository [2022-11-10T13:54:09.176Z] 2f39f015ded8: Download complete [2022-11-10T13:54:09.743Z] 5eb5b503b376: Pull complete [2022-11-10T13:54:10.001Z] 5c69ac0246d0: Pull complete [2022-11-10T13:54:08.883Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-10T13:54:08.960Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-11-10T13:54:09.107Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-10T13:54:09.108Z] > git --version # timeout=10 [2022-11-10T13:54:09.136Z] > git --version # 'git version 2.25.1' [2022-11-10T13:54:09.138Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-10T13:54:09.185Z] Verifying host key using known hosts file [2022-11-10T13:54:09.381Z] 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-10T13:54:09.394Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-10T13:54:10.260Z] ec43610c2a17: Pull complete [2022-11-10T13:54:10.519Z] 3a2ae6a8a46f: Pull complete [2022-11-10T13:54:10.519Z] 33b1e0a273af: Pull complete [2022-11-10T13:54:10.777Z] 5d3b04190fa2: Pull complete [2022-11-10T13:54:10.973Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-11-10T13:54:10.998Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-10T13:54:12.606Z] Merging remotes/origin/main commit ef0e1dc43e01e3af63e43192147483735d9789c0 into PR head commit c1b75f94bf465599af031118e7b7fcc8d1969457 [2022-11-10T13:54:11.854Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-11-10T13:54:11.907Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-10T13:54:11.908Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-10T13:54:11.914Z] Verifying host key using known hosts file [2022-11-10T13:54:11.921Z] 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-10T13:54:11.932Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/197/head:refs/remotes/origin/PR-197 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-10T13:54:13.053Z] Merge succeeded, producing c1b75f94bf465599af031118e7b7fcc8d1969457 [2022-11-10T13:54:13.053Z] Checking out Revision c1b75f94bf465599af031118e7b7fcc8d1969457 (PR-197) [2022-11-10T13:54:12.623Z] > git config core.sparsecheckout # timeout=10 [2022-11-10T13:54:12.641Z] > git checkout -f c1b75f94bf465599af031118e7b7fcc8d1969457 # timeout=10 [2022-11-10T13:54:12.938Z] > git remote # timeout=10 [2022-11-10T13:54:12.955Z] > git config --get remote.origin.url # timeout=10 [2022-11-10T13:54:12.980Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-10T13:54:12.986Z] Verifying host key using known hosts file [2022-11-10T13:54:12.989Z] 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-10T13:54:13.003Z] > git merge ef0e1dc43e01e3af63e43192147483735d9789c0 # timeout=10 [2022-11-10T13:54:13.028Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-10T13:54:13.057Z] > git config core.sparsecheckout # timeout=10 [2022-11-10T13:54:13.070Z] > git checkout -f c1b75f94bf465599af031118e7b7fcc8d1969457 # timeout=10 [2022-11-10T13:54:14.964Z] 2f39f015ded8: Pull complete [2022-11-10T13:54:14.964Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-10T13:54:14.964Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-10T13:54:14.964Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T13:54:15.179Z] prd-ubuntu20.04-docker-8c-8g-118921 does not seem to be running inside a container [2022-11-10T13:54:15.207Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-197 -v /w/workspace/undry_device-onvif-camera_PR-197:/w/workspace/undry_device-onvif-camera_PR-197:rw,z -v /w/workspace/undry_device-onvif-camera_PR-197@tmp:/w/workspace/undry_device-onvif-camera_PR-197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-10T13:54:16.926Z] Commit message: "docs: Bump Swagger version for Levski to 2.3.0" [2022-11-10T13:54:16.966Z] > git --version # timeout=10 [2022-11-10T13:54:16.982Z] > git --version # 'git version 2.25.1' [2022-11-10T13:54:16.994Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-10T13:54:17.433Z] [2022-11-10T13:54:17.433Z] GitHub has been notified of this commit’s build result [2022-11-10T13:54:17.433Z] [2022-11-10T13:54:18.216Z] $ docker top bdd65d18202debfe4763771b18504916ca7c41ec02b88efc222dc4137cfd9eae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-10T13:54:18.676Z] ---> job-cost.sh [2022-11-10T13:54:18.676Z] lf-activate-venv: SKIPPING [2022-11-10T13:54:18.676Z] INFO: No Stack... [2022-11-10T13:54:18.935Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-10T13:54:19.094Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-10T13:54:19.094Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-10T13:54:19.094Z] Dload Upload Total Spent Left Speed [2022-11-10T13:54:19.094Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 83 12602 83 10502 0 0 66891 0 --:--:-- --:--:-- --:--:-- 66468 100 12602 100 12602 0 0 79257 0 --:--:-- --:--:-- --:--:-- 78762 [2022-11-10T13:54:19.504Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] sh [2022-11-10T13:54:19.821Z] + cat /w/workspace/undry_device-onvif-camera_PR-197/archives/cost.csv [2022-11-10T13:54:19.821Z] + cut -d, -f6 [Pipeline] lock [2022-11-10T13:54:19.867Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-197-1-stack-cost] [2022-11-10T13:54:19.872Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-197-1-stack-cost] did not exist. Created. [2022-11-10T13:54:19.872Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-197-1-stack-cost] [Pipeline] { [2022-11-10T13:54:19.892Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [Pipeline] unstash [Pipeline] sh [2022-11-10T13:54:20.262Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-10T13:54:20.262Z] + sudo tee /etc/docker/daemon.new [2022-11-10T13:54:20.262Z] { [2022-11-10T13:54:20.262Z] "registry-mirrors": [ [2022-11-10T13:54:20.262Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-10T13:54:20.262Z] ], [2022-11-10T13:54:20.262Z] "bip": "10.250.0.254/24", [2022-11-10T13:54:20.262Z] "hosts": [ [2022-11-10T13:54:20.262Z] "tcp://0.0.0.0:5555", [2022-11-10T13:54:20.262Z] "unix:///var/run/docker.sock" [2022-11-10T13:54:20.262Z] ], [2022-11-10T13:54:20.262Z] "mtu": 1458, [2022-11-10T13:54:20.262Z] "selinux-enabled": true, [2022-11-10T13:54:20.262Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-10T13:54:20.262Z] } [Pipeline] sh [2022-11-10T13:54:20.353Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-10T13:54:20.414Z] Stashed 1 file(s) [Pipeline] } [2022-11-10T13:54:20.440Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-197-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-10T13:54:20.509Z] $ docker stop --time=1 bdd65d18202debfe4763771b18504916ca7c41ec02b88efc222dc4137cfd9eae [2022-11-10T13:54:20.600Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2022-11-10T13:54:21.665Z] $ docker rm -f bdd65d18202debfe4763771b18504916ca7c41ec02b88efc222dc4137cfd9eae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-10T13:54:22.114Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-10T13:54:40.411Z] provisioning config files... [2022-11-10T13:54:40.435Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config11864143653287342881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-10T13:54:40.812Z] ---> docker-login.sh [2022-11-10T13:54:40.812Z] nexus3.edgexfoundry.org:10001 [2022-11-10T13:54:41.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T13:54:41.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T13:54:41.402Z] Configure a credential helper to remove this warning. See [2022-11-10T13:54:41.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T13:54:41.402Z] [2022-11-10T13:54:41.402Z] Login Succeeded [2022-11-10T13:54:41.402Z] nexus3.edgexfoundry.org:10002 [2022-11-10T13:54:41.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T13:54:41.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T13:54:41.676Z] Configure a credential helper to remove this warning. See [2022-11-10T13:54:41.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T13:54:41.676Z] [2022-11-10T13:54:41.676Z] Login Succeeded [2022-11-10T13:54:41.676Z] nexus3.edgexfoundry.org:10003 [2022-11-10T13:54:41.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T13:54:42.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T13:54:42.215Z] Configure a credential helper to remove this warning. See [2022-11-10T13:54:42.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T13:54:42.215Z] [2022-11-10T13:54:42.215Z] Login Succeeded [2022-11-10T13:54:42.215Z] nexus3.edgexfoundry.org:10004 [2022-11-10T13:54:42.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T13:54:42.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T13:54:42.486Z] Configure a credential helper to remove this warning. See [2022-11-10T13:54:42.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T13:54:42.486Z] [2022-11-10T13:54:42.486Z] Login Succeeded [2022-11-10T13:54:42.486Z] docker.io [2022-11-10T13:54:42.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T13:54:43.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T13:54:43.023Z] Configure a credential helper to remove this warning. See [2022-11-10T13:54:43.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T13:54:43.023Z] [2022-11-10T13:54:43.023Z] Login Succeeded [2022-11-10T13:54:43.023Z] ---> docker-login.sh ends [Pipeline] } [2022-11-10T13:54:43.054Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-10T13:54:43.315Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-10T13:54:43.345Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-10T13:54:43.373Z] ========================================================= [2022-11-10T13:54:43.373Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-10T13:54:43.373Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T13:54:43.852Z] + 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-10T13:54:44.442Z] Sending build context to Docker daemon 20.54MB [2022-11-10T13:54:44.442Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-10T13:54:44.442Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-10T13:54:44.442Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-10T13:54:44.710Z] 9b18e9b68314: Pulling fs layer [2022-11-10T13:54:44.710Z] 35d82f9e3411: Pulling fs layer [2022-11-10T13:54:44.710Z] e16973657156: Pulling fs layer [2022-11-10T13:54:44.710Z] fc693d55d65f: Pulling fs layer [2022-11-10T13:54:44.711Z] 7e9fc2657dce: Pulling fs layer [2022-11-10T13:54:44.711Z] dda99020689f: Pulling fs layer [2022-11-10T13:54:44.711Z] db1c61fa0a46: Pulling fs layer [2022-11-10T13:54:44.711Z] 891c053d2c06: Pulling fs layer [2022-11-10T13:54:44.711Z] fc693d55d65f: Waiting [2022-11-10T13:54:44.711Z] 7e9fc2657dce: Waiting [2022-11-10T13:54:44.711Z] dda99020689f: Waiting [2022-11-10T13:54:44.711Z] db1c61fa0a46: Waiting [2022-11-10T13:54:44.711Z] 891c053d2c06: Waiting [2022-11-10T13:54:44.711Z] e16973657156: Verifying Checksum [2022-11-10T13:54:44.711Z] e16973657156: Download complete [2022-11-10T13:54:44.711Z] 35d82f9e3411: Verifying Checksum [2022-11-10T13:54:44.711Z] 35d82f9e3411: Download complete [2022-11-10T13:54:44.711Z] 7e9fc2657dce: Verifying Checksum [2022-11-10T13:54:44.711Z] 7e9fc2657dce: Download complete [2022-11-10T13:54:44.711Z] dda99020689f: Verifying Checksum [2022-11-10T13:54:44.711Z] dda99020689f: Download complete [2022-11-10T13:54:44.711Z] 9b18e9b68314: Verifying Checksum [2022-11-10T13:54:44.711Z] 9b18e9b68314: Download complete [2022-11-10T13:54:45.689Z] 9b18e9b68314: Pull complete [2022-11-10T13:54:45.689Z] 891c053d2c06: Verifying Checksum [2022-11-10T13:54:45.689Z] 891c053d2c06: Download complete [2022-11-10T13:54:46.276Z] 35d82f9e3411: Pull complete [2022-11-10T13:54:46.277Z] e16973657156: Pull complete [2022-11-10T13:54:46.877Z] db1c61fa0a46: Verifying Checksum [2022-11-10T13:54:46.877Z] db1c61fa0a46: Download complete [2022-11-10T13:54:47.462Z] fc693d55d65f: Download complete [2022-11-10T13:54:59.794Z] fc693d55d65f: Pull complete [2022-11-10T13:54:59.794Z] 7e9fc2657dce: Pull complete [2022-11-10T13:54:59.794Z] dda99020689f: Pull complete [2022-11-10T13:55:06.456Z] db1c61fa0a46: Pull complete [2022-11-10T13:55:07.878Z] 891c053d2c06: Pull complete [2022-11-10T13:55:07.878Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-10T13:55:07.878Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-10T13:55:07.878Z] ---> f96f9c87975a [2022-11-10T13:55:07.878Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-10T13:55:09.843Z] ---> Running in fbd0e36ad36f [2022-11-10T13:55:09.843Z] Removing intermediate container fbd0e36ad36f [2022-11-10T13:55:09.843Z] ---> f5fd7533e0d2 [2022-11-10T13:55:09.843Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-10T13:55:09.843Z] ---> Running in 4569b77b010d [2022-11-10T13:55:10.118Z] Removing intermediate container 4569b77b010d [2022-11-10T13:55:10.118Z] ---> a459ea615840 [2022-11-10T13:55:10.118Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-10T13:55:10.387Z] ---> Running in 97f4d8fc9da4 [2022-11-10T13:55:10.657Z] Removing intermediate container 97f4d8fc9da4 [2022-11-10T13:55:10.657Z] ---> e18ff663f889 [2022-11-10T13:55:10.657Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-11-10T13:55:10.657Z] ---> Running in 24c4d8a564ab [2022-11-10T13:55:10.925Z] Removing intermediate container 24c4d8a564ab [2022-11-10T13:55:10.925Z] ---> 1c979b2fc7ee [2022-11-10T13:55:10.925Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-11-10T13:55:10.925Z] ---> Running in 155bfe1875b2 [2022-11-10T13:55:11.511Z] Removing intermediate container 155bfe1875b2 [2022-11-10T13:55:11.511Z] ---> 9461a981cf0d [2022-11-10T13:55:11.511Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-10T13:55:11.511Z] ---> Running in 2b9eeb105fde [2022-11-10T13:55:12.473Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-10T13:55:12.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-10T13:55:13.700Z] OK: 221 MiB in 51 packages [2022-11-10T13:55:14.674Z] Removing intermediate container 2b9eeb105fde [2022-11-10T13:55:14.674Z] ---> c1bbb67beb9c [2022-11-10T13:55:14.674Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-11-10T13:55:14.674Z] ---> Running in 6a9cd28a1891 [2022-11-10T13:55:14.942Z] Removing intermediate container 6a9cd28a1891 [2022-11-10T13:55:14.942Z] ---> de9ac141b5e8 [2022-11-10T13:55:14.942Z] Step 10/13 : COPY go.mod vendor* ./ [2022-11-10T13:55:16.885Z] ---> 7a42d487bfd5 [2022-11-10T13:55:16.885Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-10T13:55:16.885Z] ---> Running in e182a8fa3985 [2022-11-10T13:56:13.308Z] Removing intermediate container e182a8fa3985 [2022-11-10T13:56:13.308Z] ---> 65f2b27720a5 [2022-11-10T13:56:13.308Z] Step 12/13 : COPY . . [2022-11-10T13:56:13.308Z] ---> 3076bbfe6a8e [2022-11-10T13:56:13.308Z] Step 13/13 : RUN ${MAKE} [2022-11-10T13:56:13.308Z] ---> Running in 32b0d567be5b [2022-11-10T13:56:13.308Z] noop [2022-11-10T13:56:13.577Z] Removing intermediate container 32b0d567be5b [2022-11-10T13:56:13.577Z] ---> 8b72965098a2 [2022-11-10T13:56:13.577Z] Successfully built 8b72965098a2 [2022-11-10T13:56:13.577Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T13:56:14.049Z] + docker inspect -f . ci-base-image-arm64 [2022-11-10T13:56:14.049Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T13:56:14.302Z] prd-ubuntu20.04-docker-arm64-4c-16g-118922 does not seem to be running inside a container [2022-11-10T13:56:14.375Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-10T13:56:15.559Z] $ docker top 2eb6fc95d874f6125beabf8399bfb4a437fc08ad35d1cb86b7692beda0329396 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-10T13:56:16.432Z] + go version [2022-11-10T13:56:16.432Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-10T13:56:16.464Z] $ docker stop --time=1 2eb6fc95d874f6125beabf8399bfb4a437fc08ad35d1cb86b7692beda0329396 [2022-11-10T13:56:18.056Z] $ docker rm -f 2eb6fc95d874f6125beabf8399bfb4a437fc08ad35d1cb86b7692beda0329396 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T13:56:18.891Z] + docker inspect -f . ci-base-image-arm64 [2022-11-10T13:56:18.892Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T13:56:19.131Z] prd-ubuntu20.04-docker-arm64-4c-16g-118922 does not seem to be running inside a container [2022-11-10T13:56:19.191Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-10T13:56:20.264Z] $ docker top ffccd3162d6c35f46d2849da6efb2931994ffd0d4dc1c1cf800142e057804daa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-10T13:56:20.797Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-11-10T13:56:21.174Z] + make test [2022-11-10T13:56:21.174Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-10T13:56:23.114Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-11-10T13:57:59.772Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-11-10T13:57:59.772Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.209s coverage: 29.3% of statements [2022-11-10T13:57:59.772Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-11-10T13:58:21.884Z] --- FAIL: TestIpGenerator (0.00s) [2022-11-10T13:58:21.884Z] --- FAIL: TestIpGenerator/basic_/8_subnet (30.21s) [2022-11-10T13:58:21.884Z] util_test.go:180: [2022-11-10T13:58:21.884Z] Error Trace: /w/workspace/device-onvif-camera/1/internal/netscan/util_test.go:180 [2022-11-10T13:58:21.884Z] Error: Not equal: [2022-11-10T13:58:21.884Z] expected: 0xfffffe [2022-11-10T13:58:21.884Z] actual : 0xfd6039 [2022-11-10T13:58:21.884Z] Test: TestIpGenerator/basic_/8_subnet [2022-11-10T13:58:21.884Z] util_test.go:183: [2022-11-10T13:58:21.884Z] Error Trace: /w/workspace/device-onvif-camera/1/internal/netscan/util_test.go:183 [2022-11-10T13:58:21.884Z] Error: Not equal: [2022-11-10T13:58:21.884Z] expected: "10.255.255.254" [2022-11-10T13:58:21.884Z] actual : "10.253.96.57" [2022-11-10T13:58:21.884Z] [2022-11-10T13:58:21.884Z] Diff: [2022-11-10T13:58:21.884Z] --- Expected [2022-11-10T13:58:21.884Z] +++ Actual [2022-11-10T13:58:21.884Z] @@ -1 +1 @@ [2022-11-10T13:58:21.884Z] -10.255.255.254 [2022-11-10T13:58:21.884Z] +10.253.96.57 [2022-11-10T13:58:21.884Z] Test: TestIpGenerator/basic_/8_subnet [2022-11-10T13:58:21.884Z] FAIL [2022-11-10T13:58:21.884Z] coverage: 86.5% of statements [2022-11-10T13:58:21.884Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.419s [2022-11-10T13:58:21.884Z] FAIL [2022-11-10T13:58:21.884Z] make: *** [Makefile:61: unittest] Error 1 [Pipeline] } [2022-11-10T13:58:21.931Z] $ docker stop --time=1 ffccd3162d6c35f46d2849da6efb2931994ffd0d4dc1c1cf800142e057804daa [2022-11-10T13:58:23.706Z] $ docker rm -f ffccd3162d6c35f46d2849da6efb2931994ffd0d4dc1c1cf800142e057804daa [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-10T13:58:25.231Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-10T13:58:25.231Z] [2022-11-10T13:58:25.231Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T13:58:25.633Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-10T13:58:25.908Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-10T13:58:25.908Z] 8998bd30e6a1: Pulling fs layer [2022-11-10T13:58:25.908Z] 04944245beec: Pulling fs layer [2022-11-10T13:58:25.908Z] 699f458cf7ca: Pulling fs layer [2022-11-10T13:58:25.908Z] 765212b225bb: Pulling fs layer [2022-11-10T13:58:25.908Z] f23df028b6ca: Pulling fs layer [2022-11-10T13:58:25.908Z] d65c8cfc05b1: Pulling fs layer [2022-11-10T13:58:25.908Z] 2437ff75d9bd: Pulling fs layer [2022-11-10T13:58:25.908Z] 765212b225bb: Waiting [2022-11-10T13:58:25.908Z] d65c8cfc05b1: Waiting [2022-11-10T13:58:25.908Z] f23df028b6ca: Waiting [2022-11-10T13:58:25.908Z] 2437ff75d9bd: Waiting [2022-11-10T13:58:25.908Z] 04944245beec: Verifying Checksum [2022-11-10T13:58:25.908Z] 04944245beec: Download complete [2022-11-10T13:58:25.908Z] 765212b225bb: Verifying Checksum [2022-11-10T13:58:25.908Z] 765212b225bb: Download complete [2022-11-10T13:58:25.908Z] f23df028b6ca: Verifying Checksum [2022-11-10T13:58:25.908Z] f23df028b6ca: Download complete [2022-11-10T13:58:25.908Z] d65c8cfc05b1: Verifying Checksum [2022-11-10T13:58:25.908Z] d65c8cfc05b1: Download complete [2022-11-10T13:58:26.177Z] 699f458cf7ca: Verifying Checksum [2022-11-10T13:58:26.177Z] 699f458cf7ca: Download complete [2022-11-10T13:58:26.446Z] 8998bd30e6a1: Verifying Checksum [2022-11-10T13:58:26.446Z] 8998bd30e6a1: Download complete [2022-11-10T13:58:29.042Z] 2437ff75d9bd: Verifying Checksum [2022-11-10T13:58:29.042Z] 2437ff75d9bd: Download complete [2022-11-10T13:58:33.303Z] 8998bd30e6a1: Pull complete [2022-11-10T13:58:33.303Z] 04944245beec: Pull complete [2022-11-10T13:58:34.736Z] 699f458cf7ca: Pull complete [2022-11-10T13:58:34.736Z] 765212b225bb: Pull complete [2022-11-10T13:58:35.697Z] f23df028b6ca: Pull complete [2022-11-10T13:58:35.697Z] d65c8cfc05b1: Pull complete [2022-11-10T13:58:54.122Z] 2437ff75d9bd: Pull complete [2022-11-10T13:58:54.122Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-10T13:58:54.122Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-10T13:58:54.395Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T13:58:54.739Z] prd-ubuntu20.04-docker-arm64-4c-16g-118922 does not seem to be running inside a container [2022-11-10T13:58:54.820Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-10T13:58:57.392Z] $ docker top 57db2d0c892a1401bbfa809511b99c5089710a62ebaae317bc237a62f3c4cbf7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-10T13:58:57.974Z] ---> job-cost.sh [2022-11-10T13:58:58.247Z] lf-activate-venv: SKIPPING [2022-11-10T13:58:58.247Z] INFO: No Stack... [2022-11-10T13:58:58.516Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-10T13:58:59.492Z] INFO: Archiving Costs [Pipeline] sh [2022-11-10T13:59:00.157Z] + + cat /w/workspace/device-onvif-camera/1/archives/cost.csvcut [2022-11-10T13:59:00.157Z] -d, -f6 [Pipeline] lock [2022-11-10T13:59:00.251Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-197-1-stack-cost] [2022-11-10T13:59:00.256Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-197-1-stack-cost] did not exist. Created. [2022-11-10T13:59:00.256Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-197-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-10T13:59:00.986Z] /w/workspace/device-onvif-camera/1@tmp/durable-704f1cab/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-10T13:59:01.663Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-10T13:59:01.703Z] Warning: overwriting stash ‘stack-cost’ [2022-11-10T13:59:02.127Z] Stashed 1 file(s) [Pipeline] } [2022-11-10T13:59:02.143Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-197-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-10T13:59:02.225Z] $ docker stop --time=1 57db2d0c892a1401bbfa809511b99c5089710a62ebaae317bc237a62f3c4cbf7 [2022-11-10T13:59:04.304Z] $ docker rm -f 57db2d0c892a1401bbfa809511b99c5089710a62ebaae317bc237a62f3c4cbf7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-10T13:59:04.997Z] 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-10T13:59:06.932Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-197/archives ] [2022-11-10T13:59:06.932Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-197/archives [2022-11-10T13:59:06.932Z] total 16 [2022-11-10T13:59:06.932Z] drwxr-xr-x 3 root root 4096 Nov 10 13:54 . [2022-11-10T13:59:06.932Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 10 13:54 .. [2022-11-10T13:59:06.932Z] drwxr-xr-x 2 root root 4096 Nov 10 13:54 cost [2022-11-10T13:59:06.932Z] -rw-r--r-- 1 root root 91 Nov 10 13:54 cost.csv [2022-11-10T13:59:06.932Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-197/archives [2022-11-10T13:59:06.932Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-197/archives [2022-11-10T13:59:06.932Z] total 16 [2022-11-10T13:59:06.932Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 13:54 . [2022-11-10T13:59:06.932Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 10 13:54 .. [2022-11-10T13:59:06.932Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 10 13:54 cost [2022-11-10T13:59:06.932Z] -rw-r--r-- 1 jenkins jenkins 91 Nov 10 13:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-10T13:59:07.261Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-10T13:59:08.149Z] ---> package-listing.sh [2022-11-10T13:59:08.149Z] ++ facter osfamily [2022-11-10T13:59:08.149Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-10T13:59:08.407Z] + OS_FAMILY=debian [2022-11-10T13:59:08.407Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-197 [2022-11-10T13:59:08.407Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-10T13:59:08.407Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-10T13:59:08.407Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-10T13:59:08.407Z] + PACKAGES=/tmp/packages_start.txt [2022-11-10T13:59:08.407Z] + '[' /w/workspace/undry_device-onvif-camera_PR-197 ']' [2022-11-10T13:59:08.407Z] + PACKAGES=/tmp/packages_end.txt [2022-11-10T13:59:08.407Z] + case "${OS_FAMILY}" in [2022-11-10T13:59:08.407Z] + dpkg -l [2022-11-10T13:59:08.407Z] + grep '^ii' [2022-11-10T13:59:08.407Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-10T13:59:08.407Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-10T13:59:08.407Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-10T13:59:08.407Z] + '[' /w/workspace/undry_device-onvif-camera_PR-197 ']' [2022-11-10T13:59:08.407Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-197/archives/ [2022-11-10T13:59:08.407Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-197/archives/ [Pipeline] echo [2022-11-10T13:59:08.439Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-197/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-10T13:59:08.728Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T13:59:09.341Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-10T13:59:09.341Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T13:59:09.475Z] prd-ubuntu20.04-docker-8c-8g-118921 does not seem to be running inside a container [2022-11-10T13:59:09.501Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-197/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-197 -v /w/workspace/undry_device-onvif-camera_PR-197:/w/workspace/undry_device-onvif-camera_PR-197:rw,z -v /w/workspace/undry_device-onvif-camera_PR-197@tmp:/w/workspace/undry_device-onvif-camera_PR-197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-10T13:59:09.716Z] $ docker top e23f8bdacb04a63394a34c0dd871dfd4df09302230759c8a6b6be3431cb29314 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-10T13:59:10.111Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-10T13:59:10.420Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-10T13:59:10.731Z] + ls /var/log/sa-host [2022-11-10T13:59:10.731Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-10T13:59:10.942Z] provisioning config files... [2022-11-10T13:59:10.951Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-197@tmp/config6463785537544781311tmp [Pipeline] { [Pipeline] echo [2022-11-10T13:59:10.998Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-10T13:59:11.304Z] ---> create-netrc.sh [Pipeline] } [2022-11-10T13:59:11.329Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-10T13:59:11.712Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-10T13:59:11.742Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-10T13:59:12.054Z] ---> sudo-logs.sh [2022-11-10T13:59:12.054Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-10T13:59:12.138Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-10T13:59:12.448Z] ---> job-cost.sh [2022-11-10T13:59:12.449Z] lf-activate-venv: SKIPPING [2022-11-10T13:59:12.449Z] DEBUG: total: 0.2199999988079071 [2022-11-10T13:59:12.449Z] INFO: Retrieving Stack Cost... [2022-11-10T13:59:13.018Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-10T13:59:13.277Z] INFO: Archiving Costs [Pipeline] echo [2022-11-10T13:59:13.311Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-10T13:59:13.621Z] ---> logs-deploy.sh [2022-11-10T13:59:13.621Z] lf-activate-venv: SKIPPING [2022-11-10T13:59:13.621Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-197/1 [2022-11-10T13:59:13.621Z] INFO: archiving workspace using pattern(s): [2022-11-10T13:59:14.558Z] Archives upload complete. [2022-11-10T13:59:14.558Z] INFO: archiving logs to Nexus