CI: Check whether Python.h is included first in a file

This makes some allowance for including headers that include python as well
Reference issue

#20149 proposed this CI job, #20491 motivated actually getting this working.
What does this implement/fix?

There is a script, adapted from #20149, to check whether a given file includes system headers before Python.h.  This expands that to check headers before source files, and to check the source files for python constructs implying either an indirect path to Python.h or a new extension beyond numpy and pybind.  This then adds a CI job to perform that check on the contents of the SciPy repository.
Additional information

I made a brief attempt to flag duplicate includes, but stopped when I noticed there were reasons for doing that (one header includes sys/time.h on every platform but Windows, another includes mutex under two orthogonal conditions).
A few of the changes aren't necessary to include Python.h first, but do make it easier to automate the checking process.
A NumPy maintainer mentioned it is possible to do something similar with clang-format, but I don't know how to do that.

We could probably just tack this onto the lint CI job rather than an entirely new job?

That sounds sensible

The Accelerate failure is on me. Should be resolved in gh-20542.

Wait, that include order actually was important?  I could change the script to find and allow headers that included no other headers.

It was important, but it should not have been haha. My PR should make it so that it no longer matters.

I couldn't reproduce the Accelerate job's build issue locally, so pushed a rebase on top of the now-merged gh-20542.


[test] Fix cuda checks loading cudatoolkit

Fix cuda checks with the cudatoolkit module used in production

@lucamar I don't see any files in your PR.

Codecov Report

Merging #942 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #942   +/-   ##
=======================================
  Coverage   91.69%   91.69%
=======================================
  Files          79       79
  Lines       10465    10465
=======================================
  Hits         9596     9596
  Misses        869      869

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0cf0b89...520f7e7. Read the comment docs.

@vkarak I'm closing this pull request, I will open a new one.


Adding a pre loader to the website

Is your proposal related to a problem?

The website lacks a preloader
Describe the solution you'd like

Using a preloader keeps users interested while content loads, makes waiting times seem shorter, and ensures smoother loading of your site, improving overall user experience.
Describe alternatives you've considered

(Write your answer here.)

/assign


Passbolt connector closes the connection

When app is initialized it creates a passbolt api connector, however after some time of inactivity (i think) the connector closes and you get auth error, this needs to be handled properly.

Fixed in e4e882e


[fix] Update @actions/core to v1.10.0

Fixes #13 - set-output command is deprecated, and has been for quite some time. Guidance was to update @actions/core to v1.10.0 or greater.
Note: this updated the package-lock file version, which is why it looks so large.
Testing:
npm run build completes successfully, but npm run test was failing prior to the change and outputs the same errors after the change.
This should resolve deprecation warnings that are currently shown when running the GitHub action.

@Tim-Zhang I would appreciate your review and help merging this please 🙂 (It won't let me add you as a reviewer or assign the PR to you)


Proposal to add multilingual support to your basic project

Dear Jeff,
Perhaps you could consider merging @inlang/paraglide-js multilingual i18n support for sveltekit projects (common translation base for server and client side) like I did in the fork of your original project. Anyway, thank you for your useful starter project

I took a quick look and I really appreciate the pull request.  I do want to tackle translation at some point, but kind of want to do it a different way than paraglide does it.  Several years ago I was coding in flutter and I handled translations like this.  https://github.com/delay/getx_google_sheets_translation_code_generator https://jeffmcmorris.medium.com/getx-google-sheets-translation-code-generator-b970543d67fc I want to do something similar in svelte when I handle translations.  You are more than welcome to fork this project with your updates.  Once again thanks so much for the submission and letting me review it!

Thank you for sharing another interesting approach to do translations (although still not applicable to Svelte) that could be very useful, especially for automatic translations. Although not intending to be a paraglide-only advocate, it is fair to say that probably it is just using another popular platform (github instead of google spreadsheets, being even more "natural environment" and version ceontrol suitable for developers) and have been doing some hard work implementing the whole thing in Svelte(kit). There is also a collaborative translation environment with automatic google autotranslation support. They also praise their approach being especially suitable for Sveltekit and Vite-controlled stuff in runtime, along with the common
translation base for client and server side I already pointed out. So I thought it might be even more useful to integrate it with your very effective sveltekit-auth starter project. It is certainly great you want to tackle translation and judging by your work on svelte-auth project I am sure you will find a very convinient way for it. Anyway, thank you for your time and attention on this matter.


Dead link

A link was not working because "This page has been disabled."

@gotqn : Thanks for your contribution! The author, @MightyPen, has been notified to review your proposed change.

@gotqn Hello George, Good catch of the broken link.  And a creative idea, of a dynamic search, for fixing the link!
However, for other reasons, rather than fixing this link, in this particular case we feel this link should be removed entirely.
Therefore I am going to Close this public PR 1427, and then I will remove the link entirely.
Thank you very much for bringing this broken link to our attention.


SPIKE: Refine data models, improve variable names and fix typos

Here we should identify and consider ways to improve our data models, including how we group data and name variables.
In addition let's list here any known issues. We should consider best approach to fix them (or not).

[ ] characterInformation.diciplinaryActionOrAskedToResign is mis-spelt. should be '...disciplinary...'
[ ] characterInformation.diciplinaryActionOrAskedToResignDetails is mis-spelt. should be '...disciplinary...'
[ ] equalityAndDiversitySurvey.changedGender has reversed polarity! It should be called something like genderSameAsAtBirth

A data model spreadsheet can be found here:
https://docs.google.com/spreadsheets/d/1JVe74eHM9-fDXvSfrOCuItpK6VN2q63skELCVm3S_Eo/edit#gid=240172058

Membership fields are currently flat in application.
Should organise them under memberships.
Fields like:

charteredAssociationBuildingEngineersDate
charteredAssociationBuildingEngineersNumber
charteredInstituteBuildingDate
charteredInstituteBuildingNumber
charteredInstituteEnvironmentalHealthDate
charteredInstituteEnvironmentalHealthNumber
...

Exercise open and close dates are stored without the time. Let's consider storing the time too - which for now is always 13:00.

Lets split application.referenceNumber into it's two parts:

exercise.referenceNumber
Unique random code

This means we can then search the code independently of exercise ref


Docker image

Coverage remained the same at 100.0% when pulling 91166f5fa0ffc3a3a9ec586ed03bbe7c7896a739 on docker-image into 9b3af5c357e43bbfd74b1c196483127473945679 on master.


Stop using overlay driver for docker in coreos cloud-configs.

WARNING: I HAVE NO IDEA WHAT I'M DOING.
Alright, maybe I know a little bit. I know that coreos uses btrfs, and
that docker has officially disabled the overlay driver on btrfs:
https://github.com/docker/docker/issues/9820
That "fix" hasn't yet hit the stable coreos build, but on alpha,
docker can't even start with this flag. In stable/beta, docker
functions, but fails to start debian-based containers for some reason.
If there's a particular reason that overlay is being used here, then
the underlying FS needs to be ext4 (not totally sure what 'underlying'
means here, but I'm going with it). But if not, we can just remove
this flag and be done with it.

Works for me with CoreOS alpha 598.0.0 and Kubernetes 0.11.0.

With which user-data file?

Those files have been maintained by myself based on experimentation in another repo.

Some output
kubernetes-vagrant-coreos-cluster pires$ vagrant ssh node-01
Last login: Mon Feb 23 20:30:43 2015 from <IP_ADDRESS>
CoreOS alpha (598.0.0)
Update Strategy: No Reboots
core@node-01 ~ $ sudo systemctl -l status docker
● docker.service - Docker Application Container Engine
   Loaded: loaded (/etc/systemd/system/docker.service; disabled; vendor preset: disabled)
   Active: active (running) since Sun 2015-02-22 18:28:44 UTC; 1 day 2h ago
     Docs: http://docs.docker.io
 Main PID: 591 (docker)
   CGroup: /system.slice/docker.service
           └─591 /usr/bin/docker --registry-mirror=http://<IP_ADDRESS>:5000 -d --bip=<IP_ADDRESS>/24 --mtu=1450 -s=overlay -H fd://

Feb 23 20:30:52 node-01 docker[591]: time="2015-02-23T20:30:52Z" level="info" msg="-job version() = OK (0)"
Feb 23 20:30:57 node-01 docker[591]: time="2015-02-23T20:30:57Z" level="info" msg="GET /containers/json"
Feb 23 20:30:57 node-01 docker[591]: time="2015-02-23T20:30:57Z" level="info" msg="+job containers()"
Feb 23 20:30:57 node-01 docker[591]: time="2015-02-23T20:30:57Z" level="info" msg="-job containers() = OK (0)"
Feb 23 20:31:03 node-01 docker[591]: time="2015-02-23T20:31:03Z" level="info" msg="GET /version"
Feb 23 20:31:03 node-01 docker[591]: time="2015-02-23T20:31:03Z" level="info" msg="+job version()"
Feb 23 20:31:03 node-01 docker[591]: time="2015-02-23T20:31:03Z" level="info" msg="-job version() = OK (0)"
Feb 23 20:31:07 node-01 docker[591]: time="2015-02-23T20:31:07Z" level="info" msg="GET /containers/json"
Feb 23 20:31:07 node-01 docker[591]: time="2015-02-23T20:31:07Z" level="info" msg="+job containers()"
Feb 23 20:31:07 node-01 docker[591]: time="2015-02-23T20:31:07Z" level="info" msg="-job containers() = OK (0)"

Hah. Between stable and alpha they changed the root partition to be ext4.
Good to know that alpha is the way to go :) Thanks

Yup: https://coreos.com/releases/#591.0.0

@hjfreyer actually, https://coreos.com/releases/#561.0.0


Streamlined intro of "About Panel and Drawer tools"

Rendered article for review:
https://review.docs.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/about-panel-drawer-tools?branch=pr-en-us-1564

Docs Build status updates of commit bba2bc2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/about-panel-drawer-tools.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit d3bea5c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/about-panel-drawer-tools.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit fd25d49:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/about-panel-drawer-tools.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Reject unsigned commits

Option to reject unsigned commits
-> https://docs.gitea.io/en-us/comparison/

duplicated with https://github.com/go-gitea/gitea/issues/2770


Defaults to using Docker to Build if Available

This patch updates the default behavior of the Makefile to use Docker to build this project is Docker is available and running on the localhost.
If Docker is running on the localhost, executing make by itself will now default to the target docker-build.

Current coverage is 44.55% (diff: 100%)

Merging #574 into master will not change coverage

@@             master       #574   diff @@
==========================================
  Files             2          2
  Lines           193        193
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits             86         86
  Misses          107        107
  Partials          0          0

Powered by Codecov. Last update ca73c20...ed70604


Instantiate-to-bounds works in different ways in dart and analyzer with non-function typedefs

Dart VM version: 2.9.0-4.0.dev (dev) (Tue Apr 28 09:41:22 2020 +0200) on "windows_x64"
Source code example below demonstrates the problem:
class A<X extends A<X>> {}
typedef B<X extends A<A<X>>> = A<X>;

main() {}

Dart passes with this without any error or warning whereas analyzer throws a compile error.
Both tools should work in a similar way.
Sample output is:

$> dartanalyzer --enable-experiment=nonfunction-type-aliases test.dart
Analyzing test.dart...
error - 'A' doesn't extend 'A<A>'. - test.dart:2:23 - type_argument_not_matching_bounds
error - 'X' doesn't extend 'A'. - test.dart:2:25 - type_argument_not_matching_bounds
error - Invalid generic function type. - test.dart:2:30 - invalid_generic_function_type
3 errors found.
$> dart --enable-experiment=nonfunction-type-aliases test.dart
$>

Here is another similar example which produces Invalid generic function type error with analyzer and passes with dart:
class M<X> {}
class N<X extends M<N<X>>> {}

typedef O<X extends M<O>> = M<N<X>>;

main() {}

I think we shouldn't create issues about the behavior of the analyzer on programs using non-function type aliases at this point, because there is absolutely no support for this feature in the analyzer today. We'd just get a long list of "the analyzer doesn't handle X" for a bunch of "X" that rely on non-function type aliases, and it wouldn't help anybody.

Closing as there is nothing actionable here.


tests: Complain about unexpected errors

This won't give us test failures yet, but does make the spurious errors
visible.

Yikes.  This will get us 126 Clean Tests, and 90 Tests With 338 Unexpected Errors:
[ RUN      ] VkLayerTest.InvalidMemoryAliasing
Unexpected: In vkBindImageMemory, attempting to bind memory (0x6) to object (0x3) which has already been bound to mem object 0x4
Unexpected: While trying to clear mem binding for image obj 0x3, unable to find that object referenced by mem obj 0x6
[       OK ] VkLayerTest.InvalidMemoryAliasing (618 ms)
[ RUN      ] VkLayerTest.EnableWsiBeforeUse
Unexpected: vkAcquireNextImageKHR() called with both the semaphore and fence parameters set to VK_NULL_HANDLE (at least one should be used).
[       OK ] VkLayerTest.EnableWsiBeforeUse (630 ms)
[ RUN      ] VkLayerTest.MapMemWithoutHostVisibleBit
Unexpected: Cannot map an image with layout VK_IMAGE_LAYOUT_UNDEFINED. Only GENERAL or PREINITIALIZED are supported.
[       OK ] VkLayerTest.MapMemWithoutHostVisibleBit (631 ms)
[ RUN      ] VkLayerTest.InvalidUsageBits
Unexpected: Invalid usage flag for image 0x2 used by vkCmdCopyBufferToImage(). In this case, image should have VK_IMAGE_USAGE_TRANSFER_DST_BIT set during creation.
Unexpected: Invalid usage flag for buffer 0x4 used by vkCmdCopyBufferToImage().In this case, buffer should have VK_BUFFER_USAGE_TRANSFER_SRC_BIT set during creation.
[       OK ] VkLayerTest.InvalidUsageBits (630 ms)
[ RUN      ] VkLayerTest.ImageSampleCounts
Unexpected: Call to vkBeginCommandBuffer() on command buffer (0x2a1d09a01b0) attempts to implicitly reset cmdBuffer created from command pool (0x1) that does NOT have the VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT bit set.
Unexpected: Call to vkBeginCommandBuffer() on command buffer (0x2a1d09a01b0) attempts to implicitly reset cmdBuffer created from command pool (0x1) that does NOT have the VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT bit set.
Unexpected: Call to vkBeginCommandBuffer() on command buffer (0x2a1d09a01b0) attempts to implicitly reset cmdBuffer created from command pool (0x1) that does NOT have the VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT bit set.
[       OK ] VkLayerTest.ImageSampleCounts (676 ms)
[ RUN      ] VkLayerTest.MismatchedQueueFamiliesOnSubmit
Unexpected: Attempt to free command buffer (0x2a1db468070) which is in use.
[       OK ] VkLayerTest.MismatchedQueueFamiliesOnSubmit (1266 ms)
[ RUN      ] VkLayerTest.FramebufferCreateErrors
Unexpected: vkCreateRenderPass has no depth/stencil attachment, yet subpass[0] has VkSubpassDescription::depthStencilAttachment value that is not VK_ATTACHMENT_UNUSED
Unexpected: vkCreateFramebuffer(): VkFramebufferCreateInfo attachment #0 mip level 0 has dimensions smaller than the corresponding framebuffer dimensions. Attachment dimensions must be at least as large. Here are the respective dimensions for attachment #0, framebuffer:
width: 256, 16385
height: 256, 16385
layerCount: 1, 2049
[       OK ] VkLayerTest.FramebufferCreateErrors (638 ms)
[ RUN      ] VkLayerTest.DynamicDepthBiasNotBound
Unexpected: vkUpdateDescriptorsSets() failed write update validation for Descriptor Set 0xf with error: Write update to descriptor in set<PHONE_NUMBER>00000F binding #0 failed with error message: Attempted write update to buffer descriptor failed due to: Buffer<PHONE_NUMBER>000002) with usage mask 0x3 being used for a descriptor update of type VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER does not have VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT set.
[       OK ] VkLayerTest.DynamicDepthBiasNotBound (768 ms)
[ RUN      ] VkLayerTest.DynamicLineWidthNotBound
Unexpected: vkUpdateDescriptorsSets() failed write update validation for Descriptor Set 0xf with error: Write update to descriptor in set<PHONE_NUMBER>00000F binding #0 failed with error message: Attempted write update to buffer descriptor failed due to: Buffer<PHONE_NUMBER>000002) with usage mask 0x3 being used for a descriptor update of type VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER does not have VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT set.
[       OK ] VkLayerTest.DynamicLineWidthNotBound (736 ms)
[ RUN      ] VkLayerTest.DynamicViewportNotBound
Unexpected: vkUpdateDescriptorsSets() failed write update validation for Descriptor Set 0xf with error: Write update to descriptor in set<PHONE_NUMBER>00000F binding #0 failed with error message: Attempted write update to buffer descriptor failed due to: Buffer<PHONE_NUMBER>000002) with usage mask 0x3 being used for a descriptor update of type VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER does not have VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT set.
Unexpected: CB object 0x2a1d0882e90: Dynamic scissor state not set for this command buffer
Unexpected: Dynamic viewport(s) 0 are used by PSO, but were not provided via calls to vkCmdSetViewport().
Unexpected: Dynamic scissor(s) 0 are used by PSO, but were not provided via calls to vkCmdSetScissor().
[       OK ] VkLayerTest.DynamicViewportNotBound (732 ms)
[ RUN      ] VkLayerTest.DynamicScissorNotBound
Unexpected: vkUpdateDescriptorsSets() failed write update validation for Descriptor Set 0xf with error: Write update to descriptor in set<PHONE_NUMBER>00000F binding #0 failed with error message: Attempted write update to buffer descriptor failed due to: Buffer<PHONE_NUMBER>000002) with usage mask 0x3 being used for a descriptor update of type VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER does not have VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT set.
Unexpected: CB object 0x2a1d0882e90: Dynamic viewport state not set for this command buffer
Unexpected: Dynamic viewport(s) 0 are used by PSO, but were not provided via calls to vkCmdSetViewport().
Unexpected: Dynamic scissor(s) 0 are used by PSO, but were not provided via calls to vkCmdSetScissor().
[       OK ] VkLayerTest.DynamicScissorNotBound (769 ms)
[ RUN      ] VkLayerTest.DynamicBlendConstantsNotBound
Unexpected: vkUpdateDescriptorsSets() failed write update validation for Descriptor Set 0xf with error: Write update to descriptor in set<PHONE_NUMBER>00000F binding #0 failed with error message: Attempted write update to buffer descriptor failed due to: Buffer<PHONE_NUMBER>000002) with usage mask 0x3 being used for a descriptor update of type VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER does not have VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT set.
[       OK ] VkLayerTest.DynamicBlendConstantsNotBound (767 ms)
[ RUN      ] VkLayerTest.DynamicDepthBoundsNotBound
Unexpected: vkUpdateDescriptorsSets() failed write update validation for Descriptor Set 0xf with error: Write update to descriptor in set<PHONE_NUMBER>00000F binding #0 failed with error message: Attempted write update to buffer descriptor failed due to: Buffer<PHONE_NUMBER>000002) with usage mask 0x3 being used for a descriptor update of type VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER does not have VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT set.
[       OK ] VkLayerTest.DynamicDepthBoundsNotBound (719 ms)
[ RUN      ] VkLayerTest.DynamicStencilReadNotBound
Unexpected: vkUpdateDescriptorsSets() failed write update validation for Descriptor Set 0xf with error: Write update to descriptor in set<PHONE_NUMBER>00000F binding #0 failed with error message: Attempted write update to buffer descriptor failed due to: Buffer<PHONE_NUMBER>000002) with usage mask 0x3 being used for a descriptor update of type VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER does not have VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT set.
[       OK ] VkLayerTest.DynamicStencilReadNotBound (716 ms)
[ RUN      ] VkLayerTest.DynamicStencilWriteNotBound
Unexpected: vkUpdateDescriptorsSets() failed write update validation for Descriptor Set 0xf with error: Write update to descriptor in set<PHONE_NUMBER>00000F binding #0 failed with error message: Attempted write update to buffer descriptor failed due to: Buffer<PHONE_NUMBER>000002) with usage mask 0x3 being used for a descriptor update of type VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER does not have VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT set.
[       OK ] VkLayerTest.DynamicStencilWriteNotBound (47048 ms)
[ RUN      ] VkLayerTest.DynamicStencilRefNotBound
Unexpected: vkUpdateDescriptorsSets() failed write update validation for Descriptor Set 0xf with error: Write update to descriptor in set<PHONE_NUMBER>00000F binding #0 failed with error message: Attempted write update to buffer descriptor failed due to: Buffer<PHONE_NUMBER>000002) with usage mask 0x3 being used for a descriptor update of type VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER does not have VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT set.
[       OK ] VkLayerTest.DynamicStencilRefNotBound (739 ms)
[ RUN      ] VkLayerTest.IndexBufferNotBound
Unexpected: vkUpdateDescriptorsSets() failed write update validation for Descriptor Set 0xf with error: Write update to descriptor in set<PHONE_NUMBER>00000F binding #0 failed with error message: Attempted write update to buffer descriptor failed due to: Buffer<PHONE_NUMBER>000002) with usage mask 0x3 being used for a descriptor update of type VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER does not have VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT set.
[       OK ] VkLayerTest.IndexBufferNotBound (760 ms)
[ RUN      ] VkLayerTest.CommandBufferTwoSubmits
Unexpected: Command Buffer 0x2a1d9c171f0 is already in use and is not marked for simultaneous use.
Unexpected: Attempt to free command buffer (0x2a1d9c171f0) which is in use.
[       OK ] VkLayerTest.CommandBufferTwoSubmits (650 ms)
[ RUN      ] VkLayerTest.WriteDescriptorSetIntegrityCheck
Unexpected: Unable to allocate 2 descriptors of type VK_DESCRIPTOR_TYPE_SAMPLERfrom pool 0x2. This pool only has 0 descriptors of this type remaining.Unexpected: vkUpdateDescriptorSets(): pDescriptorWrites[0].pBufferInfo[1].offset (0xcccccccccccccccc) must be a multiple of device limit minUniformBufferOffsetAlignment 0x100
Unexpected: Invalid Buffer Object 0xcccccccccccccccc
Unexpected: Invalid Image View Object 0xcccccccccccccccc
Unexpected: Invalid Sampler Object 0xcccccccccccccccc
[       OK ] VkLayerTest.WriteDescriptorSetIntegrityCheck (648 ms)
[ RUN      ] VkLayerTest.InvalidCmdBufferBufferDestroyed
Unexpected: Cannot submit cmd buffer using image (0x2) [sub-resource: aspectMask 0x1 array layer 0, mip level 0], with layout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL when first use is VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL.
Unexpected: Cannot submit cmd buffer using deleted buffer 0x5.
Unexpected: Attempting to free memory object 0x6 which still contains 1 references
Unexpected: Attempting to free memory object 0x3 which still contains 1 references
Unexpected: Attempt to free command buffer (0x2a1d3427280) which is in use.
[       OK ] VkLayerTest.InvalidCmdBufferBufferDestroyed (640 ms)
[ RUN      ] VkLayerTest.InvalidCmdBufferImageDestroyed
Unexpected: Cannot submit cmd buffer using deleted image 0x2.
Unexpected: Attempting to free memory object 0x3 which still contains 1 references
Unexpected: Attempt to free command buffer (0x2a1d3b7d170) which is in use.
[       OK ] VkLayerTest.InvalidCmdBufferImageDestroyed (635 ms)
[ RUN      ] VkLayerTest.InvalidCmdBufferFramebufferImageDestroyed
Unexpected: Cannot submit cmd buffer using deleted image 0x8.
Unexpected: Cannot submit cmd buffer using deleted image 0x8.
Unexpected: Attempt to free command buffer (0x2a1d3b7d170) which is in use.
[       OK ] VkLayerTest.InvalidCmdBufferFramebufferImageDestroyed (658 ms)
[ RUN      ] VkLayerTest.BufferMemoryNotBound
Unexpected: Invalid usage flag for buffer 0x5 used by vkCmdCopyBufferToImage().In this case, buffer should have VK_BUFFER_USAGE_TRANSFER_SRC_BIT set during creation.
[       OK ] VkLayerTest.BufferMemoryNotBound (642 ms)
[ RUN      ] VkLayerTest.InvalidCmdBufferEventDestroyed
Unexpected: Cannot submit cmd buffer using deleted event 0x2.
Unexpected: Attempt to free command buffer (0x2a1d3427280) which is in use.
[       OK ] VkLayerTest.InvalidCmdBufferEventDestroyed (629 ms)
[ RUN      ] VkLayerTest.InvalidCmdBufferQueryPoolDestroyed
Unexpected: Cannot submit cmd buffer using deleted query pool 0x2.
Unexpected: Attempt to free command buffer (0x2a1d9f121b0) which is in use.
[       OK ] VkLayerTest.InvalidCmdBufferQueryPoolDestroyed (629 ms)
[ RUN      ] VkLayerTest.InvalidCmdBufferPipelineDestroyed
Unexpected: Cannot submit cmd buffer using deleted pipeline 0xc.
Unexpected: Attempt to free command buffer (0x2a1d9f121b0) which is in use.
[       OK ] VkLayerTest.InvalidCmdBufferPipelineDestroyed (701 ms)
[ RUN      ] VkLayerTest.InvalidCmdBufferDescriptorSetBufferDestroyed
Unexpected: Cannot submit cmd buffer using deleted buffer 0xc.
Unexpected: Attempting to free memory object 0xd which still contains 1 references
Unexpected: Cannot delete pipeline 0x11 that is currently in use by a command buffer.
Unexpected: Attempt to free command buffer (0x2a1d9f121b0) which is in use.
[       OK ] VkLayerTest.InvalidCmdBufferDescriptorSetBufferDestroyed (716 ms)
[ RUN      ] VkLayerTest.InvalidCmdBufferDescriptorSetImageSamplerDestroyed
Unexpected: CB object 0x2a1d9f121b0: Dynamic viewport state not set for this command buffer
Unexpected: CB object 0x2a1d9f121b0: Dynamic scissor state not set for this command buffer
Unexpected: Dynamic viewport(s) 0 are used by PSO, but were not provided via calls to vkCmdSetViewport().
Unexpected: Dynamic scissor(s) 0 are used by PSO, but were not provided via calls to vkCmdSetScissor().

Unexpected: vkUpdateDescriptorsSets() failed write update validation for Descriptor Set 0xa with error: Cannot call vkUpdateDescriptorSets() to perform write update on descriptor set<PHONE_NUMBER>00000A that is in use by a command buffer.
Unexpected: Calling vkBeginCommandBuffer() on active CB 0x000002A1D9F121B0 before it has completed. You must check CB fence before this call.
Unexpected: Call to vkBeginCommandBuffer() on command buffer (0x2a1d9f121b0) attempts to implicitly reset cmdBuffer created from command pool (0x1) that does NOT have the VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT bit set.
Unexpected: CB object 0x2a1d9f121b0: Dynamic viewport state not set for this command buffer
Unexpected: CB object 0x2a1d9f121b0: Dynamic scissor state not set for this command buffer
Unexpected: Dynamic viewport(s) 0 are used by PSO, but were not provided via calls to vkCmdSetViewport().
Unexpected: Dynamic scissor(s) 0 are used by PSO, but were not provided via calls to vkCmdSetScissor().
Unexpected: Command Buffer 0x2a1d9f121b0 is already in use and is not marked for simultaneous use.
Unexpected: Cannot submit cmd buffer using deleted image 0xc.
Unexpected: vkUpdateDescriptorsSets() failed write update validation for Descriptor Set 0xa with error: Cannot call vkUpdateDescriptorSets() to perform write update on descriptor set<PHONE_NUMBER>00000A that is in use by a command buffer.
Unexpected: Calling vkBeginCommandBuffer() on active CB 0x000002A1D9F121B0 before it has completed. You must check CB fence before this call.
Unexpected: Call to vkBeginCommandBuffer() on command buffer (0x2a1d9f121b0) attempts to implicitly reset cmdBuffer created from command pool (0x1) that does NOT have the VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT bit set.
Unexpected: CB object 0x2a1d9f121b0: Dynamic viewport state not set for this command buffer
Unexpected: CB object 0x2a1d9f121b0: Dynamic scissor state not set for this command buffer
Unexpected: Dynamic viewport(s) 0 are used by PSO, but were not provided via calls to vkCmdSetViewport().
Unexpected: Dynamic scissor(s) 0 are used by PSO, but were not provided via calls to vkCmdSetScissor().
Unexpected: It is invalid to call vkFreeDescriptorSets() with a pool created without setting VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT.
Unexpected: Command Buffer 0x2a1d9f121b0 is already in use and is not marked for simultaneous use.
Unexpected: Attempting to free memory object 0xe which still contains 2 references
Unexpected: Cannot delete sampler 0x12 that is currently in use by a command buffer.
Unexpected: Cannot delete pipeline 0x16 that is currently in use by a command buffer.
Unexpected: Attempt to free command buffer (0x2a1d9f121b0) which is in use.
[       OK ] VkLayerTest.InvalidCmdBufferDescriptorSetImageSamplerDestroyed (66401 ms)
[ RUN      ] VkLayerTest.InvalidPipeline
Unexpected: vkBeginCommandBuffer(): Cannot call Begin on CB (0x2a1d9f121b0) in the RECORDING state. Must first call vkEndCommandBuffer().
Unexpected: vkCmdDraw: This call must be issued inside an active render pass.
Unexpected: vkBeginCommandBuffer(): Cannot call Begin on CB (0x2a1d9f121b0) in the RECORDING state. Must first call vkEndCommandBuffer().
[       OK ] VkLayerTest.InvalidPipeline (987 ms)
[ RUN      ] VkLayerTest.InvalidBufferViewObject
Unexpected: Invalid Buffer View Object 0xbaadbeef
[       OK ] VkLayerTest.InvalidBufferViewObject (667 ms)
[ RUN      ] VkLayerTest.CreateBufferViewNoMemoryBoundToBuffer
Unexpected: Invalid usage flag for buffer 0x2 used by vkCreateBufferView(). In this case, buffer should have VK_BUFFER_USAGE_[STORAGE|UNIFORM]_TEXEL_BUFFER_BITset during creation.
[       OK ] VkLayerTest.CreateBufferViewNoMemoryBoundToBuffer (651 ms)
[ RUN      ] VkLayerTest.InvalidDynamicOffsetCases
Unexpected: CB object 0x2a1d9f121b0: Dynamic viewport state not set for this command buffer
Unexpected: CB object 0x2a1d9f121b0: Dynamic scissor state not set for this command buffer
Unexpected: Dynamic viewport(s) 0 are used by PSO, but were not provided via calls to vkCmdSetViewport().
Unexpected: Dynamic scissor(s) 0 are used by PSO, but were not provided via calls to vkCmdSetScissor().
[       OK ] VkLayerTest.InvalidDynamicOffsetCases (720 ms)
[ RUN      ] VkLayerTest.DescriptorBufferUpdateNoMemoryBound
Unexpected: vkUpdateDescriptorsSets() failed write update validation for Descriptor Set 0xa with error: Write update to descriptor in set<PHONE_NUMBER>00000A binding #0 failed with error message: Attempted write update to buffer descriptor failed due to:
[       OK ] VkLayerTest.DescriptorBufferUpdateNoMemoryBound (645 ms)
[ RUN      ] VkLayerTest.InvalidPushConstants
Unexpected: vkCreatePipelineLayout() call has push constants index 0 with offset 1. Offset must be a multiple of 4.
Unexpected: vkCreatePipelineLayout() call has push constants index 0 with offset 1. Offset must be a multiple of 4.
Unexpected: vkCreatePipelineLayout() call has push constants index 0 with size 0. Size must be greater than zero and a multiple of 4.
Unexpected: vkCreatePipelineLayout: value of pCreateInfo->pPushConstantRanges[0].stageFlags must not be 0
Unexpected: vkCreatePipelineLayout() call has push constants with overlapping ranges: 0:[0, 4), 2:[0, 4)
Unexpected: vkCreatePipelineLayout() call has push constants with overlapping ranges: 0:[0, 4), 3:[0, 4)
Unexpected: vkCreatePipelineLayout() call has push constants with overlapping ranges: 0:[0, 4), 4:[0, 4)
Unexpected: vkCreatePipelineLayout() call has push constants with overlapping ranges: 1:[0, 4), 2:[0, 4)
Unexpected: vkCreatePipelineLayout() call has push constants with overlapping ranges: 1:[0, 4), 3:[0, 4)
Unexpected: vkCreatePipelineLayout() call has push constants with overlapping ranges: 1:[0, 4), 4:[0, 4)
Unexpected: vkCreatePipelineLayout() call has push constants with overlapping ranges: 2:[0, 4), 3:[0, 4)
Unexpected: vkCreatePipelineLayout() call has push constants with overlapping ranges: 2:[0, 4), 4:[0, 4)
Unexpected: vkCreatePipelineLayout() call has push constants with overlapping ranges: 3:[0, 4), 4:[0, 4)
Unexpected: vkCreatePipelineLayout: returned VK_ERROR_VALIDATION_FAILED_EXT, indicating that API validation has detected an invalid use of the API
Unexpected: vkCreatePipelineLayout: returned VK_ERROR_VALIDATION_FAILED_EXT, indicating that API validation has detected an invalid use of the API
Unexpected: vkCreatePipelineLayout: returned VK_ERROR_VALIDATION_FAILED_EXT, indicating that API validation has detected an invalid use of the API
Unexpected: vkCreatePipelineLayout: returned VK_ERROR_VALIDATION_FAILED_EXT, indicating that API validation has detected an invalid use of the API
Unexpected: vkCreatePipelineLayout() call has push constants with overlapping ranges: 1:[32, 36), 2:[4, 100)
Unexpected: vkCreatePipelineLayout() call has push constants with overlapping ranges: 2:[4, 100), 3:[40, 48)
Unexpected: vkCreatePipelineLayout() call has push constants with overlapping ranges: 2:[4, 100), 4:[52, 56)
Unexpected: vkCreatePipelineLayout: returned VK_ERROR_VALIDATION_FAILED_EXT, indicating that API validation has detected an invalid use of the API
Unexpected: vkCmdPushConstants: parameter size must be greater than 0
Unexpected: vkCmdPushConstants() call has push constants with offset 1. Offset must be a multiple of 4.
Unexpected: vkCmdPushConstants: parameter size must be greater than 0
Unexpected: vkCmdPushConstants() call has push constants with size 0. Size mustbe greater than zero and a multiple of 4.
Unexpected: vkCmdPushConstants() Push constant range [0, 260) with stageFlags =0x1 not within flag-matching ranges in pipeline layout 0xa.
Unexpected: vkCmdPushConstants() Push constant range [260, 520) with stageFlags= 0x1 not within flag-matching ranges in pipeline layout 0xa.
Unexpected: vkCmdPushConstants: parameter size must be greater than 0
Unexpected: vkCmdPushConstants() call has push constants with size 0. Size mustbe greater than zero and a multiple of 4.
Unexpected: vkCmdPushConstants() Push constant range [260, 260) with stageFlags= 0x1 not within flag-matching ranges in pipeline layout 0xa.
Unexpected: vkCmdPushConstants() Push constant range [-16, 16) with stageFlags = 0x1 not within flag-matching ranges in pipeline layout 0xa.
Unexpected: vkCmdPushConstants() Push constant range [32, 16) with stageFlags =0x1 not within flag-matching ranges in pipeline layout 0xa.
Unexpected: vkCmdPushConstants: value of stageFlags must not be 0
Unexpected: vkCmdPushConstants() stageFlags = 0x0 do not match the stageFlags in any of the ranges in pipeline layout 0xa.
Unexpected: Attempt to reset command buffer (0x2a1d9f121b0) created from command pool (0x1) that does NOT have the VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT bit set.
Unexpected: Attempt to reset command buffer (0x2a1d9f121b0) created from command pool (0x1) that does NOT have the VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT bit set.
[       OK ] VkLayerTest.InvalidPushConstants (713 ms)
[ RUN      ] VkLayerTest.DescriptorSetCompatibility
Unexpected: DescriptorSetDS 0x2a1d9e00c10 previously bound as set #0 was disturbed by newly bound pipelineLayout (0x18)
Unexpected: CB object 0x2a1d9f121b0: Dynamic viewport state not set for this command buffer
Unexpected: CB object 0x2a1d9f121b0: Dynamic scissor state not set for this command buffer
Unexpected: Dynamic viewport(s) 0 are used by PSO, but were not provided via calls to vkCmdSetViewport().
Unexpected: Dynamic scissor(s) 0 are used by PSO, but were not provided via calls to vkCmdSetScissor().
Unexpected: CB object 0x2a1d9f121b0: Dynamic viewport state not set for this command buffer
Unexpected: CB object 0x2a1d9f121b0: Dynamic scissor state not set for this command buffer
Unexpected: Dynamic viewport(s) 0 are used by PSO, but were not provided via calls to vkCmdSetViewport().
Unexpected: Dynamic scissor(s) 0 are used by PSO, but were not provided via calls to vkCmdSetScissor().
Unexpected: It is invalid to call vkFreeDescriptorSets() with a pool created without setting VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT.
Unexpected: It is invalid to call vkFreeDescriptorSets() with a pool created without setting VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT.
[       OK ] VkLayerTest.DescriptorSetCompatibility (774 ms)
[ RUN      ] VkLayerTest.SecondaryCommandBufferNullRenderpass
Unexpected: vkBeginCommandBuffer: parameter pBeginInfo->pInheritanceInfo->sTypemust be VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO
[       OK ] VkLayerTest.SecondaryCommandBufferNullRenderpass (630 ms)
[ RUN      ] VkLayerTest.CommandBufferResetErrors
Unexpected: vkBeginCommandBuffer: parameter pBeginInfo->pInheritanceInfo->sTypemust be VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO
Unexpected: vkBeginCommandBuffer: parameter pBeginInfo->pInheritanceInfo->sTypemust be VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO
Unexpected: vkBeginCommandBuffer: parameter pBeginInfo->pInheritanceInfo->sTypemust be VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO
[       OK ] VkLayerTest.CommandBufferResetErrors (100202 ms)
[ RUN      ] VkLayerTest.InvalidPipelineCreateState
Unexpected: vkCreateGraphicsPipelines: parameter pCreateInfos[0].stageCount must be greater than 0
Unexpected: vkCreateGraphicsPipelines: required parameter pCreateInfos[0].pVertexInputState specified as NULL
Unexpected: vkCreateGraphicsPipelines: required parameter pCreateInfos[0].pInputAssemblyState specified as NULL
Unexpected: vkCreateGraphicsPipelines: if pCreateInfos[0].pRasterizationState->rasterizerDiscardEnable is VK_FALSE, pCreateInfos[0].pMultisampleState must not be NULL
Unexpected: Attempt to set lineWidth to 0.000000 but physical device limits line width to between [0.500000, 10.000000]!
[       OK ] VkLayerTest.InvalidPipelineCreateState (1050 ms)
[ RUN      ] VkLayerTest.PSOViewportScissorCountMismatch
Unexpected: vkCreateGraphicsPipelines: required parameter pCreateInfos[0].pVertexInputState specified as NULL
Unexpected: vkCreateGraphicsPipelines: required parameter pCreateInfos[0].pInputAssemblyState specified as NULL
Unexpected: vkCreateGraphicsPipelines: if pCreateInfos[0].pRasterizationState->rasterizerDiscardEnable is VK_FALSE, pCreateInfos[0].pMultisampleState must not be NULL
Unexpected: Attempt to set lineWidth to 0.000000 but physical device limits line width to between [0.500000, 10.000000]!
[       OK ] VkLayerTest.PSOViewportScissorCountMismatch (716 ms)
[ RUN      ] VkLayerTest.PSOViewportStateNotSet
Unexpected: vkCreateGraphicsPipelines: required parameter pCreateInfos[0].pVertexInputState specified as NULL
Unexpected: vkCreateGraphicsPipelines: required parameter pCreateInfos[0].pInputAssemblyState specified as NULL
Unexpected: vkCreateGraphicsPipelines: if pCreateInfos[0].pRasterizationState->rasterizerDiscardEnable is VK_FALSE, pCreateInfos[0].pViewportState must be a pointer to a valid VkPipelineViewportStateCreateInfo structure
Unexpected: vkCreateGraphicsPipelines: if pCreateInfos[0].pRasterizationState->rasterizerDiscardEnable is VK_FALSE, pCreateInfos[0].pMultisampleState must not be NULL
Unexpected: Attempt to set lineWidth to 0.000000 but physical device limits line width to between [0.500000, 10.000000]!
[       OK ] VkLayerTest.PSOViewportStateNotSet (691 ms)
[ RUN      ] VkLayerTest.PSOViewportCountWithoutDataAndDynScissorMismatch
Unexpected: vkCreateGraphicsPipelines: if pCreateInfos[0].pDynamicState->pDynamicStates does not contain VK_DYNAMIC_STATE_VIEWPORT, pCreateInfos[0].pViewportState->pViewports must not be NULL
Unexpected: vkCreateGraphicsPipelines: if pCreateInfos[0].pRasterizationState->rasterizerDiscardEnable is VK_FALSE, pCreateInfos[0].pMultisampleState must not be NULL
Unexpected: Attempt to set lineWidth to 0.000000 but physical device limits line width to between [0.500000, 10.000000]!
Unexpected: vkCreateGraphicsPipelines: if pCreateInfos[0].pRasterizationState->rasterizerDiscardEnable is VK_FALSE, pCreateInfos[0].pMultisampleState must not be NULL
Unexpected: Attempt to set lineWidth to 0.000000 but physical device limits line width to between [0.500000, 10.000000]!
[       OK ] VkLayerTest.PSOViewportCountWithoutDataAndDynScissorMismatch (711 ms)
[ RUN      ] VkLayerTest.PSOScissorCountWithoutDataAndDynViewportMismatch
Unexpected: vkCreateGraphicsPipelines: if pCreateInfos[0].pDynamicState->pDynamicStates does not contain VK_DYNAMIC_STATE_SCISSOR, pCreateInfos[0].pViewportState->pScissors must not be NULL
Unexpected: vkCreateGraphicsPipelines: if pCreateInfos[0].pRasterizationState->rasterizerDiscardEnable is VK_FALSE, pCreateInfos[0].pMultisampleState must not be NULL
Unexpected: Attempt to set lineWidth to 0.000000 but physical device limits line width to between [0.500000, 10.000000]!
Unexpected: vkCreateGraphicsPipelines: if pCreateInfos[0].pRasterizationState->rasterizerDiscardEnable is VK_FALSE, pCreateInfos[0].pMultisampleState must not be NULL
Unexpected: Attempt to set lineWidth to 0.000000 but physical device limits line width to between [0.500000, 10.000000]!
[       OK ] VkLayerTest.PSOScissorCountWithoutDataAndDynViewportMismatch (730 ms)
[ RUN      ] VkLayerTest.PSOLineWidthInvalid
Unexpected: vkCreateGraphicsPipelines: if pCreateInfos[0].pRasterizationState->rasterizerDiscardEnable is VK_FALSE, pCreateInfos[0].pMultisampleState must not be NULL
Unexpected: vkCreateGraphicsPipelines: if pCreateInfos[0].pRasterizationState->rasterizerDiscardEnable is VK_FALSE, pCreateInfos[0].pMultisampleState must not be NULL
Unexpected: vkCreateGraphicsPipelines: if pCreateInfos[0].pRasterizationState->rasterizerDiscardEnable is VK_FALSE, pCreateInfos[0].pMultisampleState must not be NULL
[       OK ] VkLayerTest.PSOLineWidthInvalid (704 ms)
[ RUN      ] VkLayerTest.NullRenderPass
Unexpected: vkCmdBeginRenderPass: required parameter pRenderPassBegin specifiedas NULL
[       OK ] VkLayerTest.NullRenderPass (638 ms)
[ RUN      ] VkLayerTest.UpdateBufferWithinRenderPass
Unexpected: vkCmdUpdateBuffer: required parameter pData specified as NULL
[       OK ] VkLayerTest.UpdateBufferWithinRenderPass (642 ms)

[ RUN      ] VkLayerTest.InvalidBarriers
Unexpected: vkCreateBuffer: value of pCreateInfo->usage must not be 0
[       OK ] VkLayerTest.InvalidBarriers (987 ms)
[ RUN      ] VkLayerTest.IdxBufferAlignmentError
Unexpected: vkCmdBindIndexBuffer(): VkBuffer object 0x8 used without first calling vkBindBufferMemory.
[       OK ] VkLayerTest.IdxBufferAlignmentError (645 ms)
[ RUN      ] VkLayerTest.InvalidQueueFamilyIndex
Unexpected: vkCreateBuffer: if pCreateInfo->sharingMode is VK_SHARING_MODE_CONCURRENT, pCreateInfo->queueFamilyIndexCount must be greater than 1
[       OK ] VkLayerTest.InvalidQueueFamilyIndex (635 ms)
[ RUN      ] VkLayerTest.ExecuteCommandsPrimaryCB
Unexpected: You must call vkEndCommandBuffer() on CB 0x2a1daecdaa0 before this call to vkQueueSubmit()!
Unexpected: vkCmdExecuteCommands() cannot be called in a subpass using inline commands.
Unexpected: Attempt to free command buffer (0x2a1daecdaa0) which is in use.
[       OK ] VkLayerTest.ExecuteCommandsPrimaryCB (636 ms)
[ RUN      ] VkLayerTest.DSUsageBitsErrors
Unexpected: vkUpdateDescriptorSets(): VkBuffer object 0x19 used without first calling vkBindBufferMemory.
Unexpected: vkUpdateDescriptorSets(): VkBuffer object 0x19 used without first calling vkBindBufferMemory.
Unexpected: vkUpdateDescriptorSets(): VkBuffer object 0x19 used without first calling vkBindBufferMemory.
Unexpected: vkUpdateDescriptorSets(): VkBuffer object 0x19 used without first calling vkBindBufferMemory.
Unexpected: It is invalid to call vkFreeDescriptorSets() with a pool created without setting VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT.
[       OK ] VkLayerTest.DSUsageBitsErrors (630 ms)
[ RUN      ] VkLayerTest.DSBufferInfoErrors
Unexpected: vkUpdateDescriptorSets(): pDescriptorWrites[0].pBufferInfo[0].offset (0x101) must be a multiple of device limit minUniformBufferOffsetAlignment 0x100
Unexpected: vkUpdateDescriptorSets(): pDescriptorWrites[0].pBufferInfo[0].offset (0x80) must be a multiple of device limit minUniformBufferOffsetAlignment 0x100
Unexpected: It is invalid to call vkFreeDescriptorSets() with a pool created without setting VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT.
[       OK ] VkLayerTest.DSBufferInfoErrors (608 ms)
[ RUN      ] VkLayerTest.DSAspectBitsErrors
Unexpected: It is invalid to call vkFreeDescriptorSets() with a pool created without setting VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT.
[       OK ] VkLayerTest.DSAspectBitsErrors (628 ms)
[ RUN      ] VkLayerTest.DSUpdateOutOfBounds
Unexpected: vkUpdateDescriptorSets: required parameter pDescriptorWrites[0].pBufferInfo[0].buffer specified as VK_NULL_HANDLE
[       OK ] VkLayerTest.DSUpdateOutOfBounds (641 ms)
[ RUN      ] VkLayerTest.SampleDescriptorUpdateError
Unexpected: Invalid Sampler Object 0xbaadbeef
[       OK ] VkLayerTest.SampleDescriptorUpdateError (633 ms)
[ RUN      ] VkLayerTest.ImageViewDescriptorUpdateError
Unexpected: Invalid Image View Object 0xbaadbeef
[       OK ] VkLayerTest.ImageViewDescriptorUpdateError (630 ms)
[ RUN      ] VkLayerTest.NumSamplesMismatch
Unexpected: CB object 0x2a1da5834a0: Dynamic viewport state not set for this command buffer
Unexpected: CB object 0x2a1da5834a0: Dynamic scissor state not set for this command buffer
Unexpected: Dynamic viewport(s) 0 are used by PSO, but were not provided via calls to vkCmdSetViewport().
Unexpected: Dynamic scissor(s) 0 are used by PSO, but were not provided via calls to vkCmdSetScissor().
[       OK ] VkLayerTest.NumSamplesMismatch (703 ms)
[ RUN      ] VkLayerTest.NumBlendAttachMismatch
Unexpected: CB object 0x2a1de8fdac0: Dynamic viewport state not set for this command buffer
Unexpected: CB object 0x2a1de8fdac0: Dynamic scissor state not set for this command buffer
Unexpected: Dynamic viewport(s) 0 are used by PSO, but were not provided via calls to vkCmdSetViewport().
Unexpected: Dynamic scissor(s) 0 are used by PSO, but were not provided via calls to vkCmdSetScissor().
[       OK ] VkLayerTest.NumBlendAttachMismatch (714 ms)
[ RUN      ] VkLayerTest.MissingClearAttachment
Unexpected: vkUpdateDescriptorsSets() failed write update validation for Descriptor Set 0xf with error: Write update to descriptor in set<PHONE_NUMBER>00000F binding #0 failed with error message: Attempted write update to buffer descriptor failed due to: Buffer<PHONE_NUMBER>000002) with usage mask 0x3 being used for a descriptor update of type VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER does not have VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT set.
[       OK ] VkLayerTest.MissingClearAttachment (715 ms)
[ RUN      ] VkLayerTest.MismatchCountQueueCreateRequestedFeature
Unexpected: You requested features that are unavailable on this device. You should first query feature availability by calling vkGetPhysicalDeviceFeatures().
[       OK ] VkLayerTest.MismatchCountQueueCreateRequestedFeature (641 ms)
[ RUN      ] VkLayerTest.VertexBufferInvalid
Unexpected: Invalid Buffer Object 0xf
Unexpected: Unable to remove Buffer obj 0xf. Was it created? Has it already been destroyed?
Unexpected: vkCreateBuffer: value of pCreateInfo->usage must not be 0
Unexpected: vkBindBufferMemory(): texel memoryOffset is 0x1 but must be a multiple of device limit minTexelBufferOffsetAlignment 0x10
Unexpected: vkBindBufferMemory(): memoryOffset is 0x1 but must be an integer multiple of the VkMemoryRequirements::alignment value 0x100, returned from a call to vkGetBufferMemoryRequirements with buffer
Unexpected: vkBindBufferMemory(): memoryOffset is 0x1 but must be an integer multiple of the VkMemoryRequirements::alignment value 0x100, returned from a call to vkGetBufferMemoryRequirements with buffer
Unexpected: vkBindBufferMemory(): memoryOffset is 0x1 but must be an integer multiple of the VkMemoryRequirements::alignment value 0x100, returned from a call to vkGetBufferMemoryRequirements with buffer
Unexpected: vkBindBufferMemory: required parameter memory specified as VK_NULL_HANDLE
Unexpected: Invalid Buffer Object 0xcccccccccccccccc
Unexpected: Invalid Device Memory Object 0x0
Unexpected: Unable to remove Device Memory obj 0x1c. Was it created? Has it already been destroyed?
Unexpected: Cannot delete pipeline 0xc that is currently in use by a command buffer.
Unexpected: Attempt to free command buffer (0x2a1d9712080) which is in use.
[       OK ] VkLayerTest.VertexBufferInvalid (730 ms)
[ RUN      ] VkLayerTest.InvalidImageLayout
Unexpected: Layout for output image should be TRANSFER_DST_OPTIMAL instead of GENERAL.
Unexpected: vkCmdCopyImage(): VkImage object 0x2 used without first calling vkBindImageMemory.
Unexpected: vkCmdCopyImage(): VkImage object 0x3 used without first calling vkBindImageMemory.
Unexpected: Invalid usage flag for image 0x3 used by vkCmdCopyImage(). In this case, image should have VK_IMAGE_USAGE_TRANSFER_DST_BIT set during creation.
Unexpected: Layout for input image is VK_IMAGE_LAYOUT_UNDEFINED but can only beTRANSFER_SRC_OPTIMAL or GENERAL.
Unexpected: vkCmdCopyImage(): VkImage object 0x2 used without first calling vkBindImageMemory.
Unexpected: vkCmdCopyImage(): VkImage object 0x3 used without first calling vkBindImageMemory.
Unexpected: Invalid usage flag for image 0x3 used by vkCmdCopyImage(). In this case, image should have VK_IMAGE_USAGE_TRANSFER_DST_BIT set during creation.
Unexpected: Cannot copy from an image whose source layout is VK_IMAGE_LAYOUT_UNDEFINED and doesn't match the current layout VK_IMAGE_LAYOUT_GENERAL.
Unexpected: Layout for input image should be TRANSFER_SRC_OPTIMAL instead of GENERAL.
Unexpected: vkCmdCopyImage(): VkImage object 0x2 used without first calling vkBindImageMemory.
Unexpected: vkCmdCopyImage(): VkImage object 0x3 used without first calling vkBindImageMemory.
Unexpected: Invalid usage flag for image 0x3 used by vkCmdCopyImage(). In this case, image should have VK_IMAGE_USAGE_TRANSFER_DST_BIT set during creation.
Unexpected: Layout for output image is VK_IMAGE_LAYOUT_UNDEFINED but can only be TRANSFER_DST_OPTIMAL or GENERAL.
Unexpected: vkCmdCopyImage(): VkImage object 0x2 used without first calling vkBindImageMemory.
Unexpected: vkCmdCopyImage(): VkImage object 0x3 used without first calling vkBindImageMemory.
Unexpected: Invalid usage flag for image 0x3 used by vkCmdCopyImage(). In this case, image should have VK_IMAGE_USAGE_TRANSFER_DST_BIT set during creation.
Unexpected: Cannot copy from an image whose dest layout is VK_IMAGE_LAYOUT_UNDEFINED and doesn't match the current layout VK_IMAGE_LAYOUT_GENERAL.
Unexpected: vkCmdPipelineBarrier: parameter pImageMemoryBarriers[0].sType must be VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER
Unexpected: vkCmdPipelineBarrier: Image Layout cannot be transitioned to UNDEFINED or PREINITIALIZED.
Unexpected: vkCmdPipelineBarrier: Subresource must have the sum of the baseMipLevel (0) and levelCount (2) be less than or equal to the total number of levels (1).
[       OK ] VkLayerTest.InvalidImageLayout (646 ms)
[ RUN      ] VkLayerTest.InUseDestroyedSignaled
Unexpected: You are submitting command buffer 0x2a1da2fe6f0 that is invalid because bound event 0x8 was destroyed.
Unexpected: Invalid Semaphore Object 0xa
Unexpected: Unable to remove Semaphore obj 0xa. Was it created? Has it already been destroyed?
Unexpected: Invalid Fence Object 0xb
Unexpected: Unable to remove Fence obj 0xb. Was it created? Has it already beendestroyed?
Unexpected: Invalid Event Object 0x9
Unexpected: Unable to remove Event obj 0x9. Was it created? Has it already beendestroyed?
[       OK ] VkLayerTest.InUseDestroyedSignaled (763 ms)
[ RUN      ] VkLayerTest.QueryPoolInUseDestroyedSignaled
Unexpected: Invalid Query Pool Object 0x8
Unexpected: Unable to remove Query Pool obj 0x8. Was it created? Has it alreadybeen destroyed?
[       OK ] VkLayerTest.QueryPoolInUseDestroyedSignaled (90963 ms)
[ RUN      ] VkLayerTest.PipelineInUseDestroyedSignaled
Unexpected: Invalid Pipeline Object 0xc
Unexpected: Unable to remove Pipeline obj 0xc. Was it created? Has it already been destroyed?
[       OK ] VkLayerTest.PipelineInUseDestroyedSignaled (752 ms)
[ RUN      ] VkLayerTest.SamplerInUseDestroyedSignaled
Unexpected: CB object 0x2a1dafaccd0: Dynamic viewport state not set for this command buffer
Unexpected: CB object 0x2a1dafaccd0: Dynamic scissor state not set for this command buffer
Unexpected: Dynamic viewport(s) 0 are used by PSO, but were not provided via calls to vkCmdSetViewport().
Unexpected: Dynamic scissor(s) 0 are used by PSO, but were not provided via calls to vkCmdSetScissor().
Unexpected: Invalid Sampler Object 0x9
Unexpected: Unable to remove Sampler obj 0x9. Was it created? Has it already been destroyed?
[       OK ] VkLayerTest.SamplerInUseDestroyedSignaled (748 ms)
[ RUN      ] VkLayerTest.QueueForwardProgressFenceWait
Unexpected: vkWaitForFences: returned VK_ERROR_VALIDATION_FAILED_EXT, indicating that API validation has detected an invalid use of the API
[       OK ] VkLayerTest.QueueForwardProgressFenceWait (653 ms)
[ RUN      ] VkLayerTest.FramebufferIncompatible
Unexpected: vkCmdExecuteCommands() cannot be called in a subpass using inline commands.
[       OK ] VkLayerTest.FramebufferIncompatible (635 ms)
[ RUN      ] VkLayerTest.ColorBlendLogicOpTests
Unexpected: vkCreateGraphicsPipelines: parameter pCreateInfos[0].pDynamicState->dynamicStateCount must be greater than 0
Unexpected: vkCreateGraphicsPipelines: if pCreateInfos[0].pRasterizationState->rasterizerDiscardEnable is VK_FALSE, pCreateInfos[0].pMultisampleState must not be NULL
Unexpected: vkCreateGraphicsPipelines: value of pCreateInfos[0].pColorBlendState->logicOp (16) does not fall within the begin..end range of the core VkLogicOp enumeration tokens and is not an extension added token
Unexpected: Attempt to set lineWidth to 0.000000 but physical device limits line width to between [0.500000, 10.000000]!
[       OK ] VkLayerTest.ColorBlendLogicOpTests (698 ms)
[ RUN      ] VkLayerTest.CreatePipelineVsFsTypeMismatchArraySize
Unexpected: Type mismatch on location 1.0: 'ptr to output arr[2] of float32' vs'ptr to input arr[3] of float32'
Unexpected: fragment shader consumes input location 2.0 which is not written byvertex shader
[       OK ] VkLayerTest.CreatePipelineVsFsTypeMismatchArraySize (679 ms)
[ RUN      ] VkLayerTest.CreatePipelineFragmentOutputNotConsumed
Unexpected: vkCreateGraphicsPipelines: returned VK_ERROR_VALIDATION_FAILED_EXT,
indicating that API validation has detected an invalid use of the API
[       OK ] VkLayerTest.CreatePipelineFragmentOutputNotConsumed (690 ms)
[ RUN      ] VkLayerTest.CreatePipelineInputAttachmentMissingArray
Unexpected: Shader consumes input attachment index 0 but not provided in subpass
[       OK ] VkLayerTest.CreatePipelineInputAttachmentMissingArray (685 ms)
[ RUN      ] VkLayerTest.DrawTimeImageMultisampleMismatchWithPipeline
Unexpected: Fragment info
-------------
(0) : fatal error C9999: Can't convert to expr: texelFetch
C:\dev\xgl\Vulkan-LoaderAndValidationLayers\tests\layer_validation_tests.cpp(15424): error: Value of: err
  Actual: -1000012000
Expected: VK_SUCCESS
Which is: 0
UNKNOWN_RESULT
[  FAILED  ] VkLayerTest.DrawTimeImageMultisampleMismatchWithPipeline (775 ms)
[ RUN      ] VkLayerTest.CreateImageLimitsViolationMinWidth
Unexpected: vkCreateImage: parameter pCreateInfo->extent.width must be greater than 0
[       OK ] VkLayerTest.CreateImageLimitsViolationMinWidth (47021 ms)
[ RUN      ] VkLayerTest.AttachmentDescriptionUndefinedFormat
[       OK ] VkLayerTest.AttachmentDescriptionUndefinedFormat (668 ms)
[ RUN      ] VkLayerTest.InvalidImageView
Unexpected: vkCreateImageView: parameter pCreateInfo->sType must be VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO
Unexpected: vkCreateImageView(): VkImage object 0x2 used without first calling vkBindImageMemory.
[       OK ] VkLayerTest.InvalidImageView (652 ms)
[ RUN      ] VkLayerTest.CreateImageViewNoMemoryBoundToImage
Unexpected: vkCreateImageView: parameter pCreateInfo->sType must be VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO
[       OK ] VkLayerTest.CreateImageViewNoMemoryBoundToImage (652 ms)
[ RUN      ] VkLayerTest.InvalidImageViewAspect
Unexpected: vkCreateImageView: parameter pCreateInfo->sType must be VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO
Unexpected: vkCreateImageView: if pCreateInfo->viewType is VK_IMAGE_TYPE_2D, pCreateInfo->subresourceRange.layerCount must be 1
Unexpected: vkCreateImageView called with 0 in pCreateInfo->subresourceRange.layerCount.
Unexpected: vkCreateImageView: Color image formats must have the VK_IMAGE_ASPECT_COLOR_BIT set
[       OK ] VkLayerTest.InvalidImageViewAspect (658 ms)
[ RUN      ] VkLayerTest.CopyImageLayerCountMismatch
Unexpected: Invalid usage flag for image 0x3 used by vkCmdCopyImage(). In this case, image should have VK_IMAGE_USAGE_TRANSFER_DST_BIT set during creation.
[       OK ] VkLayerTest.CopyImageLayerCountMismatch (658 ms)
[ RUN      ] VkLayerTest.ImageLayerUnsupportedFormat
Unexpected: vkCreateImage: value of pCreateInfo->sharingMode (-858993460) does not fall within the begin..end range of the core VkSharingMode enumeration tokens and is not an extension added token
Unexpected: vkCreateImage: value of pCreateInfo->initialLayout (-858993460) does not fall within the begin..end range of the core VkImageLayout enumeration tokens and is not an extension added token
Unexpected: CreateImage extents exceed allowable limits for format: Width = 32 Height = 32 Depth = 1:  Limits for Width = 0 Height = 0 Depth = 0 for format VK_FORMAT_UNDEFINED.
Unexpected: CreateImage mipLevels=1 exceeds allowable maximum supported by format of 0
Unexpected: CreateImage arrayLayers=1 exceeds allowable maximum supported by format of 0
Unexpected: CreateImage samples VK_SAMPLE_COUNT_1_BIT is not supported by format 0x00000000
Unexpected: vkCreateImage parameter, pCreateInfo->initialLayout, must be VK_IMAGE_LAYOUT_UNDEFINED or VK_IMAGE_LAYOUT_PREINITIALIZED
Unexpected: vkCreateImage: value of pCreateInfo->sharingMode (-858993460) does not fall within the begin..end range of the core VkSharingMode enumeration tokens and is not an extension added token
Unexpected: vkCreateImage: value of pCreateInfo->initialLayout (-858993460) does not fall within the begin..end range of the core VkImageLayout enumeration tokens and is not an extension added token
Unexpected: CreateImage extents exceed allowable limits for format: Width = 32 Height = 32 Depth = 1:  Limits for Width = 0 Height = 0 Depth = 0 for format VK_FORMAT_R8_USCALED.
Unexpected: CreateImage resource size exceeds allowable maximum Image resource size = 0x400, maximum resource size = 0x0
Unexpected: CreateImage mipLevels=1 exceeds allowable maximum supported by format of 0
Unexpected: CreateImage arrayLayers=1 exceeds allowable maximum supported by format of 0
Unexpected: CreateImage samples VK_SAMPLE_COUNT_1_BIT is not supported by format 0x00000000
Unexpected: vkCreateImage parameter, pCreateInfo->initialLayout, must be VK_IMAGE_LAYOUT_UNDEFINED or VK_IMAGE_LAYOUT_PREINITIALIZED
[       OK ] VkLayerTest.ImageLayerUnsupportedFormat (634 ms)
[ RUN      ] VkLayerTest.ImageLayerViewTests
Unexpected: vkCreateImageView: if pCreateInfo->viewType is VK_IMAGE_TYPE_2D, pCreateInfo->subresourceRange.layerCount must be 1
Unexpected: vkCreateImageView() format VK_FORMAT_D24_UNORM_S8_UINT differs fromimage 2 format VK_FORMAT_B8G8R8A8_UNORM.  Formats MUST be IDENTICAL unless VK_IMAGE_CREATE_MUTABLE_FORMAT BIT was set on image creation.
Unexpected: vkCreateImageView(): VkImage object 0x5 used without first calling vkBindImageMemory.
[       OK ] VkLayerTest.ImageLayerViewTests (631 ms)
[ RUN      ] VkLayerTest.MiscImageLayerTests
Unexpected: vkCmdCopyBufferToImage(): pRegion[0] bufferOffset 0x6 must be a multiple of 4
Unexpected: vkCmdCopyBufferToImage(): pRegion[0] bufferOffset 0x6 must be a multiple of this format's texel size (4)
Unexpected: vkCmdBlitImage: value of pRegions[1].srcSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: vkCmdBlitImage: value of pRegions[1].dstSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: vkCmdBlitImage: value of pRegions[2].srcSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: vkCmdBlitImage: value of pRegions[2].dstSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: vkCmdBlitImage: value of pRegions[3].srcSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: vkCmdBlitImage: value of pRegions[3].dstSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: vkCmdBlitImage: value of pRegions[4].srcSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: vkCmdBlitImage: value of pRegions[4].dstSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: vkCmdBlitImage: value of pRegions[5].srcSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: vkCmdBlitImage: value of pRegions[6].srcSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: vkCmdBlitImage: value of pRegions[6].dstSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: vkCmdBlitImage: value of pRegions[7].srcSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: vkCmdBlitImage: value of pRegions[7].dstSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: vkCmdBlitImage: value of pRegions[8].srcSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: vkCmdBlitImage: value of pRegions[8].dstSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: vkCmdBlitImage: value of pRegions[9].srcSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: vkCmdBlitImage: value of pRegions[9].dstSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: vkCmdBlitImage: value of pRegions[10].srcSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: vkCmdBlitImage: value of pRegions[10].dstSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: vkCmdBlitImage: value of pRegions[11].srcSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: vkCmdBlitImage: value of pRegions[11].dstSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: vkCmdBlitImage: value of pRegions[12].srcSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: vkCmdBlitImage: value of pRegions[12].dstSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: vkCmdBlitImage: value of pRegions[13].srcSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: vkCmdBlitImage: value of pRegions[13].dstSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: vkCmdBlitImage: value of pRegions[14].srcSubresource.aspectMask must not be 0
Unexpected: vkCmdBlitImage: value of pRegions[14].dstSubresource.aspectMask must not be 0
Unexpected: vkCmdBlitImage: value of pRegions[15].srcSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: vkCmdBlitImage: value of pRegions[15].dstSubresource.aspectMask contains flag bits that are not recognized members of VkImageAspectFlagBits
Unexpected: Invalid usage flag for image 0x7 used by vkCmdBlitImage(). In this case, image should have VK_IMAGE_USAGE_TRANSFER_SRC_BIT set during creation.
Unexpected: Invalid usage flag for image 0xa used by vkCmdBlitImage(). In this case, image should have VK_IMAGE_USAGE_TRANSFER_DST_BIT set during creation.
[       OK ] VkLayerTest.MiscImageLayerTests (649 ms)
[ RUN      ] VkLayerTest.ImageFormatLimits
Unexpected: vkCreateImage: if pCreateInfo->imageType is VK_IMAGE_TYPE_2D, pCreateInfo->extent.depth must be 1
[       OK ] VkLayerTest.ImageFormatLimits (636 ms)
[ RUN      ] VkLayerTest.CopyImageDepthStencilFormatMismatch
Unexpected: Invalid usage flag for image 0x3 used by vkCmdCopyImage(). In this case, image should have VK_IMAGE_USAGE_TRANSFER_DST_BIT set during creation.
[       OK ] VkLayerTest.CopyImageDepthStencilFormatMismatch (640 ms)
[ RUN      ] VkLayerTest.ResolveImageLowSampleCount
Unexpected: vkCmdResolveImage: number of layers in source subresource is zero
Unexpected: vkCmdResolveImage: number of layers in destination subresource is zero
[       OK ] VkLayerTest.ResolveImageLowSampleCount (647 ms)
[ RUN      ] VkLayerTest.ResolveImageHighSampleCount
Unexpected: vkCmdResolveImage: number of layers in source subresource is zero
Unexpected: vkCmdResolveImage: number of layers in destination subresource is zero
[       OK ] VkLayerTest.ResolveImageHighSampleCount (635 ms)
[ RUN      ] VkLayerTest.ResolveImageFormatMismatch
Unexpected: vkCmdResolveImage: number of layers in source subresource is zero
Unexpected: vkCmdResolveImage: number of layers in destination subresource is zero
[       OK ] VkLayerTest.ResolveImageFormatMismatch (625 ms)
[ RUN      ] VkLayerTest.ResolveImageTypeMismatch
Unexpected: vkCmdResolveImage: number of layers in source subresource is zero
Unexpected: vkCmdResolveImage: number of layers in destination subresource is zero
[       OK ] VkLayerTest.ResolveImageTypeMismatch (627 ms)
[ RUN      ] VkLayerTest.DepthStencilImageViewWithColorAspectBitError
Unexpected: vkCreateImageView: parameter pCreateInfo->sType must be VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO
Unexpected: vkCreateImageView(): VkImage object 0x5 used without first calling vkBindImageMemory.
Unexpected: vkCreateImageView: Depth/stencil image formats must have at least one of VK_IMAGE_ASPECT_DEPTH_BIT and VK_IMAGE_ASPECT_STENCIL_BIT set
[       OK ] VkLayerTest.DepthStencilImageViewWithColorAspectBitError (627 ms)
[ RUN      ] VkLayerTest.ClearImageErrors
Unexpected: vkCmdClearColorImage called with image created without VK_IMAGE_USAGE_TRANSFER_DST_BIT.
Unexpected: vkCmdClearColorImage called with depth/stencil image.

Going fwd we should make sure any new tests don't have unexpected errors and we should plan for a clean-up push in the near future to get the existing errors under control

Looks like a Good Thing and I think that many of these will be easy to fix.
But can we get into a situation where we're trying to force a particular error, but also need to violate the spec someplace else in order to get the expected message?   If so, does it make sense to be able to check for more than one expected message? (in order to reduce the number of unexpected messages)

@karl-lunarg it may make sense to have multiple expected errors but I'd like to address these on a case-by-case basis so we can be sure that we don't have redundant checks where one of them can be eliminated.

+1 for @tobine 's comment.  There are cases where it is not possible isolate particular checks, but we shouldn't check for muliple errors out of convenience.


Cannot activate suda_smart_edit

OS: Linux
Lazy install:
require("lazy").setup({"lambdalisue/suda.vim"})
Parameter set:
vim.g.suda_smart_edit = 1
If I copy the code from the source it works:
vim.api.nvim_exec([[
    augroup suda_smart_edit
    autocmd!
    autocmd BufEnter * nested call suda#BufEnter()
  augroup end]],false)

g:suda_smart_edit must be configured before this plugin is loaded.

Perfect, thank you!

It's supposed to work by this way ?
{
    "lambdalisue/suda.vim",
    event = "VeryLazy",
    init = function() vim.g.suda_smart_edit = 1 end,
  },

I'm not sure, but I guess that g:suda_smart_edit was configured after the plugin loaded with that configuration. I have no experience with AstroNvim, so you should ask how to configure that variable in AstroNvim or on StackOverflow.


[Bug]: Double footer on Rust page

Describe the bug

The extra footer needs to be removed. Possibly it is being rendered on the Rust page itself.
To Reproduce
No response
Expected Behavior
No response
Screenshot/ Video
No response
Desktop (please complete the following information)
No response
Additional context
No response

@pradeeptosarkar
I will fix the above issue can you please assign me.

sure go ahead @KNagaHariKrishna

closed as resolved

thanks for contributing @KNagaHariKrishna


Implementing Backdrop when  menu is been displayed for mobile devices

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
It would be nice user experience if we add backdrop while displaying menu for mobile devices.
Additional context
Add any other context or screenshots about the feature request here.
Like in the image below

This issue does not appear to be related to freeCodeCamp's repo, so we are closing it at this time.  If you can explain how this related to freeCodeCamp, we could consider reopening this issue.
Thank you

This issue does not appear to be related to freeCodeCamp's repo, so we are closing it at this time. If you can explain how this related to freeCodeCamp, we could consider reopening this issue.
Thank you

I was trying to say that  while we display our nav-bar we can add a backdrop behind  it.Same as in the image i have attached


Could not update to latest version

I need some help.
I was trying to update DBeaver today but when I tried it failed. After it failed this error comes up.

I tried installing Java, but then another error kept coming up.
I'm not a programer, but any help to avoid having to reinstall the whole app would be helpful.
Thanks!

What Windows version do you use? (it has to be 64bit Windows).
How did you install DBeaver? (for All Users or for Current user).
If you are on 64bit Windows 7 or later then try to uninstall DBeaver and install it again.

I would assume you installed dbeaver only for the current user, since the installation seems to be made inside the current user Appdata/Local.
Dbeaver contains the Java 11 JRE needed to run. Verify that the jre/bin folder contains the java files. If not the simpler way would be to reinstall.
If you have java11 installed somewhere else, you can also edit dbeaver.ini and add  (change to the actual location of your installed jre)
-vm
C:\Program Files\RedHat\java-11-openjdk-11.0.12-1\bin\javaw.exe

Just before the line that says -vmargs


Slow page startup time?

Hi guys,
I have a page which holds about 10 buttons and a flx.StackLayout which itself holds a few widgets and images inside 10 layers (every button on the main page corresponds to a StackLayout page).
Every time this page is loaded, there is a large delay (about 4-5 seconds) when the application starts (Starting Flexx app is displayed while the progressbar is progressing).
I assume that the problem is that there are a large number of widgets on the page, but that is only my guess. But when the page loads, it works beautifully.
Is there a way to shorten this delay?
Thanks

Found why the slow loading time happens.
I am loading all of the flx.StackLayout pages when the page loads inside the page's init function.
But if I try to load the page when each of the 10 buttons is pressed, I get an error from my background python worker (which is a flx.PyComponent) that is attached to the page:
RuntimeError: MyPyWorker needs a session!

Is there a way to load a page (which is a flx.PyWidget) on the fly at runtime?

I think you need to instantiate the PyComponent under the context of an existing PyComponent so that flexx knows what session it belongs to usually:
with self:
 SomeComponent()

On Sat, Jul 20, 2019, at 10:36, matkuki wrote:

Found why the slow loading time happens.
I am loading all of the flx.StackLayout pages when the page loads inside the page's init function.
But if I try to load the page when each of the 10 buttons is pressed, I get an error from my background python worker (which is a flx.PyComponent) that is attached to the page:

RuntimeError: MyPyWorker needs a session!
Is there a way to load a page (which is a flx.PyWidget) on the fly at runtime?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/flexxui/flexx/issues/578?email_source=notifications&email_token=AAXAGMYFA5SYEIG4ILYSJCLQALB4RA5CNFSM4IFNZ43KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2NJLEI#issuecomment-513447313, or mute the thread https://github.com/notifications/unsubscribe-auth/AAXAGM7MMOXVF4PYOIQMVXTQALB4RANCNFSM4IFNZ43A.

@almarklein
Thanks, yes that does not throw an error anymore, but the component is not shown.
The code looks something like this:
class MainPage(flx.PyWidget):

    @flx.reaction('button.pointer_click')
    def menu_button_click(self, *events):
        ev = events[-1]
        button = ev.source
        if button.name == "test":
             with self:
                  pywidget = MyPyWidget()
                  self.my_stack_layout.set_current(pywidget._jswidget)

This code creates the pywidget successfully (I have print statements that confirm this), but the StackLayout I put the widget into shows nothing, only a white background. This same procedure works if I use it inside the init function of the MainPage.
Any ideas?

Ha, it works if I do this:
class MainPage(flx.PyWidget):

    @flx.reaction('button.pointer_click')
    def menu_button_click(self, *events):
        ev = events[-1]
        button = ev.source
        if button.name == "test":
             with self.my_stack_layout: # <-- Here is the change
                  pywidget = MyPyWidget()
                  self.my_stack_layout.set_current(pywidget._jswidget)

Right, it has to be the correct context!
Thanks @almarklein !


Purchase Order Report Documentation - Supplier Part Info

Body of the issue
The current documentation lists "part" twice for Purchase Order Reports. I tried "line.supplierpart", "line.supplier_part", and "line.supplier.part" without any success.
Source: "Lines" table https://github.com/inventree/InvenTree/blob/master/docs/docs/report/purchase_order.md

LinesEach line item have sub variables, as follows:

Variable
Description

...
...

part
The supplier part to be ordered

part
The supplierpart object that the build references

@bberg115 it looks like the docs are not quite correct. Please confirm that the following should work:
{% raw %}
{% for line in lines %}
SKU: {{ line.part.SKU }}
Part Name: {{ line.part.part.name }}
{% endfor %}
{% endraw %}

You can reference this example report

Perfect. That worked.

Thanks @bberg115  - I'll fix the errors in the documentation


Virtualization: KVM & Openstack

@ramereth I think a slide talking about what hypervisors are generally before diving into talking about kvm would be really worthwhile.

@jordane sure thing!


Question: Use heed from python

Can heed be used from python? If so, are there any examples? Thanks

Hey @dineshbvadhia 👋
It is unfortunately not possible to directly find heed on the Python package store. The main reason is that we haven't exposed the C bindings for it.

Are there plans to expose the C bindings?

What features should it provide that the original lmdb python-wrapper doesn’t provide?

@irevoire Sorry for the late response. There is a trend to replace critical components in python applications with rust (either as extensions or packages). So, it is not about which features a python-heed would provide over pylmdb.


AnsibleError: file: grafana.ini.j2

I'm getting the following error when running the ansible-grafana role. I'm assuming that ini_encode_macro.j2 should be located in the template directory? Which it isn't.
fatal: [servername.com] => {'msg': 'AnsibleError: file: /ansible/roles/jtyr.grafana/templates/grafana.ini.j2, error: Cannot find/not allowed to load (include) template templates/encoder/macros/ini_encode_macro.j2', 'failed': True}
fatal: [servername.com] => {'msg': 'AnsibleError: file: /ansible/roles/jtyr.grafana/templates/grafana.ini.j2, error: Cannot find/not allowed to load (include) template templates/encoder/macros/ini_encode_macro.j2', 'failed': True}
FATAL: all hosts have already failed -- aborting```

Please can you show your template task and how and from where do you execute ansible-playbook?

This is how I'm running it:
ansible-playbook site.yml -i inventory/production -l server name.com -t grafana

Here's my site.yml:
- hosts: grafana
  roles:
    - { role: jtyr.grafana, tags: grafana }

Here's my current directory:
$ pwd:
/ansible

My template task is the same as you have it in your code:
- name: Configure Grafana
  template: src=grafana.ini.j2 dest=/etc/grafana/grafana.ini
  notify: Restart grafana

Here's what my grafana.ini.j2 file looks like:
#
# This file is managed by Ansible.
# Do not edit this file manually.
# Any changes will be automatically reverted.
#

{% from "templates/encoder/macros/ini_encode_macro.j2" import ini_encode with context -%}

{{ ini_encode(grafana_config, delimiter=" = ") }}

OK. Did you download the encoder macros. They should be on the same directory level like your playbook (git clone https://github.com/picotrading/config-encoder-macros /ansible/templates/encoder).

Ah I see. That wasn't clear in your README.md file. It's working now.


Kong Service PATCH inconsistency Admin API based on database type

Summary
Kong Service PATCH with C* backend vs Postgres backend has different behavior.
https://getkong.org/docs/0.13.x/admin-api/#update-service
Steps To Reproduce
Always pass the Service name in the PATCH to reveal the difference in behavior:

PATCH a service with Kong backed by Cassandra

$ curl -XPATCH localhost:8001/services/e1f13556-cac6-4f2d-8e9a-855ac799f532 -d 'name=Service_Test1&port=443'
Errors:
{"fields":{"name":"Service_Test1"},"name":"unique constraint violation","code":5,"message":"UNIQUE violation detected on '{name="Service_Test1"}'"}
Now if you try without Name it will work:
curl -XPATCH localhost:8001/services/e1f13556-cac6-4f2d-8e9a-855ac799f532 -d 'port=443'

Try it with Kong backed by Postgres, will be successful as per @pantsel even with name on the PATCH, Konga the community UI always includes Service name on patch.

Related issue:
https://github.com/pantsel/konga/issues/219
Additional Details & Logs

Kong version 13.1

Fixed with #3559


Camera2D enhancements (V2)

I added various enhancements for Camera2D:
Added an option to draw Camera2D's limits
Added an option to draw Camera2D's drag margin
Made drawing the Camera's screen bounds optional
Put all of these option under a new group, "Editor helpers", in Camera2D
Made Camera2D's editor lines less transparent if is set to current
Added function calls to _update_scroll() in various places so the editor lines are updated when the values change
Added variables and set/get functions for toggling the editor lines.

I can remove or change anything if needed. I'm not sure on changing the transparency on the editor lines, but I liked being able to see if a camera was current or not at a glance.
There is one issue I couldn't figure out how to fix. If you scale the Camera2D node by a negative value, the limit bounds editor lines start moving.
(Accidentally messed up git on previous pull request. Made a new pull request to fix the git issues.)
Closes #8175

@bojidar-bg I removed the pull request and made this one. Do you mind checking for any issues?

Made changes based on bojidar-bg's review:

Changed all of the alpha changes from "drawing_color = Color(new values)" to "drawing_color.a = new_alpha value"
Changed all of the "if (variable == true)" if statements to just "if (variable)"
Changed all of the if statements checking for current to "if (is_current())" instead of "if (current == true)"

I also squished the commits into one commit.

Is it okay to have editor helpers on the inspector? shouldn't it be on editor settings like everithing else?


Added memory check and GC control

Later if we found that performance essentially degrades with the 10% of GC we can tune it and add automation depending on memory pressure

Looks like a go fmt failure.


using jest without -i in this project create issue

Me too using multiple files for test cases with jest but without -i parameter. Because -i as per jest documentation is discouraged due to in-efficient in case we have too many files which will be executed in sequence only if being used with -i parameter with jest.
is there any work-around for that?

The repository code is just an example, you can remove it depending on your situation.
https://jestjs.io/docs/cli#--runinband

Alias: -i. Run all tests serially in the current process, rather than creating a worker pool of child processes that run tests. This can be useful for debugging.

https://stackoverflow.com/questions/43864793/why-does-jest-runinband-speed-up-tests
As you said, it's inefficient for many tests, but can be fast for smaller tests as it doesn't cost a child process.


Dask Dataframe not able to read remote file, but local (and pandas) work

import pandas as pd
from dask import dataframe as dd

# works
df0 = pd.read_csv('https://fred.stlouisfed.org/graph/fredgraph.csv?id=SP500')
# works
df1 = dd.read_csv('path/to/that/file/on/disk.csv')
# does not work
df2 = dd.read_csv('https://fred.stlouisfed.org/graph/fredgraph.csv?id=SP500')

The combination of dask and a remote read causes the following error:
---------------------------------------------------------------------------
EmptyDataError                            Traceback (most recent call last)
<ipython-input-75-fc142575840b> in <module>
      1 from dask import dataframe as dd
----> 2 df2 = dd.read_csv('https://fred.stlouisfed.org/graph/fredgraph.csv?id=SP500')

~/mc/lib/python3.7/site-packages/dask/dataframe/io/csv.py in read(urlpath, blocksize, collection, lineterminator, compression, sample, enforce, assume_missing, storage_options, include_path_column, **kwargs)
    576             storage_options=storage_options,
    577             include_path_column=include_path_column,
--> 578             **kwargs
    579         )
    580

~/mc/lib/python3.7/site-packages/dask/dataframe/io/csv.py in read_pandas(reader, urlpath, blocksize, collection, lineterminator, compression, sample, enforce, assume_missing, storage_options, include_path_column, **kwargs)
    442
    443     # Use sample to infer dtypes and check for presence of include_path_column
--> 444     head = reader(BytesIO(b_sample), **kwargs)
    445     if include_path_column and (include_path_column in head.columns):
    446         raise ValueError(

~/mc/lib/python3.7/site-packages/pandas/io/parsers.py in parser_f(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, squeeze, prefix, mangle_dupe_cols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, skipfooter, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, dayfirst, cache_dates, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, doublequote, escapechar, comment, encoding, dialect, error_bad_lines, warn_bad_lines, delim_whitespace, low_memory, memory_map, float_precision)
    683         )
    684
--> 685         return _read(filepath_or_buffer, kwds)
    686
    687     parser_f.__name__ = name

~/mc/lib/python3.7/site-packages/pandas/io/parsers.py in _read(filepath_or_buffer, kwds)
    455
    456     # Create the parser.
--> 457     parser = TextFileReader(fp_or_buf, **kwds)
    458
    459     if chunksize or iterator:

~/mc/lib/python3.7/site-packages/pandas/io/parsers.py in __init__(self, f, engine, **kwds)
    893             self.options["has_index_names"] = kwds["has_index_names"]
    894
--> 895         self._make_engine(self.engine)
    896
    897     def close(self):

~/mc/lib/python3.7/site-packages/pandas/io/parsers.py in _make_engine(self, engine)
   1133     def _make_engine(self, engine="c"):
   1134         if engine == "c":
-> 1135             self._engine = CParserWrapper(self.f, **self.options)
   1136         else:
   1137             if engine == "python":

~/mc/lib/python3.7/site-packages/pandas/io/parsers.py in __init__(self, src, **kwds)
   1915         kwds["usecols"] = self.usecols
   1916
-> 1917         self._reader = parsers.TextReader(src, **kwds)
   1918         self.unnamed_cols = self._reader.unnamed_cols
   1919

pandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader.__cinit__()

EmptyDataError: No columns to parse from file

I'm not certain what is going on exactly.

@CJ-Wright  thanks for the report.   I am able to reproduce.  I initially thought this would be an issue with fsspec but now I am not longer sure.  Can you report the versions of dask, pandas, and fsspec ?  @martindurant do you have time to look at this ?

# packages in environment at /home/cwright/mc:                                                                                #                                                                                # Name                    Version                   Build  Channel                                                                                dask                      2.5.0                     dev_0    <develop>                                                                                dask-core                 2.6.0                      py_0    conda-forge                                                                                dask_labextension         0.3.3                      py_0    conda-forge                                                                                # packages in environment at /home/cwright/mc:                                                                                #                                                                                # Name                    Version                   Build  Channel                                                                                pandas                    0.25.2           py37hb3f55d8_0    conda-forge                                                                                # packages in environment at /home/cwright/mc:                                                                                #                                                                                # Name                    Version                   Build  Channel                                                                                fsspec                    0.5.2                      py_0    conda-forge

For some reason, we think that the length of the CSV is 0 bytes.
> /Users/taugspurger/sandbox/dask/dask/bytes/core.py(165)read_bytes()
-> while True:
(Pdb) l
160                 # read block without seek (because we start at zero)
161                 if delimiter is None:
162                     sample = f.read(sample)
163                 else:
164                     sample_buff = f.read(sample)
165  ->                 while True:
166                         new = f.read(sample)
167                         if not new:
168                             break
169                         if delimiter in new:
170                             sample_buff = (
(Pdb) pp sample_buff
b''
(Pdb) pp f.size
0

Most likely, the FRED server isn't responding correctly with the content-length, but I haven't checked.

Would pandas fail if the size is 0 as well?

Pandas doesn't ask the server for length information.

Ah ok, would it be possible to default to doing what pandas does, if no size is provided?

@martindurant would know better, but that's what we do if no size is provided. But from what I can tell the server is responding with a size, it's just wrong (saying it's 0)
(Pdb) pp dict(r.headers)
{'Accept-Ranges': 'bytes',
 'Connection': 'keep-alive',
 'Content-Disposition': 'attachment; filename="SP500.csv"',
 'Content-Encoding': 'gzip',
 'Content-Length': '0',
 'Content-Type': 'text/csv;charset=UTF-8',
 'Date': 'Mon, 21 Oct 2019 20:36:26 GMT',
 'Pragma': 'public',
 'Strict-Transport-Security': 'max-age=15768000; includeSubDomains',
 'Vary': 'Accept-Encoding,User-Agent,Origin',
 'X-Content-Type-Options': 'nosniff',
 'X-XSS-Protection': '1; mode=block'}

ideally we would have a way to completely disable this, but I'm not sure if / how to do that.

the server is responding with a size, it's just wrong

That's a new one on me! It could deserve a special case, but size=0 is a valid possibility.
If you give block_size=0, you use normal requests streaming like pandas (also requires blocksize=0 csv kwarg to turn off random access)

@martindurant can you give an example? blocksize=0 fails in bytes/core.py for me
In [4]: df2 = dd.read_csv('https://fred.stlouisfed.org/graph/fredgraph.csv?id=SP500', blocksize=0, storage_options=dict(block_size=0))
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-4-974538ae1bc6> in <module>
----> 1 df2 = dd.read_csv('https://fred.stlouisfed.org/graph/fredgraph.csv?id=SP500', blocksize=0, storage_options=dict(block_size=0))

~/sandbox/dask/dask/dataframe/io/csv.py in read(urlpath, blocksize, collection, lineterminator, compression, sample, enforce, assume_missing, storage_options, include_path_column, **kwargs)
    576             storage_options=storage_options,
    577             include_path_column=include_path_column,
--> 578             **kwargs
    579         )
    580

~/sandbox/dask/dask/dataframe/io/csv.py in read_pandas(reader, urlpath, blocksize, collection, lineterminator, compression, sample, enforce, assume_missing, storage_options, include_path_column, **kwargs)
    403         compression=compression,
    404         include_path=include_path_column,
--> 405         **(storage_options or {})
    406     )
    407

~/sandbox/dask/dask/bytes/core.py in read_bytes(urlpath, delimiter, not_zero, blocksize, sample, compression, include_path, **kwargs)
    125                     "do chunked reads. To read, set blocksize=None."
    126                 )
--> 127             off = list(range(0, size, blocksize))
    128             length = [blocksize] * len(off)
    129             if not_zero:

ValueError: range() arg 3 must not be zero

I don't feel great about special casing 0, as it is a valid response...

blocksize=0

Sorry, should have been None

So just df2 = dd.read_csv('https://fred.stlouisfed.org/graph/fredgraph.csv?id=SP500', blocksize=None) fails with the same error.
But this worked,
In [2]: df2 = dd.read_csv('https://fred.stlouisfed.org/graph/fredgraph.csv?id=SP500', blocksize=None, storage_options=dict(block_size=0))

In [3]: df2.compute()
Out[3]:
            DATE    SP500
0     2009-10-22  1092.91
1     2009-10-23  1079.60
2     2009-10-26  1066.95
3     2009-10-27  1063.41
4     2009-10-28  1042.63
...          ...      ...
2603  2019-10-15  2995.68
2604  2019-10-16  2989.69
2605  2019-10-17  2997.95
2606  2019-10-18   2986.2
2607  2019-10-21  3006.72

[2608 rows x 2 columns]

That doesn't seem like a great user experience though.

Agreed, but the solution isn't simple. Perhaps if using files rather than chunks in read_csv, should call fs.cat, which then gives a place to override the usual blocky behaviour.
On October 22, 2019 12:50:19 PM EDT, Tom Augspurger<EMAIL_ADDRESS>wrote:

So just df2 = dd.read_csv('https://fred.stlouisfed.org/graph/fredgraph.csv?id=SP500', blocksize=None) fails with the same error.
But this worked,
In [2]: df2 =
dd.read_csv('https://fred.stlouisfed.org/graph/fredgraph.csv?id=SP500',
blocksize=None, storage_options=dict(block_size=0))

In [3]: df2.compute()
Out[3]:
           DATE    SP500
0     2009-10-22  1092.91
1     2009-10-23  1079.60
2     2009-10-26  1066.95
3     2009-10-27  1063.41
4     2009-10-28  1042.63
...          ...      ...
2603  2019-10-15  2995.68
2604  2019-10-16  2989.69
2605  2019-10-17  2997.95
2606  2019-10-18   2986.2
2607  2019-10-21  3006.72

[2608 rows x 2 columns]

That doesn't seem like a great user experience though.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/dask/dask/issues/5517#issuecomment-545054027

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

@martindurant can you clarify what you mean by "using files"?

Whole files, as opposed to chunks

So I think we have two options:

Document / request that the user specify blocksize=None. And when that's specified, we pass through the right keyword for the backend (for http, I guess we need block_size=0).
Add length 0 as a special case. When the server responds with Content-Length=0, we treat it as Content-Length=None and don't trust it.

I think 2 is probably the better path forward. At worst, it's a bit wasteful since we'll end up making an unnecessary request if the file really is empty? But that request will return no data, so it's not a huge deal.

OK, I'll make a PR to fsspec with that.
On Wed, Oct 23, 2019 at 9:58 AM Martin Durant<EMAIL_ADDRESS>wrote:

Agreed, point 2 seems sensible when you put it that way!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/5517?email_source=notifications&email_token=AAKAOIUOOYZEYI6YZM5YXV3QQBRCFA5CNFSM4JDEBRXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECBXFMA#issuecomment-545485488,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKAOIRZ2JYBOH6B643K4ULQQBRCFANCNFSM4JDEBRXA
.

Thank you very much for all the work on this!

Thank you so much for your work on this!


Add php55 and php73 docker images for tests

cc @dwsupplee

This is great! Super great to be adding 7.3 so quickly! A few questions here:

Is there a reason we are adding PHP 5.5 when it's deprecated? I can see this being justified by the fact that google/cloud supports it, but this will add a lot of overhead (and will almost certainly require additional work to get the systems tests to pass). I would prefer to not add it if possible.

Is there a reason you aren't using the existing Dockerfile.template to keep these Dockerfiles consistent with each other?

google/cloud supports it, so we need to have test with php 5.5.

Dockerfile.template depends on gcr.io/google-appengine/phpx there are no images for PHP 5.5 and 7.3

You don't have to run the test against PHP 5.5. Only google-cloud-php will use that image.

If you really want to maintain the docker images for 1) php-docs-samples and 2) google-cloud-php, that's fine, but considering the requirements will be very similar, I suggest we use the same images.

It doesn't really make sense to keep Dockerfiles here that are used in google-cloud-php. If google-cloud-php wants to use Dockerfiles in this repository, that's fine, but if they're only being used by google-cloud-php, then I think they belong in that repository.
Also, I believe we are moving the dockerfiles to a dedicated repository for container files anyway?

Also, I believe we are moving the dockerfiles to a dedicated repository for container files anyway?
Yes. Eventually the .kokoro/docker directory will be moved to the new repo. When moving, it is easier to have all the Dockerfiles in one place, so that's my motivation to add them here.

If you don't like this, feel free to close this PR. I'll add it to somewhere else.