-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In 10.15.0 the json output from 'azcopy.exe jobs list --output-type json' does not work #1777
Comments
Have you tried adding the flag by "--output-type=json" instead of "--output-type json"? |
Hi @JasonYeMSFT - Has this changed then? We've been using it like this for years. |
@JasonYeMSFT - I have just tested this. It does not resolve the issue. |
Hi @gregpakes, can you confirm if you're seeing this? |
Yes - that looks very familiar |
It's not just the json output. A plain
If I perform This is azcopy 10.15.0 on macOS 12.4, installed via Homebrew. |
On {
"TimeStamp": "2022-06-29T14:26:39.784762+02:00",
"MessageType": "EndOfJob",
"MessageContent": "{\"ErrorMessage\":\"\",\"JobIDDetails\":[{\"JobId\":\"ea3228e2-3006-e742-75bb-35951c462092\",\"CommandString\":\"copy --recursive --preserve-permissions --overwrite ifSourceNewer https://azuritereplacement.blob.core.windows.net/source?se=2023-05-31t19%3A24%3A45z\\u0026sig=REDACTED\\u0026sp=rl\\u0026spr=https\\u0026sr=c\\u0026st=2022-05-31t11%3A24%3A45z\\u0026sv=2020-08-04 https://azuritereplacement.blob.core.windows.net/sink?se=2023-02-01t20%3A59%3A32z\\u0026sig=REDACTED\\u0026sp=racwdl\\u0026spr=https\\u0026sr=c\\u0026st=2022-06-03t11%3A59%3A32z\\u0026sv=2020-08-04 \",\"StartTime\":1654695011970066000,\"JobStatus\":\"CompletedWithSkipped\"},{\"JobId\":\"cd5511ba-bf34-a643-5a49-3baac1456204\",\"CommandString\":\"copy --recursive https://azuritereplacement.blob.core.windows.net/source?se=2023-05-31t19%3A24%3A45z\\u0026sig=REDACTED\\u0026sp=rl\\u0026spr=https\\u0026sr=c\\u0026st=2022-05-31t11%3A24%3A45z\\u0026sv=2020-08-04 https://azuritereplacement.blob.core.windows.net/sink?se=2023-02-01t20%3A59%3A32z\\u0026sig=REDACTED\\u0026sp=racwdl\\u0026spr=https\\u0026sr=c\\u0026st=2022-06-03t11%3A59%3A32z\\u0026sv=2020-08-04 \",\"StartTime\":1654693631908732000,\"JobStatus\":\"Completed\"},{\"JobId\":\"71855c7c-dc1c-7b4a-42bd-91482a0e60b1\",\"CommandString\":\"copy . https://azuritereplacement.blob.core.windows.net/source?se=2022-09-28t20%3A35%3A11z\\u0026sig=REDACTED\\u0026sp=racwdl\\u0026spr=https\\u0026sr=c\\u0026st=2022-06-03t12%3A35%3A11z\\u0026sv=2020-08-04 --recursive \",\"StartTime\":1654259780498162000,\"JobStatus\":\"Completed\"},{\"JobId\":\"14b7b578-6bc8-da4d-6347-58a229031b5d\",\"CommandString\":\"sync https://azuritereplacement.blob.core.windows.net/source?se=2023-05-31t19%3A24%3A45z\\u0026sig=REDACTED\\u0026sp=rl\\u0026spr=https\\u0026sr=c\\u0026st=2022-05-31t11%3A24%3A45z\\u0026sv=2020-08-04 https://azuritereplacement.blob.core.windows.net/sink?se=2023-05-31t19%3A25%3A39z\\u0026sig=REDACTED\\u0026sp=rcwl\\u0026spr=https\\u0026sr=c\\u0026st=2022-05-31t11%3A25%3A39z\\u0026sv=2020-08-04 --delete-destination true --preserve-permissions --log-level NONE \",\"StartTime\":1654077789080913000,\"JobStatus\":\"Failed\"},{\"JobId\":\"b0e27b7a-96b2-7546-69a0-d4e19db4cad2\",\"CommandString\":\"sync https://azuritereplacement.blob.core.windows.net/source?se=2023-05-31t19%3A24%3A45z\\u0026sig=REDACTED\\u0026sp=rl\\u0026spr=https\\u0026sr=c\\u0026st=2022-05-31t11%3A24%3A45z\\u0026sv=2020-08-04 https://azuritereplacement.blob.core.windows.net/sink?se=2023-05-31t19%3A25%3A39z\\u0026sig=REDACTED\\u0026sp=rcwl\\u0026spr=https\\u0026sr=c\\u0026st=2022-05-31t11%3A25%3A39z\\u0026sv=2020-08-04 --delete-destination true --preserve-permissions \",\"StartTime\":1654077764449885000,\"JobStatus\":\"Failed\"},{\"JobId\":\"c358de7d-fcfa-224a-7d09-46cd8048049a\",\"CommandString\":\"sync https://azuritereplacement.blob.core.windows.net/source?se=2023-05-31t19%3A24%3A45z\\u0026sig=REDACTED\\u0026sp=rl\\u0026spr=https\\u0026sr=c\\u0026st=2022-05-31t11%3A24%3A45z\\u0026sv=2020-08-04 https://azuritereplacement.blob.core.windows.net/sink?se=2023-05-31t19%3A25%3A39z\\u0026sig=REDACTED\\u0026sp=rcwl\\u0026spr=https\\u0026sr=c\\u0026st=2022-05-31t11%3A25%3A39z\\u0026sv=2020-08-04 --delete-destination true --preserve-permissions \",\"StartTime\":1654077741463447000,\"JobStatus\":\"Completed\"},{\"JobId\":\"78227ebc-7e55-0a47-6981-1536c0b78b6b\",\"CommandString\":\"sync https://azuritereplacement.blob.core.windows.net/source?se=2023-05-31t19%3A24%3A45z\\u0026sig=REDACTED\\u0026sp=rl\\u0026spr=https\\u0026sr=c\\u0026st=2022-05-31t11%3A24%3A45z\\u0026sv=2020-08-04 https://azuritereplacement.blob.core.windows.net/sink?se=2023-05-31t19%3A25%3A39z\\u0026sig=REDACTED\\u0026sp=rcwl\\u0026spr=https\\u0026sr=c\\u0026st=2022-05-31t11%3A25%3A39z\\u0026sv=2020-08-04 --delete-destination true --preserve-permissions --log-level NONE \",\"StartTime\":1654077691968667000,\"JobStatus\":\"Completed\"},{\"JobId\":\"d8e5e86a-00f2-9147-7a33-6d807b2e5af9\",\"CommandString\":\"sync https://azuritereplacement.blob.core.windows.net/source?se=2023-05-31t19%3A24%3A45z\\u0026sig=REDACTED\\u0026sp=rl\\u0026spr=https\\u0026sr=c\\u0026st=2022-05-31t11%3A24%3A45z\\u0026sv=2020-08-04 https://azuritereplacement.blob.core.windows.net/sink?se=2023-05-31t19%3A25%3A39z\\u0026sig=REDACTED\\u0026sp=rcwl\\u0026spr=https\\u0026sr=c\\u0026st=2022-05-31t11%3A25%3A39z\\u0026sv=2020-08-04 --delete-destination true --preserve-permissions \",\"StartTime\":1654077667592650000,\"JobStatus\":\"Completed\"},{\"JobId\":\"dc8dd1d8-9159-8f4a-4ef9-664dc6f94480\",\"CommandString\":\"sync https://azuritereplacement.blob.core.windows.net/source?se=2023-05-31t19%3A24%3A45z\\u0026sig=REDACTED\\u0026sp=rl\\u0026spr=https\\u0026sr=c\\u0026st=2022-05-31t11%3A24%3A45z\\u0026sv=2020-08-04 https://azuritereplacement.blob.core.windows.net/sink?se=2023-05-31t19%3A25%3A39z\\u0026sig=REDACTED\\u0026sp=rcwl\\u0026spr=https\\u0026sr=c\\u0026st=2022-05-31t11%3A25%3A39z\\u0026sv=2020-08-04 --delete-destination true --preserve-permissions \",\"StartTime\":1654077536150650000,\"JobStatus\":\"Completed\"},{\"JobId\":\"3a66ba96-bb64-8d47-73ca-fded2b01588a\",\"CommandString\":\"sync https://azuritereplacement.blob.core.windows.net/source?se=2023-05-31t19%3A24%3A45z\\u0026sig=REDACTED\\u0026sp=rl\\u0026spr=https\\u0026sr=c\\u0026st=2022-05-31t11%3A24%3A45z\\u0026sv=2020-08-04 https://azuritereplacement.blob.core.windows.net/sink?se=2023-05-31t19%3A25%3A39z\\u0026sig=REDACTED\\u0026sp=rcwl\\u0026spr=https\\u0026sr=c\\u0026st=2022-05-31t11%3A25%3A39z\\u0026sv=2020-08-04 --delete-destination true --preserve-permissions --log-level NONE \",\"StartTime\":1654077515224586000,\"JobStatus\":\"Failed\"},{\"JobId\":\"34ac5a24-b72f-4246-48d4-805ef8dbdea4\",\"CommandString\":\"sync https://azuritereplacement.blob.core.windows.net/source?se=2023-05-31t19%3A24%3A45z\\u0026sig=REDACTED\\u0026sp=rl\\u0026spr=https\\u0026sr=c\\u0026st=2022-05-31t11%3A24%3A45z\\u0026sv=2020-08-04 https://azuritereplacement.blob.core.windows.net/sink?se=2023-05-31t19%3A25%3A39z\\u0026sig=REDACTED\\u0026sp=rcwl\\u0026spr=https\\u0026sr=c\\u0026st=2022-05-31t11%3A25%3A39z\\u0026sv=2020-08-04 --delete-destination true --preserve-permissions \",\"StartTime\":1654077445899291000,\"JobStatus\":\"Completed\"}]}",
"PromptDetails": {
"PromptType": "",
"ResponseOptions": null,
"PromptTarget": ""
}
} I really need to do a json decode on the |
Fixed in 10.16.0. |
Which version of the AzCopy was used?
10.15.0
Note: The version is visible when running AzCopy without any argument
Which platform are you using? (ex: Windows, Mac, Linux)
Windows
What command did you run?
azcopy.exe jobs list --output-type json
Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
What problem was encountered?
There is no output.
How can we reproduce the problem in the simplest way?
Run azcopy.exe jobs list --output-type json
Have you found a mitigation/solution?
It works fine in 10.14.1 - we have changed our build/release pipelines to forcefully use that version.
Link to static version is here if anyone else needs it:
https://azcopyvnext.azureedge.net/release20220315/azcopy_windows_amd64_10.14.1.zip
The text was updated successfully, but these errors were encountered: