Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Scala OSX unittest failure #11988

@lanking520

Description

@lanking520

Currently Scala unittest is failed on master branch due to the missing links on the native packages. Open this issue to track the update on the fixes.

@nswamy @yzhliu @andrewfayres

- plus *** FAILED ***
  java.util.NoSuchElementException: key not found: _plus_scalar
  at scala.collection.MapLike$class.default(MapLike.scala:228)
  at scala.collection.AbstractMap.default(Map.scala:59)
  at scala.collection.MapLike$class.apply(MapLike.scala:141)
  at scala.collection.AbstractMap.apply(Map.scala:59)
  at org.apache.mxnet.NDArray$.genericNDArrayFunctionInvoke(NDArray.scala:65)
  at org.apache.mxnet.NDArray.$plus(NDArray.scala:773)
  at org.apache.mxnet.NDArraySuite$$anonfun$9.apply(NDArraySuite.scala:70)
  at org.apache.mxnet.NDArraySuite$$anonfun$9.apply(NDArraySuite.scala:68)
  at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
  at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
  ...
- minus *** FAILED ***
  java.util.NoSuchElementException: key not found: _minus_scalar
  at scala.collection.MapLike$class.default(MapLike.scala:228)
  at scala.collection.AbstractMap.default(Map.scala:59)
  at scala.collection.MapLike$class.apply(MapLike.scala:141)
  at scala.collection.AbstractMap.apply(Map.scala:59)
  at org.apache.mxnet.NDArray$.genericNDArrayFunctionInvoke(NDArray.scala:65)
  at org.apache.mxnet.NDArray.$minus(NDArray.scala:797)
  at org.apache.mxnet.NDArraySuite$$anonfun$10.apply(NDArraySuite.scala:81)
  at org.apache.mxnet.NDArraySuite$$anonfun$10.apply(NDArraySuite.scala:79)
  at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
  at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
  ...
- multiplication *** FAILED ***
  java.util.NoSuchElementException: key not found: _mul_scalar
  at scala.collection.MapLike$class.default(MapLike.scala:228)
  at scala.collection.AbstractMap.default(Map.scala:59)
  at scala.collection.MapLike$class.apply(MapLike.scala:141)
  at scala.collection.AbstractMap.apply(Map.scala:59)
  at org.apache.mxnet.NDArray$.genericNDArrayFunctionInvoke(NDArray.scala:65)
  at org.apache.mxnet.NDArray.$times(NDArray.scala:821)
  at org.apache.mxnet.NDArraySuite$$anonfun$11.apply(NDArraySuite.scala:93)
  at org.apache.mxnet.NDArraySuite$$anonfun$11.apply(NDArraySuite.scala:91)
  at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
  at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
  ...
- division *** FAILED ***
  java.util.NoSuchElementException: key not found: _minus_scalar
  at scala.collection.MapLike$class.default(MapLike.scala:228)
  at scala.collection.AbstractMap.default(Map.scala:59)
  at scala.collection.MapLike$class.apply(MapLike.scala:141)
  at scala.collection.AbstractMap.apply(Map.scala:59)
  at org.apache.mxnet.NDArray$.genericNDArrayFunctionInvoke(NDArray.scala:65)
  at org.apache.mxnet.NDArray.$minus(NDArray.scala:797)
  at org.apache.mxnet.NDArraySuite$$anonfun$12.apply(NDArraySuite.scala:104)
  at org.apache.mxnet.NDArraySuite$$anonfun$12.apply(NDArraySuite.scala:102)
  at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
  at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
  ...
- full
- clip *** FAILED ***
  java.util.NoSuchElementException: key not found: clip
  at scala.collection.MapLike$class.default(MapLike.scala:228)
  at scala.collection.AbstractMap.default(Map.scala:59)
  at scala.collection.MapLike$class.apply(MapLike.scala:141)
  at scala.collection.AbstractMap.apply(Map.scala:59)
  at org.apache.mxnet.NDArray$.genericNDArrayFunctionInvoke(NDArray.scala:65)
  at org.apache.mxnet.NDArray$.clip(NDArray.scala:34)
  at org.apache.mxnet.NDArraySuite$$anonfun$14.apply(NDArraySuite.scala:124)
  at org.apache.mxnet.NDArraySuite$$anonfun$14.apply(NDArraySuite.scala:121)
  at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
  at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
  ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions