dotnet / dotnet/wcf

CoreWCF Integration - WCF Test Failures using SelfHostedCoreWCFService

Open
#5,765 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.8k
Forks
576
Avg merge
6d 9h
Merged PRs (30d)
2

Description

**Describe the bug**
A task list of WCF Test Failures using CoreWCF services - SelfHostedCoreWCFService.

- [ ] Binding.ReliableSession.IntegrationTests: 15 tests - Missing implementation 
- [ ] Binding.WS.FederationHttp.IntegrationTests: 3 tests - Missing implementation 
- [x] Binding.WS.TransportWithMessageCredentialSecurity.IntegrationTests: 14 tests  - 13 tests are fixed in CoreWCF 1.7.0 package  
- [ ] Client.ChannelLayer.IntegrationTests: 
- [ ] DuplexChannelWithSynchronizationContext.SingleThreadedSyncContext_AmbientCapture 
- [ ] DuplexChannelWithSynchronizationContext.SingleThreadedSyncContext_CallbackUsingDefaultSyncCtx_SyncCallNotBlocked 
- [ ] DuplexChannelWithSynchronizationContext.SingleThreadedSyncContext_SetOnInstanceContext 
- [x] RequestReplyChannelShapeTests.IRequestChannel_Https_NetHttpsBinding  - Fixed in CoreWCF 1.7.0 package  
- [ ] Client.ClientBase.IntegrationTests: 
- [ ] DuplexClientBaseTests.DuplexClientBaseOfT_OverNetTcp_Synchronous_Call 
- [ ] ClientBaseTests.DefaultSettings_SetCookieOnServerSide  - Failed on Linux only 
- [ ] Client.ExpectedExceptions.IntegrationTests: 
- [ ] ExpectedExceptionTests.DuplexCallbackDebugBehavior_IncludeExceptionDetailInFaults_True 
- [x] ExpectedExceptionTests.ServiceRestart_Throws_CommunicationException 
- [x] ExpectedExceptionTests.TCP_ServiceCertExpired_Throw_MessageSecurityException 
- [x] ExpectedExceptionTests.TCP_ServiceCertInvalidEKU_Throw_SecurityNegotiationException 
- [x] ExpectedExceptionTests.TCP_ServiceCertRevoked_Throw_SecurityNegotiationException 
- [x] ExpectedExceptionTests.UnknownUrl_Throws_ProtocolException 
- [x] ExpectedExceptionTests.UnexpectedException_Throws_FaultException  - Failed on Linux only 
- [ ] Contract.Data.IntegrationTests: 
- [ ] DataContractTests.NetTcpBinding_DuplexCallback_ReturnsDataContractComplexType 
- [ ] DataContractTests.NetTcpBinding_DuplexCallback_ReturnsXmlComplexType 
- [x] Extensibility.MessageEncoder.IntegrationTests: 
- [x] TextTests.CustomTextMessageEncoder_Http_RequestReply_Buffered 
- [x] TextTests.CustomTextMessageEncoder_Http_RequestReply_Streamed 
- [ ] Extensibility.WebSockets.IntegrationTests: 
- [x] WebSocketTests.WebSocket_Http_VerifyWebSocketsUsed 
- [ ] WebSocketTests.WebSocket_Http_WSTransportUsageAlways_DuplexCallback_GuidRoundtrip 
- [ ] WebSocketTests.WebSocket_Http_WSTransportUsageDefault_DuplexCallback_GuidRoundtrip 
- [ ] WebSocketTests.WebSocket_WSScheme_WSTransportUsageAlways_DuplexCallback_GuidRoundtrip 
- [x] WebSocket_Http_RequestReply_Streamed - Failed on Linux only
- [x] WebSocketTests.WebSocket_Http_RequestReply_Buffered_KeepAlive  - Failed on Linux only 
- [x] WebSocketTests.WebSocket_Https_RequestReply_Buffered_KeepAlive - Failed on Linux only 
- [x] WebSocketTests.WebSocket_Http_RequestReply_Buffered - Failed on Linux only 
- [x] WebSocketTests.WebSocket_Https_RequestReply_Buffered - Failed on Linux only 
- [x] Client.TypedClient.IntegrationTests: 
- [x] TypedProxyTests.ServiceContract_TypedProxy_Task_Call_AsyncLocal_NonCapture  - Failed on Windows Pipeline, but passes locally. Error: OperationContextExtension should have been collected.
- [ ] Security.TransportSecurity.IntegrationTests: 
- [ ] Http_ClientCredentialTypeTests.IntegratedWindowsAuthentication_Negotiate_RoundTrips_Echo 
- [ ] Http_ClientCredentialTypeTests.WindowsAuthentication_RoundTrips_Echo 
- [ ] Https_ClientCredentialTypeTests.DigestAuthentication_RoundTrips_Echo 
- [ ] Https_ClientCredentialTypeTests.IntegratedWindowsAuthentication_Ntlm_RoundTrips_Echo 
- [ ] Https_ClientCredentialTypeTests.NtlmAuthentication_RoundTrips_Echo 
- [ ] HttpsTests.WebSocket_RequestReply_CertificateCredentials 
- [ ] HttpsTests.WebSocket_ServerCertificateValidation 
- [ ] NegotiateStream_Http_Tests.NegotiateStream_Http_AmbientCredentials 
- [ ] NegotiateStream_Http_Tests.NegotiateStream_Http_With_ExplicitSpn 
- [ ] NegotiateStream_Http_Tests.NegotiateStream_Http_With_ExplicitUserNameAndPassword 
- [ ] NegotiateStream_Http_Tests.NegotiateStream_Http_With_ExplicitUserNameAndPassword_With_Spn 
- [ ] NegotiateStream_Http_Tests.NegotiateStream_Http_With_ExplicitUserNameAndPasswordForNet50 
- [ ] NegotiateStream_Tcp_Tests.NegotiateStream_Tcp_With_ExplicitUserNameAndPassword 
- [ ] NegotiateStream_Tcp_Tests.NegotiateStream_Tcp_With_ExplicitUserNameAndPassword_With_Spn 
- [ ] NegotiateStream_Tcp_Tests.NegotiateStream_Tcp_With_ExplicitUserNameAndPassword_With_Upn 
- [ ] Tcp_ClientCredentialTypeCertificateCanonicalNameTests.Certificate_With_CanonicalName_DomainName_Address_EchoString 
- [ ] Tcp_ClientCredentialTypeCertificateCanonicalNameTests.Certificate_With_CanonicalName_Fqdn_Address_EchoString 
- [x] Tcp_ClientCredentialTypeTests.NetTcp_SecModeTrans_CertValMode_PeerTrust_Succeeds_In_TrustedPeople 
- [ ] Tcp_ClientCredentialTypeTests.NetTcp_SecModeTrans_Duplex_Callback_Succeeds 
- [x] Tcp_ClientCredentialTypeCertificateCanonicalNameTests.Certificate_With_CanonicalName_Localhost_Address_EchoString - Failed on Linux only 
- [x] HttpsTests.Https_SecModeTrans_CertValMode_ChainTrust_Succeeds_ChainTrusted  - Failed on Linux only 
- [x] HttpsTests.Https_SecModeTrans_CertValMode_PeerOrChainTrust_Succeeds_ChainTrusted  - Failed on Linux only 
- [x] Tcp_ClientCredentialTypeTests.NetTcp_SecModeTrans_CertValMode_PeerOrChainTrust_Succeeds_ChainTrusted  - Failed on Linux only 

Contributor guide

Open the contributing guide

Research direction

Start with the SelfHostedCoreWCFService setup and the unchecked entries in the listed integration-test suites, including Binding.ReliableSession, Binding.WS.FederationHttp, Client.ChannelLayer, Contract.Data, Extensibility.WebSockets, and Security.TransportSecurity. Run the affected tests to reproduce the failures and compare them with the noted Linux-only and CoreWCF 1.7.0 results. Done means the remaining failures are resolved or clearly diagnosed and the task list is updated.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend, testing
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.