{"action":"opened","issue":{"url":"https://api.github.com/repos/pplu/aws-sdk-perl/issues/87","repository_url":"https://api.github.com/repos/pplu/aws-sdk-perl","labels_url":"https://api.github.com/repos/pplu/aws-sdk-perl/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/pplu/aws-sdk-perl/issues/87/comments","events_url":"https://api.github.com/repos/pplu/aws-sdk-perl/issues/87/events","html_url":"https://github.com/pplu/aws-sdk-perl/issues/87","id":139058422,"number":87,"title":"Tests fail when AWS_DEFAULT_PROFILE is set","user":{"login":"ilmari","id":72175,"avatar_url":"https://avatars.githubusercontent.com/u/72175?v=3","gravatar_id":"","url":"https://api.github.com/users/ilmari","html_url":"https://github.com/ilmari","followers_url":"https://api.github.com/users/ilmari/followers","following_url":"https://api.github.com/users/ilmari/following{/other_user}","gists_url":"https://api.github.com/users/ilmari/gists{/gist_id}","starred_url":"https://api.github.com/users/ilmari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilmari/subscriptions","organizations_url":"https://api.github.com/users/ilmari/orgs","repos_url":"https://api.github.com/users/ilmari/repos","events_url":"https://api.github.com/users/ilmari/events{/privacy}","received_events_url":"https://api.github.com/users/ilmari/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-07T18:46:14Z","updated_at":"2016-03-07T18:46:14Z","closed_at":null,"body":"I've got `AWS_DEFAULT_PROFILE` set in my environment, and when I try to install Paws, I get the following test failure:\r\n```\r\nilmari@garkbit:~/.cpanm/work/1457376039.27776/Paws-0.21$ prove -bv t/04_credentials.t \r\nt/04_credentials.t .. \r\nok 1 - No creds when no ENV\r\nok 2 - Creds are set\r\nok 3 - Access Key boto style\r\nok 4 - Secret Key boto style\r\nok 5 - Creds are set\r\nok 6 - Access Key short style\r\nok 7 - Secret Key short style\r\nok 8 - Access Key 1\r\nok 9 - Secret Key 1\r\nok 10 - Token 1\r\nok 11 - Access Key 2\r\nok 12 - Secret Key 2\r\nok 13 - Token 2\r\nok 14 - Exception thrown when garbage arrives\r\nok 15 - No Creds for no Role\r\nok 16 - Creds are set\r\nok 17 - Access Key short style\r\nok 18 - Secret Key short style\r\nok 19 - No creds when no file is present\r\nok 20 - File: no credentials if no $HOME\r\nnot ok 21 - File: Attribute path works correctly\r\n\r\n#   Failed test 'File: Attribute path works correctly'\r\n#   at t/04_credentials.t line 112.\r\nUse of uninitialized value $got in string eq at (eval in cmp_ok) t/04_credentials.t line 113.\r\nnot ok 22 - File: default Access Key loaded correctly\r\n\r\n#   Failed test 'File: default Access Key loaded correctly'\r\n#   at t/04_credentials.t line 113.\r\n#          got: undef\r\n#     expected: 'defaultAK'\r\nUse of uninitialized value $got in string eq at (eval in cmp_ok) t/04_credentials.t line 114.\r\nnot ok 23 - File: default Secret Key loaded correctly\r\n\r\n#   Failed test 'File: default Secret Key loaded correctly'\r\n#   at t/04_credentials.t line 114.\r\n#          got: undef\r\n#     expected: 'defaultSK'\r\nok 24 - File: Attributes path and profile work correctly\r\nok 25 - File: named profile Access Key loaded correctly\r\nok 26 - File: named profile Secret Key loaded correctly\r\nnot ok 27 - File: credentials_file attribute works correctly\r\n\r\n#   Failed test 'File: credentials_file attribute works correctly'\r\n#   at t/04_credentials.t line 131.\r\nUse of uninitialized value $got in string eq at (eval in cmp_ok) t/04_credentials.t line 132.\r\nnot ok 28 - File: alternate Access Key loaded correctly\r\n\r\n#   Failed test 'File: alternate Access Key loaded correctly'\r\n#   at t/04_credentials.t line 132.\r\n#          got: undef\r\n#     expected: 'alternateAK'\r\nUse of uninitialized value $got in string eq at (eval in cmp_ok) t/04_credentials.t line 133.\r\nnot ok 29 - File: alternate Secret Key loaded correctly\r\n\r\n#   Failed test 'File: alternate Secret Key loaded correctly'\r\n#   at t/04_credentials.t line 133.\r\n#          got: undef\r\n#     expected: 'alternateSK'\r\nnot ok 30 - File: file_name attribute works correctly\r\n\r\n#   Failed test 'File: file_name attribute works correctly'\r\n#   at t/04_credentials.t line 141.\r\nUse of uninitialized value $got in string eq at (eval in cmp_ok) t/04_credentials.t line 142.\r\nnot ok 31 - File: alternate Access Key loaded correctly\r\n\r\n#   Failed test 'File: alternate Access Key loaded correctly'\r\n#   at t/04_credentials.t line 142.\r\n#          got: undef\r\n#     expected: 'alternateAK'\r\nUse of uninitialized value $got in string eq at (eval in cmp_ok) t/04_credentials.t line 143.\r\nnot ok 32 - File: alternate Secret Key loaded correctly\r\n\r\n#   Failed test 'File: alternate Secret Key loaded correctly'\r\n#   at t/04_credentials.t line 143.\r\n#          got: undef\r\n#     expected: 'alternateSK'\r\nok 33 - File: Attributes from environment variables\r\nok 34 - File: alternate using ENV variables Access Key loaded correctly\r\nok 35 - File: alternate using ENV variables Secret Key loaded correctly\r\nnot ok 36 - no (unexpected) warnings (via done_testing)\r\n1..36\r\n\r\n#   Failed test 'no (unexpected) warnings (via done_testing)'\r\n#   at t/04_credentials.t line 162.\r\n# Looks like you failed 10 tests of 36.\r\nDubious, test returned 10 (wstat 2560, 0xa00)\r\nFailed 10/36 subtests \r\n\r\nTest Summary Report\r\n-------------------\r\nt/04_credentials.t (Wstat: 2560 Tests: 36 Failed: 10)\r\n  Failed tests:  21-23, 27-32, 36\r\n  Non-zero exit status: 10\r\nFiles=1, Tests=36,  5 wallclock secs ( 0.03 usr  0.00 sys +  0.44 cusr  0.04 csys =  0.51 CPU)\r\nResult: FAIL\r\n```"}}