Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report]: Fail to build Integration Tests at macOS #458

Closed
1 task done
gsferreira opened this issue Oct 23, 2023 · 1 comment · Fixed by #459
Closed
1 task done

[Bug Report]: Fail to build Integration Tests at macOS #458

gsferreira opened this issue Oct 23, 2023 · 1 comment · Fixed by #459
Assignees
Labels
bug Something isn't working

Comments

@gsferreira
Copy link
Contributor

gsferreira commented Oct 23, 2023

Prerequisites

  • I have searched issues to ensure it has not already been reported

Description

Integration Tests fail to build at macOS.

Steps to reproduce

Run the following command:
dotnet pack src/KafkaFlow.sln

Expected behavior

Build with success.
Integration Tests pass.

Actual behavior

Integration Tests fail to build at macOS.

/Users/guilherme.ferreira/Documents/GitHub/kafka-flow/src/KafkaFlow.IntegrationTests/KafkaFlow.IntegrationTests.csproj : error NU1605: Warning As Error: Detected package downgrade: librdkafka.redist from 2.1.1 to 1.9.2. Reference the package directly from the project to select a different version.  [/Users/guilherme.ferreira/Documents/GitHub/kafka-flow/src/KafkaFlow.sln]
/Users/guilherme.ferreira/Documents/GitHub/kafka-flow/src/KafkaFlow.IntegrationTests/KafkaFlow.IntegrationTests.csproj : error NU1605:  KafkaFlow.IntegrationTests -> KafkaFlow.Serializer.SchemaRegistry.ConfluentAvro -> Confluent.Kafka 2.1.1 -> librdkafka.redist (>= 2.1.1)  [/Users/guilherme.ferreira/Documents/GitHub/kafka-flow/src/KafkaFlow.sln]
/Users/guilherme.ferreira/Documents/GitHub/kafka-flow/src/KafkaFlow.IntegrationTests/KafkaFlow.IntegrationTests.csproj : error NU1605:  KafkaFlow.IntegrationTests -> librdkafka.redist (>= 1.9.2) [/Users/guilherme.ferreira/Documents/GitHub/kafka-flow/src/KafkaFlow.sln]
/Users/guilherme.ferreira/Documents/GitHub/kafka-flow/src/KafkaFlow.IntegrationTests/KafkaFlow.IntegrationTests.csproj : error NU1605: Warning As Error: Detected package downgrade: librdkafka.redist from 2.1.1 to 1.9.2. Reference the package directly from the project to select a different version.  [/Users/guilherme.ferreira/Documents/GitHub/kafka-flow/src/KafkaFlow.sln]
/Users/guilherme.ferreira/Documents/GitHub/kafka-flow/src/KafkaFlow.IntegrationTests/KafkaFlow.IntegrationTests.csproj : error NU1605:  KafkaFlow.IntegrationTests -> KafkaFlow.Serializer.SchemaRegistry.ConfluentProtobuf -> Confluent.Kafka 2.1.1 -> librdkafka.redist (>= 2.1.1)  [/Users/guilherme.ferreira/Documents/GitHub/kafka-flow/src/KafkaFlow.sln]
/Users/guilherme.ferreira/Documents/GitHub/kafka-flow/src/KafkaFlow.IntegrationTests/KafkaFlow.IntegrationTests.csproj : error NU1605:  KafkaFlow.IntegrationTests -> librdkafka.redist (>= 1.9.2) [/Users/guilherme.ferreira/Documents/GitHub/kafka-flow/src/KafkaFlow.sln]
/Users/guilherme.ferreira/Documents/GitHub/kafka-flow/src/KafkaFlow.IntegrationTests/KafkaFlow.IntegrationTests.csproj : error NU1605: Warning As Error: Detected package downgrade: librdkafka.redist from 2.1.1 to 1.9.2. Reference the package directly from the project to select a different version.  [/Users/guilherme.ferreira/Documents/GitHub/kafka-flow/src/KafkaFlow.sln]
/Users/guilherme.ferreira/Documents/GitHub/kafka-flow/src/KafkaFlow.IntegrationTests/KafkaFlow.IntegrationTests.csproj : error NU1605:  KafkaFlow.IntegrationTests -> KafkaFlow -> Confluent.Kafka 2.1.1 -> librdkafka.redist (>= 2.1.1)  [/Users/guilherme.ferreira/Documents/GitHub/kafka-flow/src/KafkaFlow.sln]
/Users/guilherme.ferreira/Documents/GitHub/kafka-flow/src/KafkaFlow.IntegrationTests/KafkaFlow.IntegrationTests.csproj : error NU1605:  KafkaFlow.IntegrationTests -> librdkafka.redist (>= 1.9.2) [/Users/guilherme.ferreira/Documents/GitHub/kafka-flow/src/KafkaFlow.sln]
/Users/guilherme.ferreira/Documents/GitHub/kafka-flow/src/KafkaFlow.IntegrationTests/KafkaFlow.IntegrationTests.csproj : error NU1605: Warning As Error: Detected package downgrade: librdkafka.redist from 2.1.1 to 1.9.2. Reference the package directly from the project to select a different version.  [/Users/guilherme.ferreira/Documents/GitHub/kafka-flow/src/KafkaFlow.sln]
/Users/guilherme.ferreira/Documents/GitHub/kafka-flow/src/KafkaFlow.IntegrationTests/KafkaFlow.IntegrationTests.csproj : error NU1605:  KafkaFlow.IntegrationTests -> KafkaFlow.Serializer.SchemaRegistry.ConfluentJson -> Confluent.SchemaRegistry 2.1.1 -> Confluent.Kafka 2.1.1 -> librdkafka.redist (>= 2.1.1)  [/Users/guilherme.ferreira/Documents/GitHub/kafka-flow/src/KafkaFlow.sln]
/Users/guilherme.ferreira/Documents/GitHub/kafka-flow/src/KafkaFlow.IntegrationTests/KafkaFlow.IntegrationTests.csproj : error NU1605:  KafkaFlow.IntegrationTests -> librdkafka.redist (>= 1.9.2) [/Users/guilherme.ferreira/Documents/GitHub/kafka-flow/src/KafkaFlow.sln]

KafkaFlow version

v2.5.0
v2.4.0

@gsferreira gsferreira added the bug Something isn't working label Oct 23, 2023
@gsferreira gsferreira self-assigned this Oct 23, 2023
@gsferreira
Copy link
Contributor Author

After investigation, it's possible to conclude that the problem was introduced at v2.4 with PR #408.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

1 participant