Skip to content
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

ERROR: for crapi-web Container "633939b7dda7" is unhealthy. #169

Closed
zhibx opened this issue Feb 3, 2023 · 0 comments
Closed

ERROR: for crapi-web Container "633939b7dda7" is unhealthy. #169

zhibx opened this issue Feb 3, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@zhibx
Copy link

zhibx commented Feb 3, 2023

Describe the bug

┌──(root㉿kali)-[/home/kali/car]
└─# VERSION=develop docker-compose -f docker-compose.yml --compatibility up -d
Creating network "car_default" with the default driver
Creating volume "car_mongodb-data" with default driver
Creating volume "car_postgresql-data" with default driver
Creating postgresdb ... done
Creating mongodb    ... done
Creating mailhog    ... done
Creating crapi-identity ... done
Creating crapi-community ... done
Creating crapi-workshop  ... done

ERROR: for crapi-web  Container "633939b7dda7" is unhealthy.
ERROR: Encountered errors while bringing up the project.
                                                                                                                 
┌──(root㉿kali)-[/home/kali/car]
└─# docker logs 633939b7dda7
Creating test database for alias 'default'...
Creating test database for alias 'mongodb'...
root         ERROR    /workshop/api/mechanic/signup - {'name': 'MechRaju', 'email': 'mechraju@crapi.com', 'mechanic_code': 'TRAC_MEC_3', 'number': '9123456708'} - 400 -{'password': [ErrorDetail(string='This field is required.', code='required')]}
django.request WARNING  Bad Request: /workshop/api/mechanic/signup
.django.request WARNING  Bad Request: /workshop/api/mechanic/signup
.django.request WARNING  Bad Request: /workshop/api/mechanic/signup
.django.request WARNING  Unauthorized: /workshop/api/mechanic/
django.request WARNING  Unauthorized: /workshop/api/mechanic/
.django.request WARNING  Unauthorized: /workshop/api/mechanic/
..root         ERROR    /workshop/api/merchant/contact_mechanic - {'mechanic_api': 'https://www.google.com', 'number_of_repeats': 5, 'mechanic_code': 'TRAC_MEC_3', 'vin': '9NFXO86WBWA082766', 'problem_details': 'My Car is not working'} - 400 -{'repeat_request_if_failed': [ErrorDetail(string='This field is required.', code='required')]}
django.request WARNING  Bad Request: /workshop/api/merchant/contact_mechanic
.root         INFO     Repeat count: 0
root         INFO     Repeat count: 1
root         INFO     Repeat count: 2
root         INFO     Repeat count: 3
root         INFO     Repeat count: 4
root         INFO     Repeat count: 5
django.request WARNING  Bad Request: /workshop/api/merchant/contact_mechanic
Fdjango.request ERROR    Service Unavailable: /workshop/api/merchant/contact_mechanic
..root         INFO     Repeat count: 0
root         INFO     Repeat count: 1
root         INFO     Repeat count: 2
root         INFO     Repeat count: 3
root         INFO     Repeat count: 4
root         INFO     Repeat count: 5
django.request WARNING  Not Found: /workshop/api/merchant/contact_mechanic
.django.request WARNING  Bad Request: /workshop/api/shop/apply_coupon
ProductTest  INFO     {'message': 'TRAC100 Coupon code is already claimed by you!! Please try with another coupon code'}
.root         ERROR    /workshop/api/shop/apply_coupon - {'coupon_code': 'TRAC105', 'amount': 75} - 400 -Coupon matching query does not exist.
django.request WARNING  Bad Request: /workshop/api/shop/apply_coupon
ProductTest  INFO     {'message': 'Coupon not found'}
.django.request WARNING  Bad Request: /workshop/api/shop/apply_coupon
ProductTest  INFO     {'message': '9123456708 Coupon code is already claimed by you!! Please try with another coupon code'}
.ProductTest  INFO     {'credit': 175.0, 'message': 'Coupon successfully applied!'}
This version of djongo does not support "NULL, NOT NULL column validation check" fully. Visit https://www.patreon.com/nesdis
This version of djongo does not support "schema validation using CONSTRAINT" fully. Visit https://www.patreon.com/nesdis
This version of djongo does not support "schema validation using KEY" fully. Visit https://www.patreon.com/nesdis
This version of djongo does not support "schema validation using REFERENCES" fully. Visit https://www.patreon.com/nesdis
This version of djongo does not support "COLUMN DROP NOT NULL " fully. Visit https://www.patreon.com/nesdis
This version of djongo does not support "DROP CASCADE" fully. Visit https://www.patreon.com/nesdis
System check identified no issues (0 silenced).
.
======================================================================
FAIL: test_contact_mechanic (app.crapi.merchant.tests.MerchantTestCase)
gives all correct field for contact mechanic
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/app/crapi/merchant/tests.py", line 134, in test_contact_mechanic
    self.assertEqual(res.status_code, 200)
AssertionError: 400 != 200

----------------------------------------------------------------------
Ran 15 tests in 148.608s

FAILED (failures=1)
Destroying test database for alias 'default'...
Destroying test database for alias 'mongodb'...

Runtime Environment
kali2022.03
Linux kali 6.0.0-kali5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.0.10-2kali1 (2022-12-06) x86_64 GNU/Linux

@zhibx zhibx added the bug Something isn't working label Feb 3, 2023
@zhibx zhibx closed this as completed Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant