{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixops/issues/970","repository_url":"https://api.github.com/repos/NixOS/nixops","labels_url":"https://api.github.com/repos/NixOS/nixops/issues/970/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixops/issues/970/comments","events_url":"https://api.github.com/repos/NixOS/nixops/issues/970/events","html_url":"https://github.com/NixOS/nixops/issues/970","id":332504574,"node_id":"MDU6SXNzdWUzMzI1MDQ1NzQ=","number":970,"title":"tests.functional.test_ec2_rds_dbinstance not working","user":{"login":"srghma","id":7573215,"node_id":"MDQ6VXNlcjc1NzMyMTU=","avatar_url":"https://avatars2.githubusercontent.com/u/7573215?v=4","gravatar_id":"","url":"https://api.github.com/users/srghma","html_url":"https://github.com/srghma","followers_url":"https://api.github.com/users/srghma/followers","following_url":"https://api.github.com/users/srghma/following{/other_user}","gists_url":"https://api.github.com/users/srghma/gists{/gist_id}","starred_url":"https://api.github.com/users/srghma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srghma/subscriptions","organizations_url":"https://api.github.com/users/srghma/orgs","repos_url":"https://api.github.com/users/srghma/repos","events_url":"https://api.github.com/users/srghma/events{/privacy}","received_events_url":"https://api.github.com/users/srghma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-14T17:58:30Z","updated_at":"2018-06-15T20:13:34Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"on 3b2751e997a245ea5fff6917ee62f51384bce197\r\n\r\n```\r\n[nix-shell:~/projects/nixops]$ python2 tests.py tests.functional.test_ec2_rds_dbinstance -vv\r\nnose.config: INFO: Ignoring files matching ['^\\\\.', '^_', '^setup\\\\.py$']\r\nnose.config: INFO: Excluding tests matching ['^coverage-tests\\\\.py$']\r\nnose.selector: INFO: /home/srghma/projects/nixops/dev-shell is executable; skipped\r\nnose.selector: INFO: /home/srghma/projects/nixops/nixops/resources/vpc.py is executable; skipped\r\nnose.selector: INFO: /home/srghma/projects/nixops/coverage-tests.py is executable; skipped\r\nnose.config: INFO: Ignoring files matching ['^\\\\.', '^_', '^setup\\\\.py$']\r\nnose.config: INFO: Excluding tests matching ['^coverage-tests\\\\.py$']\r\ntests.functional.test_ec2_rds_dbinstance.TestEc2RdsDbinstanceTest.test_deploy ... test-rds-instance> creating RDS database instance ‘myOtherDatabaseIsAFilesystem’ (this may take a while)...\r\nERROR\r\ntests.functional.test_ec2_rds_dbinstance.TestEc2RdsDbinstanceTest.test_deploy_with_sg ... test-rds-sg......> creating RDS security group test-nixops\r\ntest-rds-sg......> adding new rules to RDS security group test-nixops ...\r\nERROR\r\ntest-rds-sg......> destroying rds db security group test-nixops\r\ndeployment ‘5526dc19-6ffc-11e8-9508-0242e29a5450’ destroyed\r\ndeployment ‘5b0ce5de-6ffc-11e8-b444-0242e29a5450’ destroyed\r\n\r\n======================================================================\r\nERROR: tests.functional.test_ec2_rds_dbinstance.TestEc2RdsDbinstanceTest.test_deploy\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/nix/store/qyqsfqjpksrvaa387yk4y5bgxnslfyx8-python2.7-nose-1.3.7/lib/python2.7/site-packages/nose/case.py\", line 197, in runTest\r\n    self.test(*self.arg)\r\n  File \"/home/srghma/projects/nixops/tests/functional/test_ec2_rds_dbinstance.py\", line 20, in test_deploy\r\n    self.depl.deploy()\r\n  File \"/home/srghma/projects/nixops/nixops/deployment.py\", line 1051, in deploy\r\n    self.run_with_notify('deploy', lambda: self._deploy(**kwargs))\r\n  File \"/home/srghma/projects/nixops/nixops/deployment.py\", line 1040, in run_with_notify\r\n    f()\r\n  File \"/home/srghma/projects/nixops/nixops/deployment.py\", line 1051, in <lambda>\r\n    self.run_with_notify('deploy', lambda: self._deploy(**kwargs))\r\n  File \"/home/srghma/projects/nixops/nixops/deployment.py\", line 984, in _deploy\r\n    nixops.parallel.run_tasks(nr_workers=-1, tasks=self.active_resources.itervalues(), worker_fun=worker)\r\n  File \"/home/srghma/projects/nixops/nixops/parallel.py\", line 44, in thread_fun\r\n    result_queue.put((worker_fun(t), None, t.name))\r\n  File \"/home/srghma/projects/nixops/nixops/deployment.py\", line 957, in worker\r\n    r.create(self.definitions[r.name], check=check, allow_reboot=allow_reboot, allow_recreate=allow_recreate)\r\n  File \"/home/srghma/projects/nixops/nixops/resources/ec2_rds_dbinstance.py\", line 263, in create\r\n    security_groups=security_groups)\r\n  File \"/nix/store/2hq8fnyf3b17id6ycx22f0irjsgjsm1h-python2.7-boto-2.47.0/lib/python2.7/site-packages/boto/rds/__init__.py\", line 456, in create_dbinstance\r\n    return self.get_object('CreateDBInstance', params, DBInstance)\r\n  File \"/nix/store/2hq8fnyf3b17id6ycx22f0irjsgjsm1h-python2.7-boto-2.47.0/lib/python2.7/site-packages/boto/connection.py\", line 1208, in get_object\r\n    raise self.ResponseError(response.status, response.reason, body)\r\nBotoServerError: BotoServerError: 400 Bad Request\r\n<ErrorResponse xmlns=\"http://rds.amazonaws.com/doc/2013-05-15/\">\r\n  <Error>\r\n    <Type>Sender</Type>\r\n    <Code>InvalidParameterCombination</Code>\r\n    <Message>DB Security Groups can only be associated with VPC DB Instances using API versions 2012-01-15 through 2012-09-17.</Message>\r\n  </Error>\r\n  <RequestId>fc29f45d-8933-4e49-ab42-fe8805631020</RequestId>\r\n</ErrorResponse>\r\n\r\n-------------------- >> begin captured logging << --------------------\r\nboto: DEBUG: Using access key provided by client.\r\nboto: DEBUG: Using secret key provided by client.\r\nboto: DEBUG: Method: GET\r\nboto: DEBUG: Path: /\r\nboto: DEBUG: Data:\r\nboto: DEBUG: Headers: {}\r\nboto: DEBUG: Host: rds.amazonaws.com\r\nboto: DEBUG: Port: 443\r\nboto: DEBUG: Params: {'Action': 'DescribeDBInstances', 'Version': '2013-05-15', 'DBInstanceIdentifier': 'myOtherDatabaseIsAFilesystem'}\r\nboto: DEBUG: establishing HTTPS connection: host=rds.amazonaws.com, kwargs={'port': 443, 'timeout': 70}\r\nboto: DEBUG: Token: None\r\nboto: DEBUG: CanonicalRequest:\r\nGET\r\n/\r\nAction=DescribeDBInstances&DBInstanceIdentifier=myOtherDatabaseIsAFilesystem&Version=2013-05-15\r\nhost:rds.amazonaws.com\r\nx-amz-date:20180614T175658Z\r\n\r\nhost;x-amz-date\r\ne3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\r\nboto: DEBUG: StringToSign:\r\nAWS4-HMAC-SHA256\r\n20180614T175658Z\r\n20180614/us-east-1/rds/aws4_request\r\ne3574459ff61c6351a4273d48f46a7d1105eeee63ea24081d39db9b9af5cef59\r\nboto: DEBUG: Signature:\r\ne38e96da7f256a11e47deaaddd68ae11c9ea3567bef371159958e0d984f13891\r\nboto: DEBUG: Final headers: {'Content-Length': '0', 'Host': 'rds.amazonaws.com', 'Authorization': u'AWS4-HMAC-SHA256 Credential=AKIAJVB4VLGNAL4BKTYQ/20180614/us-east-1/rds/aws4_request,SignedHeaders=host;x-amz-date,Signature=e38e96da7f256a11e47deaaddd68ae11c9ea3567bef371159958e0d984f13891', 'X-Amz-Date': '20180614T175658Z', 'User-Agent': 'Boto/2.47.0 Python/2.7.15 Linux/4.14.48'}\r\nboto: DEBUG: wrapping ssl socket; CA certificate file=/nix/store/2hq8fnyf3b17id6ycx22f0irjsgjsm1h-python2.7-boto-2.47.0/lib/python2.7/site-packages/boto/cacerts/cacerts.txt\r\nboto: DEBUG: validating server certificate: hostname=rds.amazonaws.com, certificate hosts=['rds.us-east-1.amazonaws.com', 'us-east-1.rds.amazonaws.com', 'rds.amazonaws.com', 'rds-fips.us-east-1.amazonaws.com']\r\nboto: DEBUG: Response headers: [('x-amzn-requestid', 'd087df37-4148-477e-8d0e-bb2eed500e0e'), ('date', 'Thu, 14 Jun 2018 17:57:02 GMT'), ('content-length', '299'), ('content-type', 'text/xml')]\r\nboto: DEBUG: <ErrorResponse xmlns=\"http://rds.amazonaws.com/doc/2013-05-15/\">\r\n  <Error>\r\n    <Type>Sender</Type>\r\n    <Code>DBInstanceNotFound</Code>\r\n    <Message>DBInstance myOtherDatabaseIsAFilesystem not found.</Message>\r\n  </Error>\r\n  <RequestId>d087df37-4148-477e-8d0e-bb2eed500e0e</RequestId>\r\n</ErrorResponse>\r\n\r\nboto: ERROR: 404 Not Found\r\nboto: ERROR: <ErrorResponse xmlns=\"http://rds.amazonaws.com/doc/2013-05-15/\">\r\n  <Error>\r\n    <Type>Sender</Type>\r\n    <Code>DBInstanceNotFound</Code>\r\n    <Message>DBInstance myOtherDatabaseIsAFilesystem not found.</Message>\r\n  </Error>\r\n  <RequestId>d087df37-4148-477e-8d0e-bb2eed500e0e</RequestId>\r\n</ErrorResponse>\r\n\r\nboto: DEBUG: Method: GET\r\nboto: DEBUG: Path: /\r\nboto: DEBUG: Data:\r\nboto: DEBUG: Headers: {}\r\nboto: DEBUG: Host: rds.amazonaws.com\r\nboto: DEBUG: Port: 443\r\nboto: DEBUG: Params: {'Engine': 'postgres', 'MasterUsername': 'administrator', 'MasterUserPassword': 'testing123', 'AutoMinorVersionUpgrade': 'true', 'DBSecurityGroups.member.1': 'default', 'Version': '2013-05-15', 'AllocatedStorage': 30, 'Action': 'CreateDBInstance', 'DBInstanceClass': 'db.r3.large', 'Port': 5432, 'DBName': 'helloDarling', 'DBInstanceIdentifier': 'myOtherDatabaseIsAFilesystem'}\r\nboto: DEBUG: Token: None\r\nboto: DEBUG: CanonicalRequest:\r\nGET\r\n/\r\nAction=CreateDBInstance&AllocatedStorage=30&AutoMinorVersionUpgrade=true&DBInstanceClass=db.r3.large&DBInstanceIdentifier=myOtherDatabaseIsAFilesystem&DBName=helloDarling&DBSecurityGroups.member.1=default&Engine=postgres&MasterUserPassword=testing123&MasterUsername=administrator&Port=5432&Version=2013-05-15\r\nhost:rds.amazonaws.com\r\nx-amz-date:20180614T175707Z\r\n\r\nhost;x-amz-date\r\ne3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\r\nboto: DEBUG: StringToSign:\r\nAWS4-HMAC-SHA256\r\n20180614T175707Z\r\n20180614/us-east-1/rds/aws4_request\r\n8b98be7a524f6cb37ff667bad8a22be7c26ae469343b6261df216c5b1122701b\r\nboto: DEBUG: Signature:\r\nac93a63363030727659bcc3bea5eb6376f501d679763a09afc5c6f6eb376cc06\r\nboto: DEBUG: Final headers: {'Content-Length': '0', 'Host': 'rds.amazonaws.com', 'Authorization': u'AWS4-HMAC-SHA256 Credential=AKIAJVB4VLGNAL4BKTYQ/20180614/us-east-1/rds/aws4_request,SignedHeaders=host;x-amz-date,Signature=ac93a63363030727659bcc3bea5eb6376f501d679763a09afc5c6f6eb376cc06', 'X-Amz-Date': '20180614T175707Z', 'User-Agent': 'Boto/2.47.0 Python/2.7.15 Linux/4.14.48'}\r\nboto: DEBUG: Response headers: [('x-amzn-requestid', 'fc29f45d-8933-4e49-ab42-fe8805631020'), ('date', 'Thu, 14 Jun 2018 17:57:07 GMT'), ('content-length', '371'), ('content-type', 'text/xml'), ('connection', 'close')]\r\nboto: DEBUG: <ErrorResponse xmlns=\"http://rds.amazonaws.com/doc/2013-05-15/\">\r\n  <Error>\r\n    <Type>Sender</Type>\r\n    <Code>InvalidParameterCombination</Code>\r\n    <Message>DB Security Groups can only be associated with VPC DB Instances using API versions 2012-01-15 through 2012-09-17.</Message>\r\n  </Error>\r\n  <RequestId>fc29f45d-8933-4e49-ab42-fe8805631020</RequestId>\r\n</ErrorResponse>\r\n\r\nboto: ERROR: 400 Bad Request\r\nboto: ERROR: <ErrorResponse xmlns=\"http://rds.amazonaws.com/doc/2013-05-15/\">\r\n  <Error>\r\n    <Type>Sender</Type>\r\n    <Code>InvalidParameterCombination</Code>\r\n    <Message>DB Security Groups can only be associated with VPC DB Instances using API versions 2012-01-15 through 2012-09-17.</Message>\r\n  </Error>\r\n  <RequestId>fc29f45d-8933-4e49-ab42-fe8805631020</RequestId>\r\n</ErrorResponse>\r\n\r\n--------------------- >> end captured logging << ---------------------\r\n\r\n======================================================================\r\nERROR: tests.functional.test_ec2_rds_dbinstance.TestEc2RdsDbinstanceTest.test_deploy_with_sg\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/nix/store/qyqsfqjpksrvaa387yk4y5bgxnslfyx8-python2.7-nose-1.3.7/lib/python2.7/site-packages/nose/case.py\", line 197, in runTest\r\n    self.test(*self.arg)\r\n  File \"/home/srghma/projects/nixops/tests/functional/test_ec2_rds_dbinstance.py\", line 24, in test_deploy_with_sg\r\n    self.depl.deploy()\r\n  File \"/home/srghma/projects/nixops/nixops/deployment.py\", line 1051, in deploy\r\n    self.run_with_notify('deploy', lambda: self._deploy(**kwargs))\r\n  File \"/home/srghma/projects/nixops/nixops/deployment.py\", line 1040, in run_with_notify\r\n    f()\r\n  File \"/home/srghma/projects/nixops/nixops/deployment.py\", line 1051, in <lambda>\r\n    self.run_with_notify('deploy', lambda: self._deploy(**kwargs))\r\n  File \"/home/srghma/projects/nixops/nixops/deployment.py\", line 984, in _deploy\r\n    nixops.parallel.run_tasks(nr_workers=-1, tasks=self.active_resources.itervalues(), worker_fun=worker)\r\n  File \"/home/srghma/projects/nixops/nixops/parallel.py\", line 44, in thread_fun\r\n    result_queue.put((worker_fun(t), None, t.name))\r\n  File \"/home/srghma/projects/nixops/nixops/deployment.py\", line 957, in worker\r\n    r.create(self.definitions[r.name], check=check, allow_reboot=allow_reboot, allow_recreate=allow_recreate)\r\n  File \"/home/srghma/projects/nixops/nixops/resources/__init__.py\", line 211, in create\r\n    handler.handle(allow_recreate)\r\n  File \"/home/srghma/projects/nixops/nixops/resources/ec2_rds_dbsecurity_group.py\", line 129, in realize_rules_change\r\n    self.get_client(\"rds\").authorize_db_security_group_ingress(**kwargs)\r\n  File \"/nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/client.py\", line 324, in _api_call\r\n    return self._make_api_call(operation_name, kwargs)\r\n  File \"/nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/client.py\", line 622, in _make_api_call\r\n    raise error_class(parsed_response, operation_name)\r\nClientError: An error occurred (InvalidParameterValue) when calling the AuthorizeDBSecurityGroupIngress operation: VPC DB Security Groups cannot be modified with this API version.  Please use an API version between 2012-01-15 and 2012-10-31 to modify this group.\r\n-------------------- >> begin captured logging << --------------------\r\nbotocore.session: DEBUG: Loading variable profile from defaults.\r\nbotocore.session: DEBUG: Loading variable config_file from defaults.\r\nbotocore.session: DEBUG: Loading variable credentials_file from defaults.\r\nbotocore.session: DEBUG: Loading variable data_path from defaults.\r\nbotocore.session: DEBUG: Loading variable profile from defaults.\r\nbotocore.session: DEBUG: Loading variable ca_bundle from defaults.\r\nbotocore.session: DEBUG: Loading variable profile from defaults.\r\nbotocore.session: DEBUG: Loading variable api_versions from defaults.\r\nbotocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/endpoints.json\r\nbotocore.session: DEBUG: Loading variable profile from defaults.\r\nbotocore.hooks: DEBUG: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7fb395029050>\r\nbotocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/rds/2014-10-31/service-2.json\r\nbotocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/rds/2014-10-31/service-2.sdk-extras.json\r\nbotocore.hooks: DEBUG: Event creating-client-class.rds: calling handler <function add_generate_db_auth_token at 0x7fb395073c80>\r\nbotocore.hooks: DEBUG: Event creating-client-class.rds: calling handler <function add_generate_presigned_url at 0x7fb395075488>\r\nbotocore.args: DEBUG: The s3 config key is not a dictionary type, ignoring its value of: None\r\nbotocore.endpoint: DEBUG: Setting rds timeout as (60, 60)\r\nbotocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/_retry.json\r\nbotocore.client: DEBUG: Registering retry handlers for service: rds\r\nbotocore.hooks: DEBUG: Event before-parameter-build.rds.CreateDBSecurityGroup: calling handler <function generate_idempotent_uuid at 0x7fb3950292a8>\r\nbotocore.endpoint: DEBUG: Making request for OperationModel(name=CreateDBSecurityGroup) (verify_ssl=True) with params: {'body': {'Action': u'CreateDBSecurityGroup', 'Version': u'2014-10-31', 'DBSecurityGroupDescription': 'testing sg for rds', 'DBSecurityGroupName': 'test-nixops'}, 'url': u'https://rds.amazonaws.com/', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.4.8 Python/2.7.15 Linux/4.14.48 Botocore/1.8.45'}, 'context': {'auth_type': None, 'client_region': u'us-east-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x7fb38ad63ad0>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}\r\nbotocore.hooks: DEBUG: Event request-created.rds.CreateDBSecurityGroup: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7fb38ad639d0>>\r\nbotocore.hooks: DEBUG: Event choose-signer.rds.CreateDBSecurityGroup: calling handler <function set_operation_specific_signer at 0x7fb3950291b8>\r\nbotocore.auth: DEBUG: Calculating signature using v4 auth.\r\nbotocore.auth: DEBUG: CanonicalRequest:\r\nPOST\r\n/\r\n\r\ncontent-type:application/x-www-form-urlencoded; charset=utf-8\r\nhost:rds.amazonaws.com\r\nx-amz-date:20180614T175708Z\r\n\r\ncontent-type;host;x-amz-date\r\nd5b0ac6b6864a971b5b0a9cfec98cd4a17d7a30ff20ff06ec5203dd345442e51\r\nbotocore.auth: DEBUG: StringToSign:\r\nAWS4-HMAC-SHA256\r\n20180614T175708Z\r\n20180614/us-east-1/rds/aws4_request\r\nfe633fc56e845a22cf145a01802a6541d397ace0a9f3db049e9de49019785e51\r\nbotocore.auth: DEBUG: Signature:\r\n31df4c4e130f94ec75d5e3581a43d551db97c9ea301d667fa9bdb394a879b84a\r\nbotocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>\r\nbotocore.vendored.requests.packages.urllib3.connectionpool: INFO: Starting new HTTPS connection (1): rds.amazonaws.com\r\nbotocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: \"POST / HTTP/1.1\" 200 692\r\nbotocore.parsers: DEBUG: Response headers: {'x-amzn-requestid': '9fdf52e5-3c29-46a7-b059-afbd0f253876', 'date': 'Thu, 14 Jun 2018 17:57:09 GMT', 'content-length': '692', 'content-type': 'text/xml'}\r\nbotocore.parsers: DEBUG: Response body:\r\n<CreateDBSecurityGroupResponse xmlns=\"http://rds.amazonaws.com/doc/2014-10-31/\">\r\n  <CreateDBSecurityGroupResult>\r\n    <DBSecurityGroup>\r\n      <DBSecurityGroupName>test-nixops</DBSecurityGroupName>\r\n      <DBSecurityGroupArn>arn:aws:rds:us-east-1:749780939545:secgrp:test-nixops</DBSecurityGroupArn>\r\n      <VpcId>vpc-5ea64a3a</VpcId>\r\n      <IPRanges/>\r\n      <EC2SecurityGroups/>\r\n      <DBSecurityGroupDescription>testing sg for rds</DBSecurityGroupDescription>\r\n      <OwnerId>749780939545</OwnerId>\r\n    </DBSecurityGroup>\r\n  </CreateDBSecurityGroupResult>\r\n  <ResponseMetadata>\r\n    <RequestId>9fdf52e5-3c29-46a7-b059-afbd0f253876</RequestId>\r\n  </ResponseMetadata>\r\n</CreateDBSecurityGroupResponse>\r\n\r\nbotocore.hooks: DEBUG: Event needs-retry.rds.CreateDBSecurityGroup: calling handler <botocore.retryhandler.RetryHandler object at 0x7fb38ad14c10>\r\nbotocore.retryhandler: DEBUG: No retry needed.\r\nbotocore.hooks: DEBUG: Event before-parameter-build.rds.AuthorizeDBSecurityGroupIngress: calling handler <function generate_idempotent_uuid at 0x7fb3950292a8>\r\nbotocore.endpoint: DEBUG: Making request for OperationModel(name=AuthorizeDBSecurityGroupIngress) (verify_ssl=True) with params: {'body': {'Action': u'AuthorizeDBSecurityGroupIngress', 'Version': u'2014-10-31', 'DBSecurityGroupName': u'test-nixops', 'CIDRIP': '0.0.0.0/0'}, 'url': u'https://rds.amazonaws.com/', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.4.8 Python/2.7.15 Linux/4.14.48 Botocore/1.8.45'}, 'context': {'auth_type': None, 'client_region': u'us-east-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x7fb38ad63ad0>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}\r\nbotocore.hooks: DEBUG: Event request-created.rds.AuthorizeDBSecurityGroupIngress: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7fb38ad639d0>>\r\nbotocore.hooks: DEBUG: Event choose-signer.rds.AuthorizeDBSecurityGroupIngress: calling handler <function set_operation_specific_signer at 0x7fb3950291b8>\r\nbotocore.auth: DEBUG: Calculating signature using v4 auth.\r\nbotocore.auth: DEBUG: CanonicalRequest:\r\nPOST\r\n/\r\n\r\ncontent-type:application/x-www-form-urlencoded; charset=utf-8\r\nhost:rds.amazonaws.com\r\nx-amz-date:20180614T175710Z\r\n\r\ncontent-type;host;x-amz-date\r\n15953ab0282b4f2888771727ad4ab8430f3af0c9f6b9d01ff8a3aa8fb6dbca7f\r\nbotocore.auth: DEBUG: StringToSign:\r\nAWS4-HMAC-SHA256\r\n20180614T175710Z\r\n20180614/us-east-1/rds/aws4_request\r\n2a6cf81f6aee403cd34626e0ddc5f3c85ce51e52b50209a5eadcdf5abc19ccdb\r\nbotocore.auth: DEBUG: Signature:\r\n88ed9a7e87454b853a85f17ed0b93e896d10eca4c5cbd85b73cca990153a5450\r\nbotocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>\r\nbotocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: \"POST / HTTP/1.1\" 400 399\r\nbotocore.parsers: DEBUG: Response headers: {'x-amzn-requestid': 'e47c8c07-f02b-4cb2-a610-90eeb58c4892', 'date': 'Thu, 14 Jun 2018 17:57:09 GMT', 'content-length': '399', 'content-type': 'text/xml', 'connection': 'close'}\r\nbotocore.parsers: DEBUG: Response body:\r\n<ErrorResponse xmlns=\"http://rds.amazonaws.com/doc/2014-10-31/\">\r\n  <Error>\r\n    <Type>Sender</Type>\r\n    <Code>InvalidParameterValue</Code>\r\n    <Message>VPC DB Security Groups cannot be modified with this API version.  Please use an API version between 2012-01-15 and 2012-10-31 to modify this group.</Message>\r\n  </Error>\r\n  <RequestId>e47c8c07-f02b-4cb2-a610-90eeb58c4892</RequestId>\r\n</ErrorResponse>\r\n\r\nbotocore.hooks: DEBUG: Event needs-retry.rds.AuthorizeDBSecurityGroupIngress: calling handler <botocore.retryhandler.RetryHandler object at 0x7fb38ad14c10>\r\nbotocore.retryhandler: DEBUG: No retry needed.\r\n--------------------- >> end captured logging << ---------------------\r\n\r\n----------------------------------------------------------------------\r\nRan 2 tests in 13.286s\r\n\r\nFAILED (errors=2)\r\n```"},"comment":{"url":"https://api.github.com/repos/NixOS/nixops/issues/comments/397730041","html_url":"https://github.com/NixOS/nixops/issues/970#issuecomment-397730041","issue_url":"https://api.github.com/repos/NixOS/nixops/issues/970","id":397730041,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzczMDA0MQ==","user":{"login":"srghma","id":7573215,"node_id":"MDQ6VXNlcjc1NzMyMTU=","avatar_url":"https://avatars2.githubusercontent.com/u/7573215?v=4","gravatar_id":"","url":"https://api.github.com/users/srghma","html_url":"https://github.com/srghma","followers_url":"https://api.github.com/users/srghma/followers","following_url":"https://api.github.com/users/srghma/following{/other_user}","gists_url":"https://api.github.com/users/srghma/gists{/gist_id}","starred_url":"https://api.github.com/users/srghma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srghma/subscriptions","organizations_url":"https://api.github.com/users/srghma/orgs","repos_url":"https://api.github.com/users/srghma/repos","events_url":"https://api.github.com/users/srghma/events{/privacy}","received_events_url":"https://api.github.com/users/srghma/received_events","type":"User","site_admin":false},"created_at":"2018-06-15T20:13:34Z","updated_at":"2018-06-15T20:13:34Z","author_association":"CONTRIBUTOR","body":"```\r\n[nix-shell:~/projects/nixops]$ python2 tests.py tests.functional.test_ec2_rds_dbinstance -vv\r\nnose.config: INFO: Ignoring files matching ['^\\\\.', '^_', '^setup\\\\.py$']\r\nnose.config: INFO: Excluding tests matching ['^coverage-tests\\\\.py$']\r\nnose.selector: INFO: /home/srghma/projects/nixops/dev-shell is executable; skipped\r\nnose.selector: INFO: /home/srghma/projects/nixops/coverage-tests.py is executable; skipped\r\nnose.config: INFO: Ignoring files matching ['^\\\\.', '^_', '^setup\\\\.py$']\r\nnose.config: INFO: Excluding tests matching ['^coverage-tests\\\\.py$']\r\ntests.functional.test_ec2_rds_dbinstance.test_ec2_rds_dbinstance('nixops', ('sg', ['/home/srghma/projects/nixops/tests/functional/test_ec2_rds_dbinstance/ec2-rds-dbinstance-with-sg.nix'])) ... test-rds-sg......> creating RDS security group nixops-test-rds-sg\r\ntest-rds-sg......> adding new rules to RDS security group nixops-test-rds-sg ...\r\ntest-rds-sg......> destroying rds db security group nixops-test-rds-sg\r\ndeployment ‘748363ba-70d8-11e8-8e8f-0242dcf5351c’ destroyed\r\nERROR\r\n\r\n======================================================================\r\nERROR: tests.functional.test_ec2_rds_dbinstance.test_ec2_rds_dbinstance('nixops', ('sg', ['/home/srghma/projects/nixops/tests/functional/test_ec2_rds_dbinstance/ec2-rds-dbinstance-with-sg.nix']))\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/nix/store/qyqsfqjpksrvaa387yk4y5bgxnslfyx8-python2.7-nose-1.3.7/lib/python2.7/site-packages/nose/case.py\", line 197, in runTest\r\n    self.test(*self.arg)\r\n  File \"/nix/store/kwq9a1bjhc3w1672khipz85qrwpxj5lv-python2.7-parameterized-0.6.1/lib/python2.7/site-packages/parameterized/parameterized.py\", line 280, in <lambda>\r\n    nose_func = wraps(func)(lambda *args: func(*args))\r\n  File \"/home/srghma/projects/nixops/tests/functional/test_ec2_rds_dbinstance/__init__.py\", line 44, in test_ec2_rds_dbinstance\r\n    deployment.deploy()\r\n  File \"/home/srghma/projects/nixops/nixops/deployment.py\", line 989, in deploy\r\n    self.run_with_notify('deploy', lambda: self._deploy(**kwargs))\r\n  File \"/home/srghma/projects/nixops/nixops/deployment.py\", line 978, in run_with_notify\r\n    f()\r\n  File \"/home/srghma/projects/nixops/nixops/deployment.py\", line 989, in <lambda>\r\n    self.run_with_notify('deploy', lambda: self._deploy(**kwargs))\r\n  File \"/home/srghma/projects/nixops/nixops/deployment.py\", line 922, in _deploy\r\n    nixops.parallel.run_tasks(nr_workers=-1, tasks=self.active_resources.itervalues(), worker_fun=worker)\r\n  File \"/home/srghma/projects/nixops/nixops/parallel.py\", line 44, in thread_fun\r\n    result_queue.put((worker_fun(t), None, t.name))\r\n  File \"/home/srghma/projects/nixops/nixops/deployment.py\", line 895, in worker\r\n    r.create(self.definitions[r.name], check=check, allow_reboot=allow_reboot, allow_recreate=allow_recreate)\r\n  File \"/home/srghma/projects/nixops/nixops/resources/__init__.py\", line 198, in create\r\n    handler.handle(allow_recreate)\r\n  File \"/home/srghma/projects/nixops/nixops/resources/ec2_rds_dbsecurity_group.py\", line 129, in realize_rules_change\r\n    self.get_client(\"rds\").authorize_db_security_group_ingress(**kwargs)\r\n  File \"/nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/client.py\", line 324, in _api_call\r\n    return self._make_api_call(operation_name, kwargs)\r\n  File \"/nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/client.py\", line 622, in _make_api_call\r\n    raise error_class(parsed_response, operation_name)\r\nClientError: An error occurred (InvalidParameterValue) when calling the AuthorizeDBSecurityGroupIngress operation: VPC DB Security Groups cannot be modified with this API version.  Please use an API version between 2012-01-15 and 2012-10-31 to modify this group.\r\n-------------------- >> begin captured logging << --------------------\r\nbotocore.session: DEBUG: Loading variable profile from defaults.\r\nbotocore.session: DEBUG: Loading variable config_file from defaults.\r\nbotocore.session: DEBUG: Loading variable credentials_file from defaults.\r\nbotocore.session: DEBUG: Loading variable data_path from defaults.\r\nbotocore.session: DEBUG: Loading variable profile from defaults.\r\nbotocore.session: DEBUG: Loading variable ca_bundle from defaults.\r\nbotocore.session: DEBUG: Loading variable profile from defaults.\r\nbotocore.session: DEBUG: Loading variable api_versions from defaults.\r\nbotocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/endpoints.json\r\nbotocore.session: DEBUG: Loading variable profile from defaults.\r\nbotocore.hooks: DEBUG: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f652f4e3f50>\r\nbotocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/rds/2014-10-31/service-2.json\r\nbotocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/rds/2014-10-31/service-2.sdk-extras.json\r\nbotocore.hooks: DEBUG: Event creating-client-class.rds: calling handler <function add_generate_db_auth_token at 0x7f652f4acc08>\r\nbotocore.hooks: DEBUG: Event creating-client-class.rds: calling handler <function add_generate_presigned_url at 0x7f652f4b1410>\r\nbotocore.args: DEBUG: The s3 config key is not a dictionary type, ignoring its value of: None\r\nbotocore.endpoint: DEBUG: Setting rds timeout as (60, 60)\r\nbotocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/_retry.json\r\nbotocore.client: DEBUG: Registering retry handlers for service: rds\r\nbotocore.hooks: DEBUG: Event before-parameter-build.rds.CreateDBSecurityGroup: calling handler <function generate_idempotent_uuid at 0x7f652f46b230>\r\nbotocore.endpoint: DEBUG: Making request for OperationModel(name=CreateDBSecurityGroup) (verify_ssl=True) with params: {'body': {'Action': u'CreateDBSecurityGroup', 'Version': u'2014-10-31', 'DBSecurityGroupDescription': 'testing sg for rds', 'DBSecurityGroupName': 'nixops-test-rds-sg'}, 'url': u'https://rds.amazonaws.com/', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.4.8 Python/2.7.15 Linux/4.14.48 Botocore/1.8.45'}, 'context': {'auth_type': None, 'client_region': u'us-east-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x7f6524d80590>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}\r\nbotocore.hooks: DEBUG: Event request-created.rds.CreateDBSecurityGroup: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f6524d80490>>\r\nbotocore.hooks: DEBUG: Event choose-signer.rds.CreateDBSecurityGroup: calling handler <function set_operation_specific_signer at 0x7f652f46b140>\r\nbotocore.auth: DEBUG: Calculating signature using v4 auth.\r\nbotocore.auth: DEBUG: CanonicalRequest:\r\nPOST\r\n/\r\n\r\ncontent-type:application/x-www-form-urlencoded; charset=utf-8\r\nhost:rds.amazonaws.com\r\nx-amz-date:20180615T201240Z\r\n\r\ncontent-type;host;x-amz-date\r\na10c1b1449d70e83643fc8bcb9f8ec994262d0c7751300e6076e08c62566ebd2\r\nbotocore.auth: DEBUG: StringToSign:\r\nAWS4-HMAC-SHA256\r\n20180615T201240Z\r\n20180615/us-east-1/rds/aws4_request\r\ndae08cd038ad028dc31207ea4a469ee206dd0bba4642dd3ea0db1117e91df883\r\nbotocore.auth: DEBUG: Signature:\r\n0b3a7776d23d6061fe139a36061186383e663754f13f97f3e022e211b38c427a\r\nbotocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>\r\nbotocore.vendored.requests.packages.urllib3.connectionpool: INFO: Starting new HTTPS connection (1): rds.amazonaws.com\r\nbotocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: \"POST / HTTP/1.1\" 200 706\r\nbotocore.parsers: DEBUG: Response headers: {'x-amzn-requestid': '3fadc135-22c7-4025-b07d-eb6480de244b', 'date': 'Fri, 15 Jun 2018 20:12:41 GMT', 'content-length': '706', 'content-type': 'text/xml'}\r\nbotocore.parsers: DEBUG: Response body:\r\n<CreateDBSecurityGroupResponse xmlns=\"http://rds.amazonaws.com/doc/2014-10-31/\">\r\n  <CreateDBSecurityGroupResult>\r\n    <DBSecurityGroup>\r\n      <DBSecurityGroupName>nixops-test-rds-sg</DBSecurityGroupName>\r\n      <VpcId>vpc-5ea64a3a</VpcId>\r\n      <DBSecurityGroupArn>arn:aws:rds:us-east-1:749780939545:secgrp:nixops-test-rds-sg</DBSecurityGroupArn>\r\n      <IPRanges/>\r\n      <EC2SecurityGroups/>\r\n      <DBSecurityGroupDescription>testing sg for rds</DBSecurityGroupDescription>\r\n      <OwnerId>749780939545</OwnerId>\r\n    </DBSecurityGroup>\r\n  </CreateDBSecurityGroupResult>\r\n  <ResponseMetadata>\r\n    <RequestId>3fadc135-22c7-4025-b07d-eb6480de244b</RequestId>\r\n  </ResponseMetadata>\r\n</CreateDBSecurityGroupResponse>\r\n\r\nbotocore.hooks: DEBUG: Event needs-retry.rds.CreateDBSecurityGroup: calling handler <botocore.retryhandler.RetryHandler object at 0x7f6524d556d0>\r\nbotocore.retryhandler: DEBUG: No retry needed.\r\nbotocore.hooks: DEBUG: Event before-parameter-build.rds.AuthorizeDBSecurityGroupIngress: calling handler <function generate_idempotent_uuid at 0x7f652f46b230>\r\nbotocore.endpoint: DEBUG: Making request for OperationModel(name=AuthorizeDBSecurityGroupIngress) (verify_ssl=True) with params: {'body': {'Action': u'AuthorizeDBSecurityGroupIngress', 'Version': u'2014-10-31', 'DBSecurityGroupName': u'nixops-test-rds-sg', 'CIDRIP': '0.0.0.0/0'}, 'url': u'https://rds.amazonaws.com/', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.4.8 Python/2.7.15 Linux/4.14.48 Botocore/1.8.45'}, 'context': {'auth_type': None, 'client_region': u'us-east-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x7f6524d80590>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}\r\nbotocore.hooks: DEBUG: Event request-created.rds.AuthorizeDBSecurityGroupIngress: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f6524d80490>>\r\nbotocore.hooks: DEBUG: Event choose-signer.rds.AuthorizeDBSecurityGroupIngress: calling handler <function set_operation_specific_signer at 0x7f652f46b140>\r\nbotocore.auth: DEBUG: Calculating signature using v4 auth.\r\nbotocore.auth: DEBUG: CanonicalRequest:\r\nPOST\r\n/\r\n\r\ncontent-type:application/x-www-form-urlencoded; charset=utf-8\r\nhost:rds.amazonaws.com\r\nx-amz-date:20180615T201241Z\r\n\r\ncontent-type;host;x-amz-date\r\ncb4b739e07677d27dc4fb023c98f56146295ee00fa54630e6006beb9dcf504ec\r\nbotocore.auth: DEBUG: StringToSign:\r\nAWS4-HMAC-SHA256\r\n20180615T201241Z\r\n20180615/us-east-1/rds/aws4_request\r\n2767a0dd729aa9c1e813f8b7d5c1b54205d6d94b4a0aa08b1d13ecfa295bbc16\r\nbotocore.auth: DEBUG: Signature:\r\n5a8e278a86f34130faf8f7f5ba072796684258a26f85a20b17eeb4f31ef57bc9\r\nbotocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>\r\nbotocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: \"POST / HTTP/1.1\" 400 399\r\nbotocore.parsers: DEBUG: Response headers: {'x-amzn-requestid': 'ba772be8-f825-4b60-beee-c5887deee8f2', 'date': 'Fri, 15 Jun 2018 20:12:41 GMT', 'content-length': '399', 'content-type': 'text/xml', 'connection': 'close'}\r\nbotocore.parsers: DEBUG: Response body:\r\n<ErrorResponse xmlns=\"http://rds.amazonaws.com/doc/2014-10-31/\">\r\n  <Error>\r\n    <Type>Sender</Type>\r\n    <Code>InvalidParameterValue</Code>\r\n    <Message>VPC DB Security Groups cannot be modified with this API version.  Please use an API version between 2012-01-15 and 2012-10-31 to modify this group.</Message>\r\n  </Error>\r\n  <RequestId>ba772be8-f825-4b60-beee-c5887deee8f2</RequestId>\r\n</ErrorResponse>\r\n\r\nbotocore.hooks: DEBUG: Event needs-retry.rds.AuthorizeDBSecurityGroupIngress: calling handler <botocore.retryhandler.RetryHandler object at 0x7f6524d556d0>\r\nbotocore.retryhandler: DEBUG: No retry needed.\r\nbotocore.session: DEBUG: Loading variable profile from defaults.\r\nbotocore.session: DEBUG: Loading variable config_file from defaults.\r\nbotocore.session: DEBUG: Loading variable credentials_file from defaults.\r\nbotocore.session: DEBUG: Loading variable data_path from defaults.\r\nbotocore.session: DEBUG: Loading variable profile from defaults.\r\nbotocore.session: DEBUG: Loading variable ca_bundle from defaults.\r\nbotocore.session: DEBUG: Loading variable profile from defaults.\r\nbotocore.session: DEBUG: Loading variable api_versions from defaults.\r\nbotocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/endpoints.json\r\nbotocore.session: DEBUG: Loading variable profile from defaults.\r\nbotocore.hooks: DEBUG: Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f652f4e3f50>\r\nbotocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/rds/2014-10-31/service-2.json\r\nbotocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/rds/2014-10-31/service-2.sdk-extras.json\r\nbotocore.hooks: DEBUG: Event creating-client-class.rds: calling handler <function add_generate_db_auth_token at 0x7f652f4acc08>\r\nbotocore.hooks: DEBUG: Event creating-client-class.rds: calling handler <function add_generate_presigned_url at 0x7f652f4b1410>\r\nbotocore.args: DEBUG: The s3 config key is not a dictionary type, ignoring its value of: None\r\nbotocore.endpoint: DEBUG: Setting rds timeout as (60, 60)\r\nbotocore.loaders: DEBUG: Loading JSON file: /nix/store/vnb5k436gay2awy2xrg64n0z4v3zrir5-python2.7-botocore-1.8.45/lib/python2.7/site-packages/botocore/data/_retry.json\r\nbotocore.client: DEBUG: Registering retry handlers for service: rds\r\nbotocore.hooks: DEBUG: Event before-parameter-build.rds.DeleteDBSecurityGroup: calling handler <function generate_idempotent_uuid at 0x7f652f46b230>\r\nbotocore.endpoint: DEBUG: Making request for OperationModel(name=DeleteDBSecurityGroup) (verify_ssl=True) with params: {'body': {'Action': u'DeleteDBSecurityGroup', 'Version': u'2014-10-31', 'DBSecurityGroupName': u'nixops-test-rds-sg'}, 'url': u'https://rds.amazonaws.com/', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.4.8 Python/2.7.15 Linux/4.14.48 Botocore/1.8.45'}, 'context': {'auth_type': None, 'client_region': u'us-east-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x7f6530d10ed0>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}\r\nbotocore.hooks: DEBUG: Event request-created.rds.DeleteDBSecurityGroup: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f6530d10c50>>\r\nbotocore.hooks: DEBUG: Event choose-signer.rds.DeleteDBSecurityGroup: calling handler <function set_operation_specific_signer at 0x7f652f46b140>\r\nbotocore.auth: DEBUG: Calculating signature using v4 auth.\r\nbotocore.auth: DEBUG: CanonicalRequest:\r\nPOST\r\n/\r\n\r\ncontent-type:application/x-www-form-urlencoded; charset=utf-8\r\nhost:rds.amazonaws.com\r\nx-amz-date:20180615T201242Z\r\n\r\ncontent-type;host;x-amz-date\r\n223d0e2e822b9f035b2b6ca1986687e181559eaa1c9e2d28196029f34b47df5c\r\nbotocore.auth: DEBUG: StringToSign:\r\nAWS4-HMAC-SHA256\r\n20180615T201242Z\r\n20180615/us-east-1/rds/aws4_request\r\n826e53a2cdfdbef098ea387dba7d8847717f95cf12d51ba931df41fa0bba09fc\r\nbotocore.auth: DEBUG: Signature:\r\n760ca377fdb1af1f7eb22f137df9e9bce2bed5dc285f5f4a32821d936a0c0bd5\r\nbotocore.endpoint: DEBUG: Sending http request: <PreparedRequest [POST]>\r\nbotocore.vendored.requests.packages.urllib3.connectionpool: INFO: Starting new HTTPS connection (1): rds.amazonaws.com\r\nbotocore.vendored.requests.packages.urllib3.connectionpool: DEBUG: \"POST / HTTP/1.1\" 200 221\r\nbotocore.parsers: DEBUG: Response headers: {'x-amzn-requestid': '56917150-c2b4-40af-ab98-39bfe793a85a', 'date': 'Fri, 15 Jun 2018 20:12:42 GMT', 'content-length': '221', 'content-type': 'text/xml'}\r\nbotocore.parsers: DEBUG: Response body:\r\n<DeleteDBSecurityGroupResponse xmlns=\"http://rds.amazonaws.com/doc/2014-10-31/\">\r\n  <ResponseMetadata>\r\n    <RequestId>56917150-c2b4-40af-ab98-39bfe793a85a</RequestId>\r\n  </ResponseMetadata>\r\n</DeleteDBSecurityGroupResponse>\r\n\r\nbotocore.hooks: DEBUG: Event needs-retry.rds.DeleteDBSecurityGroup: calling handler <botocore.retryhandler.RetryHandler object at 0x7f6525ffda10>\r\nbotocore.retryhandler: DEBUG: No retry needed.\r\n--------------------- >> end captured logging << ---------------------\r\n\r\n----------------------------------------------------------------------\r\nRan 1 test in 2.842s\r\n\r\nFAILED (errors=1)\r\n\r\n\r\n```"}}
{"actor":{"display_login":"srghma"}}