All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/tools_test: Add extra logging around chdirs
@ 2019-11-12 16:40 Arkadiusz Hiler
  2019-11-12 18:37 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Arkadiusz Hiler @ 2019-11-12 16:40 UTC (permalink / raw)
  To: igt-dev; +Cc: Petri Latvala

Sometimes we end up in /bin and I am not able to explain that just by
looking at the machine or the IGT tarball that was deployed there so
let's get some more breadcrumbs.

Cc: Petri Latvala <petri.latvala@intel.com>
Issue: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/12
Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
---
 tests/tools_test.c | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/tests/tools_test.c b/tests/tools_test.c
index 88a6ae96..e3f73ac2 100644
--- a/tests/tools_test.c
+++ b/tests/tools_test.c
@@ -63,14 +63,30 @@ static void assert_cmd_success(int exec_return)
 static bool chdir_to_tools_dir(void)
 {
 	char path[PATH_MAX];
+	char *cwd;
+
+	cwd = get_current_dir_name();
+	igt_info("Current working directory: %s\n", cwd);
+	free(cwd);
 
 	/* Try TOOLS relative to cwd */
+	igt_info("Trying to cd to %s\n", TOOLS);
 	if (chdir(TOOLS) == 0)
 		return true;
 
+	igt_info("Failed to cd to %s\n", TOOLS);
+
 	/* Try TOOLS and install dir relative to test binary */
-	if (readlink("/proc/self/exe", path, sizeof(path)) > 0)
+	if (readlink("/proc/self/exe", path, sizeof(path)) > 0) {
+		igt_info("/proc/self/exe point to %s, going to dirname()\n", path);
 		chdir(dirname(path));
+	}
+
+	cwd = get_current_dir_name();
+	igt_info("Current working directory: %s\n", cwd);
+	free(cwd);
+
+	igt_info("Trying to cd to %s or ../../bin\n", TOOLS);
 
 	return chdir(TOOLS) == 0 || chdir("../../bin") == 0;
 }
-- 
2.23.0

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

* [igt-dev] ✓ Fi.CI.BAT: success for tests/tools_test: Add extra logging around chdirs
  2019-11-12 16:40 [igt-dev] [PATCH i-g-t] tests/tools_test: Add extra logging around chdirs Arkadiusz Hiler
@ 2019-11-12 18:37 ` Patchwork
  2019-11-13  3:44 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
  2019-11-13  8:09 ` [igt-dev] [PATCH i-g-t] " Petri Latvala
  2 siblings, 0 replies; 4+ messages in thread
From: Patchwork @ 2019-11-12 18:37 UTC (permalink / raw)
  To: Arkadiusz Hiler; +Cc: igt-dev

== Series Details ==

Series: tests/tools_test: Add extra logging around chdirs
URL   : https://patchwork.freedesktop.org/series/69367/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_7320 -> IGTPW_3687
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/index.html

Known issues
------------

  Here are the changes found in IGTPW_3687 that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@i915_selftest@live_blt:
    - fi-bsw-n3050:       [PASS][1] -> [DMESG-FAIL][2] ([fdo#112176])
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/fi-bsw-n3050/igt@i915_selftest@live_blt.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/fi-bsw-n3050/igt@i915_selftest@live_blt.html

  * igt@kms_frontbuffer_tracking@basic:
    - fi-icl-u4:          [PASS][3] -> [FAIL][4] ([fdo#103167])
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/fi-icl-u4/igt@kms_frontbuffer_tracking@basic.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/fi-icl-u4/igt@kms_frontbuffer_tracking@basic.html

  * igt@kms_setmode@basic-clone-single-crtc:
    - fi-skl-6770hq:      [PASS][5] -> [WARN][6] ([fdo#112252])
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/fi-skl-6770hq/igt@kms_setmode@basic-clone-single-crtc.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/fi-skl-6770hq/igt@kms_setmode@basic-clone-single-crtc.html

  
  [fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
  [fdo#112176]: https://bugs.freedesktop.org/show_bug.cgi?id=112176
  [fdo#112252]: https://bugs.freedesktop.org/show_bug.cgi?id=112252


Participating hosts (52 -> 46)
------------------------------

  Missing    (6): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-byt-clapper fi-bdw-samus 


Build changes
-------------

  * CI: CI-20190529 -> None
  * IGT: IGT_5273 -> IGTPW_3687

  CI-20190529: 20190529
  CI_DRM_7320: 5ad80c1d1c967e3f0c9233fd6a70e7443b43d497 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_3687: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/index.html
  IGT_5273: 602003c3d751c72fc309a0e64d4193f6da720f6b @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/index.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

* [igt-dev] ✓ Fi.CI.IGT: success for tests/tools_test: Add extra logging around chdirs
  2019-11-12 16:40 [igt-dev] [PATCH i-g-t] tests/tools_test: Add extra logging around chdirs Arkadiusz Hiler
  2019-11-12 18:37 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
@ 2019-11-13  3:44 ` Patchwork
  2019-11-13  8:09 ` [igt-dev] [PATCH i-g-t] " Petri Latvala
  2 siblings, 0 replies; 4+ messages in thread
From: Patchwork @ 2019-11-13  3:44 UTC (permalink / raw)
  To: Arkadiusz Hiler; +Cc: igt-dev

== Series Details ==

Series: tests/tools_test: Add extra logging around chdirs
URL   : https://patchwork.freedesktop.org/series/69367/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_7320_full -> IGTPW_3687_full
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/index.html

Possible new issues
-------------------

  Here are the unknown changes that may have been introduced in IGTPW_3687_full:

### IGT changes ###

#### Suppressed ####

  The following results come from untrusted machines, tests, or statuses.
  They do not affect the overall result.

  * {igt@gem_userptr_blits@userfault}:
    - shard-tglb:         NOTRUN -> [SKIP][1]
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-tglb3/igt@gem_userptr_blits@userfault.html

  
Known issues
------------

  Here are the changes found in IGTPW_3687_full that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@gem_ctx_persistence@vcs1-mixed:
    - shard-iclb:         [PASS][2] -> [SKIP][3] ([fdo#109276] / [fdo#112080])
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-iclb1/igt@gem_ctx_persistence@vcs1-mixed.html
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-iclb6/igt@gem_ctx_persistence@vcs1-mixed.html

  * igt@gem_eio@suspend:
    - shard-tglb:         [PASS][4] -> [INCOMPLETE][5] ([fdo#111850])
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-tglb3/igt@gem_eio@suspend.html
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-tglb7/igt@gem_eio@suspend.html

  * igt@gem_exec_parallel@vcs1-fds:
    - shard-iclb:         [PASS][6] -> [SKIP][7] ([fdo#112080]) +10 similar issues
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-iclb1/igt@gem_exec_parallel@vcs1-fds.html
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-iclb3/igt@gem_exec_parallel@vcs1-fds.html

  * igt@gem_exec_schedule@pi-ringfull-bsd:
    - shard-iclb:         [PASS][8] -> [SKIP][9] ([fdo#112146]) +1 similar issue
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-iclb5/igt@gem_exec_schedule@pi-ringfull-bsd.html
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-iclb1/igt@gem_exec_schedule@pi-ringfull-bsd.html

  * igt@gem_exec_schedule@preempt-queue-chain-bsd1:
    - shard-tglb:         [PASS][10] -> [INCOMPLETE][11] ([fdo#111606] / [fdo#111677])
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-tglb7/igt@gem_exec_schedule@preempt-queue-chain-bsd1.html
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-tglb6/igt@gem_exec_schedule@preempt-queue-chain-bsd1.html

  * igt@gem_persistent_relocs@forked-interruptible-thrashing:
    - shard-hsw:          [PASS][12] -> [FAIL][13] ([fdo#112037])
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-hsw1/igt@gem_persistent_relocs@forked-interruptible-thrashing.html
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-hsw4/igt@gem_persistent_relocs@forked-interruptible-thrashing.html

  * igt@gem_userptr_blits@map-fixed-invalidate-busy:
    - shard-snb:          [PASS][14] -> [DMESG-WARN][15] ([fdo#111870]) +1 similar issue
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-snb5/igt@gem_userptr_blits@map-fixed-invalidate-busy.html
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-snb2/igt@gem_userptr_blits@map-fixed-invalidate-busy.html

  * igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy:
    - shard-hsw:          [PASS][16] -> [DMESG-WARN][17] ([fdo#111870]) +1 similar issue
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-hsw1/igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy.html
   [17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-hsw6/igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy.html

  * igt@gem_workarounds@suspend-resume-context:
    - shard-tglb:         [PASS][18] -> [INCOMPLETE][19] ([fdo#111832] / [fdo#111850]) +1 similar issue
   [18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-tglb8/igt@gem_workarounds@suspend-resume-context.html
   [19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-tglb3/igt@gem_workarounds@suspend-resume-context.html
    - shard-kbl:          [PASS][20] -> [DMESG-WARN][21] ([fdo#108566])
   [20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-kbl6/igt@gem_workarounds@suspend-resume-context.html
   [21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-kbl6/igt@gem_workarounds@suspend-resume-context.html

  * igt@i915_pm_dc@dc5-dpms:
    - shard-iclb:         [PASS][22] -> [FAIL][23] ([fdo#111795 ])
   [22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-iclb4/igt@i915_pm_dc@dc5-dpms.html
   [23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-iclb3/igt@i915_pm_dc@dc5-dpms.html

  * igt@i915_pm_dc@dc6-dpms:
    - shard-iclb:         [PASS][24] -> [FAIL][25] ([fdo#111830 ])
   [24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-iclb2/igt@i915_pm_dc@dc6-dpms.html
   [25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-iclb1/igt@i915_pm_dc@dc6-dpms.html

  * igt@kms_atomic_transition@1x-modeset-transitions-fencing:
    - shard-hsw:          [PASS][26] -> [DMESG-WARN][27] ([fdo#102614])
   [26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-hsw6/igt@kms_atomic_transition@1x-modeset-transitions-fencing.html
   [27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-hsw5/igt@kms_atomic_transition@1x-modeset-transitions-fencing.html

  * igt@kms_flip@flip-vs-expired-vblank:
    - shard-glk:          [PASS][28] -> [FAIL][29] ([fdo#105363])
   [28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-glk4/igt@kms_flip@flip-vs-expired-vblank.html
   [29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-glk4/igt@kms_flip@flip-vs-expired-vblank.html

  * igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-render:
    - shard-iclb:         [PASS][30] -> [FAIL][31] ([fdo#103167]) +9 similar issues
   [30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-iclb4/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-render.html
   [31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-iclb2/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-render.html

  * igt@kms_frontbuffer_tracking@fbcpsr-rgb565-draw-mmap-wc:
    - shard-tglb:         [PASS][32] -> [FAIL][33] ([fdo#103167]) +1 similar issue
   [32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-tglb8/igt@kms_frontbuffer_tracking@fbcpsr-rgb565-draw-mmap-wc.html
   [33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-tglb5/igt@kms_frontbuffer_tracking@fbcpsr-rgb565-draw-mmap-wc.html

  * igt@kms_psr@psr2_sprite_render:
    - shard-iclb:         [PASS][34] -> [SKIP][35] ([fdo#109441])
   [34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-iclb2/igt@kms_psr@psr2_sprite_render.html
   [35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-iclb3/igt@kms_psr@psr2_sprite_render.html

  * igt@kms_vblank@pipe-c-ts-continuation-suspend:
    - shard-apl:          [PASS][36] -> [DMESG-WARN][37] ([fdo#108566])
   [36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-apl2/igt@kms_vblank@pipe-c-ts-continuation-suspend.html
   [37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-apl4/igt@kms_vblank@pipe-c-ts-continuation-suspend.html

  * igt@perf@short-reads:
    - shard-kbl:          [PASS][38] -> [TIMEOUT][39] ([fdo#103183])
   [38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-kbl6/igt@perf@short-reads.html
   [39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-kbl4/igt@perf@short-reads.html

  * igt@prime_busy@hang-bsd2:
    - shard-iclb:         [PASS][40] -> [SKIP][41] ([fdo#109276]) +19 similar issues
   [40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-iclb2/igt@prime_busy@hang-bsd2.html
   [41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-iclb5/igt@prime_busy@hang-bsd2.html

  
#### Possible fixes ####

  * igt@gem_busy@busy-vcs1:
    - shard-iclb:         [SKIP][42] ([fdo#112080]) -> [PASS][43] +7 similar issues
   [42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-iclb7/igt@gem_busy@busy-vcs1.html
   [43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-iclb2/igt@gem_busy@busy-vcs1.html

  * igt@gem_ctx_isolation@bcs0-s3:
    - shard-kbl:          [FAIL][44] ([fdo#103375]) -> [PASS][45]
   [44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-kbl4/igt@gem_ctx_isolation@bcs0-s3.html
   [45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-kbl6/igt@gem_ctx_isolation@bcs0-s3.html

  * igt@gem_ctx_persistence@vcs1-queued:
    - shard-iclb:         [SKIP][46] ([fdo#109276] / [fdo#112080]) -> [PASS][47]
   [46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-iclb7/igt@gem_ctx_persistence@vcs1-queued.html
   [47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-iclb1/igt@gem_ctx_persistence@vcs1-queued.html

  * igt@gem_ctx_shared@exec-single-timeline-bsd:
    - shard-iclb:         [SKIP][48] ([fdo#110841]) -> [PASS][49]
   [48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-iclb2/igt@gem_ctx_shared@exec-single-timeline-bsd.html
   [49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-iclb6/igt@gem_ctx_shared@exec-single-timeline-bsd.html

  * igt@gem_exec_schedule@out-order-bsd2:
    - shard-iclb:         [SKIP][50] ([fdo#109276]) -> [PASS][51] +15 similar issues
   [50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-iclb5/igt@gem_exec_schedule@out-order-bsd2.html
   [51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-iclb1/igt@gem_exec_schedule@out-order-bsd2.html

  * igt@gem_exec_schedule@wide-bsd:
    - shard-iclb:         [SKIP][52] ([fdo#112146]) -> [PASS][53] +4 similar issues
   [52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-iclb4/igt@gem_exec_schedule@wide-bsd.html
   [53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-iclb8/igt@gem_exec_schedule@wide-bsd.html

  * igt@gem_exec_suspend@basic-s0:
    - shard-tglb:         [INCOMPLETE][54] ([fdo#111832]) -> [PASS][55]
   [54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-tglb2/igt@gem_exec_suspend@basic-s0.html
   [55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-tglb1/igt@gem_exec_suspend@basic-s0.html

  * igt@gem_persistent_relocs@forked-interruptible-faulting-reloc-thrash-inactive:
    - shard-iclb:         [TIMEOUT][56] ([fdo#112068 ]) -> [PASS][57]
   [56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-iclb1/igt@gem_persistent_relocs@forked-interruptible-faulting-reloc-thrash-inactive.html
   [57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-iclb8/igt@gem_persistent_relocs@forked-interruptible-faulting-reloc-thrash-inactive.html

  * igt@gem_sync@basic-store-each:
    - shard-tglb:         [INCOMPLETE][58] ([fdo#111747]) -> [PASS][59]
   [58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-tglb8/igt@gem_sync@basic-store-each.html
   [59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-tglb7/igt@gem_sync@basic-store-each.html

  * igt@gem_userptr_blits@map-fixed-invalidate-busy-gup:
    - shard-hsw:          [DMESG-WARN][60] ([fdo#111870]) -> [PASS][61] +2 similar issues
   [60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-hsw4/igt@gem_userptr_blits@map-fixed-invalidate-busy-gup.html
   [61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-hsw4/igt@gem_userptr_blits@map-fixed-invalidate-busy-gup.html

  * igt@gem_userptr_blits@sync-unmap:
    - shard-snb:          [DMESG-WARN][62] ([fdo#111870]) -> [PASS][63] +3 similar issues
   [62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-snb6/igt@gem_userptr_blits@sync-unmap.html
   [63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-snb7/igt@gem_userptr_blits@sync-unmap.html

  * igt@i915_suspend@sysfs-reader:
    - shard-kbl:          [DMESG-WARN][64] ([fdo#108566]) -> [PASS][65] +3 similar issues
   [64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-kbl7/igt@i915_suspend@sysfs-reader.html
   [65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-kbl2/igt@i915_suspend@sysfs-reader.html

  * igt@kms_color@pipe-a-ctm-0-5:
    - shard-kbl:          [INCOMPLETE][66] ([fdo#103665]) -> [PASS][67]
   [66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-kbl4/igt@kms_color@pipe-a-ctm-0-5.html
   [67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-kbl1/igt@kms_color@pipe-a-ctm-0-5.html

  * igt@kms_flip@flip-vs-suspend-interruptible:
    - shard-apl:          [DMESG-WARN][68] ([fdo#108566]) -> [PASS][69] +3 similar issues
   [68]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-apl4/igt@kms_flip@flip-vs-suspend-interruptible.html
   [69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-apl3/igt@kms_flip@flip-vs-suspend-interruptible.html

  * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-render:
    - shard-iclb:         [FAIL][70] ([fdo#103167]) -> [PASS][71] +3 similar issues
   [70]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-iclb2/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-render.html
   [71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-iclb5/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-render.html
    - shard-tglb:         [FAIL][72] ([fdo#103167]) -> [PASS][73]
   [72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-tglb2/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-render.html
   [73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-tglb3/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-render.html

  * igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-shrfb-draw-mmap-cpu:
    - shard-glk:          [FAIL][74] ([fdo#103167]) -> [PASS][75]
   [74]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-glk3/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-shrfb-draw-mmap-cpu.html
   [75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-glk3/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-shrfb-draw-mmap-cpu.html

  * igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes:
    - shard-tglb:         [INCOMPLETE][76] ([fdo#111832] / [fdo#111850]) -> [PASS][77] +3 similar issues
   [76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-tglb2/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes.html
   [77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-tglb9/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes.html

  * igt@kms_psr@psr2_cursor_blt:
    - shard-iclb:         [SKIP][78] ([fdo#109441]) -> [PASS][79] +1 similar issue
   [78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-iclb8/igt@kms_psr@psr2_cursor_blt.html
   [79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-iclb2/igt@kms_psr@psr2_cursor_blt.html

  * igt@kms_vblank@pipe-d-ts-continuation-dpms-suspend:
    - shard-tglb:         [INCOMPLETE][80] ([fdo#111850]) -> [PASS][81]
   [80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-tglb4/igt@kms_vblank@pipe-d-ts-continuation-dpms-suspend.html
   [81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-tglb9/igt@kms_vblank@pipe-d-ts-continuation-dpms-suspend.html

  
#### Warnings ####

  * igt@gem_exec_schedule@deep-render:
    - shard-tglb:         [FAIL][82] ([fdo#111646]) -> [INCOMPLETE][83] ([fdo#111671])
   [82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-tglb8/igt@gem_exec_schedule@deep-render.html
   [83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-tglb4/igt@gem_exec_schedule@deep-render.html

  * igt@gem_mocs_settings@mocs-settings-bsd2:
    - shard-iclb:         [FAIL][84] ([fdo#111330]) -> [SKIP][85] ([fdo#109276])
   [84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-iclb2/igt@gem_mocs_settings@mocs-settings-bsd2.html
   [85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-iclb7/igt@gem_mocs_settings@mocs-settings-bsd2.html

  * igt@kms_cursor_crc@pipe-a-cursor-suspend:
    - shard-tglb:         [FAIL][86] ([fdo#111703]) -> [INCOMPLETE][87] ([fdo#111832] / [fdo#111850])
   [86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-tglb9/igt@kms_cursor_crc@pipe-a-cursor-suspend.html
   [87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-tglb8/igt@kms_cursor_crc@pipe-a-cursor-suspend.html

  * igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes:
    - shard-kbl:          [FAIL][88] ([fdo#103375]) -> [DMESG-WARN][89] ([fdo#108566])
   [88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7320/shard-kbl4/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes.html
   [89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/shard-kbl2/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes.html

  
  {name}: This element is suppressed. This means it is ignored when computing
          the status of the difference (SUCCESS, WARNING, or FAILURE).

  [fdo#102614]: https://bugs.freedesktop.org/show_bug.cgi?id=102614
  [fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
  [fdo#103183]: https://bugs.freedesktop.org/show_bug.cgi?id=103183
  [fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
  [fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665
  [fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
  [fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
  [fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
  [fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
  [fdo#110841]: https://bugs.freedesktop.org/show_bug.cgi?id=110841
  [fdo#111330]: https://bugs.freedesktop.org/show_bug.cgi?id=111330
  [fdo#111606]: https://bugs.freedesktop.org/show_bug.cgi?id=111606
  [fdo#111646]: https://bugs.freedesktop.org/show_bug.cgi?id=111646
  [fdo#111671]: https://bugs.freedesktop.org/show_bug.cgi?id=111671
  [fdo#111677]: https://bugs.freedesktop.org/show_bug.cgi?id=111677
  [fdo#111703]: https://bugs.freedesktop.org/show_bug.cgi?id=111703
  [fdo#111747]: https://bugs.freedesktop.org/show_bug.cgi?id=111747
  [fdo#111795 ]: https://bugs.freedesktop.org/show_bug.cgi?id=111795 
  [fdo#111830 ]: https://bugs.freedesktop.org/show_bug.cgi?id=111830 
  [fdo#111832]: https://bugs.freedesktop.org/show_bug.cgi?id=111832
  [fdo#111850]: https://bugs.freedesktop.org/show_bug.cgi?id=111850
  [fdo#111870]: https://bugs.freedesktop.org/show_bug.cgi?id=111870
  [fdo#112037]: https://bugs.freedesktop.org/show_bug.cgi?id=112037
  [fdo#112068 ]: https://bugs.freedesktop.org/show_bug.cgi?id=112068 
  [fdo#112080]: https://bugs.freedesktop.org/show_bug.cgi?id=112080
  [fdo#112146]: https://bugs.freedesktop.org/show_bug.cgi?id=112146


Participating hosts (11 -> 8)
------------------------------

  Missing    (3): pig-skl-6260u pig-glk-j5005 pig-hsw-4770r 


Build changes
-------------

  * CI: CI-20190529 -> None
  * IGT: IGT_5273 -> IGTPW_3687
  * Piglit: piglit_4509 -> None

  CI-20190529: 20190529
  CI_DRM_7320: 5ad80c1d1c967e3f0c9233fd6a70e7443b43d497 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_3687: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/index.html
  IGT_5273: 602003c3d751c72fc309a0e64d4193f6da720f6b @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3687/index.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

* Re: [igt-dev] [PATCH i-g-t] tests/tools_test: Add extra logging around chdirs
  2019-11-12 16:40 [igt-dev] [PATCH i-g-t] tests/tools_test: Add extra logging around chdirs Arkadiusz Hiler
  2019-11-12 18:37 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
  2019-11-13  3:44 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
@ 2019-11-13  8:09 ` Petri Latvala
  2 siblings, 0 replies; 4+ messages in thread
From: Petri Latvala @ 2019-11-13  8:09 UTC (permalink / raw)
  To: Arkadiusz Hiler; +Cc: igt-dev

On Tue, Nov 12, 2019 at 06:40:12PM +0200, Arkadiusz Hiler wrote:
> Sometimes we end up in /bin and I am not able to explain that just by
> looking at the machine or the IGT tarball that was deployed there so
> let's get some more breadcrumbs.
> 
> Cc: Petri Latvala <petri.latvala@intel.com>
> Issue: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/12
> Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>

Very similar to
https://patchwork.freedesktop.org/patch/277414/?series=55233&rev=1 so
have a

Reviewed-by: Petri Latvala <petri.latvala@intel.com>

> ---
>  tests/tools_test.c | 18 +++++++++++++++++-
>  1 file changed, 17 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/tools_test.c b/tests/tools_test.c
> index 88a6ae96..e3f73ac2 100644
> --- a/tests/tools_test.c
> +++ b/tests/tools_test.c
> @@ -63,14 +63,30 @@ static void assert_cmd_success(int exec_return)
>  static bool chdir_to_tools_dir(void)
>  {
>  	char path[PATH_MAX];
> +	char *cwd;
> +
> +	cwd = get_current_dir_name();
> +	igt_info("Current working directory: %s\n", cwd);
> +	free(cwd);
>  
>  	/* Try TOOLS relative to cwd */
> +	igt_info("Trying to cd to %s\n", TOOLS);
>  	if (chdir(TOOLS) == 0)
>  		return true;
>  
> +	igt_info("Failed to cd to %s\n", TOOLS);
> +
>  	/* Try TOOLS and install dir relative to test binary */
> -	if (readlink("/proc/self/exe", path, sizeof(path)) > 0)
> +	if (readlink("/proc/self/exe", path, sizeof(path)) > 0) {
> +		igt_info("/proc/self/exe point to %s, going to dirname()\n", path);
>  		chdir(dirname(path));
> +	}
> +
> +	cwd = get_current_dir_name();
> +	igt_info("Current working directory: %s\n", cwd);
> +	free(cwd);
> +
> +	igt_info("Trying to cd to %s or ../../bin\n", TOOLS);
>  
>  	return chdir(TOOLS) == 0 || chdir("../../bin") == 0;
>  }
> -- 
> 2.23.0
> 
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

end of thread, other threads:[~2019-11-13  8:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-12 16:40 [igt-dev] [PATCH i-g-t] tests/tools_test: Add extra logging around chdirs Arkadiusz Hiler
2019-11-12 18:37 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-11-13  3:44 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2019-11-13  8:09 ` [igt-dev] [PATCH i-g-t] " Petri Latvala

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.