Disable or throttle warnings update pose

The packages gives a lot of warnings about poses not being updated,does that mean that the stream is coming in too slow per rigid body? The crazyflies do fly normally
Anyway, I'm getting so many warnings that I can not read the crazyswarm server output normally either...
perhaps we can add a parameter that disables this warnings or throttles it somehow? https://github.com/IMRCLab/motion_capture_tracking/blob/ef593e292b27e8df8daabb2e20910acea89c1c6b/motion_capture_tracking/src/motion_capture_tracking_node.cpp#L265

This warning usually means that there is a serious problem and it shouldn't be ignored.
Nevertheless, I agree that we need such an option. I have the same use-case for "debugging" after a crash: since after a crash the motion capture package "spams" the console, it is hard to tell what happened otherwise in the system.
Technically, it is not trivial to throttle: We would need to add threading to the node. Moreover, some messages come from submodules (libmotioncapture, librigidbodytracker). We would need to "cache" those messages, or change the submodules to output some sort of error codes rather than string messages, so that we can automatically condense/throttle without losing important information.


[examples] Add ZIO example

Is function .startPolling() in file Launcher.scala run Long Pooling bot mode?
If Yes, could you please provide example with weebhook (special with setting https context, maybe with
override def certificate
override val httpsContext
)

Unfortunately the webhook part (available inside the akka version of this library) is only compatible with Future (and not directly with Cats/ZIO unless you convert your IO/Task into a future first.
It might be possible to make this part tagless final as well and have another runtime next to the Akka one, but I never tried that and I will not have the time to investigate this very soon.
If you wanted to try, I would start with the Webhook class that currently forces a BotBase[Future] and make it a
trait Webhook[F[_]] extends WebRoutes with StrictLogging {
  this: BotBase[F] with BotExecutionContext with AkkaImplicits =>

But I don't know if this could work or not yet

Check the latest commit https://github.com/bot4s/telegram/pull/239/commits/ee12798dfe5520ae11e61c28b96ae2148b0cb952 to see an example of a webhook bot running on zio-http

"Another idea I have is to re-implement the webhook handling for your specific use-case." - it's little bit difficult for me to understand. My level if fp small.
But this is a good news - "to see an example of a webhook bot running on zio-http" thanks a lot, I will investigate it in the coming days. Will return with feedback.


fix: Extracts coveralls from plugins list to project_plugins

Coveralls isn't a plugin needed for the function of the library, so moving it to the project_plugins portion will prevent Elixir projects from making a network call when compiling to library after this is merged.
Currently this means we can't release new versions of our app that uses this library, but this change should be pretty straightforward to rubber stamp.

Thank you @isaacsanders

released in 3.17.0


Clicking on search result navigates to resource subject

When you click on a search result it will navigate you to the actual subject of the resource instead of the atomic-argu site version. So you'll end up in the databrowser.
To reproduce:

Go to: https://argu.nl/
Search for something
Click on search result (Also happens when navigating with keyboard)

Only on argu.nl, not on drechtsteden for example. Maybe a newer or older version that has this bug. Not sure.


SPARKC-657 Bump DSE & OSS C* versions to current patch/RC releases

Description
How did the Spark Cassandra Connector Work or Not Work Before this Patch
N/A as it worked correctly on older patch/RC versions of DSE & OSS C*
Describe the problem, or state of the project that this patch fixes. Explain
why this is a problem if this isn't obvious.
Testing the latest patch release versions for compatibility
General Design of the patch
N/A
How the fix is accomplished, were new parameters or classes added? Why did you
pursue this particular fix?
Updated the GHA to test with latest versions
Fixes: SPARKC-657
How Has This Been Tested?
Almost all changes and especially bug fixes will require a test to be added to either the integration or Unit Tests. Any tests added will be automatically run on travis when the pull request is pushed to github. Be sure to run suites locally as well.
% ./sbt/sbt test
Attempting to fetch sbt
############################################################################################################################################################################################################ 100.0%
Launching sbt from sbt/sbt-launch-1.3.3.jar
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=350m; support was removed in 8.0
[info] Loading settings for project spark-cassandra-connector-build from updates.sbt,plugins.sbt ...
[info] Loading project definition from /Users/madhavansridharan/Data/Tools/sperf_and_nibbler/spark-cassandra-connector/project
[info] Updating ProjectRef(uri("file:/Users/madhavansridharan/Data/Tools/sperf_and_nibbler/spark-cassandra-connector/project/"), "spark-cassandra-connector-build")...
[info] Done updating.
[warn] There may be incompatibilities among your library dependencies; run 'evicted' to see detailed eviction warnings.
[info] Compiling 4 Scala sources to /Users/madhavansridharan/Data/Tools/sperf_and_nibbler/spark-cassandra-connector/project/target/scala-2.12/sbt-1.0/classes ...
[warn] there was one feature warning; re-run with -feature for details
[warn] one warning found
[info] Done compiling.
[info] Loading settings for project root from build.sbt ...
Using Some(releases: https://oss.sonatype.org/service/local/staging/deploy/maven2) for publishing
Reading credentials from None
Running 10 Parallel Tasks
[info] Set current project to root (in build file:/Users/madhavansridharan/Data/Tools/sperf_and_nibbler/spark-cassandra-connector/)
[warn] Credentials file /Users/madhavansridharan/.ivy2/.credentials does not exist
[warn] Credentials file /Users/madhavansridharan/.ivy2/.credentials does not exist
[warn] Credentials file /Users/madhavansridharan/.ivy2/.credentials does not exist
[warn] Credentials file /Users/madhavansridharan/.sbt/credentials does not exist
[warn] Credentials file /Users/madhavansridharan/.sbt/credentials does not exist
[warn] Credentials file /Users/madhavansridharan/.sbt/credentials.deploy does not exist
[warn] Credentials file /Users/madhavansridharan/.sbt/credentials.deploy does not exist
[warn] Credentials file /Users/madhavansridharan/.sbt/credentials does not exist
[warn] Credentials file /Users/madhavansridharan/.sbt/credentials.deploy does not exist
[warn] Credentials file /Users/madhavansridharan/.ivy2/.credentials does not exist
[warn] Credentials file /Users/madhavansridharan/.sbt/credentials does not exist
[warn] Credentials file /Users/madhavansridharan/.sbt/credentials.deploy does not exist
[info] Updating driver...
[info] Updating testSupport...
[info] Updating publishableAssembly...
[info] Updating ...
[info] Done updating.
[info] downloading https://repo1.maven.org/maven2/com/datastax/oss/java-driver-core-shaded/4.12.0/java-driver-core-shaded-4.12.0.jar ...
[info] downloading https://repo1.maven.org/maven2/com/datastax/oss/java-driver-mapper-runtime/4.12.0/java-driver-mapper-runtime-4.12.0.jar ...
[info] downloading https://repo1.maven.org/maven2/com/datastax/oss/java-driver-query-builder/4.12.0/java-driver-query-builder-4.12.0.jar ...
[info] downloading https://repo1.maven.org/maven2/com/datastax/oss/java-driver-mapper-processor/4.12.0/java-driver-mapper-processor-4.12.0.jar ...
[info] 	[SUCCESSFUL ] com.datastax.oss#java-driver-mapper-runtime;4.12.0!java-driver-mapper-runtime.jar(bundle) (508ms)
[info] 	[SUCCESSFUL ] com.datastax.oss#java-driver-mapper-processor;4.12.0!java-driver-mapper-processor.jar (565ms)
[info] 	[SUCCESSFUL ] com.datastax.oss#java-driver-query-builder;4.12.0!java-driver-query-builder.jar(bundle) (566ms)
[info] 	[SUCCESSFUL ] com.datastax.oss#java-driver-core-shaded;4.12.0!java-driver-core-shaded.jar (782ms)
[info] Done updating.
[warn] There may be incompatibilities among your library dependencies; run 'evicted' to see detailed eviction warnings.
[info] Compiling 50 Scala sources to /Users/madhavansridharan/Data/Tools/sperf_and_nibbler/spark-cassandra-connector/driver/target/scala-2.12/classes ...
[info] Done updating.
[warn] There may be incompatibilities among your library dependencies; run 'evicted' to see detailed eviction warnings.
[info] Compiling 7 Scala sources to /Users/madhavansridharan/Data/Tools/sperf_and_nibbler/spark-cassandra-connector/test-support/target/scala-2.12/classes ...
[info] Done updating.
[warn] Credentials file /Users/madhavansridharan/.ivy2/.credentials does not exist
[warn] Credentials file /Users/madhavansridharan/.sbt/credentials does not exist
[warn] Credentials file /Users/madhavansridharan/.sbt/credentials.deploy does not exist
[info] Updating connector...
[info] Done updating.
[warn] There may be incompatibilities among your library dependencies; run 'evicted' to see detailed eviction warnings.
[warn] there was one feature warning; re-run with -feature for details
[warn] one warning found
[info] Done compiling.
[warn] there were 8 deprecation warnings
[warn] there were 17 deprecation warnings (since 2.12.0)
[warn] there were 25 deprecation warnings in total; re-run with -deprecation for details
[warn] there were two feature warnings; re-run with -feature for details
[warn] four warnings found
[info] Done compiling.
[info] Compiling 19 Scala sources and 1 Java source to /Users/madhavansridharan/Data/Tools/sperf_and_nibbler/spark-cassandra-connector/driver/target/scala-2.12/test-classes ...
[info] Compiling 147 Scala sources and 15 Java sources to /Users/madhavansridharan/Data/Tools/sperf_and_nibbler/spark-cassandra-connector/connector/target/scala-2.12/classes ...
[warn] /Users/madhavansridharan/Data/Tools/sperf_and_nibbler/spark-cassandra-connector/connector/src/main/scala/com/datastax/spark/connector/datasource/CassandraSourceUtil.scala:237:32: non-variable type argument String in type pattern scala.collection.immutable.Map[String,String] (the underlying of Map[String,String]) is unchecked since it is eliminated by erasure
[warn]       case (k: String, innerM: Map[String, String]) => s"$k='${mapToString(innerM)}'"
[warn]                                ^
[warn] /Users/madhavansridharan/Data/Tools/sperf_and_nibbler/spark-cassandra-connector/connector/src/main/scala/org/apache/spark/sql/cassandra/execution/CassandraDirectJoinExec.scala:68:60: match may not be exhaustive.
[warn] It would fail on the following input: (_, _)
[warn]   val (joinColumns, joinExpressions) = pkJoinCoulplets.map { case (cAttr: Attribute, otherCol: Expression) =>
[warn]                                                            ^
[warn] /Users/madhavansridharan/Data/Tools/sperf_and_nibbler/spark-cassandra-connector/connector/src/main/scala/org/apache/spark/sql/cassandra/execution/CassandraDirectJoinExec.scala:217:11: match may not be exhaustive.
[warn] It would fail on the following input: (_, _)
[warn]       .map{ case (colref: Attribute, exp) => s"${exprIdToCassandra(colref.exprId)} = ${exp}"}
[warn]           ^
[warn] there were two deprecation warnings; re-run with -deprecation for details
[warn] one warning found
[info] Done compiling.
[info] CassandraRowTest:
[info] - basicAccessTest
[info] - nullAccessTest
[info] - NoneAccessTest
[info] - nullToStringTest
[info] - nonExistentColumnAccessTest
[info] - primitiveConversionTest
[info] - collectionConversionTest
[info] - serializationTest
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[info] MultiplexingSchemaListenerTest:
[info] MutableSchemaListener
[info] - should allow adding or removing listeners
[info] - should work with 0 listeners
[info] - should work with 1 listeners
[info] - should work with 2 listeners
[info] - should work with 3 listeners
[info] - should work with 4 listeners
[info] - should work with 5 listeners
[info] - should work with 6 listeners
[info] - should work with 7 listeners
[info] - should work with 8 listeners
[info] - should work with 9 listeners
[info] - should work with 10 listeners
[info] - should allow listeners to be added while triggering events
[info] LocalNodeFirstLoadBalancingPolicySpec:
[info] - should set distance to LOCAL for local node in local dc
[info] - should set distance to IGNORED for local node in different dc
[info] - should set distance to REMOTE for remote nodes
[info] - should apply configured node filter
[info] TimestampParserSpec:
[info] - should parse fast all supported date[time[zone]] formats
[info] GettableDataToMappedTypeConverterSpec:
[info] GettableDataToMappedTypeConverter
[warn] there were two deprecation warnings
[warn] there were 24 deprecation warnings (since 2.12.0)
[warn] there were 26 deprecation warnings in total; re-run with -deprecation for details
[warn] there were 10 feature warnings; re-run with -feature for details
[warn] 7 warnings found
[info] - should be Serializable
[info] - should convert a CassandraRow to a case class object
[info] - should convert a CassandraRow to a case class object after being serialized/deserialized
[info] - should convert a CassandraRow to a tuple
[info] - should convert a CassandraRow to a tuple in reversed order
[info] - should convert a CassandraRow to a tuple with a subset of columns
[info] - should convert a UDTValue to a case class object
[info] - should convert a TupleValue to a Scala tuple
[info] - should allow for nesting UDTValues inside of TupleValues
[info] - should allow for nesting TupleValues inside of UDTValues
[info] - should convert nulls to Scala Nones
[info] - should convert using custom column aliases
[info] - should set property values with setters
[info] - should apply proper type conversions for columns
[info] - should convert a CassandraRow with a UDTValue into nested case class objects
[info] - should convert a CassandraRow with a UDTValue into a case class with a nested tuple
[info] - should convert a CassandraRow with an optional UDTValue
[info] - should convert a CassandraRow with a list of UDTValues
[info] - should convert a CassandraRow with a set of UDTValues
[info] - should convert a CassandraRow with a collection of UDTValues
[info] - should convert a CassandraRow with a collection of tuples
[info] - should convert a CassandraRow to a JavaBean
[info] - should convert a CassandraRow with UDTs to nested JavaBeans
[info] - should convert a CassandraRow with UDTs with Long null values to nested JavaBeans
[info] - should throw a meaningful exception when a column type is not supported
[info] - should throw a meaningful exception when a column value fails to be converted
[info] - should throw NPE with a meaningful message when a column value is null
[info] - should throw NPE when trying to access its targetTypeTag after serialization/deserialization
[info] MultipleRetryPolicySpec:
[info] MultipleRetryPolicy
[info] - should retry always if maxRetry is -1
[info] - should not retry past maxRetry
[info] - should not retry authentication errors
[info] - should retry all of our accepted exceptions
[info] ColumnTypeSpec:
[info] A ColumnType companion object
[info] - should throw InvalidArgumentException if given unsupported type
[info]   should allow to obtain a proper ColumnType
[info]   - when given a Boolean should return BooleanType
[info]   - when given a java.lang.Boolean should return BooleanType
[info]   - when given an Int should return IntType
[info]   - when given an java.lang.Integer should return IntType
[info]   - when given a Long should return BigIntType
[info]   - when given a java.lang.Long should return BigIntType
[info]   - when given a Float should return FloatType
[info]   - when given a java.lang.Float should return FloatType
[info]   - when given a Double should return DoubleType
[info]   - when given a java.lang.Double should return DoubleType
[info]   - when given a String should return VarcharType
[info]   - when given a java.lang.Short should return a SmallIntType
[info]   - when given a Short should return a SmallIntType
[info]   - when given a Byte should return a TinyIntType
[info]   - when given a java.lang.Byte should return a TinyIntType
[info]   - when given a java.lang.Short and PV3 should return a IntType
[info]   - when given a Short and PV3 should return a IntType
[info]   - when given a Byte and PV3 should return a IntType
[info]   - when given a java.lang.Byte and PV3 should return a IntType
[info]   - when given a java.util.Date should return TimestampType
[info]   - when given a java.sql.Date should return DateType
[info]   - when given a java.sql.Date and a pre V4 Protcol version should return a TimestampType
[info]   - when given a ByteBuffer should return BlobType
[info]   - when given an Array[Byte] should return BlobType
[info]   - when given an UUID should return UUIDType
[info]   - when given a List[String] should return ListType(VarcharType)
[info]   - when given a Set[InetAddress] should return SetType(InetType)
[info]   - when given a Map[Int, Date] should return MapType(IntType, TimestampType)
[info]   - when given an Option[Int] should return IntType
[info]   - when given an Option[Vector[Int]] should return ListType(IntType)
[info] TableDefSpec:
[info] A TableDef#cql method
[info]   should produce valid CQL
[info]   - when it contains no clustering columns
[info]   - when it contains clustering columns
[info]   - when it contains compound partition key and multiple clustering columns
[info]   - when it contains a column of a collection type
[info]   - when it contains compound partition key, if not exists, multiple clustering columns with sorting and options
[info] MappedToGettableDataConverterSpec:
[info] MappedToGettableDataConverter
[info] - should be Serializable
[info] - should convert a simple case class to a CassandraRow
[info] - should convert a simple case class to a UDTValue
[info] - should convert a Scala tuple to a TupleValue
[info] - should convert nested classes
[info] - should convert a nested UDTValue to a UDTValue
[info] - should convert user defined types nested in collections
[info] - should convert user defined types nested in tuples
[info] - should convert tuples nested in user defined types
[info] - should convert nulls to Scala Nones
[info] - should convert None case class to null
[info] - should convert Some case class to UDT
[info] - should convert using custom column aliases
[info] - should convert a java bean to a CassandraRow
[info] - should convert nested JavaBeans
[info] - should convert commons-lang3 Pairs to TupleValues
[info] - should convert commons-lang3 Triples to TupleValues
[info] - should throw a meaningful exception when a column has an incorrect type
[info] - should throw a meaningful exception when a tuple field has an incorrect number of components
[info] - should work after serialization/deserialization
[info] ColumnRefSpec:
[info] A FunctionCallRef should
[info] - should generate its equivalent CQL code for: f()
[info] - should generate its equivalent CQL code for: f(3)
[info] - should generate its equivalent CQL code for: f("col01")
[info] - should generate its equivalent CQL code for: f("col01","col02")
[info] - should generate its equivalent CQL code for: f("col01",1,"hello")
[info] - should generate its equivalent CQL code for: g("col01",f("col02",1,"hello"))
[info] - should be able to provide a list of columns used as actual parameters by: f()
[info] - should be able to provide a list of columns used as actual parameters by: f(3)
[info] - should be able to provide a list of columns used as actual parameters by: f("col01")
[info] - should be able to provide a list of columns used as actual parameters by: f("col01","col02")
[info] - should be able to provide a list of columns used as actual parameters by: f("col01",1,"hello")
[info] - should be able to provide a list of columns used as actual parameters by: g("col01",f("col02",1,"hello"))
[info] ReflectionUtilSpec:
[info] ReflectionUtil.findGlobalObject
[info] - should be able to find a global object
[info] - should be able to find a global object in a multi-threaded context
[info] - should be able to instantiate a singleton object based on Java class name
[info] - should cache Java class instances
[info] - should throw IllegalArgumentException when asked for a Scala object of wrong type
[info] - should throw IllegalArgumentException when asked for class instance of wrong type
[info] - should throw IllegalArgumentException when object does not exist
[info] ReflectionUtil.constructorParams
[info] - should return proper constructor param names and types for a class with a single constructor
[info] - should return main constructor's param names and types for a class with multiple constructors
[info] ReflectionUtil.getters
[info] - should return getter names and types
[info] ReflectionUtil.setters
[info] - should return setter names and types
[info] ReflectionUtil.methodParamTypes
[info] - should return method param types
[info] - should return proper method param types for generic type
[info] - should throw IllegalArgumentException if the requested method is missing
[info] CollectionColumnTypeSpec:
[info] ListType
[info] - should mark nested UDT types as frozen
[info] - should not mark non UDT types as frozen
[info] SetType
[info] - should mark nested UDT types as frozen
[info] - should not mark non UDT types as frozen
[info] MapType
[info] - should mark key UDT types as frozen
[info] - should mark value UDT types as frozen
[info] Test run started
[info] Test com.datastax.spark.connector.mapper.PropertyExtractorTest.testSimpleExtraction started
[info] Test com.datastax.spark.connector.mapper.PropertyExtractorTest.testWrongPropertyName started
[info] Test com.datastax.spark.connector.mapper.PropertyExtractorTest.testAvailableProperties started
[info] Test run finished: 0 failed, 0 ignored, 3 total, 0.011s
[info] Test run started
[info] Test com.datastax.spark.connector.types.CanBuildFromTest.testBuild started
[info] Test com.datastax.spark.connector.types.CanBuildFromTest.testSerializeAndBuild started
[info] Test com.datastax.spark.connector.types.CanBuildFromTest.testSerializeAndBuildWithOrdering started
[info] Test run finished: 0 failed, 0 ignored, 3 total, 0.006s
[info] Test run started
[info] Test com.datastax.spark.connector.mapper.TupleColumnMapperTest.testIncompleteConstructor started
[info] Test com.datastax.spark.connector.mapper.TupleColumnMapperTest.testIncompleteGetters started
[info] Test com.datastax.spark.connector.mapper.TupleColumnMapperTest.testGetters started
[info] Test com.datastax.spark.connector.mapper.TupleColumnMapperTest.testSerialize started
[info] Test com.datastax.spark.connector.mapper.TupleColumnMapperTest.testImplicit started
[info] Test com.datastax.spark.connector.mapper.TupleColumnMapperTest.testConstructor started
[info] Test com.datastax.spark.connector.mapper.TupleColumnMapperTest.testNewTable started
[info] Test run finished: 0 failed, 0 ignored, 7 total, 0.022s
[info] Test run started
[info] Test com.datastax.spark.connector.types.TypeSerializationTest.testSerializationOfCollectionTypes started
[info] Test com.datastax.spark.connector.types.TypeSerializationTest.testSerializationOfPrimitiveTypes started
[info] Test run finished: 0 failed, 0 ignored, 2 total, 0.02s
[info] Test run started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaDouble started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testInetAddress started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testYearLocalDate started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testSerializeMapConverter started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaInteger started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testChainedConverters started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testLocalTimeType started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testTreeMap started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testTreeSet started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testInt started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testMap started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testSet started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testByteArray started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testBigDecimal started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testFloat started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testDate started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testList started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testLong started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testPair started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testUUID started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testParsableDate started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testTypeAliases started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testCalendar1 started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testCalendar2 started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testLocalDate started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaDurationTypeTag started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaBigDecimal started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaInstantTypeTag started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testBoolean started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaFloat started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testUnsupportedType started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testRegisterCustomConverterExtension started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaBigInteger started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaList started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaLong started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testCassandraOption started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaBoolean started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testTimestamp started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testRegisterCustomConverter started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testSerializeCollectionConverter started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testCassandraOptionToNull started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testBigInt started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testChainedConverterSerializability started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testDouble started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaHashMap started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaHashSet started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaMapping started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testOption started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testString started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testTriple started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testOptionToNullConverter started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaArrayList started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testSqlDate started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaMap started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaSet started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaLocalDate started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaLocalTime started
[info] Test run finished: 0 failed, 0 ignored, 57 total, 0.146s
[info] Test run started
[info] Test com.datastax.spark.connector.mapper.JavaBeanColumnMapperTest.testWorkWithAliasesAndHonorOverrides started
[info] Test com.datastax.spark.connector.mapper.JavaBeanColumnMapperTest.testSerializeColumnMap started
[info] Test com.datastax.spark.connector.mapper.JavaBeanColumnMapperTest.testGetters started
[info] Test com.datastax.spark.connector.mapper.JavaBeanColumnMapperTest.testColumnNameOverrideSetters started
[info] Test com.datastax.spark.connector.mapper.JavaBeanColumnMapperTest.testImplicit started
[info] Test com.datastax.spark.connector.mapper.JavaBeanColumnMapperTest.testSetters started
[info] Test com.datastax.spark.connector.mapper.JavaBeanColumnMapperTest.testGettersWithUDT started
[info] Test com.datastax.spark.connector.mapper.JavaBeanColumnMapperTest.testWorkWithAliases started
[info] Test com.datastax.spark.connector.mapper.JavaBeanColumnMapperTest.testColumnNameOverrideGetters started
[info] Test run finished: 0 failed, 0 ignored, 9 total, 0.019s
[info] Test run started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testSetters1 started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testSetters2 started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.columnNameOverrideConstructor started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testGetters1 started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testGetters2 started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testWorkWithAliasesAndHonorOverrides started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.columnNameOverrideGetters started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testNotEnoughPropertiesForWriting started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testNewTableForClassWithVars started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testNewTableForEmptyClass started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testConstructorParams1 started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testConstructorParams2 started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testNotEnoughColumnsSelectedForReading started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testImplicit started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.columnNameOverrideSetters started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testNewTableForClassWithUnsupportedPropertyType started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testWorkWithAliases started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testNewTableForCaseClass started
[info] Test run finished: 0 failed, 0 ignored, 18 total, 0.046s
[info] ScalaTest
[info] Run completed in 6 seconds, 830 milliseconds.
[info] Total number of tests run: 146
[info] Suites: completed 12, aborted 0
[info] Tests: succeeded 146, failed 0, canceled 0, ignored 0, pending 0
[info] All tests passed.
[info] Passed: Total 245, Failed 0, Errors 0, Passed 245
[info] Note: /Users/madhavansridharan/Data/Tools/sperf_and_nibbler/spark-cassandra-connector/connector/src/main/java/com/datastax/spark/connector/japi/CassandraJavaUtil.java uses or overrides a deprecated API.
[info] Note: Recompile with -Xlint:deprecation for details.
[info] Done compiling.
[info] Compiling 45 Scala sources and 17 Java sources to /Users/madhavansridharan/Data/Tools/sperf_and_nibbler/spark-cassandra-connector/connector/target/scala-2.12/test-classes ...
[warn] /Users/madhavansridharan/Data/Tools/sperf_and_nibbler/spark-cassandra-connector/connector/src/test/scala/com/datastax/spark/connector/util/AnyObjectFactoryTest.scala:5:42: imported `JavaApiHelper' is permanently hidden by definition of object JavaApiHelper in package util
[warn] import com.datastax.spark.connector.util.JavaApiHelper
[warn]                                          ^
[warn] /Users/madhavansridharan/Data/Tools/sperf_and_nibbler/spark-cassandra-connector/connector/src/test/scala/com/datastax/bdp/spark/DseAuthConfFactorySpec.scala:1:1:
[warn] Found names but no class, trait or object is defined in the compilation unit.
[warn] The incremental compiler cannot record the dependency information in such case.
[warn] Some errors like unused import referring to a non-existent class might not be reported.
[warn]
[warn] /*
[warn] ^
[warn] /Users/madhavansridharan/Data/Tools/sperf_and_nibbler/spark-cassandra-connector/connector/src/test/scala/com/datastax/bdp/spark/DseByosAuthConfFactorySpec.scala:1:1:
[warn] Found names but no class, trait or object is defined in the compilation unit.
[warn] The incremental compiler cannot record the dependency information in such case.
[warn] Some errors like unused import referring to a non-existent class might not be reported.
[warn]
[warn] /*
[warn] ^
[warn] there were two deprecation warnings (since 2.12.0); re-run with -deprecation for details
[warn] there was one feature warning; re-run with -feature for details
[warn] 5 warnings found
[warn] Could not determine source for class com.datastax.spark.connector.mapper.JavaTestBeanHelper__MapperGenerated$2
[warn] Could not determine source for class com.datastax.spark.connector.mapper.JavaTestBeanHelper__MapperGenerated
[warn] Could not determine source for class com.datastax.spark.connector.mapper.JavaTestBeanHelper__MapperGenerated$1
[info] Done compiling.
[info] RandomPartitionerTokenFactorySpec:
[info] RandomPartitionerTokenFactory
[info] - should create a token from String
[info] - should create a String representation of a token
[info] - should calculate the distance between tokens if right > left
[info] - should calculate the distance between tokens if right <= left
[info] - should calculate ring fraction
[info] InputMetricsUpdaterSpec:
[info] - should create updater which uses task metrics
[info] - should be thread-safe when it uses task metrics
[info] - should create updater which does not use task metrics
[info] - should create updater which uses Codahale metrics
[info] - should be thread-safe when using Codahale metrics
[info] - should create updater which doesn't use Codahale metrics
[info] Murmur3TokenFactorySpec:
[info] Murmur3TokenFactory
[info] - should create a token from String
[info] - should create a String representation of a token
[info] - should calculate the distance between tokens if right > left
[info] - should calculate the distance between tokens if right <= left
[info] - should calculate ring fraction
[info] WriteConfTest:
[info] WriteConf
[info] - should be configured with proper defaults
[info] - should allow setting the rate limit as a decimal
[info] - should allow to set consistency level
[info] - should allow to set parallelism level
[info] - should allow to set batch size in bytes
[info] - should allow to set batch size in bytes when rows are set to auto
[info] - should allow to set batch size in rows
[info] - should allow to set batch level
[info] - should allow to set batch buffer size
[info] RateLimiterSpec:
[info] RateLimiter
[info] - should not cause delays if rate is not exceeded
[info] - should sleep to not exceed the target rate
[info] - should sleep and leak properly with different Rates
[info] ColumnSelectorSpec:
[info] A ColumnSelector#selectFrom method
[info] - should return all columns
[info] - should return partition key columns
[info] - should return some columns
[info] - should return selections with function calls
[info] - should throw a NoSuchElementException when selected column name is invalid
[info] - should throw a NoSuchElementException when a function call has a missing column as an actual parameter
[info] OutputMetricsUpdaterSpec:
[info] - should create updater which uses task metrics
[info] - should create updater which does not use task metrics
[info] - should create updater which uses Codahale metrics
[info] - should create updater which doesn't use Codahale metrics
[info] - should work correctly with multiple threads
[info] DeprecationSpec:
[info] The Spark Cassandra Connector
 WARN 14:53:33,580 com.datastax.spark.connector.util.Logging (Logging.scala:47) - spark.cassandra.input.reads_per_sec is deprecated (DSE 6.0.0) and has been automatically replaced with parameter spark.cassandra.input.readsPerSec.
 WARN 14:53:33,582 com.datastax.spark.connector.util.Logging (Logging.scala:47) - spark.cassandra.connection.local_dc is deprecated (DSE 6.0.0) and has been automatically replaced with parameter spark.cassandra.connection.localDC.
 WARN 14:53:33,582 com.datastax.spark.connector.util.Logging (Logging.scala:47) - spark.cassandra.input.split.size_in_mb is deprecated (DSE 6.0.0) and has been automatically replaced with parameter spark.cassandra.input.split.sizeInMB.
 WARN 14:53:33,582 com.datastax.spark.connector.util.Logging (Logging.scala:47) - spark.cassandra.input.fetch.size_in_rows is deprecated (DSE 6.0.0) and has been automatically replaced with parameter spark.cassandra.input.fetch.sizeInRows.
 WARN 14:53:33,582 com.datastax.spark.connector.util.Logging (Logging.scala:47) - spark.cassandra.connection.reconnection_delay_ms.max is deprecated (DSE 6.0.0) and has been automatically replaced with parameter spark.cassandra.connection.reconnectionDelayMS.max.
 WARN 14:53:33,582 com.datastax.spark.connector.util.Logging (Logging.scala:47) - spark.cassandra.connection.reconnection_delay_ms.min is deprecated (DSE 6.0.0) and has been automatically replaced with parameter spark.cassandra.connection.reconnectionDelayMS.min.
 WARN 14:53:33,582 com.datastax.spark.connector.util.Logging (Logging.scala:47) - spark.cassandra.read.timeout_ms is deprecated (DSE 6.0.0) and has been automatically replaced with parameter spark.cassandra.read.timeoutMS.
 WARN 14:53:33,583 com.datastax.spark.connector.util.Logging (Logging.scala:47) - spark.sql.dse.solr.enable_optimization is deprecated (DSE 6.0.0) and has been automatically replaced with parameter spark.sql.dse.search.enableOptimization.
 WARN 14:53:33,583 com.datastax.spark.connector.util.Logging (Logging.scala:47) - spark.cassandra.output.throughput_mb_per_sec is deprecated (DSE 6.0.0) and has been automatically replaced with parameter spark.cassandra.output.throughputMBPerSec.
 WARN 14:53:33,583 com.datastax.spark.connector.util.Logging (Logging.scala:47) - spark.cassandra.connection.timeout_ms is deprecated (DSE 6.0.0) and has been automatically replaced with parameter spark.cassandra.connection.timeoutMS.
 WARN 14:53:33,583 com.datastax.spark.connector.util.Logging (Logging.scala:47) - spark.cassandra.connection.keep_alive_ms is deprecated (DSE 6.0.0) and has been automatically replaced with parameter spark.cassandra.connection.keepAliveMS.
[info] - should deprecate ConnectionConf
[info] - should deprecate ReadConf
[info] - should deprecate WriteConf
[info] - should deprecate SoureConf
[info] WriteOptionTest:
[info] TTLOption
[info] - should properly create constant write option with duration in seconds
[info] - should properly create constant write option with scala.concurrent.duration.Duration
[info] - should properly create constant write option with scala.concurrent.duration.Duration.Infinite
[info] - should properly create constant write option with org.joda.time.Duration
[info] - should properly create infinite duration
[info] - should properly create per-row duration placeholder
[info] TimestampOption
[info] - should properly create constant write option with timestamp in microseconds
[info] - should properly create constant write option with DateTime
[info] - should properly create constant write option with Date
[info] ConsolidateSettingsSpec:
[info] - should use SparkConf settings by default
[info] - should override SparkConf settings by SQLContext settings
[info] - should override global SQLContext settings by cluster level settings
[info] - should override cluster level SQLContext settings by keyspace level settings
[info] - should override keyspace level SQLContext settings by table level settings
[info] - should be case insensitive in table conf options
[info] AnyObjectFactoryTest:
[info] AnyObjectFactory
[info]   when instantiated for a bean class with a single, no-args constructor
[info]   - should create an instance of that class with newInstance
[info]   - should return 0 with argCount
[info]   - should return empty collection with constructorParamTypes
[info]   - should return that class with javaClass
[info]   when instantiated for a bean class with multiple constructors which include no-args constructor
[info]   - should create an instance of that class with newInstance
[info]   - should return that class with javaClass
[info]   when instantiated for an inner Java class
[info]   - should create an instance of that class with newInstance
[info]   - should return that class with javaClass
[info]   when instantiated for a deeply nested inner Java class
[info]   - should create an instance of that class with newInstance
[info]   - should return that class with javaClass
[info]   when tried to be instantiated for an unsupported bean class
[info]   - should throw NoSuchMethodException if class does not have suitable constructor
[info]   when instantiated for a Scala case class with 2 args constructor
[info]   - should create an instance of that class with newInstance
[info]   - should return 2 with argCount because the only constructor of this case class has two args
[info]   - should return collection of {Int, String} types with constructorParamTypes
[info]   - should return that class with javaClass
[info]   when instantiated for a Scala case class with 2 args constructor which is defined inside an object
[info]   - should create an instance of that class with newInstance
[info]   - should return 2 with argCount because the only constructor of this case class has two args
[info]   - should return collection of {Int, String} types with constructorParamTypes
[info]   - should return that class with javaClass
[info]   when instantiated for a Scala class with 2 args constructor
[info]   - should create an instance of that class with newInstance
[info]   - should return 2 with argCount because the only constructor of this class has 2 args
[info]   - should return collection of {Int, String} types with constructorParamTypes
[info]   - should return that class with javaClass
[info]   when instantiated for a Scala class with 2 args constructor and without fields
[info]   - should create an instance of that class with newInstance
[info]   - should return 2 with argCount because the only constructor of this class has 2 args
[info]   - should return collection of {Int, String} types with constructorParamTypes
[info]   - should return that class with javaClass
[info]   when instantiated for a Scala class with multiple constructors
[info]   - should create an instance of that class with newInstance
[info]   - should return that class with javaClass
[info]   when instantiated for an inner Scala class with 2 args constructor
[info]   - should create an instance of that class with newInstance
[info]   - should return 2 with argCount
[info]   - should return collection of {Int, String} types with constructorParamTypes
[info]   - should return that class with javaClass
[info]   when instantiated for a deeply nested inner Scala class
[info]   - should create an instance of that class with newInstance
[info]   - should return that class with javaClass
[info]   when serialized
[info]   - should allow to be deserialized and reused
[info] BucketingRangeIndexSpec:
[info] BucketingRangeIndex
[info] - should find ranges containing given point when ranges do not overlap
[info] - should find ranges containing given point when ranges do overlap
[info] - should find proper ranges when they wrap around
[info] LongTokenBucketing
[info] - should respect the required bucket range
[info] - should be weakly monotonic
[info] BigIntTokenBucketing
[info] - should respect the required bucket range
[info] - should be weakly monotonic
[info] Murmur3Bucketing
[info] - should map all tokens to a single wrapping range
[info] RandomBucketing
[info] - should map all tokens to a single wrapping range
[info] TokenRangeSpec:
[info] LongRanges
[info] - should contain tokens with easy no wrapping bounds
[info] - should contain tokens with wrapping bounds in
[info] BigRanges
[info] - should contain tokens with easy no wrapping bounds
[info] - should contain tokens with wrapping bounds in
[info] InClausePredicateRulesSpec:
[info] InClausePredicateRules
[info] - should leave partition and clustering filters if 'IN' filters are absent
[info] - should remove clustering filters if cartesian product of number of values is above threshold but partition values cartesian number is below the threshold
[info] - should remove partition and clustering filters if cartesian product of number of values is above threshold
[info] PredicatePushDownSpec:
[info] BasicCassandraPredicatePushDown
[info] - should push down all equality predicates restricting partition key columns
[info] - should work if the user tries to use a TimeUUID on a fully handled predicate
[info] - should work if the user tries to use a TimeUUID column in a eq predicate
[info] - should not push down a partition key predicate for a part of the partition key
[info] - should not push down a range partition key predicate
[info] - should push down an IN partition key predicate on the last partition key column
[info] - should push down an IN partition key predicate on the non-last partition key column
[info] - should push down an IN partition key predicate on all partition key columns
[info] - should not push down an IN partition key predicate on the non-last partition key column for V3 and older
[info] - should push down the first clustering column predicate
[info] - should push down the first and the second clustering column predicate
[info] - should push down restrictions on only the initial clustering columns
[info] - should push down only one range predicate restricting the first clustering column, if there are more range predicates on different clustering columns
[info] - should push down multiple range predicates for the same clustering column
[info] - should push down clustering column predicates when the last clustering column is restricted by IN
[info] - should stop pushing down clustering column predicates on the first range predicate
[info] - should not push down IN restriction on non-last column for V3 and older
[info] - should push down IN restriction on non-last clustering column
[info] - should push down IN restriction on all clustering columns
[info] - should not push down any clustering column predicates, if the first clustering column is missing
[info] - should not push down partition key index equality predicates in P3
[info] - should push down partition key index equality predicates
[info] - should push down equality predicates on regular indexed columns
[info] - should not push down range predicates on regular indexed columns
[info] - should not push down IN predicates on regular indexed columns
[info] - should push down predicates on regular non-indexed and indexed columns
[info] - should not push down predicates on regular non-indexed columns if indexed ones are not included
[info] - should prefer to push down equality predicates over range predicates
[info] - should not push down unsupported predicates
[info] DsePredicateRulesSpec:
[info] DSE Predicate Rules
[info] - should un-push all other predicates if solr_query exists
[info] it
[info] - should do nothing if solr_query is not present in a query
[info] CassandraConnectorConfSpec:
[info] - should be serializable
[info] - should match a conf with the same settings
[info] - should resolve default SSL settings correctly
[info] - should resolve provided SSL settings correctly
[info] - should produce serializedConfString that disregards names in hosts
[info] - should be equal to a conf with the same settings and hosts
[info] - should be not equal to a conf with the same settings and different hosts
[info] - should be equal to a conf with the same hosts in different order
[info] - should be not equal to a conf with the same hosts but different settings
[info] - should not be equal to a conf with the same settings and different hosts if no host is common
[info] CqlWhereParserTest:
[info] CqlWhereParser
[info] - should parse 'and' operations
[info] - should parse equality predicates
[info] - should parse range predicates
[info] - should parse IN predicates
[info] - should parse quoted names
[info] - should return lowercase names
[info] - should parse strings
[info] - should distinguish '?' from ?
[info] - should accept >=
[info] - should accept ?
[info] - should accept name with quotes and other special symbols
[info] - should accept param with quotes and other special symbols
[info] - should accept uuid param
[info] - should accept float param
[info] - should parse case insensitive 'aNd' operations
[info] - should parse case insensitive 'iN' operations
[info] - should parse case insensitive 'IN' operations ?
[info] - should handle long string requests
[info] MergeJoinIteratorSpec:
[info] MergeJoinIterator
[info] - should group an empty collection
[info] - should group two sequences with the same key into a single item and preserve order
[info] - should group a sequence of elements with distinct keys the same number of groups
[info] - should group a sequence of elements with two keys into two groups
[info] - should be lazy and work with infinite streams
[info] - should take from two unabalanced but ordered streams
[info] - should work with more complicated keys
[info] CqlWhereClauseSpec:
[info] - should produce a string for each predicate
[info] - should produce empty predicate string for empty predicate list
[info] - should produce valid string for IN clause predicate
[info] - should complain when the number of values doesn't match the number of placeholders '?'
[info] SolrPredicateRulesSpec:
[info] Solr Predicate Rules
[info] - should convert easy predicates to a solr query
[info] - should convert an OR filter
[info] - should convert a large conjugated tree
[info] - should not convert conjunctions with non solr indexed attributes
[info] - should be able to convert only some filters if some are non indexed
[info] - should be able to convert string like filters
[info] - should be able to convert string contains filters
[info] - should be able to convert compound NOT IN clauses
[info] - should be able to convert Null predicates
[info] - should be able to convert GreaterThanEquals and LessThanEquals
[info] Murmur3PartitionerTokenRangeSplitterSpec:
[info] Murmur3PartitionerSplitter
[info] - should split tokens
[info] - should split token sequences
[info] BufferedIterator2Spec:
[info] BufferedIterator
[info] - should return the same items as the standard Iterator
[info] - should be convertible to a Seq
[info] - should wrap an empty iterator
[info] - should offer the head element without consuming the underlying iterator
[info] - should offer takeWhile that consumes only the elements matching the predicate
[info] - should offer appendWhile that copies elements to ArrayBuffer and consumes only the elements matching the predicate
[info] - should throw NoSuchElementException if trying to get next() element that doesn't exist
[info] ConfigCheckSpec:
[info] ConfigCheck
[info] - should throw an exception when the configuration contains a invalid spark.cassandra prop
[info] - should suggest alternatives if you have a slight misspelling
[info] - should suggest alternatives if you miss a word
[info] - should not throw an exception if you have a random variable not in the spark.cassandra space
[info] - should not list all options as suggestions
[info] - should not give suggestions when the variable is very strange
[info] - should accept custom ConnectionFactory properties
[info] - should accept custom AuthConfFactory properties
[info] DefaultConnectionFactoryTest:
[info] - should complain when a malformed URL is provided
[info] - should complain when an URL with unrecognized scheme is provided
[info] SpanningIteratorSpec:
[info] SpanningIterator
[info] - should group an empty collection
[info] - should group a sequence of elements with the same key into a single item and should preserve order
[info] - should group a sequence of elements with distinct keys the same number of groups
[info] - should group a sequence of elements with two keys into two groups
[info] - should be lazy and work with infinite streams
[info] PriorityHashMapSpec:
[info] A PriorityHashMap
[info] - should support adding elements (simple)
[info] - should support adding elements ascending by value
[info] - should support adding elements descending by value
[info] - should support adding elements in random order of values
[info] - should support adding elements in random order of values and keys
[info] - should support removing elements in ascending order
[info] - should support removing elements in descending order
[info] - should support removing elements in random order from a sorted map
[info] - should support removing elements from a randomly created map in random order
[info] - should allow to heapsort an array of integers
[info] - should allow to update item priority
[info] - should be able to store multiple items with the same priority
[info] - should return false when removing a non-existing key
[info] - should have capacity rounded up to the nearest power of two
[info] - should throw NoSuchElement exception if requested a head of empty map
[info] - should throw NoSuchElement exception if requested a non-existing key
[info] - should throw IllegalStateException exception if trying to exceed allowed capacity
[info] RandomPartitionerTokenRangeSplitterSpec:
[info] RandomPartitionerSplitter
[info] - should split tokens
[info] - should split token sequences
[info] Test run started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaPairRDDTest.testWithConnector started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaPairRDDTest.testWithReadConf started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaPairRDDTest.testWithAscOrder started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaPairRDDTest.testSelectColumnNames started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaPairRDDTest.testLimit started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaPairRDDTest.testWhere started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaPairRDDTest.testSelectColumns started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaPairRDDTest.testSelectedColumnRefs started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaPairRDDTest.testSelectedColumnNames started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaPairRDDTest.testWithDescOrder started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaPairRDDTest.testPerPartitionLimit started
[info] Test run finished: 0 failed, 0 ignored, 11 total, 0.112s
[info] Test run started
[info] Test com.datastax.spark.connector.writer.DefaultRowWriterTest.testTypeConversionsInUDTValuesAreApplied started
[info] Test com.datastax.spark.connector.writer.DefaultRowWriterTest.testTypeConversionsAreApplied started
[info] Test com.datastax.spark.connector.writer.DefaultRowWriterTest.testSerializability started
[info] Test com.datastax.spark.connector.writer.DefaultRowWriterTest.testCustomTypeConvertersAreUsed started
[info] Test run finished: 0 failed, 0 ignored, 4 total, 0.249s
[info] Test run started
[info] Test com.datastax.spark.connector.japi.SparkContextJavaFunctionsTest.testReadConfPopulating started
[info] Test run finished: 0 failed, 0 ignored, 1 total, 0.179s
[info] Test run started
[info] Test com.datastax.spark.connector.rdd.reader.ClassBasedRowReaderTest.testSerialize started
[info] Test run finished: 0 failed, 0 ignored, 1 total, 0.073s
[info] Test run started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testMapColumnToListOf started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testJavaFunctions started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testMapColumnToMapOf started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testMapColumnToSetOf started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testMapColumnTo1 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testMapColumnTo2 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testMapColumnTo3 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testTypeConverter1 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testTypeConverter2 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testTypeConverter3 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testTypeConverter4 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testTypeTag1 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testTypeTag2 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testTypeTag3 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testJavaFunctions1 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testJavaFunctions4 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testJavaFunctions5 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testMapRowTo1 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testMapRowTo2 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testMapRowTo3 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testMapRowTo4 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testConvertToMap started
[info] Test run finished: 0 failed, 0 ignored, 22 total, 0.097s
[info] Test run started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetBytes started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetFloat started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetShort started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGet started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testToMap started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetByte started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetDate started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetInet started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetList started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetLong started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetUUID started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetObjectAndApply started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetBoolean started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetDouble started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetInt started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetMap started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetSet started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetString started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetVarInt started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetDecimal started
[info] Test run finished: 0 failed, 0 ignored, 20 total, 0.047s
[info] Test run started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJoinJavaRDDTest.testOn started
[info] Test run finished: 0 failed, 0 ignored, 1 total, 0.035s
[info] Test run started
[info] Test com.datastax.spark.connector.writer.AsyncExecutorTest.test started
[info] Test run finished: 0 failed, 0 ignored, 1 total, 0.44s
[info] Test run started
[info] Test com.datastax.spark.connector.rdd.partitioner.TokenRangeClustererTest.testTrivialClustering started
[info] Test com.datastax.spark.connector.rdd.partitioner.TokenRangeClustererTest.testMaxGroupSize started
[info] Test com.datastax.spark.connector.rdd.partitioner.TokenRangeClustererTest.testMultipleEndpoints started
[info] Test com.datastax.spark.connector.rdd.partitioner.TokenRangeClustererTest.testEmpty started
[info] Test com.datastax.spark.connector.rdd.partitioner.TokenRangeClustererTest.testSplitByHost started
[info] Test com.datastax.spark.connector.rdd.partitioner.TokenRangeClustererTest.testSplitByCount started
[info] Test run finished: 0 failed, 0 ignored, 6 total, 0.012s
[info] Test run started
[info] Test com.datastax.spark.connector.CassandraStreamingJavaUtilTest.testJavaFunctions2 started
[info] Test com.datastax.spark.connector.CassandraStreamingJavaUtilTest.testJavaFunctions3 started
[info] Test com.datastax.spark.connector.CassandraStreamingJavaUtilTest.testJavaFunctions6 started
[info] Test com.datastax.spark.connector.CassandraStreamingJavaUtilTest.testJavaFunctions7 started
[info] Test run finished: 0 failed, 0 ignored, 4 total, 0.074s
[info] Test run started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaRDDTest.testWithConnector started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaRDDTest.testWithReadConf started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaRDDTest.testWithAscOrder started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaRDDTest.testSelectColumnNames started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaRDDTest.testLimit started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaRDDTest.testWhere started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaRDDTest.testSelectColumns started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaRDDTest.testSelectedColumnRefs started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaRDDTest.testSelectedColumnNames started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaRDDTest.testWithDescOrder started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaRDDTest.testPerPartitionLimit started
[info] Test run finished: 0 failed, 0 ignored, 11 total, 0.004s
[info] ScalaTest
[info] Run completed in 6 seconds, 804 milliseconds.
[info] Total number of tests run: 233
[info] Suites: completed 28, aborted 0
[info] Tests: succeeded 233, failed 0, canceled 0, ignored 0, pending 0
[info] All tests passed.
[info] Passed: Total 315, Failed 0, Errors 0, Passed 315
[success] Total time: 51 s, completed Jun 30, 2021 2:53:36 PM

Checklist:

[ x] I have a ticket in the OSS JIRA
[ x] I have performed a self-review of my own code
[ x] Locally all tests pass (make sure tests fail without your patch)

Hi! The tests failed due to
The error was: Invalid version 5.1.24 (underlying error is: HTTP Error 404: Not Found)


Patrick/explore with api

Add data for explore page, connect explore card with articles, pass props, display correct label throughout components, add ternaries to avoid empty space in individual article page, add image viewer to individual article page, change the title in Stack Navigator according to label when on individual article page.

Can you have a look at conflicts?

I am having Unable to resolve "./useFocusedListeners" from<EMAIL_ADDRESS>error even after running npm i. Is it only me or general problem?


v0.0.1

Description
v0.0.1 Release
Fixes # (issue)
Type of change
Please delete options that are not relevant.
N/A
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Please refer to the relevant pr's to see all of the details for testing
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

@Rethakgetse-Manaka , please approve.


enhance: support tls protocol in asterisk logs

Besides TCP and UDP, asterisk also supports TLS connections, logs for connections using said protocol were being ignored which enabled brute force attacks on Asterisk servers using TLS.

Wait for test to complete on the workflow so but LGTM to merge as soon as they pass!


Checksum verification on non versioned external resources

What would you like to be added:
We need to discuss the integration of external and non versioned resources in Garden Linux (e.g. awscli), that could potentially be obtained via Debian or PIP. As a result, the repo verification would fit our needs.
Rel: #1381

Deprecated by #1405. (Already created PR #1425)


Fix the versions used to 3

The incoming v4 will change the installation process.
Consequently, the current v1 must use Heart modules ^3.0.0

Already done


Build fails with: ../bin/fble-disassemble.c:36:3: error: ‘__builtin_fputs’ argument missing terminating nul

System: Up to date Debian Raspbian Bullseye on Raspberry PI/4
Build complete removing -Werror from build.ninja
Gcc output:
[55/742] gcc -MMD -MF bin/fble-disassemble.o.d -std=c99 -pedantic -Wall -Wextra -Wshadow -Werror -gdwarf-3 -ggdb -O3 -I ../include -I ./bin -c -o bin/fble-disassemble.o ../bin/fble-disassemble.c
FAILED: bin/fble-disassemble.o
gcc -MMD -MF bin/fble-disassemble.o.d -std=c99 -pedantic -Wall -Wextra -Wshadow -Werror -gdwarf-3 -ggdb -O3 -I ../include -I ./bin -c -o bin/fble-disassemble.o ../bin/fble-disassemble.c
../bin/fble-disassemble.c: In function ‘main’:
../bin/fble-disassemble.c:36:3: error: ‘__builtin_fputs’ argument missing terminating nul [-Werror=stringop-overflow=]
36 |   fprintf(stream, "%s", fbldUsageHelpText);
|   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../bin/fble-disassemble.c:15:
./bin/fble-disassemble.usage.h:1:21: note: referenced argument declared here
1 | const unsigned char fbldUsageHelpText[] = {
|                     ^~~~~~~~~~~~~~~~~
../bin/fble-disassemble.c:36:3: error: ‘__builtin_fputs’ argument missing terminating nul [-Werror=stringop-overflow=]
36 |   fprintf(stream, "%s", fbldUsageHelpText);
|   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../bin/fble-disassemble.c:15:
./bin/fble-disassemble.usage.h:1:21: note: referenced argument declared here
1 | const unsigned char fbldUsageHelpText[] = {
|                     ^~~~~~~~~~~~~~~~~
../bin/fble-disassemble.c:36:3: error: ‘__builtin_fputs’ argument missing terminating nul [-Werror=stringop-overflow=]
36 |   fprintf(stream, "%s", fbldUsageHelpText);
|   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../bin/fble-disassemble.c:15:
./bin/fble-disassemble.usage.h:1:21: note: referenced argument declared here
1 | const unsigned char fbldUsageHelpText[] = {
|                     ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[56/742] gcc -MMD -MF bin/fble-deps.o.d -std=c99 -pedantic -Wall -Wextra -Wshadow -Werror -gdwarf-3 -ggdb -O3 -I ../include -I ./bin -c -o bin/fble-deps.o ../bin/fble-deps.c
FAILED: bin/fble-deps.o
gcc -MMD -MF bin/fble-deps.o.d -std=c99 -pedantic -Wall -Wextra -Wshadow -Werror -gdwarf-3 -ggdb -O3 -I ../include -I ./bin -c -o bin/fble-deps.o ../bin/fble-deps.c
../bin/fble-deps.c: In function ‘main’:
../bin/fble-deps.c:51:3: error: ‘__builtin_fputs’ argument missing terminating nul [-Werror=stringop-overflow=]
51 |   fprintf(stream, "%s", fbldUsageHelpText);
|   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../bin/fble-deps.c:15:
./bin/fble-deps.usage.h:1:21: note: referenced argument declared here
1 | const unsigned char fbldUsageHelpText[] = {
|                     ^~~~~~~~~~~~~~~~~
../bin/fble-deps.c:51:3: error: ‘__builtin_fputs’ argument missing terminating nul [-Werror=stringop-overflow=]
51 |   fprintf(stream, "%s", fbldUsageHelpText);
|   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../bin/fble-deps.c:15:
./bin/fble-deps.usage.h:1:21: note: referenced argument declared here
1 | const unsigned char fbldUsageHelpText[] = {
|                     ^~~~~~~~~~~~~~~~~
../bin/fble-deps.c:51:3: error: ‘__builtin_fputs’ argument missing terminating nul [-Werror=stringop-overflow=]
51 |   fprintf(stream, "%s", fbldUsageHelpText);
|   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../bin/fble-deps.c:15:
./bin/fble-deps.usage.h:1:21: note: referenced argument declared here
1 | const unsigned char fbldUsageHelpText[] = {
|                     ^~~~~~~~~~~~~~~~~
../bin/fble-deps.c:51:3: error: ‘__builtin_fputs’ argument missing terminating nul [-Werror=stringop-overflow=]
51 |   fprintf(stream, "%s", fbldUsageHelpText);
|   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../bin/fble-deps.c:15:
./bin/fble-deps.usage.h:1:21: note: referenced argument declared here
1 | const unsigned char fbldUsageHelpText[] = {
|                     ^~~~~~~~~~~~~~~~~

https://github.com/ruhler/fable/commit/e24165449d6275acd6e589f6242d1ce91af16c11


Build enhancement: be able to build completely with just a go get

Since gitea is a Golang project, it makes sense from a packaging standpoint to package it using regular go scripts. Unfortunately, gitea does not support this right now. Are there any plans to eventually support this mechanism?

@Vaelatern I think go build could work. Any problem have you encountered?

Speaking from the build I just ran, you need to call the Makefile first to generate the bindata artifacts.

Would it be possible to check these build artifacts into the repository?

@Vaelatern that would require additional changes otherwise when doing development or would require to regenerate bindata every time you change template that would make development very hard

Couldn't that be a pre-commit hook? Or at least a pre-release hook?

Unless of course these artifacts are architecture dependant.

I think we're already supporting builds with go get, just
they do not embed bindata. I don't think we should put generated
data in the repository. Ask upstream (to Go devs) about the
possibility to request that go get also runs go generate,
if asked

From upstream:

It's important to understand that go generate is not part of go build. It contains no dependency analysis and must be run explicitly before running go build.

Furthermore:

Just keep in mind that it is for package authors, not clients, if only for the reason that the program it invokes might not be available on the target machine. Also, if the containing package is intended for import by go get, once the file is generated (and tested!) it must be checked into the source code repository to be available to clients.

Since these files are not provided to the client, the go get workflow is broken.

Source: https://blog.golang.org/generate

I must ask, does this have a chance of being fixed?

Closing as this as go get and go build do work, however enhancements such as bindata do need go generate to be run first.


fix init-shard logic cli and TrustedCall panics

shard argument must be base58
prevent enclave panics due to TrustedCalls

included in #132


Is Parquet supported now?

We saw "is.partition.format.parquet" in some settings but found in some doc said CDM only support CSV so far, so we want to know is parquet officially supported now?

Hi,
Thank you for your question. It is not yet supported publicly. There is a partial (and limited) internal support for it. There are plans to support it eventually, but currently we have no eta / timelines to share for it yet.


Deduplicate code of Mount and CreateFileSystem

As requested in https://github.com/dokan-dev/dokan-dotnet/pull/284/#issuecomment-1043381198 , here the introduction of the ConfigureInstance method, which deduplicates code from Mount and CreateFileSystem.

Hi @uholzer ,
Thanks for the pull request! Looks like there is a mix of content in the commit. Would you be able to take a look at it ?
Like the SafeBuffer for DokanMain and a keepalive removed.

Depends on which stance we want to take:

Use DokanInstance and SafeBuffer in both cases, as I have done in this pull request. This means that the class NativeMethods needs to take a SafeBuffer and  that we GC.KeepAlive the instance.
Not change NativeMethods, i.e. keep passing DOKAN_OPTIONS and DOKAN_OPERATIONS instead of a SafeBuffer to Mount. Additionally, let ConfigureInstance return a Tuple<DOKAN_OPTIONS, DOKAN_OPERATIONS> instead of a DokanInstance. Also, the two GC.KeepAlive we have now, remain as they are.

Given your feedback, I assume you like option 2 better. This makes sense in my opinion as it does not change how we invoke DokanMain. I will update the pull request accordingly.

I agree on # 2 as well. It makes native calls unnecessarily complicated to introduce SafeBuffer etc in calls that actually do not need them. I also assume that the entire GC.KeepAlive thing will be unnecessary at some point in the future and that makes it even more unnecessary to manually marshal objects for this particular native call. GC.KeepAlive has never been needed before and it looks like it is only needed in some very specific scenarios right now most probably due to some framework bug.

Option 2 is ready. I made two functions, one for the options and one for the operations. (I gave up on a single function returning a tuple because destructuring is not possible before .NETFramework 4.7 and doing it manually looks ugly.)

Thank you very much @uholzer for the quick change! 🏆


Replay failed with VkImportMemoryHostPointerInfoEXT - vkAllocateMemory returned error value

Reproduced when I tried to replay Cyberpunk 2077 capture

Mesa main branch with 6c0215eb09e commit
Ubuntu 20.04.5 LTS
Proton Experimental
Intel® Core™ i5-10300H CPU @ 2.50GHz × 8
Mesa Intel® UHD Graphics (CML GT2)

Steps to reproduce:

Download Cyberpunk 2077 from Steam
Enable Proton Experimental in Steam settings
Build latest release mesa from main branch (the commit 6c0215eb09e)
export VK_ICD_FILENAMES=/home/illia/issues/cyberpunk-7211/mesa/build/share/vulkan/icd.d/intel_icd.x86_64.json
export VK_INSTANCE_LAYERS=VK_LAYER_LUNARG_gfxreconstruct
export VK_LAYER_PATH=/home/illia/sources/gfxreconstruct/build/layer/:$VK_LAYER_PATH
export GFXRECON_CAPTURE_FILE=/home/illia/traces/gfxrecon_capture.gfxr

Try to replay captured file:
./gfxrecon-replay /home/illia/traces/gfxrecon_capture_20220913T144728.gfxr
The error appears:
[gfxrecon] FATAL - API call vkAllocateMemory returned error value VK_ERROR_INVALID_EXTERNAL_HANDLE that does not match the result from the capture file: VK_SUCCESS. Replay cannot continue.
Vulkan validation error messages:
Objects: 1
        [0] 0x555cba6d96d0, type: 3, name: NULL
        VUID_Undefined(ERROR / SPEC): msgNum:<PHONE_NUMBER> - Validation Error:
        [ VUID_Undefined ] Object 0: handle = 0x555cba6d96d0, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x79de34d4 |
            VkImportMemoryHostPointerInfoEXT: required parameter pHostPointer specified as NULL.
Objects: 1
        [0] 0x555cba6d96d0, type: 3, name: NULL
        VUID-VkMemoryAllocateInfo-pNext-03332(ERROR / SPEC): msgNum: 980427729 - Validation Error:
        [ VUID-VkMemoryAllocateInfo-pNext-03332 ] Object 0: handle = 0x555cba6d96d0,
        type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x3a7023d1 |
        If the pNext chain includes a VkImportMemoryHostPointerInfoEXT structure, opaqueCaptureAddress must be zero.
        The Vulkan spec states: If the pNext chain includes a VkImportMemoryHostPointerInfoEXT structure,
        VkMemoryOpaqueCaptureAddressAllocateInfo::opaqueCaptureAddress
        must be zero (https://vulkan.lunarg.com/doc/view/<IP_ADDRESS>/linux/1.3-extensions/vkspec.html#VUID-VkMemoryAllocateInfo-pNext-03332)

Debugged the issue
Cyberpunk 2077 DirectX12 translated to Vulkan uses VkImportMemoryHostPointerInfoEXT for some of VkAllocateMemory calls
Logged pHostPointer parameters passed from Cyberpunk to mesa driver, and they're not zero
But when replaying capture the pHostPointer of VkImportMemoryHostPointerInfoEXT is always zero
Look's like GFX fails to save this filed  while tracing game

Fixed the issue in this PR: https://github.com/LunarG/gfxreconstruct/pull/803
Implemented allocation for external memory
Resetted opaqueCaptureAddress to 0 if replay uses VkImportMemoryHostPointerInfoEXT


Compilation issues for projects using require_equal_containers.h

Hello,
I have the following error for all the cpp projects using require_equal_containers.h. I tried boost 1.55 and 1.61 and I use this gcc on Xubuntu 14.04:
sdargo@ncelr51130 ~/exercism/cpp/etl/build $ gcc --version
gcc-4.8.real (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Thanks for your help!
[ 50%] Building CXX object CMakeFiles/etl.dir/etl_test.cpp.o
In file included from /usr/local/include/boost/test/tools/floating_point_comparison.hpp:21:0,
from /usr/local/include/boost/test/tools/old/impl.hpp:21,
from /usr/local/include/boost/test/test_tools.hpp:46,
from /usr/local/include/boost/test/unit_test.hpp:18,
from /home/sdargo/exercism/cpp/etl/etl_test.cpp:3:
/usr/local/include/boost/test/tools/detail/print_helper.hpp: In instantiation of ‘struct boost::test_tools::tt_detail::print_log_value >’:
/usr/local/include/boost/test/tools/detail/print_helper.hpp:178:40: required from ‘std::ostream& boost::test_tools::tt_detail::operator<<(std::ostream&, const boost::test_tools::tt_detail::print_helper_t&) [with T = std::pair; std::ostream = std::basic_ostream]’
/usr/local/include/boost/test/utils/wrap_stringstream.hpp:66:19: required from ‘boost::basic_wrap_stringstream& boost::operator<<(boost::basic_wrap_stringstream&, const T&) [with CharT = char; T = boost::test_tools::tt_detail::print_helper_t >]’
/usr/local/include/boost/test/tools/old/impl.hpp:212:19: required from ‘boost::test_tools::assertion_result boost::test_tools::tt_detail::equal_coll_impl::operator()(Left, Left, Right, Right) [with Left = std::_Rb_tree_const_iterator >; Right = std::_Rb_tree_const_iterator >]’
/home/sdargo/exercism/cpp/etl/etl_test.cpp:15:5: required from here
/usr/local/include/boost/test/tools/detail/print_helper.hpp:47:5: error: static assertion failed: Type has to implement operator<< to be printable
BOOST_STATIC_ASSERT_MSG( (boost::has_left_shiftstd::ostream,T::value),
^
make[2]: *** [CMakeFiles/etl.dir/etl_test.cpp.o] Error 1
make[1]: *** [CMakeFiles/etl.dir/all] Error 2
make: *** [all] Error 2

Do you hit this issue when you use the example solution?

It is the very same issue with the example solution.

It seems to have something to do with how the operator<< functions are being looked up w.r.t. namespaces.  I'll see if I can get a machine with 4.8.4 on it and see if I can reproduce.

Thanks.

I had the same problem with  "require_equal_containers.h"... and I eventually fixed it with the following:

update to latest boost (1.61) - didn't fix it
comment out "require_equal_containers.h" and change REQUIRE_EQUAL_CONTAINERS(expected, actual) to BOOST_TEST(expected == actual) as per the boost collection comparisons documentation (http://www.boost.org/doc/libs/1_61_0/libs/test/doc/html/boost_test/testing_tools/extended_comparison/collections.html)

That fixed it

Merged in the fix for this in #118


M1 Mac Support

Do you have plans to incorporate support for Apple Silicon simulator?
I am seeing this error and I assume is because the packages configuration establishes the supported platforms.
I may be wrong, but do you have some idea about how to fix it?

Could not find module 'KeychainAccess' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator

I just find out this works with Apple Silicon computer, but another dependency of my project is actually excluding arm64 and arm64e and that's why the error above appears.

how did you find out which dependency couses the problem. I have flutter project with widget extensions but cant work on simulator because of this issue.


HiFiBerry / ALSA errors

Trying to use librespot with HiFiBerry, on OSMC; audio on HiFiBerry DAC works perfect on OSMC/Kodi
Using the latest binary package from here: https://github.com/herrernst/librespot/releases
When launching librespot, I authentication works but then I get a bunch of ALSA errors, can spotify clients are unable to see the Raspberry
./librespot --name Raspberry --bitrate 320 --username YOURUSERNAME --password YOURPASSOWORD --appkey /home/osmc/spotify-connect/spotify_appkey.key --cache /tmp
Authenticated !
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm_direct.c:896:(snd1_pcm_direct_initialize_slave) slave plugin does not support mmap interleaved or mmap noninterleaved access
ALSA lib pcm_dmix.c:1034:(snd_pcm_dmix_open) unable to initialize slave
kMessageTypeHello Raspberry b7870749a82019bec25fcc2db279951e62cdbd42 1<PHONE_NUMBER>310
The output of aplay -l is:
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ Pro HiFi pcm512x-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0

Made some progress by:

Adding the below to /boot/config.txt
dtoverlay=i2s-mmap

Edited /usr/share/alsa/alsa.conf  and doing this change: link

Now I get the following error:
Authenticated !
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
Expression 'SetApproximateSampleRate( pcm, hwParams, defaultSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 932
kMessageTypeHello Raspberry b7870749a82019bec25fcc2db279951e62cdbd42 1<PHONE_NUMBER>944

Seems to be mostly a problem with ALSA configuration. I'm also using a HiFiBerry, without any problems.
Do you have an ~/.asoundrc or /etc/asound.conf, and what's in there? I'm using direct hardware access for now, but of course then librespot is locking the device and no other process can use your sound card:
pcm.!default  {
 type hw card 0
}
ctl.!default {
 type hw card 0
}

I always get the following messages on librespot start (and have learned to ignore them instead of fixing them):
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
ALSA lib pcm_direct.c:896:(snd1_pcm_direct_initialize_slave) slave plugin does not support mmap interleaved or mmap noninterleaved access
ALSA lib pcm_dmix.c:1034:(snd_pcm_dmix_open) unable to initialize slave

But then, it plays fine.

Thanks this looks more promising then :)
I created /etc/asound.conf
Without doing anything else but adding that file, I am getting this:
....
ALSA lib pcm_direct.c:896:(snd1_pcm_direct_initialize_slave) slave plugin does not support mmap interleaved or mmap noninterleaved access
ALSA lib pcm_dmix.c:1034:(snd_pcm_dmix_open) unable to initialize slave
(same as you posted!)
Then when I launch the android client, librespot immediately crashes:
kMessageTypeHello Raspberry b7870749a82019bec25fcc2db279951e62cdbd42 1<PHONE_NUMBER>419
thread '' panicked at 'called Result::unwrap() on an Err value: WireError("invalid value for enum: 10")', ../src/libcore/result.rs:746
note: Run with RUST_BACKTRACE=1 for a backtrace.
thread '' panicked at 'called Result::unwrap() on an Err value: RecvError', ../src/libcore/result.rs:746
thread '' panicked at 'called Result::unwrap() on an Err value: "SendError(..)"', ../src/libcore/result.rs:746
And the availability of Spotify Connect devices never shows in the Client.
I have a HiFiBerry DAC+, is that what you have?
do you recall modifying any other config file?
What about /boot/config.txt  - is this needed or not:  dtoverlay=i2s-mmap
Here is the backtrace for reference: https://paste.gnome.org/pqkqrnpdy

The WireError crash is because of an older librespot and a new/current Android app, see #54 and #55. I will update my RPi build later today.

Thank you for this!

Try this, hope it works: https://github.com/herrernst/librespot/releases/tag/v20160307-d27c4ca
When you see the HiFiBerry device in aplay -l, you should be fine. For me, works then without asound.conf. Never messed with i2s-mmap or something else.

Well I am getting closer and closer. This worked nicely once when I first ran your latest release, with audio playback and all.
Now, while librespot doesn't crash, I can't get the raspberry to show on the android client any more, not sure why!  aplay looks fine (see below)
I am seeing the "jack" messages which I didn't see before; this is on a new OSMC clean install. Tried rebooting, running with sudo, stopping "mediacenter" (kodi), no joy.  I found a thread that talks about librespot & jack and I am asking there as well.
Any hint?
LSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm_direct.c:896:(snd1_pcm_direct_initialize_slave) slave plugin does not support mmap interleaved or mmap noninterleaved access
ALSA lib pcm_dmix.c:1034:(snd_pcm_dmix_open) unable to initialize slave
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
kMessageTypeHello Raspberry b7870749a82019bec25fcc2db279951e62cdbd42 1<PHONE_NUMBER>412
kMessageTypeHello Galaxy S6 b78f746216845f1309d617a88abc6e62c923d1ec 48 0
kMessageTypeNotify Galaxy S6 b78f746216845f1309d617a88abc6e62c923d1ec 49 0

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ Pro HiFi pcm512x-hifi-0 []
Subdevices: 0/1
Subdevice #0: subdevice #0
$ cat /etc/asound.conf
pcm.!default  {
type hw card 0
}
ctl.!default {
type hw card 0
}

FWIW, I always get this messages:
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

ALSA lib pcm_direct.c:896:(snd1_pcm_direct_initialize_slave) slave plugin does not support mmap interleaved or mmap noninterleaved access
ALSA lib pcm_dmix.c:1034:(snd_pcm_dmix_open) unable to initialize slave

Portaudio supports at least ALSA, Jack and PulseAudio, and I think it just tries to connect to different audio output methods. I think this is not your problem.
I noticed discovery not being 100% reliable. Sometimes, the device doesn't appear, and you have to restart the Spotify app (or wait). You could also try specifying username/password, then "discovery" is not needed.

Testing the release that showed up today and it seems to be a lot more stable (no issues so far). Started librespot without username/password, it gets an authentication from the spotify client.
Also FWIW, confirmed that the jackd messages are irrelevant,
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started

librespot still works - and now really well, actually better than the python wrapper for libspotify that for some reason has problems (stops after a random number of songs) when used over wifi instead of wired ethernet. I notice that librespot buffers the whole song in the first few seconds while libspotify tends to spread out the download over the whole song and seems to kill the poor wifi dongle.
The challenge I am having now with librespot is that this works only while I keep the ssh terminal open. If I launch librespot with "&" and then disconnect the terminal, I notice (from another terminal) that the librespot process dies as soon as I connect a client to it. How do you normally run librespot?

How to start on boot depends on your distribution.
If you're manually starting from terminal you could try nohup command-to-execute & (the nohup before is necessary so the program keeps running after "hanging up" the terminal by disconnecting).
Or you could add the cmd to /etc/rc.local or write a simple systemd unit file: https://discourse.osmc.tv/t/how-to-run-script-at-boot-solved/3562
If librespot works for you now, I would also suggest closing this issue.

Thanks Herrernst. Actually I ran into the same issue now with librespot as I had with libspotify, music stops after some minutes of playback, more or less depending on me having the connectivity/ping script.
Once when on wifi, there is some issue that prevents librespot from recovering gracefully from packetloss (my guess). This happens regardless of 320kbps or 160kbps setting.
One thing I just noticed is that whenever issues start, I can not longer login via ssh, I get the login prompt but after authenticating succesfully, I get "Server refused to allocate pty" in Putty (or "Failed to send channel request" in my android ssh terminal and in the linux desktop.
In the internet I found that this is related to having more than 256 "pseudo terminals".  When I kill the librespot process from the local terminal, then all comes back to normal.
Could it be that librespot keeps spawning PTY pseudoterminals for some reason, and stops when it hits the limit?
Added kernel.pty.max = 8192
/etc/systemctl.conf
(cat /proc/sys/kernel/pty/max)
Understand that this has nothing to do with ALSA though. So, closed.