Comments (6)
I created a test artifact where I indicate how many sample log lines to output. I've ran it to output 100 lines. It worked. I then asked it to output 1000 lines and it truncated the output to roughly 4K worth of text. Interestingly enough, it was the last 4K of the log output.
Can you take a look at your log output, copy it and see if it is roughly 4K worth of text? There may be a 4K limit that we never hit before.
from azure-devtestlab.
Hi - I have since changed my powershell script to reduce logging, but I will see if I can do another test.
from azure-devtestlab.
I'm not quite sure how you're calculating the 4k number, but my latest one is truncated to 5,369 characters.
from azure-devtestlab.
My test gave me roughly 4K. So, yours is giving you more. I'll have to follow up with the folks from the custom script extension team on this one. Thanks for taking the time to gather more information.
from azure-devtestlab.
I did further investigations and I found that the truncation happens as part of the custom script extension itself. It actually writes only the last chunk of text into its own logs, which we then simply display. Therefore, I will follow up with that team to see if there's resolution to this problem.
from azure-devtestlab.
We have consulted with the CustomScriptExtension team and they have confirmed they only output the last 4K from stdout / stderr. Because of this limitation, outputting entire logs will not be feasible.
from azure-devtestlab.
Related Issues (20)
- getDeploymentOutput not working HOT 3
- Node 6 deprecation warning HOT 3
- 'windows-winrm' Artifact uses hardcoded expiration date 01/01/2022 HOT 3
- Account permissions necessary to use Az.LabServices.psm1 (QUESTION) HOT 2
- Unable to install postman on Azure Windows VM
- DevTest Labs does not set ARM template parameter _artifactsLocation correctly
- Specify Storage and KeyVault at Lab creation?
- The Run Bash artifacts use not the latest version of the Custom Script Extension
- This repo is missing important files HOT 1
- Cannot set or update property userName for VM HOT 3
- Only one artifact usable HOT 2
- Add artifacts SQL Developer for Windows VM
- No longer working with DevTest Labs
- Link in readme is wrong
- Unclaim VM function executing "claim" action
- Kali Linux 2021 no longer works
- DevTest Labs cannot fetch available artifacts HOT 2
- vsts-build-agent - no longer installs when called through ARM or BICEP since PR881 HOT 3
- DTL Artifact JSON Schema for draft-06 ??
- Public Environments - Web App with MySQL - Update ARM Template
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-devtestlab.