Repository navigation
Closed
Labels
Description
Consider:
I see several script failures (esp., Python failures). It's not clear to me how fatal these are: do we not get proper reporting, etc.? In addition to the failure, there are lots of warnings.
E.g.:
+ /home/helixbot/.azdo-env/bin/python -c import azure.devops
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'azure'
+ /home/helixbot/.azdo-env/bin/python -c import future
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'future'
+ /home/helixbot/.azdo-env/bin/python -m pip install future==0.17.1
WARNING: The directory '/home/helixbot/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
+ python -B /root/helix/work/correlation/xunit-reporter.py
Traceback (most recent call last):
File "/root/helix/work/correlation/xunit-reporter.py", line 6, in <module>
import helix.azure_storage
File "/root/helix/scripts/helix/azure_storage.py", line 6, in <module>
from azure.storage.blob import BlobClient, ContentSettings, ExponentialRetry
File "/root/helix/scripts/azure/storage/blob/__init__.py", line 11, in <module>
from ._blob_client import BlobClient
File "/root/helix/scripts/azure/storage/blob/_blob_client.py", line 24, in <module>
from ._shared.encryption import generate_blob_encryption_data
File "/root/helix/scripts/azure/storage/blob/_shared/encryption.py", line 19, in <module>
from cryptography.hazmat.primitives.padding import PKCS7
File "/root/helix/scripts/cryptography/hazmat/primitives/padding.py", line 13, in <module>
from cryptography.hazmat.bindings._padding import lib
ImportError: /root/helix/scripts/cryptography/hazmat/bindings/_padding.abi3.so: wrong ELF class: ELFCLASS64
+ exit 1
+ export _commandExitCode=1
+ chmod -R 777 /home/helixbot/dotnetbuild/dumps
+ exit 1
@MattGal can you please route?
Activity
MattGal commentedon Jul 14, 2020
@ulisesh FYI. We've seen this before when the mapped-in python bits involve a native component built differently than the docker container.
This doesn't make your test fail or even not report test results to Azure DevOps though, the only change here is that you won't have the XUnit results ingested into Kusto. We can definitely explore this in a core-eng issue though, as xunit-reporter is not deprecated, much as some might want it to be.
MattGal commentedon Jul 14, 2020
Filed dotnet/arcade#5786 to track updating xunit-reporter to use venv instead of direct python invocation.
ViktorHofer commentedon Jul 15, 2020
Closing as this is tracked by linked issue.
jozkee commentedon Feb 18, 2021
I am consistently hitting the errors reported here on #46101
run: https://dev.azure.com/dnceng/public/_build/results?buildId=990999&view=logs&j=f0c437f4-e81d-5464-8b65-dcbe7e70316d&t=42aef4d2-6bf8-50cc-612b-d0d7fef2403f
helix log: https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-46101-merge-6304fdb9d579499197/Common.Tests/console.3a7513c3.log?sv=2019-07-07&se=2021-03-10T01%3A20%3A38Z&sr=c&sp=rl&sig=sIsDilf2iVRQW5gkivi1P5gkwrDWE8MuHbtoYFYcFpw%3D
Should I log a new issue for that or can this one be re-open?
MattGal commentedon Feb 18, 2021
The errors you pasted are expected and come from these lines. That's the output of the system letting it know they're not already installed so it can "pip install them".
From the log you posted, there's nothing wrong with Azure Devops reporting in this log, rather the test crashed:
Exit Code:-1073740791 (STATUS_STACK_BUFFER_OVERRUN) being the operative bit here. Crashing with a buffer overrun is not good.
MattGal commentedon Feb 18, 2021
@jozkee another thing to note, the log you posted wasn't even from an ARM machine:
Console log: 'Common.Tests' from job 6304fdb9-d579-4991-97d9-3ec74269c0d4 (windows.10.amd64.serverrs5.open.rt) using docker image mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 on a0023ZEGiven your run was 100% failure with this call stack on every work item and every machine on amd64 that makes this more serious. (EDIT: This seems at least confined to your run, hopefully was just a fluke in payload construction)