Push event to branch revert-42-upgrade-sdk-2 Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4c0498555c43748f0c56de46de6ec1480835f529 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-ssh6417148020944171881.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13723031641748311322.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/revert-42-upgrade-sdk-2/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-usb-camera/branches/revert-42-upgrade-sdk-2/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17277686011849133204.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/revert-42-upgrade-sdk-2/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11447309654586758755.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10243002355185440765.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/revert-42-upgrade-sdk-2/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-usb-camera/branches/revert-42-upgrade-sdk-2/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14184240631214344677.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-15408 in /w/workspace/b-camera_revert-42-upgrade-sdk-2 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Avoid second fetch Checking out Revision 4c0498555c43748f0c56de46de6ec1480835f529 (revert-42-upgrade-sdk-2) Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/b-camera_revert-42-upgrade-sdk-2 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4c0498555c43748f0c56de46de6ec1480835f529 # timeout=10 Commit message: "build: Revert upgrade sdk and paho.mqtt lib" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:08:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:08:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:08:21 ========================================================= 05:08:21 EdgeX Global Pipelines Version Info 05:08:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:08:22 ------------------- 05:08:22 stable info: 05:08:22 ------------------- 05:08:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:08:22 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 05:08:22 Message: update stable to v1.0.234 05:08:23 ------------------- 05:08:23 experimental info: 05:08:23 ------------------- 05:08:23 Commited By: **** collab-it+edgex@linuxfoundation.org 05:08:23 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 05:08:23 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:08:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 05:08:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 05:08:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:08:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:08:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:08:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:08:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 05:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:08:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:08:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:08:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:08:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:08:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:08:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:08:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:08:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:08:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:08:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:08:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:08:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:08:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:08:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = revert-42-upgrade-sdk-2 [Pipeline] echo 05:08:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = revert-42-upgrade-sdk-2 [Pipeline] echo 05:08:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = revert-42-upgrade-sdk-2 [Pipeline] echo 05:08:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4c0498555c43748f0c56de46de6ec1480835f529 [Pipeline] echo 05:08:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4c04985 [Pipeline] echo 05:08:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:08:24 provisioning config files... 05:08:24 copy managed file [device-usb-camera-settings] to file:/w/workspace/b-camera_revert-42-upgrade-sdk-2@tmp/config1668611580852810344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:08:25 ---> docker-login.sh 05:08:25 nexus3.edgexfoundry.org:10001 05:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:25 Configure a credential helper to remove this warning. See 05:08:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:25 05:08:25 Login Succeeded 05:08:25 nexus3.edgexfoundry.org:10002 05:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:25 Configure a credential helper to remove this warning. See 05:08:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:25 05:08:25 Login Succeeded 05:08:25 nexus3.edgexfoundry.org:10003 05:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:26 Configure a credential helper to remove this warning. See 05:08:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:26 05:08:26 Login Succeeded 05:08:26 nexus3.edgexfoundry.org:10004 05:08:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:26 Configure a credential helper to remove this warning. See 05:08:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:26 05:08:26 Login Succeeded 05:08:26 docker.io 05:08:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:26 Configure a credential helper to remove this warning. See 05:08:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:26 05:08:26 Login Succeeded 05:08:26 ---> docker-login.sh ends [Pipeline] } 05:08:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:08:27 + git rev-list -1 --merges 4c0498555c43748f0c56de46de6ec1480835f529~1..4c0498555c43748f0c56de46de6ec1480835f529 [Pipeline] echo 05:08:27 -----------> git rev-list -1 --merges 4c0498555c43748f0c56de46de6ec1480835f529~1..4c0498555c43748f0c56de46de6ec1480835f529 4c0498555c43748f0c56de46de6ec1480835f529 [false] [Pipeline] sh 05:08:27 + git log --format=format:%s -1 4c0498555c43748f0c56de46de6ec1480835f529 [Pipeline] echo 05:08:27 ========================================================= 05:08:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:08:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:08:28 + git log --format=format:%s -1 4c0498555c43748f0c56de46de6ec1480835f529 [Pipeline] echo 05:08:28 [semverPrep] GIT_COMMIT: 4c0498555c43748f0c56de46de6ec1480835f529, Commit Message: build: Revert upgrade sdk and paho.mqtt lib [Pipeline] echo 05:08:28 [semverPrep] This is not a build commit. [Pipeline] sh 05:08:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:08:28 + grep -v github /etc/ssh/ssh_known_hosts 05:08:28 + [ -e /tmp/ssh_known_hosts ] 05:08:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:08:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:08:28 + sudo tee -a /etc/ssh/ssh_known_hosts 05:08:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:08:29 05:08:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:08:29 0.1.4: Pulling from edgex-devops/py-git-semver 05:08:29 42c077c10790: Pulling fs layer 05:08:29 f63e77b7563a: Pulling fs layer 05:08:29 bd5fdadae976: Pulling fs layer 05:08:29 205491f53016: Pulling fs layer 05:08:29 df18705c85c3: Pulling fs layer 05:08:29 205491f53016: Waiting 05:08:29 bdb3f477010e: Pulling fs layer 05:08:29 c8a8fc8e1c8f: Pulling fs layer 05:08:29 df18705c85c3: Waiting 05:08:29 2c6e9b1d212d: Pulling fs layer 05:08:29 bdb3f477010e: Waiting 05:08:29 2c6e9b1d212d: Waiting 05:08:29 bdb8f0575790: Pulling fs layer 05:08:29 386e3cb2ff24: Pulling fs layer 05:08:29 2343380bae48: Pulling fs layer 05:08:29 bdb8f0575790: Waiting 05:08:29 386e3cb2ff24: Waiting 05:08:29 2343380bae48: Waiting 05:08:29 f63e77b7563a: Download complete 05:08:29 205491f53016: Verifying Checksum 05:08:29 205491f53016: Download complete 05:08:29 df18705c85c3: Verifying Checksum 05:08:29 df18705c85c3: Download complete 05:08:29 bd5fdadae976: Verifying Checksum 05:08:29 bd5fdadae976: Download complete 05:08:29 bdb3f477010e: Verifying Checksum 05:08:29 bdb3f477010e: Download complete 05:08:29 2c6e9b1d212d: Verifying Checksum 05:08:29 2c6e9b1d212d: Download complete 05:08:29 bdb8f0575790: Verifying Checksum 05:08:29 bdb8f0575790: Download complete 05:08:29 386e3cb2ff24: Verifying Checksum 05:08:29 386e3cb2ff24: Download complete 05:08:29 2343380bae48: Verifying Checksum 05:08:29 2343380bae48: Download complete 05:08:29 42c077c10790: Verifying Checksum 05:08:29 42c077c10790: Download complete 05:08:30 c8a8fc8e1c8f: Download complete 05:08:30 42c077c10790: Pull complete 05:08:31 f63e77b7563a: Pull complete 05:08:31 bd5fdadae976: Pull complete 05:08:31 205491f53016: Pull complete 05:08:31 df18705c85c3: Pull complete 05:08:31 bdb3f477010e: Pull complete 05:08:33 c8a8fc8e1c8f: Pull complete 05:08:33 2c6e9b1d212d: Pull complete 05:08:33 bdb8f0575790: Pull complete 05:08:33 386e3cb2ff24: Pull complete 05:08:33 2343380bae48: Pull complete 05:08:33 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 05:08:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:08:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:34 prd-ubuntu20.04-docker-8c-8g-15408 does not seem to be running inside a container 05:08:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/b-camera_revert-42-upgrade-sdk-2 -v /w/workspace/b-camera_revert-42-upgrade-sdk-2:/w/workspace/b-camera_revert-42-upgrade-sdk-2:rw,z -v /w/workspace/b-camera_revert-42-upgrade-sdk-2@tmp:/w/workspace/b-camera_revert-42-upgrade-sdk-2@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:08:35 $ docker top 0524346b7993f47fd2ee64b700386775ea0321ba3465cb8f94217cc4ddf75719 -eo pid,comm 05:08:35 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). 05:08:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:08:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:08:35 [ssh-agent] Looking for ssh-agent implementation... 05:08:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:08:35 $ docker exec 0524346b7993f47fd2ee64b700386775ea0321ba3465cb8f94217cc4ddf75719 ssh-agent 05:08:35 SSH_AUTH_SOCK=/tmp/ssh-0OCCRsqN7HqM/agent.34 05:08:35 SSH_AGENT_PID=40 05:08:35 Running ssh-add (command line suppressed) 05:08:36 Identity added: /w/workspace/b-camera_revert-42-upgrade-sdk-2@tmp/private_key_1867473106715094693.key (/w/workspace/b-camera_revert-42-upgrade-sdk-2@tmp/private_key_1867473106715094693.key) 05:08:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:08:36 + git tag --points-at HEAD [Pipeline] } 05:08:36 $ docker exec --env ******** --env ******** 0524346b7993f47fd2ee64b700386775ea0321ba3465cb8f94217cc4ddf75719 ssh-agent -k 05:08:36 unset SSH_AUTH_SOCK; 05:08:36 unset SSH_AGENT_PID; 05:08:36 echo Agent pid 40 killed; 05:08:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:08:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:08:36 [ssh-agent] Looking for ssh-agent implementation... 05:08:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:08:36 $ docker exec 0524346b7993f47fd2ee64b700386775ea0321ba3465cb8f94217cc4ddf75719 ssh-agent 05:08:36 SSH_AUTH_SOCK=/tmp/ssh-EZhBJ9RTChVI/agent.73 05:08:36 SSH_AGENT_PID=79 05:08:36 Running ssh-add (command line suppressed) 05:08:36 Identity added: /w/workspace/b-camera_revert-42-upgrade-sdk-2@tmp/private_key_8415665284970770370.key (/w/workspace/b-camera_revert-42-upgrade-sdk-2@tmp/private_key_8415665284970770370.key) 05:08:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:08:37 + git semver init 05:08:37 2022-06-23 05:08:37,544 [run_init] DEBUG init version:0.0.0 force:False 05:08:37 2022-06-23 05:08:37,544 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/b-camera_revert-42-upgrade-sdk-2/.semver 05:08:37 2022-06-23 05:08:37,545 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/b-camera_revert-42-upgrade-sdk-2/.semver 05:08:37 2022-06-23 05:08:37,545 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/b-camera_revert-42-upgrade-sdk-2/.semver'], cwd=/w/workspace/b-camera_revert-42-upgrade-sdk-2, universal_newlines=False, shell=None, istream=None) 05:08:38 2022-06-23 05:08:38,111 [append_file] DEBUG append to file:/w/workspace/b-camera_revert-42-upgrade-sdk-2/.git/info/exclude 05:08:38 2022-06-23 05:08:38,111 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/b-camera_revert-42-upgrade-sdk-2/.semver/revert-42-upgrade-sdk-2 with force:False 05:08:38 2022-06-23 05:08:38,111 [write_file] DEBUG write to file:/w/workspace/b-camera_revert-42-upgrade-sdk-2/.semver/revert-42-upgrade-sdk-2 05:08:38 2022-06-23 05:08:38,115 [execute] INFO git cat-file --batch-check 05:08:38 2022-06-23 05:08:38,116 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/b-camera_revert-42-upgrade-sdk-2/.semver, universal_newlines=False, shell=None, istream=) 05:08:38 2022-06-23 05:08:38,122 [execute] INFO git cat-file --batch 05:08:38 2022-06-23 05:08:38,122 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/b-camera_revert-42-upgrade-sdk-2/.semver, universal_newlines=False, shell=None, istream=) 05:08:38 2022-06-23 05:08:38,127 [read_version] DEBUG read version from /w/workspace/b-camera_revert-42-upgrade-sdk-2/.semver/revert-42-upgrade-sdk-2 05:08:38 0.0.0 [Pipeline] } 05:08:38 $ docker exec --env ******** --env ******** 0524346b7993f47fd2ee64b700386775ea0321ba3465cb8f94217cc4ddf75719 ssh-agent -k 05:08:38 unset SSH_AUTH_SOCK; 05:08:38 unset SSH_AGENT_PID; 05:08:38 echo Agent pid 79 killed; 05:08:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:08:38 + git semver [Pipeline] } 05:08:39 $ docker stop --time=1 0524346b7993f47fd2ee64b700386775ea0321ba3465cb8f94217cc4ddf75719 05:08:40 $ docker rm -f 0524346b7993f47fd2ee64b700386775ea0321ba3465cb8f94217cc4ddf75719 [Pipeline] // withDockerContainer [Pipeline] sh 05:08:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:08:41 Stashed 1 file(s) [Pipeline] echo 05:08:41 [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] { [2022-06-23T05:08:41.794Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15413 in /w/workspace/b-camera_revert-42-upgrade-sdk-2 [Pipeline] configFileProvider 05:08:41 provisioning config files... 05:08:41 copy managed file [device-usb-camera-settings] to file:/w/workspace/b-camera_revert-42-upgrade-sdk-2@tmp/config5500786251959194782tmp [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 05:08:41 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 05:08:42 Selected Git installation does not exist. Using Default 05:08:42 The recommended git tool is: NONE 05:08:42 ---> docker-login.sh 05:08:42 nexus3.edgexfoundry.org:10001 05:08:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:42 Configure a credential helper to remove this warning. See 05:08:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:42 05:08:42 Login Succeeded 05:08:42 nexus3.edgexfoundry.org:10002 05:08:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:42 Configure a credential helper to remove this warning. See 05:08:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:42 05:08:42 Login Succeeded 05:08:42 nexus3.edgexfoundry.org:10003 05:08:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:42 Configure a credential helper to remove this warning. See 05:08:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:42 05:08:42 Login Succeeded 05:08:42 nexus3.edgexfoundry.org:10004 05:08:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:42 Configure a credential helper to remove this warning. See 05:08:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:42 05:08:42 Login Succeeded 05:08:42 docker.io 05:08:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:42 Configure a credential helper to remove this warning. See 05:08:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:42 05:08:42 Login Succeeded 05:08:42 ---> docker-login.sh ends [Pipeline] } 05:08:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:08:43 [edgeX.isLTS] Checking if [revert-42-upgrade-sdk-2] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:08:43 [edgeX.isLTS] Checking if [revert-42-upgrade-sdk-2] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:08:43 ========================================================= 05:08:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:08:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:43 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 05:08:43 Sending build context to Docker daemon 640.5kB 05:08:43 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:08:43 Step 2/12 : FROM ${BASE} AS builder 05:08:43 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:08:43 59bf1c3509f3: Pulling fs layer 05:08:43 666ba61612fd: Pulling fs layer 05:08:43 8ed8ca486205: Pulling fs layer 05:08:43 cc1cd167ecdc: Pulling fs layer 05:08:43 c516ae0d96e1: Pulling fs layer 05:08:43 684cea983483: Pulling fs layer 05:08:43 dd3240ac7de5: Pulling fs layer 05:08:43 b1e948a4e11c: Pulling fs layer 05:08:43 a8fd76ee1af6: Pulling fs layer 05:08:43 646ad004c059: Pulling fs layer 05:08:43 684cea983483: Waiting 05:08:43 dd3240ac7de5: Waiting 05:08:43 b1e948a4e11c: Waiting 05:08:43 646ad004c059: Waiting 05:08:43 a8fd76ee1af6: Waiting 05:08:43 cc1cd167ecdc: Waiting 05:08:43 c516ae0d96e1: Waiting 05:08:43 8ed8ca486205: Verifying Checksum 05:08:43 8ed8ca486205: Download complete 05:08:43 666ba61612fd: Download complete 05:08:43 c516ae0d96e1: Verifying Checksum 05:08:43 c516ae0d96e1: Download complete 05:08:43 684cea983483: Verifying Checksum 05:08:43 684cea983483: Download complete 05:08:43 59bf1c3509f3: Verifying Checksum 05:08:43 59bf1c3509f3: Download complete 05:08:43 dd3240ac7de5: Download complete 05:08:43 b1e948a4e11c: Verifying Checksum 05:08:43 b1e948a4e11c: Download complete 05:08:43 59bf1c3509f3: Pull complete 05:08:43 666ba61612fd: Pull complete 05:08:44 8ed8ca486205: Pull complete 05:08:44 646ad004c059: Verifying Checksum 05:08:44 646ad004c059: Download complete 05:08:44 a8fd76ee1af6: Verifying Checksum 05:08:44 a8fd76ee1af6: Download complete 05:08:44 cc1cd167ecdc: Verifying Checksum 05:08:44 cc1cd167ecdc: Download complete 05:08:47 using credential edgex-jenkins-ssh 05:08:47 Cloning the remote Git repository 05:08:47 cc1cd167ecdc: Pull complete 05:08:47 c516ae0d96e1: Pull complete 05:08:47 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 05:08:47 > git init /w/workspace/device-usb-camera/1 # timeout=10 05:08:47 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 05:08:47 > git --version # timeout=10 05:08:47 > git --version # 'git version 2.25.1' 05:08:47 using GIT_SSH to set credentials SSH Credentials for GitHub 05:08:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:08:48 684cea983483: Pull complete 05:08:48 dd3240ac7de5: Pull complete 05:08:48 b1e948a4e11c: Pull complete 05:08:48 Avoid second fetch 05:08:48 Checking out Revision 4c0498555c43748f0c56de46de6ec1480835f529 (revert-42-upgrade-sdk-2) 05:08:48 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 05:08:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:08:48 > git config core.sparsecheckout # timeout=10 05:08:48 > git checkout -f 4c0498555c43748f0c56de46de6ec1480835f529 # timeout=10 05:08:50 a8fd76ee1af6: Pull complete 05:08:51 646ad004c059: Pull complete 05:08:51 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 05:08:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:08:51 ---> 8f69c11f6b0c 05:08:51 Step 3/12 : ARG MAKE="make build" 05:08:52 ---> Running in 14b4a8e5f5cd 05:08:52 Removing intermediate container 14b4a8e5f5cd 05:08:52 ---> 155a6fbf1b26 05:08:52 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 05:08:52 ---> Running in 691b9bf9035b 05:08:52 Removing intermediate container 691b9bf9035b 05:08:52 ---> 7ac3d025d7cd 05:08:52 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 05:08:52 ---> Running in 23e56bbd82fd 05:08:52 Removing intermediate container 23e56bbd82fd 05:08:52 ---> f113760bb017 05:08:52 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:08:52 ---> Running in bade2a73c6cf 05:08:53 Removing intermediate container bade2a73c6cf 05:08:53 ---> f17e48a9eecb 05:08:53 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:08:53 ---> Running in 14e24c7e12bb 05:08:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:08:53 Commit message: "build: Revert upgrade sdk and paho.mqtt lib" 05:08:54 > git --version # timeout=10 05:08:54 > git --version # 'git version 2.25.1' 05:08:54 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 05:08:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 05:08:54 (1/81) Installing mesa (21.2.6-r0) 05:08:54 (2/81) Installing libxau (1.0.9-r0) [Pipeline] script [Pipeline] { [Pipeline] sh 05:08:54 (3/81) Installing libmd (1.0.3-r0) 05:08:54 (4/81) Installing libbsd (0.11.3-r1) 05:08:54 (5/81) Installing libxdmcp (1.1.3-r0) 05:08:55 (6/81) Installing libxcb (1.14-r2) 05:08:55 (7/81) Installing libx11 (1.7.2-r0) 05:08:55 (8/81) Installing libxext (1.3.4-r0) 05:08:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:08:55 % Total % Received % Xferd Average Speed Time Time Time Current 05:08:55 Dload Upload Total Spent Left Speed 05:08:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 52140 0 --:--:-- --:--:-- --:--:-- 52140 05:08:55 (9/81) Installing libxfixes (6.0.0-r0) 05:08:55 (10/81) Installing libxxf86vm (1.1.4-r2) 05:08:55 (11/81) Installing libpciaccess (0.16-r0) [Pipeline] sh 05:08:55 (12/81) Installing libdrm (2.4.109-r0) 05:08:55 (13/81) Installing mesa-glapi (21.2.6-r0) 05:08:56 (14/81) Installing libxshmfence (1.3-r1) 05:08:56 (15/81) Installing mesa-gl (21.2.6-r0) 05:08:56 (16/81) Installing libice (1.0.10-r0) 05:08:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:08:56 (17/81) Installing libuuid (2.37.4-r0) 05:08:56 (18/81) Installing libsm (1.2.3-r0) 05:08:56 (19/81) Installing libxt (1.2.1-r0) 05:08:56 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 05:08:56 /etc/docker/daemon.json 05:08:56 { 05:08:56 "registry-mirrors": [ 05:08:56 "https://nexus3.edgexfoundry.org:10001" 05:08:56 ], 05:08:56 "bip": "10.250.0.254/24", 05:08:56 "hosts": [ 05:08:56 "tcp://0.0.0.0:5555", 05:08:56 "unix:///var/run/docker.sock" 05:08:56 ], 05:08:56 "mtu": 1458, 05:08:56 "selinux-enabled": true, 05:08:56 "seccomp-profile": "/etc/docker/seccomp.json" 05:08:56 } [Pipeline] sh 05:08:56 (20/81) Installing libxmu (1.1.3-r0) 05:08:56 (21/81) Installing xset (1.2.4-r0) 05:08:56 (22/81) Installing xprop (1.2.5-r0) 05:08:56 (23/81) Installing xdg-utils (1.1.3-r0) 05:08:56 (24/81) Installing dbus-libs (1.12.20-r4) 05:08:56 (25/81) Installing libffi (3.4.2-r1) 05:08:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:08:57 (26/81) Installing libintl (0.21-r0) 05:08:57 (27/81) Installing libblkid (2.37.4-r0) 05:08:57 (28/81) Installing libmount (2.37.4-r0) 05:08:57 + sudo service docker restart 05:08:57 (29/81) Installing pcre (8.45-r1) 05:08:57 (30/81) Installing glib (2.70.1-r0) 05:08:57 (31/81) Installing icu-libs (69.1-r1) 05:08:58 (32/81) Installing libpcre2-16 (10.40-r0) 05:08:58 (33/81) Installing zstd-libs (1.5.0-r0) 05:08:58 (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) 05:08:58 (35/81) Installing hicolor-icon-theme (0.17-r1) 05:08:58 (36/81) Installing wayland-libs-server (1.19.0-r1) 05:08:58 (37/81) Installing mesa-gbm (21.2.6-r0) 05:08:58 (38/81) Installing wayland-libs-client (1.19.0-r1) 05:08:59 (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) 05:08:59 (40/81) Installing libxcomposite (0.4.5-r0) 05:08:59 (41/81) Installing libbz2 (1.0.8-r1) 05:08:59 (42/81) Installing libpng (1.6.37-r1) 05:08:59 (43/81) Installing freetype (2.11.1-r2) 05:08:59 (44/81) Installing fontconfig (2.13.1-r4) 05:08:59 (45/81) Installing wayland-libs-cursor (1.19.0-r1) 05:08:59 (46/81) Installing wayland-libs-egl (1.19.0-r1) 05:08:59 (47/81) Installing xkeyboard-config (2.34-r0) 05:08:59 (48/81) Installing xz-libs (5.2.5-r1) 05:09:00 (49/81) Installing libxml2 (2.9.14-r0) 05:09:00 (50/81) Installing libxkbcommon (1.3.1-r0) 05:09:00 (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) 05:09:00 (52/81) Installing mesa-egl (21.2.6-r0) 05:09:00 (53/81) Installing avahi-libs (0.8-r5) 05:09:00 (54/81) Installing nettle (3.7.3-r0) 05:09:00 (55/81) Installing p11-kit (0.24.0-r1) 05:09:00 (56/81) Installing libtasn1 (4.18.0-r0) 05:09:00 (57/81) Installing libunistring (0.9.10-r1) 05:09:00 (58/81) Installing gnutls (3.7.1-r0) 05:09:01 (59/81) Installing cups-libs (2.3.3-r6) 05:09:01 (60/81) Installing graphite2 (1.3.14-r0) 05:09:01 (61/81) Installing harfbuzz (3.0.0-r2) 05:09:01 (62/81) Installing libevdev (1.12.0-r0) 05:09:01 (63/81) Installing mtdev (1.1.6-r0) 05:09:01 (64/81) Installing eudev-libs (3.2.11_pre1-r0) 05:09:01 (65/81) Installing libinput-libs (1.19.4-r0) 05:09:01 (66/81) Installing libjpeg-turbo (2.1.2-r0) 05:09:01 (67/81) Installing xcb-util-wm (0.4.1-r1) 05:09:01 (68/81) Installing xcb-util (0.4.0-r3) 05:09:01 (69/81) Installing xcb-util-image (0.4.0-r1) 05:09:01 (70/81) Installing xcb-util-keysyms (0.4.0-r1) 05:09:02 (71/81) Installing xcb-util-renderutil (0.3.9-r1) 05:09:02 (72/81) Installing libxkbcommon-x11 (1.3.1-r0) 05:09:02 (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) 05:09:04 (74/81) Installing v4l-utils-libs (1.22.1-r1) 05:09:04 (75/81) Installing v4l-utils (1.22.1-r1) 05:09:04 (76/81) Installing udev-init-scripts (35-r0) 05:09:04 Executing udev-init-scripts-35-r0.post-install 05:09:04 (77/81) Installing kmod-libs (29-r2) 05:09:04 (78/81) Installing eudev (3.2.11_pre1-r0) 05:09:04 (79/81) Installing eudev-dev (3.2.11_pre1-r0) 05:09:04 (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) 05:09:04 (81/81) Installing v4l-utils-dev (1.22.1-r1) 05:09:04 Executing busybox-1.34.1-r3.trigger 05:09:04 Executing eudev-3.2.11_pre1-r0.trigger 05:09:04 OK: 335 MiB in 133 packages 05:09:06 Removing intermediate container 14e24c7e12bb 05:09:06 ---> af950775fb26 05:09:06 Step 8/12 : WORKDIR /device-usb-camera 05:09:06 ---> Running in 93e4a4699a59 05:09:06 Removing intermediate container 93e4a4699a59 05:09:06 ---> c9be22a10f7e 05:09:06 Step 9/12 : COPY go.mod vendor* ./ 05:09:06 ---> 3e99b6a96d6e 05:09:06 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:09:06 ---> Running in 12247ce70c26 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:09:15 provisioning config files... 05:09:15 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config6697419164325139460tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:16 ---> docker-login.sh 05:09:16 nexus3.edgexfoundry.org:10001 05:09:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:17 Configure a credential helper to remove this warning. See 05:09:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:17 05:09:17 Login Succeeded 05:09:17 nexus3.edgexfoundry.org:10002 05:09:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:17 Configure a credential helper to remove this warning. See 05:09:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:17 05:09:17 Login Succeeded 05:09:17 nexus3.edgexfoundry.org:10003 05:09:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:18 Configure a credential helper to remove this warning. See 05:09:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:18 05:09:18 Login Succeeded 05:09:18 nexus3.edgexfoundry.org:10004 05:09:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:18 Configure a credential helper to remove this warning. See 05:09:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:18 05:09:18 Login Succeeded 05:09:18 docker.io 05:09:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:19 Removing intermediate container 12247ce70c26 05:09:19 ---> 22edab85e1a1 05:09:19 Step 11/12 : COPY . . 05:09:19 ---> 4c7e8be4acd1 05:09:19 Step 12/12 : RUN ${MAKE} 05:09:19 ---> Running in 38c1020c58ef 05:09:19 noop 05:09:19 Removing intermediate container 38c1020c58ef 05:09:19 ---> 3a04e924d102 05:09:19 Successfully built 3a04e924d102 05:09:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 05:09:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:19 Configure a credential helper to remove this warning. See 05:09:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:19 05:09:19 Login Succeeded 05:09:19 ---> docker-login.sh ends [Pipeline] sh [Pipeline] } 05:09:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 05:09:19 + docker inspect -f . ci-base-image-x86_64 05:09:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:19 prd-ubuntu20.04-docker-8c-8g-15408 does not seem to be running inside a container 05:09:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/b-camera_revert-42-upgrade-sdk-2 -v /w/workspace/b-camera_revert-42-upgrade-sdk-2:/w/workspace/b-camera_revert-42-upgrade-sdk-2:rw,z -v /w/workspace/b-camera_revert-42-upgrade-sdk-2@tmp:/w/workspace/b-camera_revert-42-upgrade-sdk-2@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 ******** ci-base-image-x86_64 cat 05:09:20 $ docker top 4962fd10d30c091017082f3069ed5b66a9c23d0a0b87fcafca55f6bd43992261 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] echo 05:09:20 [edgeX.isLTS] Checking if [revert-42-upgrade-sdk-2] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:09:20 [edgeX.isLTS] Checking if [revert-42-upgrade-sdk-2] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:09:20 ========================================================= 05:09:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:09:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 05:09:20 + go version 05:09:20 go version go1.17.7 linux/amd64 [Pipeline] sh [Pipeline] } 05:09:20 $ docker stop --time=1 4962fd10d30c091017082f3069ed5b66a9c23d0a0b87fcafca55f6bd43992261 05:09:20 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 05:09:21 Sending build context to Docker daemon 430.6kB 05:09:21 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:09:21 Step 2/12 : FROM ${BASE} AS builder 05:09:21 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:09:21 9b3977197b4f: Pulling fs layer 05:09:21 1a89e8eeedd5: Pulling fs layer 05:09:21 94645a83ff95: Pulling fs layer 05:09:21 e6fb740bc735: Pulling fs layer 05:09:21 3a77bd46dcc9: Pulling fs layer 05:09:21 355e64cbe906: Pulling fs layer 05:09:21 63ab81a10011: Pulling fs layer 05:09:21 555d1d1c4555: Pulling fs layer 05:09:21 7d9057610161: Pulling fs layer 05:09:21 e6fb740bc735: Waiting 05:09:21 3a77bd46dcc9: Waiting 05:09:21 355e64cbe906: Waiting 05:09:21 63ab81a10011: Waiting 05:09:21 555d1d1c4555: Waiting 05:09:21 7d9057610161: Waiting 05:09:21 94645a83ff95: Verifying Checksum 05:09:21 94645a83ff95: Download complete 05:09:21 1a89e8eeedd5: Verifying Checksum 05:09:21 1a89e8eeedd5: Download complete 05:09:21 3a77bd46dcc9: Verifying Checksum 05:09:21 3a77bd46dcc9: Download complete 05:09:21 355e64cbe906: Verifying Checksum 05:09:21 355e64cbe906: Download complete 05:09:21 9b3977197b4f: Download complete 05:09:21 63ab81a10011: Verifying Checksum 05:09:21 63ab81a10011: Download complete 05:09:21 $ docker rm -f 4962fd10d30c091017082f3069ed5b66a9c23d0a0b87fcafca55f6bd43992261 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:22 9b3977197b4f: Pull complete 05:09:22 7d9057610161: Verifying Checksum 05:09:22 7d9057610161: Download complete 05:09:22 + docker inspect -f . ci-base-image-x86_64 05:09:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:22 prd-ubuntu20.04-docker-8c-8g-15408 does not seem to be running inside a container 05:09:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/b-camera_revert-42-upgrade-sdk-2 -v /w/workspace/b-camera_revert-42-upgrade-sdk-2:/w/workspace/b-camera_revert-42-upgrade-sdk-2:rw,z -v /w/workspace/b-camera_revert-42-upgrade-sdk-2@tmp:/w/workspace/b-camera_revert-42-upgrade-sdk-2@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 ******** ci-base-image-x86_64 cat 05:09:22 1a89e8eeedd5: Pull complete 05:09:23 $ docker top 4cd38dfdcc4c551374a56b1504380d916bd2c35b935a05eacdbf0a020bea4a85 -eo pid,comm 05:09:23 94645a83ff95: Pull complete [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:09:23 555d1d1c4555: Verifying Checksum 05:09:23 555d1d1c4555: Download complete 05:09:23 + make test 05:09:23 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 05:09:23 ? github.com/edgexfoundry/device-usb-camera [no test files] 05:09:24 e6fb740bc735: Verifying Checksum 05:09:24 e6fb740bc735: Download complete 05:09:33 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 05:09:33 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 05:09:36 e6fb740bc735: Pull complete 05:09:36 3a77bd46dcc9: Pull complete 05:09:36 355e64cbe906: Pull complete 05:09:36 63ab81a10011: Pull complete 05:09:39 CGO_ENABLED=1 go vet ./... 05:09:41 555d1d1c4555: Pull complete 05:09:43 7d9057610161: Pull complete 05:09:43 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 05:09:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:09:43 ---> 819e984ddca1 05:09:43 Step 3/12 : ARG MAKE="make build" 05:09:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:09:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:09:43 ./bin/test-attribution-txt.sh [Pipeline] echo 05:09:43 [edgeX.isLTS] Checking if [revert-42-upgrade-sdk-2] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:09:43 $ docker stop --time=1 4cd38dfdcc4c551374a56b1504380d916bd2c35b935a05eacdbf0a020bea4a85 05:09:45 $ docker rm -f 4cd38dfdcc4c551374a56b1504380d916bd2c35b935a05eacdbf0a020bea4a85 05:09:45 ---> Running in 3f1cc5610aad [Pipeline] // withDockerContainer [Pipeline] sh 05:09:45 Removing intermediate container 3f1cc5610aad 05:09:45 ---> d446d466df62 05:09:45 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 05:09:45 ---> Running in 2510129f607b 05:09:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:09:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 05:09:45 Removing intermediate container 2510129f607b 05:09:45 ---> 01ae0a7b51b4 05:09:45 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 05:09:46 ---> Running in 82a11d2901d2 [Pipeline] sh 05:09:46 Removing intermediate container 82a11d2901d2 05:09:46 ---> dd6459fb0478 05:09:46 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:09:46 ---> Running in 661f21c4710c 05:09:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:09:46 + ls -al . 05:09:46 total 164 05:09:46 drwxrwxr-x 9 jenkins jenkins 4096 Jun 23 05:09 . 05:09:46 drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 05:08 .. 05:09:46 drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 05:08 .git 05:09:46 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 05:08 .github 05:09:46 -rw-rw-r-- 1 jenkins jenkins 349 Jun 23 05:08 .gitignore 05:09:46 -rw-rw-r-- 1 jenkins jenkins 42 Jun 23 05:08 .golangci.yml 05:09:46 -rw-rw-r-- 1 jenkins jenkins 77 Jun 23 05:08 .hadolint.yml 05:09:46 drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 05:08 .semver 05:09:46 -rw-rw-r-- 1 jenkins jenkins 8706 Jun 23 05:08 Attribution.txt 05:09:46 -rw-rw-r-- 1 jenkins jenkins 181 Jun 23 05:08 CHANGELOG.md 05:09:46 -rw-rw-r-- 1 jenkins jenkins 1891 Jun 23 05:08 Dockerfile 05:09:46 -rw-rw-r-- 1 jenkins jenkins 678 Jun 23 05:08 GOVERNANCE.md 05:09:46 -rw-rw-r-- 1 jenkins jenkins 659 Jun 23 05:08 Jenkinsfile 05:09:46 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 23 05:08 LICENSE 05:09:46 -rw-rw-r-- 1 jenkins jenkins 2345 Jun 23 05:08 Makefile 05:09:46 -rw-rw-r-- 1 jenkins jenkins 622 Jun 23 05:08 OWNERS.md 05:09:46 -rw-rw-r-- 1 jenkins jenkins 10754 Jun 23 05:08 README.md 05:09:46 -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 05:08 VERSION 05:09:46 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 05:08 bin 05:09:46 drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 05:08 cmd 05:09:46 -rw-r--r-- 1 jenkins jenkins 10 Jun 23 05:09 coverage.out 05:09:46 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 05:08 docker-compose 05:09:46 -rw-rw-r-- 1 jenkins jenkins 140 Jun 23 05:08 docker-entrypoint.sh 05:09:46 -rw-rw-r-- 1 jenkins jenkins 3307 Jun 23 05:08 go.mod 05:09:46 -rw-rw-r-- 1 jenkins jenkins 35656 Jun 23 05:08 go.sum 05:09:46 drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 05:08 internal 05:09:46 -rw-rw-r-- 1 jenkins jenkins 231 Jun 23 05:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:47 + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=4c0498555c43748f0c56de46de6ec1480835f529 --label arch=amd64 --label version=0.0.0 . 05:09:47 Sending build context to Docker daemon 641.5kB 05:09:47 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 05:09:47 Step 2/29 : FROM ${BASE} AS builder 05:09:47 ---> 3a04e924d102 05:09:47 Step 3/29 : ARG MAKE="make build" 05:09:47 ---> Running in 80f3bd06e629 05:09:47 Removing intermediate container 80f3bd06e629 05:09:47 ---> 5b112494a37b 05:09:47 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 05:09:47 ---> Running in 6516f8c0725b 05:09:47 Removing intermediate container 6516f8c0725b 05:09:47 ---> fbc6ebb9b111 05:09:47 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 05:09:47 ---> Running in f93358010c5b 05:09:47 Removing intermediate container f93358010c5b 05:09:47 ---> ea157b91bb2f 05:09:47 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:09:47 ---> Running in 1e565a78bb66 05:09:48 Removing intermediate container 1e565a78bb66 05:09:48 ---> 8650f98c0c25 05:09:48 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:09:48 ---> Running in 5e06c330dfca 05:09:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:09:48 Removing intermediate container 661f21c4710c 05:09:48 ---> dd8ceffd593f 05:09:48 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:09:48 ---> Running in f5423cdc4fa8 05:09:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:09:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:09:49 OK: 335 MiB in 133 packages 05:09:50 Removing intermediate container 5e06c330dfca 05:09:50 ---> e8eac29626ba 05:09:50 Step 8/29 : WORKDIR /device-usb-camera 05:09:50 ---> Running in 91d184a6db06 05:09:50 Removing intermediate container 91d184a6db06 05:09:50 ---> f25a773c4a98 05:09:50 Step 9/29 : COPY go.mod vendor* ./ 05:09:50 ---> 236a68aeaf5e 05:09:50 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:09:50 ---> Running in 1567fd1b565e 05:09:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:09:50 Removing intermediate container 1567fd1b565e 05:09:50 ---> 663365b5ef05 05:09:50 Step 11/29 : COPY . . 05:09:51 ---> eada1cb0e15a 05:09:51 Step 12/29 : RUN ${MAKE} 05:09:51 ---> Running in f73793a9ccf0 05:09:51 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 05:09:51 (1/14) Installing libintl (0.21-r0) 05:09:51 (2/14) Installing eudev-libs (3.2.11_pre1-r0) 05:09:51 (3/14) Installing libjpeg-turbo (2.1.2-r0) 05:09:51 (4/14) Installing v4l-utils-libs (1.22.1-r1) 05:09:51 (5/14) Installing v4l-utils (1.22.1-r1) 05:09:51 (6/14) Installing udev-init-scripts (35-r0) 05:09:51 Executing udev-init-scripts-35-r0.post-install 05:09:51 (7/14) Installing libblkid (2.37.4-r0) 05:09:52 (8/14) Installing xz-libs (5.2.5-r1) 05:09:52 (9/14) Installing zstd-libs (1.5.0-r0) 05:09:52 (10/14) Installing kmod-libs (29-r2) 05:09:52 (11/14) Installing eudev (3.2.11_pre1-r0) 05:09:52 (12/14) Installing eudev-dev (3.2.11_pre1-r0) 05:09:52 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 05:09:52 (14/14) Installing v4l-utils-dev (1.22.1-r1) 05:09:53 Executing busybox-1.34.1-r3.trigger 05:09:53 Executing eudev-3.2.11_pre1-r0.trigger 05:09:53 OK: 228 MiB in 66 packages 05:09:54 Removing intermediate container f5423cdc4fa8 05:09:54 ---> edb098bd8391 05:09:54 Step 8/12 : WORKDIR /device-usb-camera 05:09:54 ---> Running in 45ce808e8b2d 05:09:54 Removing intermediate container 45ce808e8b2d 05:09:54 ---> 012b007543d1 05:09:54 Step 9/12 : COPY go.mod vendor* ./ 05:09:55 ---> 199c7a2451aa 05:09:55 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:09:55 ---> Running in ff719fffb112 05:10:09 Removing intermediate container f73793a9ccf0 05:10:09 ---> 297f4e3c0b89 05:10:09 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 05:10:10 v0.18.4: Pulling from aler9/rtsp-simple-server 05:10:10 af6660deedbd: Pulling fs layer 05:10:10 97cd0a44c592: Pulling fs layer 05:10:10 97cd0a44c592: Verifying Checksum 05:10:10 97cd0a44c592: Download complete 05:10:10 af6660deedbd: Download complete 05:10:10 af6660deedbd: Pull complete 05:10:10 97cd0a44c592: Pull complete 05:10:10 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 05:10:10 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 05:10:10 ---> fea57e182299 05:10:10 Step 14/29 : FROM alpine:3.15 05:10:11 3.15: Pulling from library/alpine 05:10:11 df9b9388f04a: Pulling fs layer 05:10:11 df9b9388f04a: Verifying Checksum 05:10:11 df9b9388f04a: Download complete 05:10:11 df9b9388f04a: Pull complete 05:10:11 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 05:10:11 Status: Downloaded newer image for alpine:3.15 05:10:11 ---> 0ac33e5f5afa 05:10:11 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 05:10:11 ---> Running in 18c01a879eb8 05:10:11 Removing intermediate container 18c01a879eb8 05:10:11 ---> 105f4c0aea73 05:10:11 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 05:10:11 ---> Running in 4bf79df2112e 05:10:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:10:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:10:12 (1/74) Installing dumb-init (1.2.5-r1) 05:10:12 (2/74) Installing sdl2 (2.0.16-r4) 05:10:12 (3/74) Installing libxau (1.0.9-r0) 05:10:12 (4/74) Installing libmd (1.0.3-r0) 05:10:12 (5/74) Installing libbsd (0.11.3-r1) 05:10:12 (6/74) Installing libxdmcp (1.1.3-r0) 05:10:12 (7/74) Installing libxcb (1.14-r2) 05:10:12 (8/74) Installing libx11 (1.7.2-r0) 05:10:12 (9/74) Installing aom-libs (3.2.0-r0) 05:10:12 (10/74) Installing alsa-lib (1.2.5.1-r1) 05:10:12 (11/74) Installing expat (2.4.7-r0) 05:10:12 (12/74) Installing brotli-libs (1.0.9-r5) 05:10:12 (13/74) Installing libbz2 (1.0.8-r1) 05:10:12 (14/74) Installing libpng (1.6.37-r1) 05:10:12 (15/74) Installing freetype (2.11.1-r2) 05:10:12 (16/74) Installing libuuid (2.37.4-r0) 05:10:12 (17/74) Installing fontconfig (2.13.1-r4) 05:10:12 (18/74) Installing fribidi (1.0.11-r0) 05:10:12 (19/74) Installing libffi (3.4.2-r1) 05:10:12 (20/74) Installing libintl (0.21-r0) 05:10:12 (21/74) Installing libblkid (2.37.4-r0) 05:10:12 (22/74) Installing libmount (2.37.4-r0) 05:10:12 (23/74) Installing pcre (8.45-r1) 05:10:12 (24/74) Installing glib (2.70.1-r0) 05:10:12 (25/74) Installing graphite2 (1.3.14-r0) 05:10:12 (26/74) Installing harfbuzz (3.0.0-r2) 05:10:12 (27/74) Installing libass (0.15.2-r0) 05:10:12 (28/74) Installing libdav1d (0.9.2-r0) 05:10:12 (29/74) Installing gmp (6.2.1-r1) 05:10:12 (30/74) Installing nettle (3.7.3-r0) 05:10:12 (31/74) Installing p11-kit (0.24.0-r1) 05:10:12 (32/74) Installing libtasn1 (4.18.0-r0) 05:10:12 (33/74) Installing libunistring (0.9.10-r1) 05:10:12 (34/74) Installing gnutls (3.7.1-r0) 05:10:12 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) 05:10:12 (36/74) Installing ncurses-libs (6.3_p20211120-r0) 05:10:12 (37/74) Installing lame (3.100-r0) 05:10:12 (38/74) Installing opus (1.3.1-r1) 05:10:12 (39/74) Installing libgomp (10.3.1_git20211027-r0) 05:10:12 (40/74) Installing soxr (0.1.3-r2) 05:10:12 (41/74) Installing libgcc (10.3.1_git20211027-r0) 05:10:12 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 05:10:12 (43/74) Installing libsrt (1.4.2-r1) 05:10:12 (44/74) Installing libssh (0.9.6-r1) 05:10:12 (45/74) Installing libogg (1.3.5-r0) 05:10:12 (46/74) Installing libtheora (1.1.1-r16) 05:10:12 (47/74) Installing libjpeg-turbo (2.1.2-r0) 05:10:12 (48/74) Installing v4l-utils-libs (1.22.1-r1) 05:10:12 (49/74) Installing libxext (1.3.4-r0) 05:10:12 (50/74) Installing libxfixes (6.0.0-r0) 05:10:12 (51/74) Installing libpciaccess (0.16-r0) 05:10:12 (52/74) Installing libdrm (2.4.109-r0) 05:10:12 (53/74) Installing wayland-libs-client (1.19.0-r1) 05:10:12 (54/74) Installing libva (2.13.0-r0) 05:10:12 (55/74) Installing libvdpau (1.4-r0) 05:10:12 (56/74) Installing vidstab (1.1.0-r1) 05:10:12 (57/74) Installing libvorbis (1.3.7-r0) 05:10:12 (58/74) Installing libvpx (1.10.0-r0) 05:10:13 (59/74) Installing vulkan-loader (1.2.196-r0) 05:10:13 (60/74) Installing libwebp (1.2.2-r0) 05:10:13 (61/74) Installing x264-libs (20210613-r0) 05:10:13 (62/74) Installing x265-libs (3.5-r0) 05:10:13 (63/74) Installing xvidcore (1.3.7-r1) 05:10:13 (64/74) Installing ffmpeg-libs (4.4.1-r2) 05:10:13 (65/74) Installing ffmpeg (4.4.1-r2) 05:10:13 (66/74) Installing udev-init-scripts (35-r0) 05:10:13 Executing udev-init-scripts-35-r0.post-install 05:10:13 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 05:10:13 (68/74) Installing xz-libs (5.2.5-r1) 05:10:13 (69/74) Installing zstd-libs (1.5.0-r0) 05:10:13 (70/74) Installing kmod-libs (29-r2) 05:10:13 (71/74) Installing eudev (3.2.11_pre1-r0) 05:10:13 (72/74) Installing libsodium (1.0.18-r0) 05:10:13 (73/74) Installing libzmq (4.3.4-r0) 05:10:13 (74/74) Installing zeromq (4.3.4-r0) 05:10:13 Executing busybox-1.34.1-r5.trigger 05:10:13 Executing eudev-3.2.11_pre1-r0.trigger 05:10:13 OK: 78 MiB in 88 packages 05:10:14 Removing intermediate container 4bf79df2112e 05:10:14 ---> fdc722d13c7a 05:10:14 Step 17/29 : WORKDIR / 05:10:14 ---> Running in 1e4081be64a3 05:10:14 Removing intermediate container 1e4081be64a3 05:10:14 ---> cab4994b760d 05:10:14 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 05:10:15 ---> f410d8c8919c 05:10:15 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 05:10:15 ---> b9803db72ee5 05:10:15 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 05:10:15 ---> 9ef12477ca43 05:10:15 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 05:10:15 ---> 4a18cf6a7fcc 05:10:15 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 05:10:15 ---> 7233eacac94f 05:10:15 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 05:10:16 ---> 8fe88eaa2ca2 05:10:16 Step 24/29 : EXPOSE 59983 05:10:16 ---> Running in 0c2470b22a90 05:10:16 Removing intermediate container 0c2470b22a90 05:10:16 ---> 23d77439d4cc 05:10:16 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 05:10:16 ---> Running in 6cf6bc4caf96 05:10:16 Removing intermediate container 6cf6bc4caf96 05:10:16 ---> 3b376b16b838 05:10:16 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 05:10:16 ---> Running in b26a4956bbb0 05:10:16 Removing intermediate container b26a4956bbb0 05:10:16 ---> 2989fb39d6e4 05:10:16 Step 27/29 : LABEL arch=amd64 05:10:16 ---> Running in b9e296b40886 05:10:16 Removing intermediate container b9e296b40886 05:10:16 ---> 9acd0988d66d 05:10:16 Step 28/29 : LABEL git_sha=4c0498555c43748f0c56de46de6ec1480835f529 05:10:16 ---> Running in 93595802f040 05:10:16 Removing intermediate container 93595802f040 05:10:16 ---> 5330902fb6ec 05:10:16 Step 29/29 : LABEL version=0.0.0 05:10:16 ---> Running in 407ad26e9db3 05:10:16 Removing intermediate container 407ad26e9db3 05:10:16 ---> 3c66a833ea56 05:10:16 [Warning] One or more build-args [ARCH] were not consumed 05:10:16 Successfully built 3c66a833ea56 05:10:16 Successfully tagged device-usb-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 05:10:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:10:17 05:10:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:10:18 latest: Pulling from edgex-lftools-log-publisher 05:10:18 5eb5b503b376: Pulling fs layer 05:10:18 5c69ac0246d0: Pulling fs layer 05:10:18 ec43610c2a17: Pulling fs layer 05:10:18 3a2ae6a8a46f: Pulling fs layer 05:10:18 33b1e0a273af: Pulling fs layer 05:10:18 5d3b04190fa2: Pulling fs layer 05:10:18 2f39f015ded8: Pulling fs layer 05:10:18 3a2ae6a8a46f: Waiting 05:10:18 33b1e0a273af: Waiting 05:10:18 5d3b04190fa2: Waiting 05:10:18 2f39f015ded8: Waiting 05:10:18 5c69ac0246d0: Download complete 05:10:18 3a2ae6a8a46f: Verifying Checksum 05:10:18 3a2ae6a8a46f: Download complete 05:10:18 ec43610c2a17: Verifying Checksum 05:10:18 33b1e0a273af: Verifying Checksum 05:10:18 ec43610c2a17: Download complete 05:10:18 33b1e0a273af: Download complete 05:10:18 5d3b04190fa2: Verifying Checksum 05:10:18 5d3b04190fa2: Download complete 05:10:18 5eb5b503b376: Verifying Checksum 05:10:18 5eb5b503b376: Download complete 05:10:19 2f39f015ded8: Download complete 05:10:19 5eb5b503b376: Pull complete 05:10:19 5c69ac0246d0: Pull complete 05:10:20 ec43610c2a17: Pull complete 05:10:20 3a2ae6a8a46f: Pull complete 05:10:20 33b1e0a273af: Pull complete 05:10:20 5d3b04190fa2: Pull complete 05:10:24 2f39f015ded8: Pull complete 05:10:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:10:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:10:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:10:24 prd-ubuntu20.04-docker-8c-8g-15408 does not seem to be running inside a container 05:10:24 $ 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/b-camera_revert-42-upgrade-sdk-2 -v /w/workspace/b-camera_revert-42-upgrade-sdk-2:/w/workspace/b-camera_revert-42-upgrade-sdk-2:rw,z -v /w/workspace/b-camera_revert-42-upgrade-sdk-2@tmp:/w/workspace/b-camera_revert-42-upgrade-sdk-2@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:10:26 $ docker top 7f0dc1480336ee461242e194d3762224bd8cdd1ec6ae61cb1b9f2221cf25a2e2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:10:26 ---> job-cost.sh 05:10:26 lf-activate-venv: SKIPPING 05:10:26 INFO: No Stack... 05:10:27 INFO: Retrieving Pricing Info for: v3-standard-8 05:10:27 INFO: Archiving Costs [Pipeline] sh 05:10:28 + + cat /w/workspace/b-camera_revert-42-upgrade-sdk-2/archives/cost.csv 05:10:28 cut -d, -f6 [Pipeline] lock 05:10:28 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-revert-42-upgrade-sdk-2-1-stack-cost] 05:10:28 Resource [jenkins-edgexfoundry-device-usb-camera-revert-42-upgrade-sdk-2-1-stack-cost] did not exist. Created. 05:10:28 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-revert-42-upgrade-sdk-2-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:10:28 + echo total: 0.2199999988079071 [Pipeline] stash 05:10:28 Stashed 1 file(s) [Pipeline] } 05:10:28 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-revert-42-upgrade-sdk-2-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:10:28 $ docker stop --time=1 7f0dc1480336ee461242e194d3762224bd8cdd1ec6ae61cb1b9f2221cf25a2e2 05:10:29 $ docker rm -f 7f0dc1480336ee461242e194d3762224bd8cdd1ec6ae61cb1b9f2221cf25a2e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:10:42 Removing intermediate container ff719fffb112 05:10:42 ---> 1a32f178d76c 05:10:42 Step 11/12 : COPY . . 05:10:42 ---> 4cef7d7ef837 05:10:42 Step 12/12 : RUN ${MAKE} 05:10:42 ---> Running in 2587892739ae 05:10:43 noop 05:10:43 Removing intermediate container 2587892739ae 05:10:43 ---> f6a40a1c31ae 05:10:43 Successfully built f6a40a1c31ae 05:10:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:44 + docker inspect -f . ci-base-image-arm64 05:10:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:10:44 prd-ubuntu20.04-docker-arm64-4c-16g-15413 does not seem to be running inside a container 05:10:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-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 ******** ci-base-image-arm64 cat 05:10:46 $ docker top 10f9d61527ecbb82f05f54692385ac2fe23285a2a2c039d63f12cf3572c55f75 -eo pid,comm [Pipeline] { [Pipeline] sh 05:10:47 + go version 05:10:47 go version go1.17.7 linux/arm64 [Pipeline] } 05:10:47 $ docker stop --time=1 10f9d61527ecbb82f05f54692385ac2fe23285a2a2c039d63f12cf3572c55f75 05:10:48 $ docker rm -f 10f9d61527ecbb82f05f54692385ac2fe23285a2a2c039d63f12cf3572c55f75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:49 + docker inspect -f . ci-base-image-arm64 05:10:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:10:49 prd-ubuntu20.04-docker-arm64-4c-16g-15413 does not seem to be running inside a container 05:10:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-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 ******** ci-base-image-arm64 cat 05:10:51 $ docker top 21a7c992898ae9af80a7966a232b51f81745a796e4fdbf92976f2c9ea7e75a56 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:10:52 + make test 05:10:52 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 05:10:53 ? github.com/edgexfoundry/device-usb-camera [no test files] 05:12:15 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 05:12:15 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 05:12:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:12:15 CGO_ENABLED=1 go vet ./... 05:12:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:12:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:12:37 ./bin/test-attribution-txt.sh [Pipeline] echo 05:12:37 [edgeX.isLTS] Checking if [revert-42-upgrade-sdk-2] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:12:37 $ docker stop --time=1 21a7c992898ae9af80a7966a232b51f81745a796e4fdbf92976f2c9ea7e75a56 05:12:39 $ docker rm -f 21a7c992898ae9af80a7966a232b51f81745a796e4fdbf92976f2c9ea7e75a56 [Pipeline] // withDockerContainer [Pipeline] sh 05:12:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:12:52 Warning: overwriting stash ‘coverage-report’ 05:12:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:12:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:12:53 + ls -al . 05:12:53 total 160 05:12:53 drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 05:12 . 05:12:53 drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 05:08 .. 05:12:53 drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 05:08 .git 05:12:53 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 05:08 .github 05:12:53 -rw-rw-r-- 1 jenkins jenkins 349 Jun 23 05:08 .gitignore 05:12:53 -rw-rw-r-- 1 jenkins jenkins 42 Jun 23 05:08 .golangci.yml 05:12:53 -rw-rw-r-- 1 jenkins jenkins 77 Jun 23 05:08 .hadolint.yml 05:12:53 -rw-rw-r-- 1 jenkins jenkins 8706 Jun 23 05:08 Attribution.txt 05:12:53 -rw-rw-r-- 1 jenkins jenkins 181 Jun 23 05:08 CHANGELOG.md 05:12:53 -rw-rw-r-- 1 jenkins jenkins 1891 Jun 23 05:08 Dockerfile 05:12:53 -rw-rw-r-- 1 jenkins jenkins 678 Jun 23 05:08 GOVERNANCE.md 05:12:53 -rw-rw-r-- 1 jenkins jenkins 659 Jun 23 05:08 Jenkinsfile 05:12:53 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 23 05:08 LICENSE 05:12:53 -rw-rw-r-- 1 jenkins jenkins 2345 Jun 23 05:08 Makefile 05:12:53 -rw-rw-r-- 1 jenkins jenkins 622 Jun 23 05:08 OWNERS.md 05:12:53 -rw-rw-r-- 1 jenkins jenkins 10754 Jun 23 05:08 README.md 05:12:53 -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 05:08 VERSION 05:12:53 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 05:08 bin 05:12:53 drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 05:08 cmd 05:12:53 -rw-r--r-- 1 jenkins jenkins 10 Jun 23 05:10 coverage.out 05:12:53 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 05:08 docker-compose 05:12:53 -rw-rw-r-- 1 jenkins jenkins 140 Jun 23 05:08 docker-entrypoint.sh 05:12:53 -rw-rw-r-- 1 jenkins jenkins 3307 Jun 23 05:08 go.mod 05:12:53 -rw-rw-r-- 1 jenkins jenkins 35656 Jun 23 05:08 go.sum 05:12:53 drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 05:08 internal 05:12:53 -rw-rw-r-- 1 jenkins jenkins 231 Jun 23 05:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:54 + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=4c0498555c43748f0c56de46de6ec1480835f529 --label arch=arm64 --label version=0.0.0 . 05:12:54 Sending build context to Docker daemon 431.6kB 05:12:54 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 05:12:54 Step 2/29 : FROM ${BASE} AS builder 05:12:54 ---> f6a40a1c31ae 05:12:54 Step 3/29 : ARG MAKE="make build" 05:12:54 ---> Running in 3611f9e66c05 05:12:55 Removing intermediate container 3611f9e66c05 05:12:55 ---> 5742e0d5fc98 05:12:55 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 05:12:55 ---> Running in 96c1a1b23f5f 05:12:55 Removing intermediate container 96c1a1b23f5f 05:12:55 ---> 99e84b218570 05:12:55 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 05:12:55 ---> Running in 4d8de454bebb 05:12:55 Removing intermediate container 4d8de454bebb 05:12:55 ---> 770d2c3caac1 05:12:55 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:12:55 ---> Running in 1634f18dedf0 05:12:57 Removing intermediate container 1634f18dedf0 05:12:57 ---> 7942e8cbe250 05:12:57 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:12:57 ---> Running in d063d00bdfa1 05:12:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:12:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:13:00 OK: 228 MiB in 66 packages 05:13:00 Removing intermediate container d063d00bdfa1 05:13:00 ---> 3b537bd1c9ae 05:13:00 Step 8/29 : WORKDIR /device-usb-camera 05:13:01 ---> Running in 94b90d970fbc 05:13:01 Removing intermediate container 94b90d970fbc 05:13:01 ---> e4583b313c45 05:13:01 Step 9/29 : COPY go.mod vendor* ./ 05:13:01 ---> 6e573ff666bf 05:13:01 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:13:01 ---> Running in 2c25ab2b3e06 05:13:03 Removing intermediate container 2c25ab2b3e06 05:13:03 ---> 47f80ecb897a 05:13:03 Step 11/29 : COPY . . 05:13:04 ---> c35021673ee4 05:13:04 Step 12/29 : RUN ${MAKE} 05:13:04 ---> Running in e376e0425140 05:13:05 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 05:15:12 Removing intermediate container e376e0425140 05:15:12 ---> dbca8d2ecdca 05:15:12 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 05:15:12 v0.18.4: Pulling from aler9/rtsp-simple-server 05:15:12 eab2503cf8f4: Pulling fs layer 05:15:12 97cd0a44c592: Pulling fs layer 05:15:12 97cd0a44c592: Verifying Checksum 05:15:12 eab2503cf8f4: Verifying Checksum 05:15:12 eab2503cf8f4: Download complete 05:15:12 eab2503cf8f4: Pull complete 05:15:12 97cd0a44c592: Pull complete 05:15:12 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 05:15:12 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 05:15:12 ---> 7f763cca56b3 05:15:12 Step 14/29 : FROM alpine:3.15 05:15:12 3.15: Pulling from library/alpine 05:15:12 9981e73032c8: Pulling fs layer 05:15:12 9981e73032c8: Verifying Checksum 05:15:12 9981e73032c8: Download complete 05:15:12 9981e73032c8: Pull complete 05:15:12 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 05:15:12 Status: Downloaded newer image for alpine:3.15 05:15:12 ---> 3fb3c9af89a9 05:15:12 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 05:15:12 ---> Running in 7711216697bb 05:15:12 Removing intermediate container 7711216697bb 05:15:12 ---> 4addbef96d44 05:15:12 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 05:15:12 ---> Running in 0774e5e5e286 05:15:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:15:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:15:12 (1/73) Installing dumb-init (1.2.5-r1) 05:15:12 (2/73) Installing sdl2 (2.0.16-r4) 05:15:12 (3/73) Installing libxau (1.0.9-r0) 05:15:12 (4/73) Installing libmd (1.0.3-r0) 05:15:12 (5/73) Installing libbsd (0.11.3-r1) 05:15:12 (6/73) Installing libxdmcp (1.1.3-r0) 05:15:12 (7/73) Installing libxcb (1.14-r2) 05:15:12 (8/73) Installing libx11 (1.7.2-r0) 05:15:12 (9/73) Installing aom-libs (3.2.0-r0) 05:15:12 (10/73) Installing alsa-lib (1.2.5.1-r1) 05:15:12 (11/73) Installing expat (2.4.7-r0) 05:15:12 (12/73) Installing brotli-libs (1.0.9-r5) 05:15:12 (13/73) Installing libbz2 (1.0.8-r1) 05:15:12 (14/73) Installing libpng (1.6.37-r1) 05:15:12 (15/73) Installing freetype (2.11.1-r2) 05:15:12 (16/73) Installing libuuid (2.37.4-r0) 05:15:12 (17/73) Installing fontconfig (2.13.1-r4) 05:15:12 (18/73) Installing fribidi (1.0.11-r0) 05:15:12 (19/73) Installing libffi (3.4.2-r1) 05:15:12 (20/73) Installing libintl (0.21-r0) 05:15:12 (21/73) Installing libblkid (2.37.4-r0) 05:15:12 (22/73) Installing libmount (2.37.4-r0) 05:15:12 (23/73) Installing pcre (8.45-r1) 05:15:12 (24/73) Installing glib (2.70.1-r0) 05:15:12 (25/73) Installing graphite2 (1.3.14-r0) 05:15:12 (26/73) Installing harfbuzz (3.0.0-r2) 05:15:12 (27/73) Installing libass (0.15.2-r0) 05:15:12 (28/73) Installing libdav1d (0.9.2-r0) 05:15:12 (29/73) Installing gmp (6.2.1-r1) 05:15:12 (30/73) Installing nettle (3.7.3-r0) 05:15:12 (31/73) Installing p11-kit (0.24.0-r1) 05:15:12 (32/73) Installing libtasn1 (4.18.0-r0) 05:15:12 (33/73) Installing libunistring (0.9.10-r1) 05:15:12 (34/73) Installing gnutls (3.7.1-r0) 05:15:12 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) 05:15:12 (36/73) Installing ncurses-libs (6.3_p20211120-r0) 05:15:12 (37/73) Installing lame (3.100-r0) 05:15:12 (38/73) Installing opus (1.3.1-r1) 05:15:12 (39/73) Installing libgomp (10.3.1_git20211027-r0) 05:15:12 (40/73) Installing soxr (0.1.3-r2) 05:15:12 (41/73) Installing libgcc (10.3.1_git20211027-r0) 05:15:12 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 05:15:12 (43/73) Installing libsrt (1.4.2-r1) 05:15:12 (44/73) Installing libssh (0.9.6-r1) 05:15:12 (45/73) Installing libogg (1.3.5-r0) 05:15:12 (46/73) Installing libtheora (1.1.1-r16) 05:15:12 (47/73) Installing libjpeg-turbo (2.1.2-r0) 05:15:12 (48/73) Installing v4l-utils-libs (1.22.1-r1) 05:15:12 (49/73) Installing libxext (1.3.4-r0) 05:15:12 (50/73) Installing libxfixes (6.0.0-r0) 05:15:12 (51/73) Installing libdrm (2.4.109-r0) 05:15:12 (52/73) Installing wayland-libs-client (1.19.0-r1) 05:15:12 (53/73) Installing libva (2.13.0-r0) 05:15:12 (54/73) Installing libvdpau (1.4-r0) 05:15:12 (55/73) Installing vidstab (1.1.0-r1) 05:15:12 (56/73) Installing libvorbis (1.3.7-r0) 05:15:12 (57/73) Installing libvpx (1.10.0-r0) 05:15:12 (58/73) Installing vulkan-loader (1.2.196-r0) 05:15:12 (59/73) Installing libwebp (1.2.2-r0) 05:15:12 (60/73) Installing x264-libs (20210613-r0) 05:15:12 (61/73) Installing x265-libs (3.5-r0) 05:15:12 (62/73) Installing xvidcore (1.3.7-r1) 05:15:12 (63/73) Installing ffmpeg-libs (4.4.1-r2) 05:15:12 (64/73) Installing ffmpeg (4.4.1-r2) 05:15:12 (65/73) Installing udev-init-scripts (35-r0) 05:15:12 Executing udev-init-scripts-35-r0.post-install 05:15:12 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 05:15:12 (67/73) Installing xz-libs (5.2.5-r1) 05:15:12 (68/73) Installing zstd-libs (1.5.0-r0) 05:15:12 (69/73) Installing kmod-libs (29-r2) 05:15:12 (70/73) Installing eudev (3.2.11_pre1-r0) 05:15:12 (71/73) Installing libsodium (1.0.18-r0) 05:15:12 (72/73) Installing libzmq (4.3.4-r0) 05:15:12 (73/73) Installing zeromq (4.3.4-r0) 05:15:12 Executing busybox-1.34.1-r5.trigger 05:15:12 Executing eudev-3.2.11_pre1-r0.trigger 05:15:12 OK: 67 MiB in 87 packages 05:15:12 Removing intermediate container 0774e5e5e286 05:15:12 ---> 6b40415cfc96 05:15:12 Step 17/29 : WORKDIR / 05:15:12 ---> Running in d97b9647a262 05:15:12 Removing intermediate container d97b9647a262 05:15:12 ---> fd3ff85eaede 05:15:12 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 05:15:14 ---> 5e589399f9b5 05:15:14 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 05:15:14 ---> 711c44b293a8 05:15:14 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 05:15:15 ---> 6cb99af10f6f 05:15:15 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 05:15:15 ---> 12f13beed53c 05:15:15 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 05:15:16 ---> 3968da37d123 05:15:16 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 05:15:17 ---> afa0eb136524 05:15:17 Step 24/29 : EXPOSE 59983 05:15:17 ---> Running in 11df284fc3ac 05:15:17 Removing intermediate container 11df284fc3ac 05:15:17 ---> 5b7f91860430 05:15:17 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 05:15:17 ---> Running in 544bbee59ddf 05:15:18 Removing intermediate container 544bbee59ddf 05:15:18 ---> 3b532497b59a 05:15:18 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 05:15:18 ---> Running in 79890558d978 05:15:18 Removing intermediate container 79890558d978 05:15:18 ---> 9aa467024214 05:15:18 Step 27/29 : LABEL arch=arm64 05:15:18 ---> Running in cafb2912bdea 05:15:19 Removing intermediate container cafb2912bdea 05:15:19 ---> 343d1bac15fb 05:15:19 Step 28/29 : LABEL git_sha=4c0498555c43748f0c56de46de6ec1480835f529 05:15:19 ---> Running in 9957573c53de 05:15:19 Removing intermediate container 9957573c53de 05:15:19 ---> 2cfb3b399f08 05:15:19 Step 29/29 : LABEL version=0.0.0 05:15:19 ---> Running in 79d41898fb76 05:15:19 Removing intermediate container 79d41898fb76 05:15:19 ---> 7f651aea8284 05:15:19 [Warning] One or more build-args [ARCH] were not consumed 05:15:19 Successfully built 7f651aea8284 05:15:19 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:15:20 05:15:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:15:21 arm64: Pulling from edgex-lftools-log-publisher 05:15:21 8998bd30e6a1: Pulling fs layer 05:15:21 04944245beec: Pulling fs layer 05:15:21 699f458cf7ca: Pulling fs layer 05:15:21 765212b225bb: Pulling fs layer 05:15:21 f23df028b6ca: Pulling fs layer 05:15:21 d65c8cfc05b1: Pulling fs layer 05:15:21 2437ff75d9bd: Pulling fs layer 05:15:21 f23df028b6ca: Waiting 05:15:21 d65c8cfc05b1: Waiting 05:15:21 765212b225bb: Waiting 05:15:21 2437ff75d9bd: Waiting 05:15:21 04944245beec: Verifying Checksum 05:15:21 04944245beec: Download complete 05:15:21 765212b225bb: Download complete 05:15:21 f23df028b6ca: Verifying Checksum 05:15:21 f23df028b6ca: Download complete 05:15:21 d65c8cfc05b1: Verifying Checksum 05:15:21 d65c8cfc05b1: Download complete 05:15:21 699f458cf7ca: Verifying Checksum 05:15:21 699f458cf7ca: Download complete 05:15:21 8998bd30e6a1: Verifying Checksum 05:15:21 8998bd30e6a1: Download complete 05:15:24 2437ff75d9bd: Verifying Checksum 05:15:24 2437ff75d9bd: Download complete 05:15:26 8998bd30e6a1: Pull complete 05:15:26 04944245beec: Pull complete 05:15:28 699f458cf7ca: Pull complete 05:15:28 765212b225bb: Pull complete 05:15:29 f23df028b6ca: Pull complete 05:15:29 d65c8cfc05b1: Pull complete 05:15:44 2437ff75d9bd: Pull complete 05:15:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:15:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:15:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:15:44 prd-ubuntu20.04-docker-arm64-4c-16g-15413 does not seem to be running inside a container 05:15:44 $ 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-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:15:47 $ docker top 56db30f1ef336f1b1f3ff9a3361a7eb9fb0a0fd3899571bd6a878cb635f0ef4c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:15:48 ---> job-cost.sh 05:15:48 lf-activate-venv: SKIPPING 05:15:48 INFO: No Stack... 05:15:49 INFO: Retrieving Pricing Info for: v3-standard-4 05:15:50 INFO: Archiving Costs [Pipeline] sh 05:15:50 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 05:15:50 + cut -d, -f6 [Pipeline] lock 05:15:50 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-revert-42-upgrade-sdk-2-1-stack-cost] 05:15:50 Resource [jenkins-edgexfoundry-device-usb-camera-revert-42-upgrade-sdk-2-1-stack-cost] did not exist. Created. 05:15:50 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-revert-42-upgrade-sdk-2-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:15:51 /w/workspace/device-usb-camera/1@tmp/durable-aaffed9c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:15:52 + echo total: 0.10999999940395355 [Pipeline] stash 05:15:52 Warning: overwriting stash ‘stack-cost’ 05:15:52 Stashed 1 file(s) [Pipeline] } 05:15:52 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-revert-42-upgrade-sdk-2-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:15:52 $ docker stop --time=1 56db30f1ef336f1b1f3ff9a3361a7eb9fb0a0fd3899571bd6a878cb635f0ef4c 05:15:54 $ docker rm -f 56db30f1ef336f1b1f3ff9a3361a7eb9fb0a0fd3899571bd6a878cb635f0ef4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:15:55 provisioning config files... 05:15:55 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/b-camera_revert-42-upgrade-sdk-2@tmp/config3783565319568078376tmp [Pipeline] { [Pipeline] sh 05:15:55 + set +x 05:15:55 + curl -s https://codecov.io/bash 05:15:55 + bash -s -- 05:15:55 05:15:55 _____ _ 05:15:55 / ____| | | 05:15:55 | | ___ __| | ___ ___ _____ __ 05:15:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:15:55 | |___| (_) | (_| | __/ (_| (_) \ V / 05:15:55 \_____\___/ \__,_|\___|\___\___/ \_/ 05:15:55 Bash-1.0.6 05:15:55 05:15:55 05:15:55 ==> git version 2.25.1 found 05:15:55 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:15:55 Release-Date: 2020-01-08 05:15:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:15:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:15:55 ==> Jenkins CI detected. 05:15:55 current dir:  /w/workspace/b-camera_revert-42-upgrade-sdk-2 05:15:55 project root: . 05:15:55 --> token set from env 05:15:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:15:55 ==> Running gcov in . (disable via -X gcov) 05:15:55 ==> Python coveragepy not found 05:15:55 ==> Searching for coverage reports in: 05:15:55 + . 05:15:55 -> Found 1 reports 05:15:55 ==> Detecting git/mercurial file structure 05:15:55 ==> Reading reports 05:15:55 + ./coverage.out bytes=10 05:15:55 ==> Appending adjustments 05:15:55 https://docs.codecov.io/docs/fixing-reports 05:15:55 + Found adjustments 05:15:55 ==> Gzipping contents 05:15:55 4.0K /tmp/codecov.mTTx3C.gz 05:15:55 ==> Uploading reports 05:15:55 url: https://codecov.io 05:15:55 query: branch=revert-42-upgrade-sdk-2&commit=4c0498555c43748f0c56de46de6ec1480835f529&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Frevert-42-upgrade-sdk-2%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 05:15:55 -> Pinging Codecov 05:15:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=revert-42-upgrade-sdk-2&commit=4c0498555c43748f0c56de46de6ec1480835f529&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Frevert-42-upgrade-sdk-2%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 05:15:56 -> Uploading to 05:15:56 https://storage.googleapis.com/codecov/v4/raw/2022-06-23/73D8F5FF140700D3E01443B452E23636/4c0498555c43748f0c56de46de6ec1480835f529/1bd78de5-a49d-4131-ab87-306743e4146b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220623%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220623T051555Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=59de0933f5cf596a66c46b753266535c647fceecb973e41ef8ff7f000be83212 05:15:56 % Total % Received % Xferd Average Speed Time Time Time Current 05:15:56 Dload Upload Total Spent Left Speed 05:15:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1019 0 0 100 1019 0 3830 --:--:-- --:--:-- --:--:-- 3830 05:15:56 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/4c0498555c43748f0c56de46de6ec1480835f529 [Pipeline] } 05:15:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:15:57 + [ -d /w/workspace/b-camera_revert-42-upgrade-sdk-2/archives ] 05:15:57 + ls -al /w/workspace/b-camera_revert-42-upgrade-sdk-2/archives 05:15:57 total 16 05:15:57 drwxr-xr-x 3 root root 4096 Jun 23 05:10 . 05:15:57 drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 05:10 .. 05:15:57 drwxr-xr-x 2 root root 4096 Jun 23 05:10 cost 05:15:57 -rw-r--r-- 1 root root 105 Jun 23 05:10 cost.csv 05:15:57 + sudo chown -R jenkins:jenkins /w/workspace/b-camera_revert-42-upgrade-sdk-2/archives 05:15:57 + ls -al /w/workspace/b-camera_revert-42-upgrade-sdk-2/archives 05:15:57 total 16 05:15:57 drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 05:10 . 05:15:57 drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 05:10 .. 05:15:57 drwxr-xr-x 2 jenkins jenkins 4096 Jun 23 05:10 cost 05:15:57 -rw-r--r-- 1 jenkins jenkins 105 Jun 23 05:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:15:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:15:59 ---> package-listing.sh 05:15:59 ++ facter osfamily 05:15:59 ++ tr '[:upper:]' '[:lower:]' 05:15:59 + OS_FAMILY=debian 05:15:59 + workspace=/w/workspace/b-camera_revert-42-upgrade-sdk-2 05:15:59 + START_PACKAGES=/tmp/packages_start.txt 05:15:59 + END_PACKAGES=/tmp/packages_end.txt 05:15:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:15:59 + PACKAGES=/tmp/packages_start.txt 05:15:59 + '[' /w/workspace/b-camera_revert-42-upgrade-sdk-2 ']' 05:15:59 + PACKAGES=/tmp/packages_end.txt 05:15:59 + case "${OS_FAMILY}" in 05:15:59 + dpkg -l 05:15:59 + grep '^ii' 05:15:59 + '[' -f /tmp/packages_start.txt ']' 05:15:59 + '[' -f /tmp/packages_end.txt ']' 05:15:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:15:59 + '[' /w/workspace/b-camera_revert-42-upgrade-sdk-2 ']' 05:15:59 + mkdir -p /w/workspace/b-camera_revert-42-upgrade-sdk-2/archives/ 05:15:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/b-camera_revert-42-upgrade-sdk-2/archives/ [Pipeline] echo 05:15:59 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/b-camera_revert-42-upgrade-sdk-2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:15:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:16:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:16:00 prd-ubuntu20.04-docker-8c-8g-15408 does not seem to be running inside a container 05:16:00 $ 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/b-camera_revert-42-upgrade-sdk-2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/b-camera_revert-42-upgrade-sdk-2 -v /w/workspace/b-camera_revert-42-upgrade-sdk-2:/w/workspace/b-camera_revert-42-upgrade-sdk-2:rw,z -v /w/workspace/b-camera_revert-42-upgrade-sdk-2@tmp:/w/workspace/b-camera_revert-42-upgrade-sdk-2@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:16:00 $ docker top 37413db3687f5b7e9621ecb43fe636580002c7c30cbd1a03138a2d36bb7810ca -eo pid,comm [Pipeline] { [Pipeline] sh 05:16:01 + touch /tmp/pre-build-complete [Pipeline] sh 05:16:01 + mkdir -p /var/log/sysstat [Pipeline] sh 05:16:01 + ls /var/log/sa-host 05:16:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:16:01 provisioning config files... 05:16:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/b-camera_revert-42-upgrade-sdk-2@tmp/config6209332181723742193tmp [Pipeline] { [Pipeline] echo 05:16:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:16:02 ---> create-netrc.sh [Pipeline] } 05:16:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:16:02 ---> python-tools-install.sh [Pipeline] echo 05:16:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:16:03 ---> sudo-logs.sh 05:16:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:16:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:16:03 ---> job-cost.sh 05:16:03 lf-activate-venv: SKIPPING 05:16:03 DEBUG: total: 0.2199999988079071 05:16:03 INFO: Retrieving Stack Cost... 05:16:04 INFO: Retrieving Pricing Info for: v3-standard-8 05:16:04 INFO: Archiving Costs [Pipeline] echo 05:16:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:16:04 ---> logs-deploy.sh 05:16:04 lf-activate-venv: SKIPPING 05:16:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/revert-42-upgrade-sdk-2/1 05:16:04 INFO: archiving workspace using pattern(s): 05:16:05 Archives upload complete. 05:16:05 INFO: archiving logs to Nexus