java.lang.AssertionError

JIRA | Kevin Normoyle | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    test seems simple. it's just doing a couple of datasets does an import/parse of covtype. cd testdir_multi_jvm py test_basics.py java.lang.AssertionError 10:59:36.063 FJ-9-3 INFO WATER: at water.Lockable$Unlock.atomic(Lockable.java:178) 10:59:36.064 FJ-9-3 INFO WATER: at water.Lockable$Unlock.atomic(Lockable.java:174) 10:59:36.064 FJ-9-3 INFO WATER: at water.TAtomic.atomic(TAtomic.java:19) 10:59:36.064 FJ-9-3 INFO WATER: at water.Atomic.compute2(Atomic.java:57) 10:59:36.064 FJ-9-3 INFO WATER: at water.Atomic.fork(Atomic.java:42) 10:59:36.065 FJ-9-3 INFO WATER: at water.Atomic.invoke(Atomic.java:34) 10:59:36.065 FJ-9-3 INFO WATER: at water.Lockable.unlock(Lockable.java:169) 10:59:36.065 FJ-9-3 INFO WATER: at hex.rf.RandomForest.build(RandomForest.java:56) 10:59:36.065 FJ-9-3 INFO WATER: at hex.rf.DRF$DRFTask.lcompute(DRF.java:161) 10:59:36.065 FJ-9-3 INFO WATER: at water.DRemoteTask.compute2(DRemoteTask.java:91) 10:59:36.066 FJ-9-3 INFO WATER: at water.H2O$H2OCountedCompleter.compute(H2O.java:712) 10:59:36.066 FJ-9-3 INFO WATER: at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) 10:59:36.066 FJ-9-3 INFO WATER: at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) 10:59:36.066 FJ-9-3 INFO WATER: at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) 10:59:36.066 FJ-9-3 INFO WATER: at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) 10:59:36.067 FJ-9-3 INFO WATER: at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) import_only: /var/lib/jenkins/jobs/h2o.multi.vm.temporary/workspace/py/testdir_multi_jvm/test_basics.py uses put://home/0xdiag/home-0xdiag-datasets/standard/covtype.data Local path to file that will be uploaded: /home/0xdiag/home-0xdiag-datasets/standard/covtype.data That path resolves as: /home/0xdiag/home-0xdiag-datasets/standard/covtype.data parse parameters: {'header': None, 'destination_key': None, 'separator': None, 'preview': None, 'exclude': None, 'header_from_file': None, 'parser_type': None, 'blocking': None, 'single_quotes': None, 'source_key': 'covtype.data'} redirecthttp://10.217.49.187:54321/Progress pollhttp://10.217.49.187:54321/Progress summary_page parameters: {'x': None, 'max_column_display': 1000, 'key': u'covtype.hex'} random_forest parameters: {'response_variable': None, 'use_non_local_data': None, 'class_weights': None, 'stat_type': None, 'out_of_bag_error_estimate': 1, 'bin_limit': None, 'strata_samples': None, 'ignore': None, 'exclusive_split_limit': None, 'depth': None, 'seed': None, 'sampling_strategy': None, 'model_key': None, 'ntree': 6, 'iterative_cm': None, 'sample': None, 'data_key': u'covtype.hex', 'features': None} RF parameters: {'response_variable': None, 'use_non_local_data': None, 'class_weights': None, 'stat_type': None, 'out_of_bag_error_estimate': 1, 'bin_limit': None, 'strata_samples': None, 'ignore': None, 'exclusive_split_limit': None, 'depth': None, 'seed': None, 'sampling_strategy': None, 'model_key': None, 'ntree': 6, 'iterative_cm': None, 'sample': None, 'data_key': u'covtype.hex', 'features': None} RF result: { "data_key": "covtype.hex", "destination_key": "__RFModel__a39bbcf6ea79c43d2994f890d1b4a15", "model_key": "__RFModel__a39bbcf6ea79c43d2994f890d1b4a15", "ntree": 6, "response": { "h2o": "pytest-jenkins-23723", "node": "/10.217.49.187:54321", "redirect_request": "RFView", "redirect_request_args": { "data_key": "covtype.hex", "destination_key": "__RFModel__a39bbcf6ea79c43d2994f890d1b4a15", "iterative_cm": true, "job": "$03010ad931bb32d4ffffffff$_a86f20cf13f0f1d9bb1f710acccd4fca", "model_key": "__RFModel__a39bbcf6ea79c43d2994f890d1b4a15", "ntree": 6, "out_of_bag_error_estimate": true, "response_variable": 54 }, "status": "redirect", "time": 17 }, "response_variable": 54 } RFView parameters: {'response_variable': None, 'class_weights': None, 'out_of_bag_error_estimate': 1, 'model_key': u'__RFModel__a39bbcf6ea79c43d2994f890d1b4a15', 'ntree': 6, 'iterative_cm': 0, 'data_key': u'covtype.hex'} pollhttp://10.217.49.187:54321/RFView.json pollhttp://10.217.49.187:54321/RFView.json pollhttp://10.217.49.187:54321/RFView.json pollhttp://10.217.49.187:54321/RFView.json pollhttp://10.217.49.187:54321/RFView.json pollhttp://10.217.49.187:54321/RFView.json pollhttp://10.217.49.187:54321/RFView.json pollhttp://10.217.49.187:54321/RFView.json pollhttp://10.217.49.187:54321/RFView.json pollhttp://10.217.49.187:54321/RFView.json pollhttp://10.217.49.187:54321/RFView.json pollhttp://10.217.49.187:54321/RFView.json pollhttp://10.217.49.187:54321/RFView.json pollhttp://10.217.49.187:54321/RFView.json pollhttp://10.217.49.187:54321/RFView.json java.lang.AssertionError 10:59:36.063 FJ-9-3 INFO WATER: at water.Lockable$Unlock.atomic(Lockable.java:178) 10:59:36.064 FJ-9-3 INFO WATER: at water.Lockable$Unlock.atomic(Lockable.java:174) 10:59:36.064 FJ-9-3 INFO WATER: at water.TAtomic.atomic(TAtomic.java:19) 10:59:36.064 FJ-9-3 INFO WATER: at water.Atomic.compute2(Atomic.java:57) 10:59:36.064 FJ-9-3 INFO WATER: at water.Atomic.fork(Atomic.java:42) 10:59:36.065 FJ-9-3 INFO WATER: at water.Atomic.invoke(Atomic.java:34) 10:59:36.065 FJ-9-3 INFO WATER: at water.Lockable.unlock(Lockable.java:169) 10:59:36.065 FJ-9-3 INFO WATER: at hex.rf.RandomForest.build(RandomForest.java:56) 10:59:36.065 FJ-9-3 INFO WATER: at hex.rf.DRF$DRFTask.lcompute(DRF.java:161) 10:59:36.065 FJ-9-3 INFO WATER: at water.DRemoteTask.compute2(DRemoteTask.java:91) 10:59:36.066 FJ-9-3 INFO WATER: at water.H2O$H2OCountedCompleter.compute(H2O.java:712) 10:59:36.066 FJ-9-3 INFO WATER: at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) 10:59:36.066 FJ-9-3 INFO WATER: at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) 10:59:36.066 FJ-9-3 INFO WATER: at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) 10:59:36.066 FJ-9-3 INFO WATER: at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) 10:59:36.067 FJ-9-3 INFO WATER: at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)

    JIRA | 3 years ago | Kevin Normoyle
    java.lang.AssertionError
  2. 0

    This looks like a test failure. The test will randomly have a name collision on model names. Or is this a cleanup problem? ./h2o-py/tests/testdir_algos/kmeans/pyunit_random_attack_medium.py Failure example: http://172.16.2.161:8080/job/h2o_master_DEV_win8_pyunit_medium_large/1248/artifact/h2o-py/tests/results/java_0_0.out.txt 11-01 09:37:46.444 172.17.6.15:56789 2404 FJ-0-5 INFO: {"_model_id":{"name":"my_model","type":"Key"},"_train":{"name":"ozone.hex","type":"Key"},"_valid":null,"_nfolds":0,"_keep_cross_validation_predictions":false,"_fold_assignment":"AUTO","_distribution":"AUTO","_tweedie_power":1.5,"_ignored_columns":["wind"],"_ignore_const_cols":true,"_weights_column":null,"_offset_column":null,"_fold_column":null,"_score_each_iteration":false,"_stopping_rounds":0,"_stopping_metric":"AUTO","_stopping_tolerance":0.001,"_response_column":null,"_balance_classes":false,"_max_after_balance_size":5.0,"_class_sampling_factors":null,"_max_hit_ratio_k":10,"_max_confusion_matrix_size":20,"_checkpoint":null,"_k":20,"_max_iterations":1000,"_standardize":false,"_seed":8718,"_init":"Furthest","_user_points":null,"_pred_indicator":false} 11-01 09:37:46.444 172.17.6.15:56789 2404 FJ-0-5 INFO: Dropping ignored columns: [wind] java.lang.IllegalArgumentException: class hex.kmeans.KMeansModel my_model is already in use. Unable to use it now. Consider using a different destination name. at water.Lockable$PriorWriteLock.atomic(Lockable.java:109) at water.Lockable$PriorWriteLock.atomic(Lockable.java:98) at water.TAtomic.atomic(TAtomic.java:17) at water.Atomic.compute2(Atomic.java:55) at water.Atomic.fork(Atomic.java:39) at water.Atomic.invoke(Atomic.java:31) at water.Lockable.write_lock(Lockable.java:59) at water.Lockable.delete_and_lock(Lockable.java:66) at hex.kmeans.KMeans$KMeansDriver.compute2(KMeans.java:269) at water.H2O$H2OCountedCompleter.compute(H2O.java:1065) at jsr166y.CountedCompleter.exec(CountedCompleter.java:468) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) barrier onExCompletion for hex.kmeans.KMeans$KMeansDriver@60442d4a java.lang.AssertionError: Can't unlock: Not locked! at water.Lockable$Unlock.atomic(Lockable.java:187) at water.Lockable$Unlock.atomic(Lockable.java:177) at water.TAtomic.atomic(TAtomic.java:17) at water.Atomic.compute2(Atomic.java:55) at water.Atomic.fork(Atomic.java:39) at water.Atomic.invoke(Atomic.java:31) at water.Lockable.unlock(Lockable.java:172) at water.Lockable.unlock(Lockable.java:168) at hex.kmeans.KMeans$KMeansDriver.compute2(KMeans.java:332) at water.H2O$H2OCountedCompleter.compute(H2O.java:1065) at jsr166y.CountedCompleter.exec(CountedCompleter.java:468) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)

    JIRA | 1 year ago | Brandon Hill
    java.lang.AssertionError: Can't unlock: Not locked!
  3. 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
  6. 0

    This looks like a test failure. The test will randomly have a name collision on model names. Or is this a cleanup problem? ./h2o-py/tests/testdir_algos/kmeans/pyunit_random_attack_medium.py Failure example: http://172.16.2.161:8080/job/h2o_master_DEV_win8_pyunit_medium_large/1248/artifact/h2o-py/tests/results/java_0_0.out.txt 11-01 09:37:46.444 172.17.6.15:56789 2404 FJ-0-5 INFO: {"_model_id":{"name":"my_model","type":"Key"},"_train":{"name":"ozone.hex","type":"Key"},"_valid":null,"_nfolds":0,"_keep_cross_validation_predictions":false,"_fold_assignment":"AUTO","_distribution":"AUTO","_tweedie_power":1.5,"_ignored_columns":["wind"],"_ignore_const_cols":true,"_weights_column":null,"_offset_column":null,"_fold_column":null,"_score_each_iteration":false,"_stopping_rounds":0,"_stopping_metric":"AUTO","_stopping_tolerance":0.001,"_response_column":null,"_balance_classes":false,"_max_after_balance_size":5.0,"_class_sampling_factors":null,"_max_hit_ratio_k":10,"_max_confusion_matrix_size":20,"_checkpoint":null,"_k":20,"_max_iterations":1000,"_standardize":false,"_seed":8718,"_init":"Furthest","_user_points":null,"_pred_indicator":false} 11-01 09:37:46.444 172.17.6.15:56789 2404 FJ-0-5 INFO: Dropping ignored columns: [wind] java.lang.IllegalArgumentException: class hex.kmeans.KMeansModel my_model is already in use. Unable to use it now. Consider using a different destination name. at water.Lockable$PriorWriteLock.atomic(Lockable.java:109) at water.Lockable$PriorWriteLock.atomic(Lockable.java:98) at water.TAtomic.atomic(TAtomic.java:17) at water.Atomic.compute2(Atomic.java:55) at water.Atomic.fork(Atomic.java:39) at water.Atomic.invoke(Atomic.java:31) at water.Lockable.write_lock(Lockable.java:59) at water.Lockable.delete_and_lock(Lockable.java:66) at hex.kmeans.KMeans$KMeansDriver.compute2(KMeans.java:269) at water.H2O$H2OCountedCompleter.compute(H2O.java:1065) at jsr166y.CountedCompleter.exec(CountedCompleter.java:468) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) barrier onExCompletion for hex.kmeans.KMeans$KMeansDriver@60442d4a java.lang.AssertionError: Can't unlock: Not locked! at water.Lockable$Unlock.atomic(Lockable.java:187) at water.Lockable$Unlock.atomic(Lockable.java:177) at water.TAtomic.atomic(TAtomic.java:17) at water.Atomic.compute2(Atomic.java:55) at water.Atomic.fork(Atomic.java:39) at water.Atomic.invoke(Atomic.java:31) at water.Lockable.unlock(Lockable.java:172) at water.Lockable.unlock(Lockable.java:168) at hex.kmeans.KMeans$KMeansDriver.compute2(KMeans.java:332) at water.H2O$H2OCountedCompleter.compute(H2O.java:1065) at jsr166y.CountedCompleter.exec(CountedCompleter.java:468) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)

    JIRA | 1 year ago | Brandon Hill
    java.lang.AssertionError: Can't unlock: Not locked!

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.AssertionError

      No message provided

      at water.Lockable$Unlock.atomic()
    2. water
      Lockable.unlock
      1. water.Lockable$Unlock.atomic(Lockable.java:178)
      2. water.Lockable$Unlock.atomic(Lockable.java:174)
      3. water.TAtomic.atomic(TAtomic.java:19)
      4. water.Atomic.compute2(Atomic.java:57)
      5. water.Atomic.fork(Atomic.java:42)
      6. water.Atomic.invoke(Atomic.java:34)
      7. water.Lockable.unlock(Lockable.java:169)
      7 frames
    3. hex.rf
      DRF$DRFTask.lcompute
      1. hex.rf.RandomForest.build(RandomForest.java:56)
      2. hex.rf.DRF$DRFTask.lcompute(DRF.java:161)
      2 frames
    4. water
      H2O$H2OCountedCompleter.compute
      1. water.DRemoteTask.compute2(DRemoteTask.java:91)
      2. water.H2O$H2OCountedCompleter.compute(H2O.java:712)
      2 frames
    5. jsr166y
      ForkJoinWorkerThread.run
      1. jsr166y.CountedCompleter.exec(CountedCompleter.java:429)
      2. jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263)
      3. jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974)
      4. jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477)
      5. jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)
      5 frames