all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* error while upgrading to 8.3.5
@ 2016-07-25  0:42 Vikas Rawal
  2016-07-25  5:55 ` Colin Baxter
  2016-07-25  8:52 ` Nicolas Goaziou
  0 siblings, 2 replies; 8+ messages in thread
From: Vikas Rawal @ 2016-07-25  0:42 UTC (permalink / raw)
  To: org-mode mailing list

I did the usual "make up2" in my git repository but got the following error (just pasting the tail of the log):

—————

Ran 634 tests, 633 results as expected, 1 unexpected (2016-07-25 06:07:28+0530)
7 expected failures

1 unexpected results:
   FAILED  test-org-colview/columns-summary

mk/targets.mk:103: recipe for target 'test-dirty' failed
make[1]: *** [test-dirty] Error 1
make[1]: Leaving directory '/Users/vikas/.emacs.d/src/org-mode'
mk/targets.mk:115: recipe for target 'up2' failed
make: *** [up2] Error 2

—————

What do I do? Re-install?

Vikas

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: error while upgrading to 8.3.5
  2016-07-25  0:42 error while upgrading to 8.3.5 Vikas Rawal
@ 2016-07-25  5:55 ` Colin Baxter
  2016-07-25  8:52 ` Nicolas Goaziou
  1 sibling, 0 replies; 8+ messages in thread
From: Colin Baxter @ 2016-07-25  5:55 UTC (permalink / raw)
  To: Vikas Rawal; +Cc: org-mode mailing list

On Mon, Jul 25 2016, Vikas Rawal wrote:

> I did the usual "make up2" in my git repository but got the following
> error (just pasting the tail of the log):
>
> —————
>
> Ran 634 tests, 633 results as expected, 1 unexpected (2016-07-25 06:07:28+0530)
> 7 expected failures
>
> 1 unexpected results:
>    FAILED  test-org-colview/columns-summary
>
> mk/targets.mk:103: recipe for target 'test-dirty' failed
> make[1]: *** [test-dirty] Error 1
> make[1]: Leaving directory '/Users/vikas/.emacs.d/src/org-mode'
> mk/targets.mk:115: recipe for target 'up2' failed
> make: *** [up2] Error 2
>
> —————
>
> What do I do? Re-install?
>
> Vikas


Using Org-mode version 8.3.5 (release_8.3.5-998-g9930c4), I ran "make
test RET" and got the output:

Ran 640 tests, 640 results as expected (2016-07-25 06:50:07+0100)
6 expected failures

There looks to be something wrong therefore with your setup.

Best wishes,

Colin.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: error while upgrading to 8.3.5
  2016-07-25  0:42 error while upgrading to 8.3.5 Vikas Rawal
  2016-07-25  5:55 ` Colin Baxter
@ 2016-07-25  8:52 ` Nicolas Goaziou
  2016-07-25 13:14   ` Vikas Rawal
  1 sibling, 1 reply; 8+ messages in thread
From: Nicolas Goaziou @ 2016-07-25  8:52 UTC (permalink / raw)
  To: Vikas Rawal; +Cc: org-mode mailing list

Hello,

Vikas Rawal <vikasrawal@gmail.com> writes:

> I did the usual "make up2" in my git repository but got the following
> error (just pasting the tail of the log):

Note that "make up2" doesn't upgrade to 8.3.5, as subject suggests, but
moves to the head of the development version, i.e., something like
9.0-alpha.

> Ran 634 tests, 633 results as expected, 1 unexpected (2016-07-25 06:07:28+0530)
> 7 expected failures
>
> 1 unexpected results:
>    FAILED  test-org-colview/columns-summary
>
> mk/targets.mk:103: recipe for target 'test-dirty' failed
> make[1]: *** [test-dirty] Error 1
> make[1]: Leaving directory '/Users/vikas/.emacs.d/src/org-mode'
> mk/targets.mk:115: recipe for target 'up2' failed
> make: *** [up2] Error 2
>
> —————
>
> What do I do? Re-install?

Could you run the failing test again using, e.g.,

  BTEST_RE=columns-summary make test

and paste the exact failure?

Thank you.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: error while upgrading to 8.3.5
  2016-07-25  8:52 ` Nicolas Goaziou
@ 2016-07-25 13:14   ` Vikas Rawal
  2016-07-25 15:53     ` Nicolas Goaziou
  0 siblings, 1 reply; 8+ messages in thread
From: Vikas Rawal @ 2016-07-25 13:14 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: org-mode mailing list

> 
>> I did the usual "make up2" in my git repository but got the following
>> error (just pasting the tail of the log):
> 
> Note that "make up2" doesn't upgrade to 8.3.5, as subject suggests, but
> moves to the head of the development version, i.e., something like
> 9.0-alpha.

hmm. Let me deal with that once I figure out what is wrong with “make up2”.

>> 
>> What do I do? Re-install?
> 
> Could you run the failing test again using, e.g.,
> 
>  BTEST_RE=columns-summary make test
> 
> and paste the exact failure?

This is what I get:

Test test-org-colview/columns-summary backtrace:
  (if (unwind-protect (setq value-44442 (apply fn-44440 args-44441)) (
  (let (form-description-44444) (if (unwind-protect (setq value-44442
  (let ((value-44442 (quote ert-form-evaluation-aborted-44443))) (let
  (let ((fn-44440 (function equal)) (args-44441 (list "705d 01h 0m 0s"
  (closure (t) nil (let ((fn-44355 (function equal)) (args-44356 (list
  #[0 "\306\307!r\211q\210\310\311\312\313\314\315!\316\"\317\320%DC
  funcall(#[0 "\306\307!r\211q\210\310\311\312\313\314\315!\316\"\31
  ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
  #[0 "r\304 q\210\305 )\306\307\310\311\312\313!\314\"\315\316%DC\2
  funcall(#[0 "r\304 q\210\305 )\306\307\310\311\312\313!\314\"\315\
  ert-run-test([cl-struct-ert-test test-org-colview/columns-summary "T
  ert-run-or-rerun-test([cl-struct-ert--stats "columns-summary" [[cl-s
  ert-run-tests("columns-summary" #[385 "\306\307\"\203D\211\211G\31
  ert-run-tests-batch("columns-summary")
  ert-run-tests-batch-and-exit("columns-summary")
  (let ((org-id-track-globally t) (org-test-selector (if org-test-sele
  org-test-run-batch-tests("columns-summary")
  eval((org-test-run-batch-tests org-test-select-re))
  command-line-1(("--eval" "(setq vc-handled-backends nil org-startup-
  command-line()
  normal-top-level()
Test test-org-colview/columns-summary condition:
    (ert-test-failed
     ((should
       (equal "705d 01h 0m 0s"
	      (cl-letf ... ...)))
      :form
      (equal "705d 01h 0m 0s" "705d 00h 0m 0s")
      :value nil :explanation
      (array-elt 6
		 (different-atoms
		  (49 "#x31" "?1")
		  (48 "#x30" "?0")))))
   FAILED  1/1  test-org-colview/columns-summary

Ran 1 tests, 0 results as expected, 1 unexpected (2016-07-25 18:37:21+0530)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: error while upgrading to 8.3.5
  2016-07-25 13:14   ` Vikas Rawal
@ 2016-07-25 15:53     ` Nicolas Goaziou
  2016-07-25 23:39       ` Vikas Rawal
  0 siblings, 1 reply; 8+ messages in thread
From: Nicolas Goaziou @ 2016-07-25 15:53 UTC (permalink / raw)
  To: Vikas Rawal; +Cc: org-mode mailing list

Vikas Rawal <vikasrawal@gmail.com> writes:

> This is what I get:
>
> Test test-org-colview/columns-summary backtrace:
>   (if (unwind-protect (setq value-44442 (apply fn-44440 args-44441)) (
>   (let (form-description-44444) (if (unwind-protect (setq value-44442
>   (let ((value-44442 (quote ert-form-evaluation-aborted-44443))) (let
>   (let ((fn-44440 (function equal)) (args-44441 (list "705d 01h 0m 0s"
>   (closure (t) nil (let ((fn-44355 (function equal)) (args-44356 (list
>   #[0 "\306\307!r\211q\210\310\311\312\313\314\315!\316\"\317\320%DC
>   funcall(#[0 "\306\307!r\211q\210\310\311\312\313\314\315!\316\"\31
>   ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
>   #[0 "r\304 q\210\305 )\306\307\310\311\312\313!\314\"\315\316%DC\2
>   funcall(#[0 "r\304 q\210\305 )\306\307\310\311\312\313!\314\"\315\
>   ert-run-test([cl-struct-ert-test test-org-colview/columns-summary "T
>   ert-run-or-rerun-test([cl-struct-ert--stats "columns-summary" [[cl-s
>   ert-run-tests("columns-summary" #[385 "\306\307\"\203D\211\211G\31
>   ert-run-tests-batch("columns-summary")
>   ert-run-tests-batch-and-exit("columns-summary")
>   (let ((org-id-track-globally t) (org-test-selector (if org-test-sele
>   org-test-run-batch-tests("columns-summary")
>   eval((org-test-run-batch-tests org-test-select-re))
>   command-line-1(("--eval" "(setq vc-handled-backends nil org-startup-
>   command-line()
>   normal-top-level()
> Test test-org-colview/columns-summary condition:
>     (ert-test-failed
>      ((should
>        (equal "705d 01h 0m 0s"
> 	      (cl-letf ... ...)))
>       :form
>       (equal "705d 01h 0m 0s" "705d 00h 0m 0s")
>       :value nil :explanation
>       (array-elt 6
> 		 (different-atoms
> 		  (49 "#x31" "?1")
> 		  (48 "#x30" "?0")))))
>    FAILED  1/1  test-org-colview/columns-summary

What is the result of evaluating both

  (org-parse-time-string "<2014-03-04 Tue>")

and

  (apply #'encode-time (org-parse-time-string "<2014-03-04 Tue>"))

?

Regards,

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: error while upgrading to 8.3.5
  2016-07-25 15:53     ` Nicolas Goaziou
@ 2016-07-25 23:39       ` Vikas Rawal
  2016-07-26  8:50         ` Nicolas Goaziou
  0 siblings, 1 reply; 8+ messages in thread
From: Vikas Rawal @ 2016-07-25 23:39 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: org-mode mailing list


* I cleaned up permissions to some directories and did a make install, which went fine.

* Now when I do a “make up2”, I get two errors.

   FAILED  test-ob/indented-cached-org-bracket-link
   FAILED  test-org-colview/columns-summary

* Output of BTEST_RE=columns-summary make test

Test test-org-colview/columns-summary condition:
    (ert-test-failed
     ((should
       (equal "705d 01h 0m 0s"
	      (cl-letf ... ...)))
      :form
      (equal "705d 01h 0m 0s" "705d 00h 0m 0s")
      :value nil :explanation
      (array-elt 6
		 (different-atoms
		  (49 "#x31" "?1")
		  (48 "#x30" "?0")))))
   FAILED  1/1  test-org-colview/columns-summary

Ran 1 tests, 0 results as expected, 1 unexpected (2016-07-26 05:03:52+0530)

1 unexpected results:
   FAILED  test-org-colview/columns-summary

mk/targets.mk:103: recipe for target 'test' failed
make: *** [test] Error 1

* Output of BTEST_RE=indented-cached-org-bracket-link make test

Test test-ob/indented-cached-org-bracket-link condition:
    (ert-test-failed
     ((should
       (let
	   (...)
	 (org-test-with-temp-text "\n* Test\n  #+<point>BEGIN_SRC emacs-lisp :file test.txt :cache yes\n    (message \"test\")\n  #+END_SRC" ... ...)))
      :form
      (let
	  ((default-directory temporary-file-directory))
	(org-test-with-temp-text "\n* Test\n  #+<point>BEGIN_SRC emacs-lisp :file test.txt :cache yes\n    (message \"test\")\n  #+END_SRC"
	  (org-babel-execute-src-block)
	  (string= ... ...)))
      :value nil))
   FAILED  1/1  test-ob/indented-cached-org-bracket-link

Ran 1 tests, 0 results as expected, 1 unexpected (2016-07-26 05:06:12+0530)

1 unexpected results:
   FAILED  test-ob/indented-cached-org-bracket-link

* (org-parse-time-string "<2014-03-04 Tue>”)
(apply #'encode-time (org-parse-time-string "<2014-03-04 Tue>"))

Evaluating these in emacs does not seem to do anything. No message.

> 
> What is the result of evaluating both
> 
>  (org-parse-time-string "<2014-03-04 Tue>")
> 
> and
> 
>  (apply #'encode-time (org-parse-time-string "<2014-03-04 Tue>"))
> 
> ?
> 
> Regards,

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: error while upgrading to 8.3.5
  2016-07-25 23:39       ` Vikas Rawal
@ 2016-07-26  8:50         ` Nicolas Goaziou
  2016-07-27 13:03           ` John Kitchin
  0 siblings, 1 reply; 8+ messages in thread
From: Nicolas Goaziou @ 2016-07-26  8:50 UTC (permalink / raw)
  To: Vikas Rawal; +Cc: org-mode mailing list

Hello,

Vikas Rawal <vikasrawal@gmail.com> writes:

> * Output of BTEST_RE=indented-cached-org-bracket-link make test
>
> Test test-ob/indented-cached-org-bracket-link condition:
>     (ert-test-failed
>      ((should
>        (let
> 	   (...)
> 	 (org-test-with-temp-text "\n* Test\n  #+<point>BEGIN_SRC emacs-lisp :file test.txt :cache yes\n    (message \"test\")\n  #+END_SRC" ... ...)))
>       :form
>       (let
> 	  ((default-directory temporary-file-directory))
> 	(org-test-with-temp-text "\n* Test\n  #+<point>BEGIN_SRC emacs-lisp :file test.txt :cache yes\n    (message \"test\")\n  #+END_SRC"
> 	  (org-babel-execute-src-block)
> 	  (string= ... ...)))
>       :value nil))
>    FAILED  1/1  test-ob/indented-cached-org-bracket-link

This doesn't ring a bell. It would help to know what is hidden behind
the ellipsis.

> Ran 1 tests, 0 results as expected, 1 unexpected (2016-07-26 05:06:12+0530)
>
> 1 unexpected results:
>    FAILED  test-ob/indented-cached-org-bracket-link
>
> * (org-parse-time-string "<2014-03-04 Tue>”)
> (apply #'encode-time (org-parse-time-string "<2014-03-04 Tue>"))
>
> Evaluating these in emacs does not seem to do anything. No message.

The return value is displayed in the minibuffer. Use C-x C-e right after
the closing parens of each form.

Also, did you set some weird variable like `org-extend-today-until'?

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: error while upgrading to 8.3.5
  2016-07-26  8:50         ` Nicolas Goaziou
@ 2016-07-27 13:03           ` John Kitchin
  0 siblings, 0 replies; 8+ messages in thread
From: John Kitchin @ 2016-07-27 13:03 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: Vikas Rawal, org-mode mailing list

With the most current master, I get these two failed tests:

2 unexpected results:
   FAILED  ob-shell/bash-uses-assoc-arrays
   FAILED  test-ob/indented-cached-org-bracket-link

This is with a Mac, and GNU Emacs 25.1.50.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1808))
 of 2016-07-11


There seem to be two identically named tests (both fail for me).

(ert-deftest ob-shell/bash-uses-assoc-arrays ()
  "Bash associative arrays"
  (org-test-at-id "bec1a5b0-4619-4450-a8c0-2a746b44bf8d"
    (org-babel-next-src-block 2)
    (should (equal "two" (org-babel-execute-src-block)))))


(ert-deftest ob-shell/bash-uses-assoc-arrays ()
  "Bash associative arrays as strings for the row"
  (org-test-at-id "82320a48-3409-49d7-85c9-5de1c6d3ff87"
    (org-babel-next-src-block 2)
    (should (equal "20 cm" (org-babel-execute-src-block)))))


The code in the should macro in this test: test-ob/indented-cached-org-bracket-link
evaluates to true for me, but still fails in make test.
    
Nicolas Goaziou writes:

> Hello,
>
> Vikas Rawal <vikasrawal@gmail.com> writes:
>
>> * Output of BTEST_RE=indented-cached-org-bracket-link make test
>>
>> Test test-ob/indented-cached-org-bracket-link condition:
>>     (ert-test-failed
>>      ((should
>>        (let
>> 	   (...)
>> 	 (org-test-with-temp-text "\n* Test\n  #+<point>BEGIN_SRC emacs-lisp :file test.txt :cache yes\n    (message \"test\")\n  #+END_SRC" ... ...)))
>>       :form
>>       (let
>> 	  ((default-directory temporary-file-directory))
>> 	(org-test-with-temp-text "\n* Test\n  #+<point>BEGIN_SRC emacs-lisp :file test.txt :cache yes\n    (message \"test\")\n  #+END_SRC"
>> 	  (org-babel-execute-src-block)
>> 	  (string= ... ...)))
>>       :value nil))
>>    FAILED  1/1  test-ob/indented-cached-org-bracket-link
>
> This doesn't ring a bell. It would help to know what is hidden behind
> the ellipsis.
>
>> Ran 1 tests, 0 results as expected, 1 unexpected (2016-07-26 05:06:12+0530)
>>
>> 1 unexpected results:
>>    FAILED  test-ob/indented-cached-org-bracket-link
>>
>> * (org-parse-time-string "<2014-03-04 Tue>”)
>> (apply #'encode-time (org-parse-time-string "<2014-03-04 Tue>"))
>>
>> Evaluating these in emacs does not seem to do anything. No message.
>
> The return value is displayed in the minibuffer. Use C-x C-e right after
> the closing parens of each form.
>
> Also, did you set some weird variable like `org-extend-today-until'?
>
> Regards,


-- 
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-07-27 13:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-25  0:42 error while upgrading to 8.3.5 Vikas Rawal
2016-07-25  5:55 ` Colin Baxter
2016-07-25  8:52 ` Nicolas Goaziou
2016-07-25 13:14   ` Vikas Rawal
2016-07-25 15:53     ` Nicolas Goaziou
2016-07-25 23:39       ` Vikas Rawal
2016-07-26  8:50         ` Nicolas Goaziou
2016-07-27 13:03           ` John Kitchin

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.