[ 
https://issues.apache.org/jira/browse/HAWQ-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15825779#comment-15825779
 ] 

Ruilong Huo commented on HAWQ-1278:
-----------------------------------

Potential a curl issue on osx 10.12 with curl 7.51.0. While it is ok on osx 
10.10 ~ 11 with curl 7.43. To be specific, client does not receive response 
after sent http request to server.
{noformat}
 255 static int
 256 check_response(URL_FILE *file, int *rc, const char **response_string)
 257 {
......
 262
 263     /* get the response code from curl */
 264     if (curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &response_code) != 
CURLE_OK)
 265     {
 266         *rc = 500;
 267         *response_string = "curl_easy_getinfo failed";
 268         return -1;
 269     }
......
 277     if (! (200 <= response_code && response_code < 300))
 278     {
 279         if (response_code == 0)
 280         {
 281             long        oserrno = 0;
 282             static char connmsg[64];
 283
 284             /* get the os level errno, and string representation of it */
 285             if (curl_easy_getinfo(curl, CURLINFO_OS_ERRNO, &oserrno) == 
CURLE_OK)
 286             {
 287                 if (oserrno != 0)
 288                     snprintf(connmsg, sizeof connmsg, "error code = %d 
(%s)",
 289                              (int) oserrno, strerror((int)oserrno));
 290             }
 291
 292             ereport(ERROR, (errcode(ERRCODE_CONNECTION_FAILURE),
 293                             errmsg("connection with gpfdist failed for %s. 
"
 294                                     "effective url: %s. %s", file->url, 
effective_url,
 295                                     (oserrno != 0 ? connmsg : "")),
 296                             errOmitLocation(true)));
 297         }
{noformat}

> Investigate installcheck-good issue on Mac OSX
> ----------------------------------------------
>
>                 Key: HAWQ-1278
>                 URL: https://issues.apache.org/jira/browse/HAWQ-1278
>             Project: Apache HAWQ
>          Issue Type: Task
>          Components: Tests
>            Reporter: Ed Espino
>            Assignee: Ruilong Huo
>             Fix For: 2.1.0.0-incubating
>
>
> I am filing this as a place holder for the Mac OSX installcheck-good 
> investigation work.  Ming Li originally reported installcheck-good testing 
> issues with errtable and hcatalog_lookup test suites.
> This issue is not seen on CentOS 6 & 7 environments.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to