-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Missing 'attempts' & 'logStreamName' in response from client("batch").describe_job() #3719
Comments
Hi @yotam-tm - thanks for reaching out. I attempted to reproduce this on the latest boto3 version If you could share the debug logs, that would also be helpful to find the root cause and I will also reach out to service team regarding the response you received as well. Thanks again! |
Thank you for your reply. pasted here - since I cannot attach it response[jobs]: |
checking in if this's still an issue. I'm getting both |
By now, switching jobs, I currently do not use this platform. -- yotam
…On Wed, Jun 5, 2024 at 3:12 AM John L. ***@***.***> wrote:
checking in if this's still an issue. I'm getting both attempts and
logStreamName in my response with latest version. If still an issue, let
us know and we'd be happy to further look at it.
—
Reply to this email directly, view it on GitHub
<#3719 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADNCCCGODLVZVFJJHON4JZ3ZFZJYTAVCNFSM6AAAAAAYLWO55CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBYGYYDSNRVGU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
This issue is now closed. Comments on closed issues are hard for our team to see. |
Describe the bug
The boto3 documentation for client("batch").describe_job
specifies the the response should include:
...
'attempts': [
{
'container': {
'containerInstanceArn': 'string',
'taskArn': 'string',
'exitCode': 123,
'reason': 'string',
'logStreamName': 'string',
...
Alas, after successful AWS-batch run, with Associated log seen in CloudWatch logs Insight,
my query to client("batch").describe_job returned a response - listed below -
without 'attempts' and 'logStreamName' key entries.
response[jobs]:
{'arrayProperties': {'size': 2,
'statusSummary': {'FAILED': 0,
'PENDING': 0,
'RUNNABLE': 0,
'RUNNING': 0,
'STARTING': 0,
'SUBMITTED': 0,
'SUCCEEDED': 2}},
'attempts': [],
'container': {'command': ['python3',
'-m',
'CICD.aws_batch.batch_job.batch_job_wrapper',
'--batch-id',
'ym3585',
'--jenkins-job-name',
'tactile-processor_system_test_manual_aws_batch',
'--build-number',
'26',
'--sqs-url',
'https://sqs.eu-central-1.amazonaws.com/050744003022/tp_main_systest_ym3585',
'--',
'CICD/SystemTest/system_test_suites_runner.py',
'--build-number',
'26'],
'environment': [],
'image': '050744003022.dkr.ecr.eu-central-1.amazonaws.com/tp-batch-sys-test:commit_2f32b8a4d7',
'mountPoints': [],
'networkInterfaces': [],
'resourceRequirements': [{'type': 'VCPU', 'value': '2'},
{'type': 'MEMORY', 'value': '16000'}],
'secrets': [],
'ulimits': [],
'volumes': []},
'createdAt': 1684670204855,
'dependsOn': [],
'eksAttempts': [],
'jobArn': 'arn:aws:batch:eu-central-1:050744003022:job/3f1d723f-2d63-44c1-a820-56f2cc905a7b',
'jobDefinition': 'arn:aws:batch:eu-central-1:050744003022:job-definition/ym3585_job_def:48',
'jobId': '3f1d723f-2d63-44c1-a820-56f2cc905a7b',
'jobName': 'ym3585_26',
'jobQueue': 'arn:aws:batch:eu-central-1:050744003022:job-queue/tp_sys_tests_queue',
'parameters': {},
'platformCapabilities': ['EC2'],
'propagateTags': False,
'status': 'SUCCEEDED',
'tags': {'Name': 'ym3585_26'},
'timeout': {'attemptDurationSeconds': 3600}}
Expected Behavior
client("batch").describe_job([batch Job Id]) returns response with
'attempts' and 'logStreamName' key entries.
Current Behavior
client("batch").describe_job([batch Job Id]) returns response without
'attempts' and 'logStreamName' key entries.
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
SDK version used
boto3.version: '1.26.76'
Environment details (OS name and version, etc.)
GNU/Linux Ubuntu 22.04
The text was updated successfully, but these errors were encountered: