{"action":"created","issue":{"url":"https://api.github.com/repos/OData/WebApi/issues/188","labels_url":"https://api.github.com/repos/OData/WebApi/issues/188/labels{/name}","comments_url":"https://api.github.com/repos/OData/WebApi/issues/188/comments","events_url":"https://api.github.com/repos/OData/WebApi/issues/188/events","html_url":"https://github.com/OData/WebApi/issues/188","id":54405744,"number":188,"title":"e2e: Make test [SingletonTest::NotCountable] work on the CI","user":{"login":"xuzhg","id":9426627,"avatar_url":"https://avatars.githubusercontent.com/u/9426627?v=3","gravatar_id":"","url":"https://api.github.com/users/xuzhg","html_url":"https://github.com/xuzhg","followers_url":"https://api.github.com/users/xuzhg/followers","following_url":"https://api.github.com/users/xuzhg/following{/other_user}","gists_url":"https://api.github.com/users/xuzhg/gists{/gist_id}","starred_url":"https://api.github.com/users/xuzhg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuzhg/subscriptions","organizations_url":"https://api.github.com/users/xuzhg/orgs","repos_url":"https://api.github.com/users/xuzhg/repos","events_url":"https://api.github.com/users/xuzhg/events{/privacy}","received_events_url":"https://api.github.com/users/xuzhg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OData/WebApi/labels/1:%20Backlog","name":"1: Backlog","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":{"login":"xuzhg","id":9426627,"avatar_url":"https://avatars.githubusercontent.com/u/9426627?v=3","gravatar_id":"","url":"https://api.github.com/users/xuzhg","html_url":"https://github.com/xuzhg","followers_url":"https://api.github.com/users/xuzhg/followers","following_url":"https://api.github.com/users/xuzhg/following{/other_user}","gists_url":"https://api.github.com/users/xuzhg/gists{/gist_id}","starred_url":"https://api.github.com/users/xuzhg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuzhg/subscriptions","organizations_url":"https://api.github.com/users/xuzhg/orgs","repos_url":"https://api.github.com/users/xuzhg/repos","events_url":"https://api.github.com/users/xuzhg/events{/privacy}","received_events_url":"https://api.github.com/users/xuzhg/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/OData/WebApi/milestones/8","html_url":"https://github.com/OData/WebApi/milestones/v5.7","labels_url":"https://api.github.com/repos/OData/WebApi/milestones/8/labels","id":932690,"number":8,"title":"v5.7","description":"","creator":{"login":"LianwMS","id":9375712,"avatar_url":"https://avatars.githubusercontent.com/u/9375712?v=3","gravatar_id":"","url":"https://api.github.com/users/LianwMS","html_url":"https://github.com/LianwMS","followers_url":"https://api.github.com/users/LianwMS/followers","following_url":"https://api.github.com/users/LianwMS/following{/other_user}","gists_url":"https://api.github.com/users/LianwMS/gists{/gist_id}","starred_url":"https://api.github.com/users/LianwMS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LianwMS/subscriptions","organizations_url":"https://api.github.com/users/LianwMS/orgs","repos_url":"https://api.github.com/users/LianwMS/repos","events_url":"https://api.github.com/users/LianwMS/events{/privacy}","received_events_url":"https://api.github.com/users/LianwMS/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":27,"state":"open","created_at":"2015-01-13T01:18:43Z","updated_at":"2015-07-02T05:30:10Z","due_on":"2015-07-09T16:00:00Z","closed_at":null},"comments":1,"created_at":"2015-01-15T02:37:04Z","updated_at":"2015-07-02T05:30:10Z","closed_at":"2015-07-02T05:30:10Z","body":"[Theory]\r\n[InlineData(\"expCon/Umbrella/Partners/$count\")]\r\n[InlineData(\"conCon/Umbrella/Partners/$count\")]\r\npublic async Task NotCountable(string url)\r\n{\r\n...\r\n}\r\nCan pass in develop environment. But it seems it failed in CI. Below is the output. Please make it work. \r\n\r\n  WebStack.QA.Test.OData.Singleton.SingletonTest.NotCountable(url: \"conCon/Umbrella/Partners/$count\") [Katana-Self-Host Trace:<NULL>] : The response code is incorrect, expanded: 400, but actually: InternalServerError, request url: http://ODTESTVM01:9248/conCon/Umbrella/Partners/$count, response: { \"error\":{ \"code\":\"\",\"message\":\"An error has occurred.\",\"innererror\":{ \"message\":\"Value cannot be null.\\r\\nParameter name: graph\",\"type\":\"System.ArgumentNullException\",\"stacktrace\":\" at System.Web.OData.Formatter.Serialization.ODataRawValueSerializer.WriteObject(Object graph, Type type, ODataMessageWriter messageWriter, ODataSerializerContext writeContext) in d:\\\\ci\\\\Alpha\\\\product\\\\OData\\\\src\\\\System.Web.OData\\\\OData\\\\Formatter\\\\Serialization\\\\ODataRawValueSerializer.cs:line 27\\r\\n at System.Web.OData.Formatter.ODataMediaTypeFormatter.WriteToStream(Type type, Object value, Stream writeStream, HttpContent content, HttpContentHeaders contentHeaders) in d:\\\\ci\\\\Alpha\\\\product\\\\OData\\\\src\\\\System.Web.OData\\\\OData\\\\Formatter\\\\ODataMediaTypeFormatter.cs:line 533\\r\\n at System.Web.OData.Formatter.ODataMediaTypeFormatter.WriteToStreamAsync(Type type, Object value, Stream writeStream, HttpContent content, TransportContext transportContext, CancellationToken cancellationToken) in d:\\\\ci\\\\Alpha\\\\product\\\\OData\\\\src\\\\System.Web.OData\\\\OData\\\\Formatter\\\\ODataMediaTypeFormatter.cs:line 454\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\\r\\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n at System.Web.Http.Owin.HttpMessageHandlerAdapter.<BufferResponseContentAsync>d__13.MoveNext()\" } } }.\r\n\r\n   at WebStack.QA.Test.OData.Singleton.SingletonTest.<NotCountable>d__7.MoveNext() in d:\\ci\\Alpha\\test\\src\\WebStack.QA.Test.OData\\Singleton\\SingletonTest.cs:line 930.035s✘  WebStack.QA.Test.OData.Singleton.SingletonTest.NotCountable(url: \"conCon/Umbrella/Partners/$count\") [Katana-Self-Host Trace:<NULL>] : The response code is incorrect, expanded: 400, but actually: InternalServerError, request url: http://ODTESTVM01:9249/conCon/Umbrella/Partners/$count, response: { \"error\":{ \"code\":\"\",\"message\":\"An error has occurred.\",\"innererror\":{ \"message\":\"Value cannot be null.\\r\\nParameter name: graph\",\"type\":\"System.ArgumentNullException\",\"stacktrace\":\" at System.Web.OData.Formatter.Serialization.ODataRawValueSerializer.WriteObject(Object graph, Type type, ODataMessageWriter messageWriter, ODataSerializerContext writeContext) in d:\\\\ci\\\\Alpha\\\\product\\\\OData\\\\src\\\\System.Web.OData\\\\OData\\\\Formatter\\\\Serialization\\\\ODataRawValueSerializer.cs:line 27\\r\\n at System.Web.OData.Formatter.ODataMediaTypeFormatter.WriteToStream(Type type, Object value, Stream writeStream, HttpContent content, HttpContentHeaders contentHeaders) in d:\\\\ci\\\\Alpha\\\\product\\\\OData\\\\src\\\\System.Web.OData\\\\OData\\\\Formatter\\\\ODataMediaTypeFormatter.cs:line 533\\r\\n at System.Web.OData.Formatter.ODataMediaTypeFormatter.WriteToStreamAsync(Type type, Object value, Stream writeStream, HttpContent content, TransportContext transportContext, CancellationToken cancellationToken) in d:\\\\ci\\\\Alpha\\\\product\\\\OData\\\\src\\\\System.Web.OData\\\\OData\\\\Formatter\\\\ODataMediaTypeFormatter.cs:line 454\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\\r\\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n at System.Web.Http.Owin.HttpMessageHandlerAdapter.<BufferResponseContentAsync>d__13.MoveNext()\" } } }.\r\n\r\n   at WebStack.QA.Test.OData.Singleton.SingletonTest.<NotCountable>d__7.MoveNext() in d:\\ci\\Alpha\\test\\src\\WebStack.QA.Test.OData\\Singleton\\SingletonTest.cs:line 930.003s✘  WebStack.QA.Test.OData.Singleton.SingletonTest.NotCountable(url: \"expCon/Umbrella/Partners/$count\") [Katana-Self-Host Trace:<NULL>] : The response code is incorrect, expanded: 400, but actually: InternalServerError, request url: http://ODTESTVM01:9248/expCon/Umbrella/Partners/$count, response: { \"error\":{ \"code\":\"\",\"message\":\"An error has occurred.\",\"innererror\":{ \"message\":\"Value cannot be null.\\r\\nParameter name: graph\",\"type\":\"System.ArgumentNullException\",\"stacktrace\":\" at System.Web.OData.Formatter.Serialization.ODataRawValueSerializer.WriteObject(Object graph, Type type, ODataMessageWriter messageWriter, ODataSerializerContext writeContext) in d:\\\\ci\\\\Alpha\\\\product\\\\OData\\\\src\\\\System.Web.OData\\\\OData\\\\Formatter\\\\Serialization\\\\ODataRawValueSerializer.cs:line 27\\r\\n at System.Web.OData.Formatter.ODataMediaTypeFormatter.WriteToStream(Type type, Object value, Stream writeStream, HttpContent content, HttpContentHeaders contentHeaders) in d:\\\\ci\\\\Alpha\\\\product\\\\OData\\\\src\\\\System.Web.OData\\\\OData\\\\Formatter\\\\ODataMediaTypeFormatter.cs:line 533\\r\\n at System.Web.OData.Formatter.ODataMediaTypeFormatter.WriteToStreamAsync(Type type, Object value, Stream writeStream, HttpContent content, TransportContext transportContext, CancellationToken cancellationToken) in d:\\\\ci\\\\Alpha\\\\product\\\\OData\\\\src\\\\System.Web.OData\\\\OData\\\\Formatter\\\\ODataMediaTypeFormatter.cs:line 454\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\\r\\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n at System.Web.Http.Owin.HttpMessageHandlerAdapter.<BufferResponseContentAsync>d__13.MoveNext()\" } } }.\r\n\r\n   at WebStack.QA.Test.OData.Singleton.SingletonTest.<NotCountable>d__7.MoveNext() in d:\\ci\\Alpha\\test\\src\\WebStack.QA.Test.OData\\Singleton\\SingletonTest.cs:line 930.003s✘  WebStack.QA.Test.OData.Singleton.SingletonTest.NotCountable(url: \"expCon/Umbrella/Partners/$count\") [Katana-Self-Host Trace:<NULL>] : The response code is incorrect, expanded: 400, but actually: InternalServerError, request url: http://ODTESTVM01:9249/expCon/Umbrella/Partners/$count, response: { \"error\":{ \"code\":\"\",\"message\":\"An error has occurred.\",\"innererror\":{ \"message\":\"Value cannot be null.\\r\\nParameter name: graph\",\"type\":\"System.ArgumentNullException\",\"stacktrace\":\" at System.Web.OData.Formatter.Serialization.ODataRawValueSerializer.WriteObject(Object graph, Type type, ODataMessageWriter messageWriter, ODataSerializerContext writeContext) in d:\\\\ci\\\\Alpha\\\\product\\\\OData\\\\src\\\\System.Web.OData\\\\OData\\\\Formatter\\\\Serialization\\\\ODataRawValueSerializer.cs:line 27\\r\\n at System.Web.OData.Formatter.ODataMediaTypeFormatter.WriteToStream(Type type, Object value, Stream writeStream, HttpContent content, HttpContentHeaders contentHeaders) in d:\\\\ci\\\\Alpha\\\\product\\\\OData\\\\src\\\\System.Web.OData\\\\OData\\\\Formatter\\\\ODataMediaTypeFormatter.cs:line 533\\r\\n at System.Web.OData.Formatter.ODataMediaTypeFormatter.WriteToStreamAsync(Type type, Object value, Stream writeStream, HttpContent content, TransportContext transportContext, CancellationToken cancellationToken) in d:\\\\ci\\\\Alpha\\\\product\\\\OData\\\\src\\\\System.Web.OData\\\\OData\\\\Formatter\\\\ODataMediaTypeFormatter.cs:line 454\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\\r\\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n at System.Web.Http.Owin.HttpMessageHandlerAdapter.<BufferResponseContentAsync>d__13.MoveNext()\" } } }."},"comment":{"url":"https://api.github.com/repos/OData/WebApi/issues/comments/117911412","html_url":"https://github.com/OData/WebApi/issues/188#issuecomment-117911412","issue_url":"https://api.github.com/repos/OData/WebApi/issues/188","id":117911412,"user":{"login":"xuzhg","id":9426627,"avatar_url":"https://avatars.githubusercontent.com/u/9426627?v=3","gravatar_id":"","url":"https://api.github.com/users/xuzhg","html_url":"https://github.com/xuzhg","followers_url":"https://api.github.com/users/xuzhg/followers","following_url":"https://api.github.com/users/xuzhg/following{/other_user}","gists_url":"https://api.github.com/users/xuzhg/gists{/gist_id}","starred_url":"https://api.github.com/users/xuzhg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuzhg/subscriptions","organizations_url":"https://api.github.com/users/xuzhg/orgs","repos_url":"https://api.github.com/users/xuzhg/repos","events_url":"https://api.github.com/users/xuzhg/events{/privacy}","received_events_url":"https://api.github.com/users/xuzhg/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T05:30:10Z","updated_at":"2015-07-02T05:30:10Z","body":"Enabled. Thanks."}}