feat: filterJson mongodb

release for mongodb

Filter on exact field value
Filter on object property
Filter on nested object property
Filtering on an array value
Filtering on nested array value

from https://github.com/prisma/prisma/discussions/8452 like working-with-json-fields

https://github.com/prisma/prisma/issues/7135
https://github.com/prisma/prisma/issues/3219
https://github.com/prisma/prisma/issues/6708

Can you edit your issue to contain a bit more context and text? It is currently really hard to parse when coming into the issue with no previous context. A few short sentences are totally enough.

example mongodb:
[
  {
    "store": {
      products: 1,
      materials: 5
    }
  },
  {
    "store": {
      products: 5,
      materials: 4
    }
  },
  {
    "store": {
      products: 20,
      materials: 4
    }
  },
]

db.collection.find({
  "store.products": { $gt: 4 }
})

[
  {
    "_id": ObjectId("5a934e000102030405000001"),
    "store": {
      "materials": 4,
      "products": 5
    }
  },
  {
    "_id": ObjectId("5a934e000102030405000002"),
    "store": {
      "materials": 4,
      "products": 20
    }
  }
]

play: https://mongoplayground.net/p/rBzX2IMHLI3

Hello! I have a similar use case where I'd like to be able to filter on unstructured JSON. This is syntax that works with other databases, but not with mongodb:
    const esObject = await prisma.eSObject.findMany({
        where: {
            data: {
                path: ['beans'],
                contains: 'cool'
            }
        }
    })

Hey, is there any chance of implementing this feature?
Currently, the path ... contains/equals syntax also doesn't work on jsonb field in PostgreSQL where data is an array. Example:
[
  { "id": "some-uuid-1", "name": "foo" },
  { "id": "some-uuid-2", "name": "bar" }
]

Query
const data = await this.prisma.test.findMany({
  where: {
    data: {
       path: ['id'],
       equals: "some-uuid-2",
    },
  },
});

Result
[]

😞

Hi! I am looking forward for these feature? Is this already implemented or in dev version? I have for some reason has this type of data:
{
    "_id": "generated-objectid",
    "owners": [
        { "user_id": "user1", "priv": "investor" },
        { "user_id": "user2", "priv": "investor" },
        { "user_id": "user3", "priv": "leader" },
    ],
}

I may want to do something like:
prisma.some_collection.findMany({
    where: {
        "owners": {
            "path": "owners.$.user_id",
            "equals": "user2",
        },
    },
});

While I use MongoDB, it did not fully support type to encourage JSON by philosophy of MongoDB and NoSQL. So, I also use prisma-json-types-generator.
If may, can prisma currently do this? Is there any dev, canary, or nightly version which already support this? Should I open new issues?

Hi! I am looking forward for these feature? Is this already implemented or in dev version? I have for some reason has this type of data:
If may, can prisma currently do this? Is there any dev, canary, or nightly version which already support this? Should I open new issues?

Sorry for incovenience, my problem is not really relatable. It is working in 5.4.2 with this code:
prisma.test_deep_object.findMany({
        where: {
            owners: {
                some: {
                    user_id: "user2",
                }
            }
        }
    }

What is the progress regarding this issue?

Also want to filter if one of the fields contains a string

Spoiler warning
¯_(ツ)_/¯

No updates!

Guess prisma is not for MongoDB, there are issues like this basic filtering, no support of partial indexes etc.


[Feature Request] XLA interface speed comparison

Motivation
If I understand correctly, the speed up of envpool comes from c++ implementation as supposed to python. So, I wonder if the XLA interface will provide anymore speed up when jitted by jax, which can then be further fused with NN policy using jax.lax.scan. It would be nice to have a benchmark for the XLA version of the environments. I suppose different hardware would yield different results, which is useful for deciding when to jit or not to jit the environment.
Solution
Benchmark of non-jitted XLA  vs jitted XLA vs the default c++ implementation
Checklist

[ x ] I have checked that there is no similar issue in the repo (required)

Hey @51616, we have a working version of PPO that leverages the XLA interface — see docs here and tweet here. It is about 3x faster than openai/baselines' PPO when tested out at the scale of 57 Atari games using the default Atari parameters (e.g., num_envs=8).
I have a preliminary profile with a wandb report here, which shows that XLA interface combined with inferencing improves speed even further.


CUR Query Library Updates - Thu Jul 8

CUR Query Library Updates - Thu Jul 8

Tested site functionality locally


Access page cannot be loaded

When accessing the website page, the browser displays a blank page. The page cannot be displayed. But it can be loaded by normal browser access. After analysis, when the browser accesses, the server will first write a string, and the browser's script will parse and verify it, and then initiate a request. But starting the browser through chrmedp fails to load. Website address: https://www.lzjtu.cn/
I suspect that the browser configuration is not set correctly. Can anyone help?

@njfanxun did you find a fix? I think I have a similar issue https://github.com/sensepost/gowitness/issues/216

Rubyer77

i added the chrome parameters "disable-blink-features" and the problem disappeared. I don’t know the specific reason. Does the new browser have a new mechanism for detecting jumps?

@Rubyer77
i added the chrome parameters "disable-blink-features" and the problem disappeared. I don’t know the specific reason. Does the new browser have a new mechanism for detecting jumps?


Refactor endorser - load provenances before endorsement generation

Fixes #215
Adds a new struct ParsedProvenance, and refactors GenerateEndorsement to take an array of ParsedProvenances instead of URIs. Tests are updated accordingly.

It's a good idea to open an issue first for discussion.

[x] Tests pass

Thanks for the review. Both fixed :)


Feature Request | Padding inside of ItemView

Hi Sven!
Love the framework for this :D Was wondering if there was a way to affect the padding inside of each ItemView?
Thanks!

Hi @Britishfrog
Thanks for your bug report.
Currently WhatsNewKit is limited to either adjust the insets of the ItemsView itself via:
https://github.com/SvenTiigi/WhatsNewKit/blob/2750b869363652b178eee757f54b5e7063a93ebc/Sources/Configuration/WhatsNewViewController%2BItemsView.swift#L46
or setting the contentMode to .center to increase the spacing between each cell.
https://github.com/SvenTiigi/WhatsNewKit/blob/2750b869363652b178eee757f54b5e7063a93ebc/Sources/Configuration/WhatsNewViewController%2BItemsView.swift#L40
But it would be a great addition to configure the spacing between each cell.
I will check if this feature can be added to the next release of WhatsNewKit 👌

Excellent stuff! Very excited about this showing up in the next release :) For now my workaround is using new lines strategically through the descriptions and titles.
On a separate note, I noticed that images set when contentMode is .center tend to clip over a certain size. It would be nice if the images were constrained inside of the tableview so that they aspect fit. No pressure though ;)

Hi @Britishfrog,
WhatsNewKit has been updated to a new major version 2.0.0 with extended support for SwiftUI, UIKit and AppKit.
The new version includes some major breaking changes but also a new WhatsNew.Layout API which allows you to customize the padding/spacing between the presented features
// Increase the spacing of the feature list
WhatsNew.Layout.default.featureListSpacing = 100

You can find more information about the new Layout API in the README.md.


overscanIndicesGetter doesnt know if its a horizontal or vertical scroll

If you implement overscanIndicesGetter, it gets called twice on every scroll event. Once to get the horizontal value and again to get the vertical value.  However, nothing is passed in to let us know which  of these it is.  If we want to return different values for horizontal vs vertical scrolling, it isn't possible.
This is what the code is
      const overscanColumnIndices = overscanIndicesGetter({
        cellCount: columnCount,
        overscanCellsCount: overscanColumnCount,
        scrollDirection: scrollDirectionHorizontal,
        startIndex: this._renderedColumnStartIndex,
        stopIndex: this._renderedColumnStopIndex
      })

      const overscanRowIndices = overscanIndicesGetter({
        cellCount: rowCount,
        overscanCellsCount: overscanRowCount,
        scrollDirection: scrollDirectionVertical,
        startIndex: this._renderedRowStartIndex,
        stopIndex: this._renderedRowStopIndex
      })

I propose passing another value for horiz/vertical scrolling.  Something like this:
      const overscanColumnIndices = overscanIndicesGetter({
        cellCount: columnCount,
        overscanCellsCount: overscanColumnCount,
        scrollDirection: scrollDirectionHorizontal,
        horizontal: true,
        startIndex: this._renderedColumnStartIndex,
        stopIndex: this._renderedColumnStopIndex
      })

      const overscanRowIndices = overscanIndicesGetter({
        cellCount: rowCount,
        overscanCellsCount: overscanRowCount,
        scrollDirection: scrollDirectionVertical,
        horizontal: false,
        startIndex: this._renderedRowStartIndex,
        stopIndex: this._renderedRowStopIndex
      })

What do you think?

Good observation. I probably prefer direction: 'vertical' | 'horizontal' but I don't feel strongly. Since this would be a backwards compatible change, I'd be happy to accept a PR for it.

I'll do this.  One additional thing to consider. When using a List, the overscanIndexGetter is being called for both Horizontal and Vertical, even though there is no horizontal.  Should I also optimize this away so that Lists don't ask the overscanner for horizontal?

Hm...if it doesn't add much complexity to Grid to do this for List and Table then...sure. If it does then I'd say no.


gdrive image for RG351MP not working

it failes when etchering the file to usb

Balena etcher is not a supported tool for flashing the image.  The image flashes fine on my end so it's an issue on your end.  I recommend using a different imaging tool and make sure you're using a good sd card and if you're using an externally attached usb to sd card reader/writer, make sure it is good as well.


[BUG]fix go test and build new docker image

What is your environment(Kubernetes version, Fluid version, etc.)
Describe the bug
What you expect to happen:
How to reproduce it
Additional Information

fixed by #1010


construction

Hello
I received a massage that wouldn’t open. Not sure if it was sent by mistake so figured I’d lyk
Get Outlook for iOShttps://aka.ms/o0ukef

From: Karthik Nadig @.>
Sent: Wednesday, May 10, 2023 12:26:25 PM
To: microsoft/vscode-python @.>
Cc: SEAN GIBSON @.>; Author @.>
Subject: Re: [microsoft/vscode-python] construction (Issue #21217)
Closed #21217https://github.com/microsoft/vscode-python/issues/21217 as completed.
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode-python/issues/21217#event-9213593514, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7W3GYBQ6RS3VKC6URGJIMDXFO6TDANCNFSM6AAAAAAX43LJPM.
You are receiving this because you authored the thread.Message ID: @.***>


Python: dict & set #551

Description 📜
python dict & set # 551

Type of change 📝

[ ] Audio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Video (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[x] Documentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev (Flutter, Java, Kotlin)
[ ] Backend Dev (Java, .NET, Python)
[ ] C/CPP
[ ] Competitive Programming
[ ] Cyber Security
[ ] DSA
[ ] Database
[ ] Datascience with Python
[ ] Datascience with R
[ ] Frontend Dev (HTML, CSS, JS)
[ ] Frontend Dev (React, Angular, Vue)
[ ] Golang
[ ] Interview Prep
[ ] Java
[ ] JavaScript
[ ] MERN
[ ] Machine Learning
[ ] Open Source
[x] Python
[ ] Rust
[ ] Statistics
[ ] UI/UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

Hey, just realised that you are trying to merge this directly in the main branch of GWOC, you need to send this pull request in the Python branch instead, please send another pull request for the python branch @nayakaj and @adityabisoi we can close this PR I guess

@ankurg132 I have to close the pr
Or its already done


[Feature] Is there any possibility to show the default focus/target/targetoftarget at the same time?

Describe the feature
I was wondering if it is possible not to replace the default focus/target/targetoftarget, but to show the default ones and the Unit Frames ones at the same time. Thank you so much!
Describe the implementation
It sounds a little bit silly but my settings only show few status (debuff) on the Unit Frame focus & target, it would be great if the default (original) ones can be exisisting at the same time.

This would most easily be resolved by a snippet I think. I need to make some core changes for that to work, but can prolly work it into the next update.

Added a new Callback that can be listened to that's fired when the addon is loaded, which allows manipulating functions before they are used to initialize the frames.
Will be in next update 👍
Wrote this snippet that can be used to disable hiding certain Blizz frames
local function OverrideHideBlizzard()
    -- Make sure CUF is actually loaded
    local CUF = _G["CUF"]
    if not CUF then return end

    -- Store original function so we can still hide frames
    local _HideBlizzardUnitFrame = CUF.HideBlizzardUnitFrame

    -- Override default function
    CUF.HideBlizzardUnitFrame = function(self, unit)
        -- Early return on specific units
        if unit == "target" or unit == "targetoftarget" or unit == "focus" then
            return
        end

        -- Call orignial function to hide frames we don't want
        _HideBlizzardUnitFrame(self, unit)
    end
end
Cell:RegisterCallback("CUF_AddonLoaded", "Snippet_OverrideHideBlizzard", OverrideHideBlizzard)


maybe make user animation way shorter

rn the animation adds 1 sec min of loading time which is unneccesary, even if everything loads quickly you have to wait another second just cause the animation has to open play one and close

this makes the website feel less snappy than it actually is

actually its more like 2s extra

literally speeding all up by 2x makes it so there is still an abundance of animation,,

hmm on the other hand if i  really went for speed i would do all server side, doing the requests clientside makes the whole thing ~800ms which is really shitty tbh

the only reason im not doin g it is cause i wanted to make a fancy ts api, kinda ridiculous tbh.


misleading Domain description fixed

I want to merge this change because it Resolves #12860

Impact

[x] misleading Domain description fixed

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.nayeem01 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@nayeem01 please regenerate the schema. You can do this by calling python manage.py get_graphql_schema > saleor/graphql/schema.graphql

Hey @nayeem01 do you intend to finish off this PR? 🙏

Hey @nayeem01 do you intend to finish off this PR? 🙏

Yes. I will try to work on it next week.

@nayeem01 Thanks for looking into this, there is still one change that needs to be reflected in the schema.graphql file. There are two changed descriptions in the code, but only one is included in the schema now.

@maarcingebala please check

Looks good, thank you for your contribution to Saleor @nayeem01!


Speckle-Unreal Tutorials

Right now, our our tutorials are lacking, I plan on creating a few tutorials on the following topics

[ ] Materials override workflow
[x] Customising conversion - https://speckle.systems/tutorials/unreal-developing-custom-conversion-logic/
[x] BP nodes

Closing this ticket as we are moving to Jira to reduce noise. You can access it there.


[1.6.0][pods] Missing required attribute summary

Error on pod install:
[!] The `react-native-select-contact` pod failed to validate due to 1 error:
    - ERROR | attributes: Missing required attribute `summary`.

Hi there.  Can you try to install 1.5.0 and see if this has the same issue?  We just pushed 1.6.0 earlier today, but the changes were minimal.

Hmm, yes, I reverted to 1.5.0 but still have that problem on pod install. Although it was not there before.

@Bardiamist I just pushed v1.6.1 with a summary added to package.json, which sounds like it might fix the issue, based on some quick googling.  Give it a try?

Update: On 1.5.0 pod install works (I just didn't yarn before pod install previously).
Still error on 1.6.1.

At what point does the error occur?  Can you provide console output?
Here is what I get in a sample project:
$ yarn add<EMAIL_ADDRESS>yarn add v1.22.10
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>[4/4] 🔨  Building fresh packages...
success Saved lockfile.
success Saved 1 new dependency.
info Direct dependencies
└─<EMAIL_ADDRESS>info All dependencies
└─<EMAIL_ADDRESS>

Oh, nevermind... i reproduced on pod install, as you mentioned.

Alright, we needed to use description in the package.json.  Not really sure why this would've been introduce in 1.6, but I've verified 1.6.2 has this resolved now.  I'll close, but reopen if you see anything weird.  Thanks!


It's  TTS(Text to Speach) is not working

Issue / Feature -
FolioReader version -
FolioReader Stock / Modified -
Android SDK -
Mobile / Tablet / Emulator Info -
Crash / Error -
Steps to reproduce / Describe in detail -
" Please help how to use TTS (Text to Speach)
and MediaOverlays"

yeah please explain this question.

Is there any hint how we can make TTS/Media Overlay work?

Use this 0.5.1


feat(web): adding initial support for web.

[x] Explain the motivation for making this change.
[x] Provide a test plan demonstrating that the code is solid.
[x] Match the code formatting of the rest of the codebase.
[x] Target the main branch, NOT a "stable" branch.

Motivation
I stumbled across the problem for the web support whilst implementing a personal project using this library. I saw https://github.com/react-native-image-picker/react-native-image-picker/issues/1430 and going through the comments saw https://github.com/react-native-image-picker/react-native-image-picker/issues/1430#issuecomment-778700098 referring that expo has an implementation for web for their expo-image-picker library.
So I took inspiration from it and decided to start working on an initial web support which for now will support only the launchImageLibrary with photos.
Test Plan
I integrated react-native-web for the example project to be able to have an integrated example of the web support.
You can see it working below:
https://user-images.githubusercontent.com/20783123/183108425-e3a1cd47-7f19-42cd-95df-cca235222c26.mov
In this PR

Support for React Native Web using the same API. The existing methods remain working as they were for iOS and Android.
Initial support only for launchImageLibrary with the option to pick photos only.
Allows single and multiple selection.
Supports base64.
Docs updated including web specifications.
Example project updated and using react-native-web.

What's next?
If this gets approved I will volunteer myself to add the support for videos and mixed selection as well as trying to give web support for launchCamera. I already have some internal drafts for those but it needs more work.

Tremendous effort!   I'll attempt to test & review it soon.

Apologies for the delay.  Tiny confict.

No worries @Johan-dutoit :)
Btw, the last changes seem to have a change in the README that makes one of the tables non-readable so I'm fixing that in this PR as well.
Conflicts solved.

:tada: This PR is included in version 4.10.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Doc retrieval by ID

Added the ability to retrieve a list of the document IDs for states, activity profiles, and agent profiles

Also includes tests for all new functions

Please review @brianjmiller

This needed a good amount of work so I'm closing this one and will re-open with changes, commit history will be maintained.


Update UI Scan QR screen by design

Describe the task

Update UI for the Scan QR screen follow by design

Version test: https://file.cdmteck.com/s/DB9JLAnjJczopcC/download?path=%2F&files=SubWalletMobile-build-222-1055-merge-2023-10-02T05-19-18.ipa
Device test: IP 11

[ ] Remove text on Scan QR code screen

Version test: https://file.cdmteck.com/s/DB9JLAnjJczopcC/download?path=%2F&files=SubWalletMobile-build-222-1055-merge-2023-10-03T02-45-23.apk
Device test: SS S20 FE 5G
Validation passed.


Can't run tests in OSX

I would be good to be able to run build and test image on OSX
Steps to replicate
./gradlew build

It times out.

No, tests cannot run in OSX, there are many dependencies on an Linux environment.
Since the target is actually Linux I did not try to make them to work on OSX.

What about running them using a docker container?
I created a docker image using openjdk, then adding go 1.9.2 and try to run the tests and it didn't work
I tried with the following Dockerfile
FROM openjdk:8-jdk
RUN apt-get update && apt-get install -y --no-install-recommends \
		g++ \
		gcc \
		libc6-dev \
		make \
		pkg-config \
	&& rm -rf /var/lib/apt/lists/*

ENV GOLANG_VERSION 1.10.2

RUN set -eux; \
	\
# this "case" statement is generated via "update.sh"
	dpkgArch="$(dpkg --print-architecture)"; \
	case "${dpkgArch##*-}" in \
		amd64) goRelArch='linux-amd64'; goRelSha256='4b677d698c65370afa33757b6954ade60347aaca310ea92a63ed717d7cb0c2ff' ;; \
		armhf) goRelArch='linux-armv6l'; goRelSha256='529a16b531d4561572db6ba9d357215b58a1953437a63e76dc0c597be9e25dd2' ;; \
		arm64) goRelArch='linux-arm64'; goRelSha256='d6af66c71b12d63c754d5bf49c3007dc1c9821eb1a945118bfd5a539a327c4c8' ;; \
		i386) goRelArch='linux-386'; goRelSha256='ea4caddf76b86ed5d101a61bc9a273be5b24d81f0567270bb4d5beaaded9b567' ;; \
		ppc64el) goRelArch='linux-ppc64le'; goRelSha256='f0748502c90e9784b6368937f1d157913d18acdae72ac75add50e5c0c9efc85c' ;; \
		s390x) goRelArch='linux-s390x'; goRelSha256='2266b7ebdbca13c21a1f6039c9f6887cd2c01617d1e2716ff4595307a0da1d46' ;; \
		*) goRelArch='src'; goRelSha256='6264609c6b9cd8ed8e02ca84605d727ce1898d74efa79841660b2e3e985a98bd'; \
			echo >&2; echo >&2 "warning: current architecture ($dpkgArch) does not have a corresponding Go binary release; will be building from source"; echo >&2 ;; \
	esac; \
	\
	url="https://golang.org/dl/go${GOLANG_VERSION}.${goRelArch}.tar.gz"; \
	wget -O go.tgz "$url"; \
	echo "${goRelSha256} *go.tgz" | sha256sum -c -; \
	tar -C /usr/local -xzf go.tgz; \
	rm go.tgz; \
	\
	if [ "$goRelArch" = 'src' ]; then \
		echo >&2; \
		echo >&2 'error: UNIMPLEMENTED'; \
		echo >&2 'TODO install golang-any from jessie-backports for GOROOT_BOOTSTRAP (and uninstall after build)'; \
		echo >&2; \
		exit 1; \
	fi; \
	\
	export PATH="/usr/local/go/bin:$PATH"; \
	go version

ENV GOPATH /go
ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH

RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"

Then created image
docker build . -t openjdk_go1_10_2

Then try to build and run the tests
docker run --rm -it -v $(pwd):/tmp/test openjdk_go1_10_2 bash -c "cd /tmp/test && ./gradlew build

👍 for running the tests in a docker container, ideally using the same base docker image used when running the action.

Will try to make them work on OSX. I actually use OSX but I developed everything inside a vm with ubuntu 14.04.

With latest from master 1 test is failing.
I deleted the directory and did a new git clone.
It looks like is random which test fails
$ gradle test --info
Initialized native services in: /Users/csantana23/.gradle/native
The client will now receive all logging from the daemon (pid: 81040). The daemon log file: /Users/csantana23/.gradle/daemon/4.7/daemon-81040.out.log
Starting 11th build in daemon [uptime: 1 hrs 26 mins 21.684 secs, performance: 99%, no major garbage collections]
Using 8 worker leases.
Starting Build
Settings evaluated using settings file '/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/settings.gradle'.
Projects loaded. Root project using build file '/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/build.gradle'.
Included projects: [root project 'runtime-golang', project ':actionProxyLoop', project ':golang1.10']

> Configure project :
Evaluating root project 'runtime-golang' using build file '/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/build.gradle'.
Found go 1.10.2 in /Users/csantana23/.gimme/versions/go1.10.2.darwin.amd64/bin/go, use it.

> Configure project :actionProxyLoop
Evaluating project ':actionProxyLoop' using build file '/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/actionProxyLoop/build.gradle'.

> Configure project :golang1.10
Evaluating project ':golang1.10' using build file '/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/golang1.10/build.gradle'.
All projects evaluated.
Selected primary task 'test' from project :
Tasks to be executed: [task ':prepare', task ':resolveBuildDependencies', task ':resolveTestDependencies', task ':installDependencies', task ':vendor', task ':test']
:prepare (Thread[Task worker for ':',5,main]) started.

> Task :prepare
Task ':prepare' is not up-to-date because:
  Task has not declared any outputs despite executing actions.
Use project GOPATH: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath
:prepare (Thread[Task worker for ':',5,main]) completed. Took 0.0 secs.
:resolveBuildDependencies (Thread[Task worker for ':',5,main]) started.

> Task :resolveBuildDependencies UP-TO-DATE
Skipping task ':resolveBuildDependencies' as it is up-to-date.
:resolveBuildDependencies (Thread[Task worker for ':',5,main]) completed. Took 0.004 secs.
:resolveTestDependencies (Thread[Task worker for ':',5,main]) started.

> Task :resolveTestDependencies UP-TO-DATE
Skipping task ':resolveTestDependencies' as it is up-to-date.
:resolveTestDependencies (Thread[Task worker for ':',5,main]) completed. Took 0.004 secs.
:installDependencies (Thread[Task worker for ':',5,main]) started.

> Task :installDependencies
Task ':installDependencies' is not up-to-date because:
  Task has not declared any outputs despite executing actions.
 Took 0.128 secs.
:vendor (Thread[Task worker for ':',5,main]) started.

> Task :vendor
Skipping task ':vendor' as it has no actions.
:vendor (Thread[Task worker for ':',5,main]) completed. Took 0.0 secs.
:test (Thread[Task worker for ':',5,main]) started.
=== RUN   ExampleHello
2018/05/16 18:23:44 Hello, Mike
--- PASS: ExampleHello (0.00s)
=== RUN   ExampleHello_noName
--- PASS: ExampleHello_noName (0.00s)
=== RUN   ExampleHello_badJson
--- PASS: ExampleHello_badJson (0.00s)
PASS
coverage: 100.0% of statements
ok      github.com/apache/incubator-openwhisk-runtime-go/test/src/hello 0.009s  coverage: 100.0% of statements

> Task :test
Task ':test' is not up-to-date because:
  No history is available.
Result of package github.com/apache/incubator-openwhisk-runtime-go/test/src/hello:
Test for github.com/apache/incubator-openwhisk-runtime-go/test/src/hello finished, 3 completed, 0 failed
Result of package github.com/apache/incubator-openwhisk-runtime-go/openwhisk:

rm: exec.zip: No such file or directory
=== RUN   TestExtractActionTest_exec
--- PASS: TestExtractActionTest_exec (0.00s)
=== RUN   TestExtractActionTest_exe
--- PASS: TestExtractActionTest_exe (0.00s)
=== RUN   TestExtractActionTest_zip
2018/05/16 18:24:04 Extract Action, assuming a zip
--- PASS: TestExtractActionTest_zip (0.02s)
=== RUN   TestExtractAction_script
--- PASS: TestExtractAction_script (0.00s)
=== RUN   TestHighestDir
--- PASS: TestHighestDir (0.00s)
=== RUN   Example_startTestServer
2018/05/16 18:24:04 /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action669986871
2018/05/16 18:24:04 http://<IP_ADDRESS>:51731
--- PASS: Example_startTestServer (1.01s)
=== RUN   Example_isCompiled
2018/05/16 18:24:12 isCompiled: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/_test/compile/c/exec kind={{  } unknown}
2018/05/16 18:24:12 isCompiled: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/_test/compile/c/exec kind={{  } unknown}
2018/05/16 18:24:12 compiling: compiler=../common/gobuild.sh main=main src=/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/_test/compile/c/exec out=
2018/05/16 18:24:13
2018/05/16 18:24:13 isCompiled: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/_test/compile/c/exec kind={{darwin mach darwin/mach} elf}
2018/05/16 18:24:13 isCompiled: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/_test/compile/c/exec kind={{darwin mach darwin/mach} mach}
2018/05/16 18:24:13 open /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/_test/compile/c/main: no such file or directory
2018/05/16 18:24:13 stat /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/_test/compile/c/exec1: no such file or directory
--- PASS: Example_isCompiled (8.16s)
=== RUN   Example_compileAction_singlefile_main
2018/05/16 18:24:14 compiling: compiler=../common/gobuild.sh main=main src=/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/_test/compile/1/exec out=
2018/05/16 18:24:15
--- PASS: Example_compileAction_singlefile_main (1.37s)
=== RUN   Example_compileAction_singlefile_main_out
2018/05/16 18:24:15 compiling: compiler=../common/gobuild.sh main=main src=/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/_test/compile/1a/exec out=/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/_test/output/1a
2018/05/16 18:24:16
--- PASS: Example_compileAction_singlefile_main_out (1.31s)
=== RUN   Example_compileAction_singlefile_hello
2018/05/16 18:24:16 compiling: compiler=../common/gobuild.sh main=hello src=_test/compile/2/exec out=
2018/05/16 18:24:17
--- PASS: Example_compileAction_singlefile_hello (1.33s)
=== RUN   Example_compileAction_singlefile_hello_out
2018/05/16 18:24:18 compiling: compiler=../common/gobuild.sh main=hello src=_test/compile/2a/exec out=/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/_test/output/2a
2018/05/16 18:24:19
--- PASS: Example_compileAction_singlefile_hello_out (1.40s)
=== RUN   Example_compileAction_multifile_main
2018/05/16 18:24:19 compiling: compiler=../common/gobuild.sh main=main src=_test/compile/3/ out=
2018/05/16 18:24:20 cp: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/openwhisk/_test/compile/3/action is a directory (not copied).
--- PASS: Example_compileAction_multifile_main (1.37s)
=== RUN   Example_compileAction_multifile_main_out
2018/05/16 18:24:20 compiling: compiler=../common/gobuild.sh main=main src=_test/compile/3a/ out=/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/_test/output/3a
2018/05/16 18:24:21 cp: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/openwhisk/_test/compile/3a/action is a directory (not copied).
--- PASS: Example_compileAction_multifile_main_out (1.33s)
=== RUN   Example_compileAction_multifile_hello
2018/05/16 18:24:22 compiling: compiler=../common/gobuild.sh main=hello src=_test/compile/4/ out=
2018/05/16 18:24:23 cp: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/openwhisk/_test/compile/4/action is a directory (not copied).
--- PASS: Example_compileAction_multifile_hello (1.33s)
=== RUN   Example_compileAction_multifile_hello_out
2018/05/16 18:24:23 compiling: compiler=../common/gobuild.sh main=hello src=_test/compile/4/ out=/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/_test/output/4a
2018/05/16 18:24:24 cp: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/openwhisk/_test/compile/4/action is a directory (not copied).
--- PASS: Example_compileAction_multifile_hello_out (1.41s)
=== RUN   ExampleNewExecutor_failed
2018/05/16 18:24:24 run: start
2018/05/16 18:24:24 run: end
2018/05/16 18:24:24 stopping
2018/05/16 18:24:24 run: start
2018/05/16 18:24:24 run: end
2018/05/16 18:24:24 stopping
2018/05/16 18:24:24 run: start
2018/05/16 18:24:24 run: early exit
2018/05/16 18:24:24 stopping
2018/05/16 18:24:24 run: start
2018/05/16 18:24:24 run: early exit
2018/05/16 18:24:24 stopping
--- PASS: ExampleNewExecutor_failed (0.01s)
=== RUN   ExampleNewExecutor_bc
2018/05/16 18:24:24 run: start
2018/05/16 18:24:24 service: start
2018/05/16 18:24:24 logger: start
2018/05/16 18:24:24 >>>2+2
2018/05/16 18:24:24 <<<4
2018/05/16 18:24:24 >>>quit
2018/05/16 18:24:24 run: end
2018/05/16 18:24:24 stopping
2018/05/16 18:24:24 logger: end
--- PASS: ExampleNewExecutor_bc (0.12s)
=== RUN   ExampleNewExecutor_hello
2018/05/16 18:24:24 run: start
2018/05/16 18:24:24 service: start
2018/05/16 18:24:24 >>>{"name":"Mike"}
2018/05/16 18:24:24 logger: start
2018/05/16 18:24:24 <<<{"hello": "Mike"}
2018/05/16 18:24:24 stopping
2018/05/16 18:24:24 logger: end
2018/05/16 18:24:24 terminated upon request
2018/05/16 18:24:24 service: end
2018/05/16 18:24:24 run: end
--- PASS: ExampleNewExecutor_hello (0.23s)
=== RUN   ExampleNewExecutor_term
2018/05/16 18:24:24 run: start
2018/05/16 18:24:24 logger: start
2018/05/16 18:24:24 service: start
2018/05/16 18:24:24 >>>{"name":"*"}
2018/05/16 18:24:24 run: end
2018/05/16 18:24:25 stopping
2018/05/16 18:24:25 logger: end
--- PASS: ExampleNewExecutor_term (0.22s)
=== RUN   Example_json_init
--- PASS: Example_json_init (0.00s)
=== RUN   Example_bininit_nocompiler
2018/05/16 18:24:25 /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action279421064
2018/05/16 18:24:25 http://<IP_ADDRESS>:51785
2018/05/16 18:24:25 terminated upon request
2018/05/16 18:24:25 service: end
2018/05/16 18:24:25 terminated upon request
2018/05/16 18:24:25 service: end
2018/05/16 18:24:25 binary
2018/05/16 18:24:25 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action279421064/1/main
2018/05/16 18:24:25 run: start
2018/05/16 18:24:25 service: start
2018/05/16 18:24:25 logger: start
2018/05/16 18:24:25 >>>{"name":"Mike"}
2018/05/16 18:24:25 <<<{"message":"Hello, Mike!"}
2018/05/16 18:24:25 {"message":"Hello, Mike!"}
2018/05/16 18:24:26 binary
2018/05/16 18:24:26 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action279421064/2/main
2018/05/16 18:24:26 run: start
2018/05/16 18:24:26 stopping old executor
2018/05/16 18:24:26 stopping
2018/05/16 18:24:26 logger: start
2018/05/16 18:24:26 logger: end
2018/05/16 18:24:26 terminated upon request
2018/05/16 18:24:26 service: end
2018/05/16 18:24:26 service: start
2018/05/16 18:24:26 run: end
2018/05/16 18:24:26 >>>{"name":"Mike"}
2018/05/16 18:24:26 <<<{"greetings":"Hello, Mike"}
2018/05/16 18:24:26 {"greetings":"Hello, Mike"}
--- PASS: Example_bininit_nocompiler (1.99s)
=== RUN   Example_zipinit_nocompiler
2018/05/16 18:24:27 /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action754497274
2018/05/16 18:24:27 http://<IP_ADDRESS>:51791
2018/05/16 18:24:27 binary
2018/05/16 18:24:27 Extract Action, assuming a zip
2018/05/16 18:24:27 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action754497274/1/main
2018/05/16 18:24:27 run: start
2018/05/16 18:24:27 logger: start
2018/05/16 18:24:27 service: start
2018/05/16 18:24:27 >>>{"name":"Mike"}
2018/05/16 18:24:27 <<<{"greetings":"Hello, Mike"}
2018/05/16 18:24:27 {"greetings":"Hello, Mike"}
2018/05/16 18:24:27 binary
2018/05/16 18:24:27 Extract Action, assuming a zip
2018/05/16 18:24:27 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action754497274/2/main
2018/05/16 18:24:27 run: start
2018/05/16 18:24:27 stopping old executor
2018/05/16 18:24:27 logger: start
2018/05/16 18:24:27 stopping
2018/05/16 18:24:27 service: start
2018/05/16 18:24:27 terminated upon request
2018/05/16 18:24:27 service: end
2018/05/16 18:24:27 logger: end
2018/05/16 18:24:27 run: end
2018/05/16 18:24:27 >>>{"name":"Mike"}
2018/05/16 18:24:27 <<<{"message":"Hello, Mike!"}
2018/05/16 18:24:27 {"message":"Hello, Mike!"}
--- PASS: Example_zipinit_nocompiler (1.44s)
=== RUN   Example_shell_nocompiler
2018/05/16 18:24:28 /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action589459004
2018/05/16 18:24:28 http://<IP_ADDRESS>:51797
2018/05/16 18:24:28 binary
2018/05/16 18:24:28 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action589459004/1/main
2018/05/16 18:24:28 run: start
2018/05/16 18:24:28 service: start
2018/05/16 18:24:28 logger: start
2018/05/16 18:24:28 >>>{"name":"Mike"}
2018/05/16 18:24:28 <<<{"hello": "Mike"}
2018/05/16 18:24:28 {"hello": "Mike"}
2018/05/16 18:24:28 >>>{"name":"*"}
2018/05/16 18:24:28 run: end
--- PASS: Example_shell_nocompiler (1.03s)
=== RUN   Example_main_nocompiler
2018/05/16 18:24:29 /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action609103566
2018/05/16 18:24:29 http://<IP_ADDRESS>:51801
2018/05/16 18:24:30 binary
2018/05/16 18:24:30 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action609103566/1/message
2018/05/16 18:24:30 run: start
2018/05/16 18:24:30 logger: start
2018/05/16 18:24:30 service: start
2018/05/16 18:24:30 >>>{"name":"Mike"}
2018/05/16 18:24:30 <<<{"message":"Hello, Mike!"}
2018/05/16 18:24:30 {"message":"Hello, Mike!"}
2018/05/16 18:24:30 binary
2018/05/16 18:24:30 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action609103566/2/greeting
2018/05/16 18:24:30 run: start
2018/05/16 18:24:30 service: start
2018/05/16 18:24:30 stopping old executor
2018/05/16 18:24:30 stopping
2018/05/16 18:24:30 logger: start
2018/05/16 18:24:30 terminated upon request
2018/05/16 18:24:30 logger: end
2018/05/16 18:24:30 service: end
2018/05/16 18:24:30 run: end
2018/05/16 18:24:30 >>>{"name":"Mike"}
2018/05/16 18:24:30 <<<{"greetings":"Hello, Mike"}
2018/05/16 18:24:30 {"greetings":"Hello, Mike"}
--- PASS: Example_main_nocompiler (2.19s)
=== RUN   Example_main_zipinit_nocompiler
2018/05/16 18:24:31 /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action485462320
2018/05/16 18:24:31 http://<IP_ADDRESS>:51807
2018/05/16 18:24:31 binary
2018/05/16 18:24:31 Extract Action, assuming a zip
2018/05/16 18:24:31 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action485462320/1/greeting
2018/05/16 18:24:31 run: start
2018/05/16 18:24:31 run: early exit
2018/05/16 18:24:31 removing the failed action in ./action/1/
2018/05/16 18:24:32 binary
2018/05/16 18:24:32 Extract Action, assuming a zip
2018/05/16 18:24:32 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action485462320/2/greeting
2018/05/16 18:24:32 run: start
2018/05/16 18:24:32 service: start
2018/05/16 18:24:32 logger: start
2018/05/16 18:24:32 >>>{"name":"Mike"}
2018/05/16 18:24:32 <<<{"greetings":"Hello, Mike"}
2018/05/16 18:24:32 {"greetings":"Hello, Mike"}
2018/05/16 18:24:32 binary
2018/05/16 18:24:32 Extract Action, assuming a zip
2018/05/16 18:24:32 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action485462320/3/message
2018/05/16 18:24:32 run: start
2018/05/16 18:24:32 run: early exit
2018/05/16 18:24:32 removing the failed action in ./action/3/
2018/05/16 18:24:32 binary
2018/05/16 18:24:32 Extract Action, assuming a zip
2018/05/16 18:24:32 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action485462320/4/message
2018/05/16 18:24:32 run: start
2018/05/16 18:24:32 stopping old executor
2018/05/16 18:24:32 logger: start
2018/05/16 18:24:32 stopping
2018/05/16 18:24:32 logger: end
2018/05/16 18:24:32 service: start
2018/05/16 18:24:32 terminated upon request
2018/05/16 18:24:32 service: end
2018/05/16 18:24:32 run: end
2018/05/16 18:24:32 >>>{"name":"Mike"}
2018/05/16 18:24:32 <<<{"message":"Hello, Mike!"}
2018/05/16 18:24:32 {"message":"Hello, Mike!"}
--- PASS: Example_main_zipinit_nocompiler (1.91s)
=== RUN   Example_compile_simple
2018/05/16 18:24:33 /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action753047522
2018/05/16 18:24:33 http://<IP_ADDRESS>:51846
2018/05/16 18:24:33 compiler: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/common/gobuild.sh
2018/05/16 18:24:33 compiler: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/common/gobuild.sh
2018/05/16 18:24:33 plain text
2018/05/16 18:24:33 isCompiled: /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action753047522/1/main kind={{  } unknown}
2018/05/16 18:24:33 compiling: /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action753047522/1/main main: main
2018/05/16 18:24:33 compiling: compiler=/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/common/gobuild.sh main=main src=/var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action753047522/1/main out=/var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action753047522/1/main
2018/05/16 18:24:35
2018/05/16 18:24:35 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action753047522/1/main
2018/05/16 18:24:35 run: start
2018/05/16 18:24:35 service: start
2018/05/16 18:24:35 logger: start
2018/05/16 18:24:35 >>>{"name":"Mike"}
2018/05/16 18:24:35 <<<{"message":"Hello, Mike!"}
2018/05/16 18:24:35 {"message":"Hello, Mike!"}
--- PASS: Example_compile_simple (2.78s)
=== RUN   Example_compile_withMain
2018/05/16 18:24:36 /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action547809636
2018/05/16 18:24:36 http://<IP_ADDRESS>:51858
2018/05/16 18:24:36 compiler: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/common/gobuild.sh
2018/05/16 18:24:37 compiler: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/common/gobuild.sh
2018/05/16 18:24:37 plain text
2018/05/16 18:24:37 isCompiled: /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action547809636/1/main kind={{  } unknown}
2018/05/16 18:24:37 compiling: /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action547809636/1/main main: main
2018/05/16 18:24:37 compiling: compiler=/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/common/gobuild.sh main=main src=/var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action547809636/1/main out=/var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action547809636/1/main
2018/05/16 18:24:37 # main
src/main/main.go:11:22: undefined: action.Main
2018/05/16 18:24:37 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action547809636/1/main
2018/05/16 18:24:37 run: start
2018/05/16 18:24:37 logger: start
2018/05/16 18:24:37 service: start
2018/05/16 18:24:37 compiler: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/common/gobuild.sh
2018/05/16 18:24:37 plain text
2018/05/16 18:24:37 isCompiled: /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action547809636/2/hello kind={{  } unknown}
2018/05/16 18:24:37 compiling: /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action547809636/2/hello main: hello
2018/05/16 18:24:37 compiling: compiler=/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/common/gobuild.sh main=hello src=/var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action547809636/2/hello out=/var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action547809636/2/hello
2018/05/16 18:24:39
2018/05/16 18:24:39 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action547809636/2/hello
2018/05/16 18:24:39 run: start
2018/05/16 18:24:39 stopping old executor
2018/05/16 18:24:39 stopping
2018/05/16 18:24:39 service: start
2018/05/16 18:24:39 logger: end
2018/05/16 18:24:39 logger: start
2018/05/16 18:24:39 terminated upon request
2018/05/16 18:24:39 service: end
2018/05/16 18:24:39 http: panic serving <IP_ADDRESS>:51859: runtime error: invalid memory address or nil pointer dereference
goroutine 261 [running]:
net/http.(*conn).serve.func1(0xc420562000)
        /Users/csantana23/.gimme/versions/go1.10.2.darwin.amd64/src/net/http/server.go:1726 +0xd0
panic(0x12fb2c0, 0x151b2c0)
        /Users/csantana23/.gimme/versions/go1.10.2.darwin.amd64/src/runtime/panic.go:502 +0x229
os.(*Process).signal(0x0, 0x139fea0, 0x14ee498, 0x0, 0x0)
        /Users/csantana23/.gimme/versions/go1.10.2.darwin.amd64/src/os/exec_unix.go:56 +0x2e
os.(*Process).Signal(0x0, 0x139fea0, 0x14ee498, 0xc4200739e8, 0x1005065)
        /Users/csantana23/.gimme/versions/go1.10.2.darwin.amd64/src/os/exec.go:129 +0x3f
os.(*Process).kill(0x0, 0x12a31f6, 0x1)
        /Users/csantana23/.gimme/versions/go1.10.2.darwin.amd64/src/os/exec_posix.go:54 +0x43
os.(*Process).Kill(0x0, 0x139b640, 0x1)
        /Users/csantana23/.gimme/versions/go1.10.2.darwin.amd64/src/os/exec.go:114 +0x2b
github.com/apache/incubator-openwhisk-runtime-go/openwhisk.(*Executor).Stop(0xc420548410)
        /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/executor.go:198 +0x11f
github.com/apache/incubator-openwhisk-runtime-go/openwhisk.(*ActionProxy).StartLatestAction(0xc4205860c0, 0xc4204e2348, 0x5, 0xc4200b4c80, 0x48)
        /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/actionProxy.go:90 +0x5f2
github.com/apache/incubator-openwhisk-runtime-go/openwhisk.(*ActionProxy).initHandler(0xc4205860c0, 0x13a0460, 0xc420556000, 0xc420108200)
        /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/initHandler.go:125 +0x651
github.com/apache/incubator-openwhisk-runtime-go/openwhisk.(*ActionProxy).ServeHTTP(0xc4205860c0, 0x13a0460, 0xc420556000, 0xc420108200)
        /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/actionProxy.go:110 +0xa0
net/http.serverHandler.ServeHTTP(0xc42043a5b0, 0x13a0460, 0xc420556000, 0xc420108200)
        /Users/csantana23/.gimme/versions/go1.10.2.darwin.amd64/src/net/http/server.go:2694 +0xbc
net/http.(*conn).serve(0xc420562000, 0x13a0720, 0xc420180300)
        /Users/csantana23/.gimme/versions/go1.10.2.darwin.amd64/src/net/http/server.go:1830 +0x651
created by net/http.(*Server).Serve
        /Users/csantana23/.gimme/versions/go1.10.2.darwin.amd64/src/net/http/server.go:2795 +0x27b
2018/05/16 18:24:39 >>>{"name":"Mike"}
2018/05/16 18:24:39 <<<{"hello":"Hello, Mike!"}
2018/05/16 18:24:39 {"hello":"Hello, Mike!"}
--- FAIL: Example_compile_withMain (3.61s)
got:
400 {"error":"no action defined yet"}
200 {"ok":true}
Post http://<IP_ADDRESS>:51858/init: EOF
200 {"hello":"Hello, Mike!"}
name=Mike
XXX_THE_END_OF_A_WHISK_ACTIVATION_XXX
XXX_THE_END_OF_A_WHISK_ACTIVATION_XXX
want:
400 {"error":"no action defined yet"}
400 {"error":"cannot start action: command exited"}
200 {"ok":true}
200 {"hello":"Hello, Mike!"}
name=Mike
XXX_THE_END_OF_A_WHISK_ACTIVATION_XXX
XXX_THE_END_OF_A_WHISK_ACTIVATION_XXX
=== RUN   Example_compile_withZipSrc
2018/05/16 18:24:40 /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action084379190
2018/05/16 18:24:40 http://<IP_ADDRESS>:51870
2018/05/16 18:24:40 compiler: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/common/gobuild.sh
2018/05/16 18:24:40 compiler: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/common/gobuild.sh
2018/05/16 18:24:40 binary
2018/05/16 18:24:40 Extract Action, assuming a zip
2018/05/16 18:24:40 open /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action084379190/1/main: no such file or directory
2018/05/16 18:24:40 compiling: /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action084379190/1 main: main
2018/05/16 18:24:40 compiling: compiler=/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/common/gobuild.sh main=main src=/var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action084379190/1 out=/var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action084379190/1
2018/05/16 18:24:41 cp: /private/var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action084379190/1/action is a directory (not copied).
2018/05/16 18:24:41 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action084379190/1/main
2018/05/16 18:24:41 run: start
2018/05/16 18:24:41 service: start
2018/05/16 18:24:41 logger: start
2018/05/16 18:24:41 >>>{"name":"Mike"}
2018/05/16 18:24:41 <<<{"greetings":"Hello, Mike"}
2018/05/16 18:24:41 {"greetings":"Hello, Mike"}
2018/05/16 18:24:41 compiler: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/common/gobuild.sh
2018/05/16 18:24:41 binary
2018/05/16 18:24:41 Extract Action, assuming a zip
2018/05/16 18:24:41 open /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action084379190/2/hello: no such file or directory
2018/05/16 18:24:41 compiling: /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action084379190/2 main: hello
2018/05/16 18:24:41 compiling: compiler=/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/common/gobuild.sh main=hello src=/var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action084379190/2 out=/var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action084379190/2
2018/05/16 18:24:41 cp: /private/var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action084379190/2/action is a directory (not copied).
2018/05/16 18:24:41 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action084379190/2/hello
2018/05/16 18:24:41 run: start
2018/05/16 18:24:41 stopping old executor
2018/05/16 18:24:41 service: start
2018/05/16 18:24:41 logger: start
2018/05/16 18:24:41 stopping
2018/05/16 18:24:41 terminated upon request
2018/05/16 18:24:41 service: end
2018/05/16 18:24:41 logger: end
2018/05/16 18:24:41 run: end
2018/05/16 18:24:41 >>>{"name":"Mike"}
2018/05/16 18:24:41 <<<{"greetings":"Hello, Mike"}
2018/05/16 18:24:42 {"greetings":"Hello, Mike"}
--- PASS: Example_compile_withZipSrc (2.94s)
FAIL
coverage: 86.0% of statements
FAIL    github.com/apache/incubator-openwhisk-runtime-go/openwhisk      57.696s

> Task :test FAILED
Test for github.com/apache/incubator-openwhisk-runtime-go/openwhisk finished, 28 completed, 1 failed
Generating HTML test report...
Finished generating test html results (0.012 secs) into: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/reports/test
:test (Thread[Task worker for ':',5,main]) completed. Took 1 mins 0.3 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':test'.
> There are 1 failed tests. Please see /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/reports/test/index.html for more details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 1s
5 actionable tasks: 3 executed, 2 up-to-date

Running a second time after failure above ^^ now it works
  $ gradle test --info
Initialized native services in: /Users/csantana23/.gradle/native
The client will now receive all logging from the daemon (pid: 81040). The daemon log file: /Users/csantana23/.gradle/daemon/4.7/daemon-81040.out.log
Starting 12th build in daemon [uptime: 1 hrs 29 mins 49.093 secs, performance: 99%, no major garbage collections]
Using 8 worker leases.
Starting Build
Settings evaluated using settings file '/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/settings.gradle'.
Projects loaded. Root project using build file '/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/build.gradle'.
Included projects: [root project 'runtime-golang', project ':actionProxyLoop', project ':golang1.10']

> Configure project :
Evaluating root project 'runtime-golang' using build file '/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/build.gradle'.
Found go 1.10.2 in /Users/csantana23/.gimme/versions/go1.10.2.darwin.amd64/bin/go, use it.

> Configure project :actionProxyLoop
Evaluating project ':actionProxyLoop' using build file '/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/actionProxyLoop/build.gradle'.

> Configure project :golang1.10
Evaluating project ':golang1.10' using build file '/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/golang1.10/build.gradle'.
All projects evaluated.
Selected primary task 'test' from project :
Tasks to be executed: [task ':prepare', task ':resolveBuildDependencies', task ':resolveTestDependencies', task ':installDependencies', task ':vendor', task ':test']
:prepare (Thread[Task worker for ':',5,main]) started.

> Task :prepare
Task ':prepare' is not up-to-date because:
  Task has not declared any outputs despite executing actions.
Use project GOPATH: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath
:prepare (Thread[Task worker for ':',5,main]) completed. Took 0.0 secs.
:resolveBuildDependencies (Thread[Task worker for ':',5,main]) started.

> Task :resolveBuildDependencies UP-TO-DATE
Skipping task ':resolveBuildDependencies' as it is up-to-date.
:resolveBuildDependencies (Thread[Task worker for ':',5,main]) completed. Took 0.005 secs.
:resolveTestDependencies (Thread[Task worker for ':',5,main]) started.

> Task :resolveTestDependencies UP-TO-DATE
Skipping task ':resolveTestDependencies' as it is up-to-date.
:resolveTestDependencies (Thread[Task worker for ':',5,main]) completed. Took 0.004 secs.
:installDependencies (Thread[Task worker for ':',5,main]) started.

> Task :installDependencies
Task ':installDependencies' is not up-to-date because:
  Task has not declared any outputs despite executing actions.
 Took 0.107 secs.
:vendor (Thread[Task worker for ':',5,main]) started.

> Task :vendor
Skipping task ':vendor' as it has no actions.
:vendor (Thread[Task worker for ':',5,main]) completed. Took 0.0 secs.
:test (Thread[Task worker for ':',5,main]) started.
=== RUN   ExampleHello
2018/05/16 18:27:11 Hello, Mike
--- PASS: ExampleHello (0.00s)
=== RUN   ExampleHello_noName
--- PASS: ExampleHello_noName (0.00s)
=== RUN   ExampleHello_badJson
--- PASS: ExampleHello_badJson (0.00s)
PASS
coverage: 100.0% of statements
ok      github.com/apache/incubator-openwhisk-runtime-go/test/src/hello 0.007s  coverage: 100.0% of statements

> Task :test
Task ':test' is not up-to-date because:
  Task has failed previously.
Result of package github.com/apache/incubator-openwhisk-runtime-go/test/src/hello:
Test for github.com/apache/incubator-openwhisk-runtime-go/test/src/hello finished, 3 completed, 0 failed
Result of package github.com/apache/incubator-openwhisk-runtime-go/openwhisk:

=== RUN   TestExtractActionTest_exec
--- PASS: TestExtractActionTest_exec (0.00s)
=== RUN   TestExtractActionTest_exe
--- PASS: TestExtractActionTest_exe (0.00s)
=== RUN   TestExtractActionTest_zip
2018/05/16 18:27:12 Extract Action, assuming a zip
--- PASS: TestExtractActionTest_zip (0.02s)
=== RUN   TestExtractAction_script
--- PASS: TestExtractAction_script (0.00s)
=== RUN   TestHighestDir
--- PASS: TestHighestDir (0.00s)
=== RUN   Example_startTestServer
2018/05/16 18:27:12 /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action128406738
2018/05/16 18:27:12 http://<IP_ADDRESS>:52202
--- PASS: Example_startTestServer (1.01s)
=== RUN   Example_isCompiled
2018/05/16 18:27:13 isCompiled: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/_test/compile/c/exec kind={{  } unknown}
2018/05/16 18:27:13 isCompiled: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/_test/compile/c/exec kind={{  } unknown}
2018/05/16 18:27:13 compiling: compiler=../common/gobuild.sh main=main src=/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/_test/compile/c/exec out=
2018/05/16 18:27:14
2018/05/16 18:27:14 isCompiled: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/_test/compile/c/exec kind={{darwin mach darwin/mach} mach}
2018/05/16 18:27:14 isCompiled: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/_test/compile/c/exec kind={{darwin mach darwin/mach} mach}
2018/05/16 18:27:14 open /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/_test/compile/c/main: no such file or directory
2018/05/16 18:27:14 stat /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/_test/compile/c/exec1: no such file or directory
--- PASS: Example_isCompiled (1.41s)
=== RUN   Example_compileAction_singlefile_main
2018/05/16 18:27:15 compiling: compiler=../common/gobuild.sh main=main src=/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/_test/compile/1/exec out=
2018/05/16 18:27:16
--- PASS: Example_compileAction_singlefile_main (1.30s)
=== RUN   Example_compileAction_singlefile_main_out
2018/05/16 18:27:16 compiling: compiler=../common/gobuild.sh main=main src=/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/_test/compile/1a/exec out=/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/_test/output/1a
2018/05/16 18:27:17
--- PASS: Example_compileAction_singlefile_main_out (1.33s)
=== RUN   Example_compileAction_singlefile_hello
2018/05/16 18:27:17 compiling: compiler=../common/gobuild.sh main=hello src=_test/compile/2/exec out=
2018/05/16 18:27:18
--- PASS: Example_compileAction_singlefile_hello (1.35s)
=== RUN   Example_compileAction_singlefile_hello_out
2018/05/16 18:27:19 compiling: compiler=../common/gobuild.sh main=hello src=_test/compile/2a/exec out=/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/_test/output/2a
2018/05/16 18:27:20
--- PASS: Example_compileAction_singlefile_hello_out (1.33s)
=== RUN   Example_compileAction_multifile_main
2018/05/16 18:27:20 compiling: compiler=../common/gobuild.sh main=main src=_test/compile/3/ out=
2018/05/16 18:27:21 cp: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/openwhisk/_test/compile/3/action is a directory (not copied).
--- PASS: Example_compileAction_multifile_main (1.32s)
=== RUN   Example_compileAction_multifile_main_out
2018/05/16 18:27:21 compiling: compiler=../common/gobuild.sh main=main src=_test/compile/3a/ out=/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/_test/output/3a
2018/05/16 18:27:22 cp: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/openwhisk/_test/compile/3a/action is a directory (not copied).
--- PASS: Example_compileAction_multifile_main_out (1.28s)
=== RUN   Example_compileAction_multifile_hello
2018/05/16 18:27:23 compiling: compiler=../common/gobuild.sh main=hello src=_test/compile/4/ out=
2018/05/16 18:27:24 cp: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/openwhisk/_test/compile/4/action is a directory (not copied).
--- PASS: Example_compileAction_multifile_hello (1.32s)
=== RUN   Example_compileAction_multifile_hello_out
2018/05/16 18:27:24 compiling: compiler=../common/gobuild.sh main=hello src=_test/compile/4/ out=/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/openwhisk/_test/output/4a
2018/05/16 18:27:25 cp: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/openwhisk/_test/compile/4/action is a directory (not copied).
--- PASS: Example_compileAction_multifile_hello_out (1.33s)
=== RUN   ExampleNewExecutor_failed
2018/05/16 18:27:25 run: start
2018/05/16 18:27:25 run: end
2018/05/16 18:27:25 stopping
2018/05/16 18:27:25 run: start
2018/05/16 18:27:25 run: end
2018/05/16 18:27:25 stopping
2018/05/16 18:27:25 run: start
2018/05/16 18:27:25 run: early exit
2018/05/16 18:27:25 stopping
2018/05/16 18:27:25 run: start
2018/05/16 18:27:25 run: early exit
2018/05/16 18:27:25 stopping
--- PASS: ExampleNewExecutor_failed (0.01s)
=== RUN   ExampleNewExecutor_bc
2018/05/16 18:27:25 run: start
2018/05/16 18:27:25 service: start
2018/05/16 18:27:25 >>>2+2
2018/05/16 18:27:25 logger: start
2018/05/16 18:27:25 <<<4
2018/05/16 18:27:25 >>>quit
2018/05/16 18:27:25 run: end
2018/05/16 18:27:25 stopping
2018/05/16 18:27:25 logger: end
--- PASS: ExampleNewExecutor_bc (0.11s)
=== RUN   ExampleNewExecutor_hello
2018/05/16 18:27:25 run: start
2018/05/16 18:27:25 logger: start
2018/05/16 18:27:25 service: start
2018/05/16 18:27:25 >>>{"name":"Mike"}
2018/05/16 18:27:25 <<<{"hello": "Mike"}
2018/05/16 18:27:25 stopping
2018/05/16 18:27:25 logger: end
2018/05/16 18:27:25 terminated upon request
2018/05/16 18:27:25 service: end
2018/05/16 18:27:25 run: end
--- PASS: ExampleNewExecutor_hello (0.23s)
=== RUN   ExampleNewExecutor_term
2018/05/16 18:27:25 run: start
2018/05/16 18:27:25 logger: start
2018/05/16 18:27:25 service: start
2018/05/16 18:27:25 >>>{"name":"*"}
2018/05/16 18:27:25 run: end
2018/05/16 18:27:26 stopping
2018/05/16 18:27:26 logger: end
--- PASS: ExampleNewExecutor_term (0.22s)
=== RUN   Example_json_init
--- PASS: Example_json_init (0.01s)
=== RUN   Example_bininit_nocompiler
2018/05/16 18:27:26 /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action749076367
2018/05/16 18:27:26 http://<IP_ADDRESS>:52232
2018/05/16 18:27:26 terminated upon request
2018/05/16 18:27:26 terminated upon request
2018/05/16 18:27:26 service: end
2018/05/16 18:27:26 service: end
2018/05/16 18:27:26 binary
2018/05/16 18:27:26 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action749076367/1/main
2018/05/16 18:27:26 run: start
2018/05/16 18:27:26 service: start
2018/05/16 18:27:26 logger: start
2018/05/16 18:27:26 >>>{"name":"Mike"}
2018/05/16 18:27:26 <<<{"message":"Hello, Mike!"}
2018/05/16 18:27:26 {"message":"Hello, Mike!"}
2018/05/16 18:27:26 binary
2018/05/16 18:27:26 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action749076367/2/main
2018/05/16 18:27:26 run: start
2018/05/16 18:27:26 stopping old executor
2018/05/16 18:27:26 stopping
2018/05/16 18:27:26 service: start
2018/05/16 18:27:26 terminated upon request
2018/05/16 18:27:26 service: end
2018/05/16 18:27:26 logger: end
2018/05/16 18:27:26 logger: start
2018/05/16 18:27:26 run: end
2018/05/16 18:27:26 >>>{"name":"Mike"}
2018/05/16 18:27:26 <<<{"greetings":"Hello, Mike"}
2018/05/16 18:27:26 {"greetings":"Hello, Mike"}
--- PASS: Example_bininit_nocompiler (1.51s)
=== RUN   Example_zipinit_nocompiler
2018/05/16 18:27:27 /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action791002265
2018/05/16 18:27:27 http://<IP_ADDRESS>:52236
2018/05/16 18:27:27 binary
2018/05/16 18:27:27 Extract Action, assuming a zip
2018/05/16 18:27:27 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action791002265/1/main
2018/05/16 18:27:27 run: start
2018/05/16 18:27:27 logger: start
2018/05/16 18:27:27 service: start
2018/05/16 18:27:27 >>>{"name":"Mike"}
2018/05/16 18:27:27 <<<{"greetings":"Hello, Mike"}
2018/05/16 18:27:27 {"greetings":"Hello, Mike"}
2018/05/16 18:27:27 binary
2018/05/16 18:27:27 Extract Action, assuming a zip
2018/05/16 18:27:28 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action791002265/2/main
2018/05/16 18:27:28 run: start
2018/05/16 18:27:28 service: start
2018/05/16 18:27:28 logger: start
2018/05/16 18:27:28 stopping old executor
2018/05/16 18:27:28 stopping
2018/05/16 18:27:28 terminated upon request
2018/05/16 18:27:28 service: end
2018/05/16 18:27:28 logger: end
2018/05/16 18:27:28 run: end
2018/05/16 18:27:28 >>>{"name":"Mike"}
2018/05/16 18:27:28 <<<{"message":"Hello, Mike!"}
2018/05/16 18:27:28 {"message":"Hello, Mike!"}
--- PASS: Example_zipinit_nocompiler (1.47s)
=== RUN   Example_shell_nocompiler
2018/05/16 18:27:29 /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action258773043
2018/05/16 18:27:29 http://<IP_ADDRESS>:52242
2018/05/16 18:27:29 binary
2018/05/16 18:27:29 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action258773043/1/main
2018/05/16 18:27:29 run: start
2018/05/16 18:27:29 service: start
2018/05/16 18:27:29 logger: start
2018/05/16 18:27:29 >>>{"name":"Mike"}
2018/05/16 18:27:29 <<<{"hello": "Mike"}
2018/05/16 18:27:29 {"hello": "Mike"}
2018/05/16 18:27:29 >>>{"name":"*"}
2018/05/16 18:27:29 run: end
--- PASS: Example_shell_nocompiler (1.03s)
=== RUN   Example_main_nocompiler
2018/05/16 18:27:30 /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action283945693
2018/05/16 18:27:30 http://<IP_ADDRESS>:52246
2018/05/16 18:27:30 binary
2018/05/16 18:27:30 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action283945693/1/message
2018/05/16 18:27:30 run: start
2018/05/16 18:27:30 logger: start
2018/05/16 18:27:30 service: start
2018/05/16 18:27:30 >>>{"name":"Mike"}
2018/05/16 18:27:30 <<<{"message":"Hello, Mike!"}
2018/05/16 18:27:30 {"message":"Hello, Mike!"}
2018/05/16 18:27:31 binary
2018/05/16 18:27:31 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action283945693/2/greeting
2018/05/16 18:27:31 run: start
2018/05/16 18:27:31 service: start
2018/05/16 18:27:31 stopping old executor
2018/05/16 18:27:31 stopping
2018/05/16 18:27:31 logger: start
2018/05/16 18:27:31 logger: end
2018/05/16 18:27:31 terminated upon request
2018/05/16 18:27:31 service: end
2018/05/16 18:27:31 run: end
2018/05/16 18:27:31 >>>{"name":"Mike"}
2018/05/16 18:27:31 <<<{"greetings":"Hello, Mike"}
2018/05/16 18:27:31 {"greetings":"Hello, Mike"}
--- PASS: Example_main_nocompiler (2.16s)
=== RUN   Example_main_zipinit_nocompiler
2018/05/16 18:27:32 /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action966946583
2018/05/16 18:27:32 http://<IP_ADDRESS>:52252
2018/05/16 18:27:32 binary
2018/05/16 18:27:32 Extract Action, assuming a zip
2018/05/16 18:27:32 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action966946583/1/greeting
2018/05/16 18:27:32 run: start
2018/05/16 18:27:32 run: early exit
2018/05/16 18:27:32 removing the failed action in ./action/1/
2018/05/16 18:27:32 binary
2018/05/16 18:27:32 Extract Action, assuming a zip
2018/05/16 18:27:32 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action966946583/2/greeting
2018/05/16 18:27:32 run: start
2018/05/16 18:27:32 service: start
2018/05/16 18:27:32 logger: start
2018/05/16 18:27:32 >>>{"name":"Mike"}
2018/05/16 18:27:32 <<<{"greetings":"Hello, Mike"}
2018/05/16 18:27:32 {"greetings":"Hello, Mike"}
2018/05/16 18:27:32 binary
2018/05/16 18:27:32 Extract Action, assuming a zip
2018/05/16 18:27:32 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action966946583/3/message
2018/05/16 18:27:32 run: start
2018/05/16 18:27:32 run: early exit
2018/05/16 18:27:32 removing the failed action in ./action/3/
2018/05/16 18:27:33 binary
2018/05/16 18:27:33 Extract Action, assuming a zip
2018/05/16 18:27:33 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action966946583/4/message
2018/05/16 18:27:33 run: start
2018/05/16 18:27:33 service: start
2018/05/16 18:27:33 logger: start
2018/05/16 18:27:33 stopping old executor
2018/05/16 18:27:33 stopping
2018/05/16 18:27:33 terminated upon request
2018/05/16 18:27:33 service: end
2018/05/16 18:27:33 logger: end
2018/05/16 18:27:33 run: end
2018/05/16 18:27:33 >>>{"name":"Mike"}
2018/05/16 18:27:33 <<<{"message":"Hello, Mike!"}
2018/05/16 18:27:33 {"message":"Hello, Mike!"}
--- PASS: Example_main_zipinit_nocompiler (1.87s)
=== RUN   Example_compile_simple
2018/05/16 18:27:34 /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action293585761
2018/05/16 18:27:34 http://<IP_ADDRESS>:52258
2018/05/16 18:27:34 compiler: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/common/gobuild.sh
2018/05/16 18:27:34 compiler: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/common/gobuild.sh
2018/05/16 18:27:34 plain text
2018/05/16 18:27:34 isCompiled: /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action293585761/1/main kind={{  } unknown}
2018/05/16 18:27:34 compiling: /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action293585761/1/main main: main
2018/05/16 18:27:34 compiling: compiler=/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/common/gobuild.sh main=main src=/var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action293585761/1/main out=/var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action293585761/1/main
2018/05/16 18:27:35
2018/05/16 18:27:35 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action293585761/1/main
2018/05/16 18:27:35 run: start
2018/05/16 18:27:35 service: start
2018/05/16 18:27:35 logger: start
2018/05/16 18:27:35 >>>{"name":"Mike"}
2018/05/16 18:27:35 <<<{"message":"Hello, Mike!"}
2018/05/16 18:27:35 {"message":"Hello, Mike!"}
--- PASS: Example_compile_simple (2.05s)
=== RUN   Example_compile_withMain
2018/05/16 18:27:36 /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action857145403
2018/05/16 18:27:36 http://<IP_ADDRESS>:52264
2018/05/16 18:27:36 compiler: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/common/gobuild.sh
2018/05/16 18:27:36 compiler: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/common/gobuild.sh
2018/05/16 18:27:36 plain text
2018/05/16 18:27:36 isCompiled: /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action857145403/1/main kind={{  } unknown}
2018/05/16 18:27:36 compiling: /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action857145403/1/main main: main
2018/05/16 18:27:36 compiling: compiler=/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/common/gobuild.sh main=main src=/var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action857145403/1/main out=/var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action857145403/1/main
2018/05/16 18:27:36 # main
src/main/main.go:11:22: undefined: action.Main
2018/05/16 18:27:36 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action857145403/1/main
2018/05/16 18:27:36 run: start
2018/05/16 18:27:36 run: early exit
2018/05/16 18:27:36 removing the failed action in ./action/1/
2018/05/16 18:27:36 compiler: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/common/gobuild.sh
2018/05/16 18:27:36 plain text
2018/05/16 18:27:36 isCompiled: /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action857145403/2/hello kind={{  } unknown}
2018/05/16 18:27:36 compiling: /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action857145403/2/hello main: hello
2018/05/16 18:27:36 compiling: compiler=/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/common/gobuild.sh main=hello src=/var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action857145403/2/hello out=/var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action857145403/2/hello
2018/05/16 18:27:37
2018/05/16 18:27:37 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action857145403/2/hello
2018/05/16 18:27:37 run: start
2018/05/16 18:27:37 service: start
2018/05/16 18:27:37 logger: start
2018/05/16 18:27:37 >>>{"name":"Mike"}
2018/05/16 18:27:37 <<<{"hello":"Hello, Mike!"}
2018/05/16 18:27:37 {"hello":"Hello, Mike!"}
--- PASS: Example_compile_withMain (2.75s)
=== RUN   Example_compile_withZipSrc
2018/05/16 18:27:38 /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action675737637
2018/05/16 18:27:38 http://<IP_ADDRESS>:52270
2018/05/16 18:27:38 compiler: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/common/gobuild.sh
2018/05/16 18:27:38 compiler: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/common/gobuild.sh
2018/05/16 18:27:38 binary
2018/05/16 18:27:38 Extract Action, assuming a zip
2018/05/16 18:27:38 open /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action675737637/1/main: no such file or directory
2018/05/16 18:27:38 compiling: /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action675737637/1 main: main
2018/05/16 18:27:38 compiling: compiler=/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/common/gobuild.sh main=main src=/var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action675737637/1 out=/var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action675737637/1
2018/05/16 18:27:39 cp: /private/var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action675737637/1/action is a directory (not copied).
2018/05/16 18:27:39 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action675737637/1/main
2018/05/16 18:27:39 run: start
2018/05/16 18:27:39 service: start
2018/05/16 18:27:39 logger: start
2018/05/16 18:27:39 >>>{"name":"Mike"}
2018/05/16 18:27:39 <<<{"greetings":"Hello, Mike"}
2018/05/16 18:27:39 {"greetings":"Hello, Mike"}
2018/05/16 18:27:39 compiler: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/common/gobuild.sh
2018/05/16 18:27:39 binary
2018/05/16 18:27:39 Extract Action, assuming a zip
2018/05/16 18:27:39 open /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action675737637/2/hello: no such file or directory
2018/05/16 18:27:39 compiling: /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action675737637/2 main: hello
2018/05/16 18:27:39 compiling: compiler=/Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-runtime-go/common/gobuild.sh main=hello src=/var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action675737637/2 out=/var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action675737637/2
2018/05/16 18:27:40 cp: /private/var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action675737637/2/action is a directory (not copied).
2018/05/16 18:27:40 starting /var/folders/q6/4ry_mh5s3cxbcb1r0jwh06x80000gn/T/action675737637/2/hello
2018/05/16 18:27:40 run: start
2018/05/16 18:27:40 stopping old executor
2018/05/16 18:27:40 stopping
2018/05/16 18:27:40 service: start
2018/05/16 18:27:40 logger: end
2018/05/16 18:27:40 terminated upon request
2018/05/16 18:27:40 logger: start
2018/05/16 18:27:40 service: end
2018/05/16 18:27:40 run: end
2018/05/16 18:27:40 >>>{"name":"Mike"}
2018/05/16 18:27:40 <<<{"greetings":"Hello, Mike"}
2018/05/16 18:27:40 {"greetings":"Hello, Mike"}
--- PASS: Example_compile_withZipSrc (3.03s)
PASS
coverage: 85.3% of statements
ok      github.com/apache/incubator-openwhisk-runtime-go/openwhisk      29.875s coverage: 85.3% of statements

> Task :test
Test for github.com/apache/incubator-openwhisk-runtime-go/openwhisk finished, 28 completed, 0 failed
Generating HTML test report...
Finished generating test html results (0.01 secs) into: /Users/csantana23/Documents/dev/whisk/git/apache/incubator-openwhisk-runtime-go/.gogradle/reports/test
:test (Thread[Task worker for ':',5,main]) completed. Took 31.83 secs.

BUILD SUCCESSFUL in 32s
5 actionable tasks: 3 executed, 2 up-to-date

Tests now runs for me in all the case after  I added the "fixture" (TestMain) to compile only once.

Tests sometimes fail on Travis also
And also fail in OSX also
Maybe there is a race condition on the tests with concurrent procs?

@sciabarra I went ahead and enabled Travis to run on master branch daily to see how often it fails and which tests fail
This way we can help collect data on where is the code or tests having trouble.

I just run all the tests 10 times with no failures after fixing timeours.  I think if it works for you it can be closed.
$ for i in {1..10} ; do echo $i ; go test 2>/dev/null | tail -2 ; done
1
PASS
ok  	github.com/apache/incubator-openwhisk-runtime-go/openwhisk	63.983s
2
PASS
ok  	github.com/apache/incubator-openwhisk-runtime-go/openwhisk	61.424s
3
PASS
ok  	github.com/apache/incubator-openwhisk-runtime-go/openwhisk	60.694s
4
PASS
ok  	github.com/apache/incubator-openwhisk-runtime-go/openwhisk	60.875s
5
PASS
ok  	github.com/apache/incubator-openwhisk-runtime-go/openwhisk	61.193s
6
PASS
ok  	github.com/apache/incubator-openwhisk-runtime-go/openwhisk	62.631s
7
PASS
ok  	github.com/apache/incubator-openwhisk-runtime-go/openwhisk	62.494s
8
PASS
ok  	github.com/apache/incubator-openwhisk-runtime-go/openwhisk	60.698s
9
PASS
ok  	github.com/apache/incubator-openwhisk-runtime-go/openwhisk	60.738s
10
PASS
ok  	github.com/apache/incubator-openwhisk-runtime-go/openwhisk	60.875s
Note to run tests on OSX you need to have set properly GOROOT and GOPATH.

This is working on OSX with gradle test and cd openwhisk; go test


fix: all commits not found

:tada: This PR is included in version 0.3.6 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Feature] Copy Namespace Button

Hey folks,
I really got annoyed the last days by reading through sami documented projects because there is no functionality to copy/paste the namespace of a class.
I would like to implement a "copy" button next to the namespace breadcrumb bar, which is using a js lib like https://clipboardjs.com/. Is it worth a pull request? Share your opinion.

Why you can't use browser copy/paste feature (select text > press ctrl+c) as on other web pages?

Thats not possible because the namespace breadcrumb section is not a real text field. The backshlashes are implemented with the css ::before selector.
So if you select and copy the namespace you will paste it without the backslashes. For example you will get something like this Symfony Component HttpFoundation Request

Then maybe you should aggress that instead? Like making namespace a real copyable text.
I guess ::before selector solution, when developed, wasn't accounting for the fact that text should be copied.

I had the same idea, but i thought it would be fancier with a copy button.
But ok - i will create a PR which makes the namespace breadcrumb copyable.

Update: I tried to add li elements with backslashes between the breadcrumbs.
But you still copy spaces e.g. Symfony \ Component \ HttpFoundation \ Request
I will create a pr with the copy to clipboard libary, lets see what @fabpot will say.


[Event Request] CodeUnit 99000809 - Planning Line Management - OnAfterRecalculateWithOptionalModify

Hi, would it be possible de have an event in the RecalculateWithOptionalModify procedure please :

Thanks.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Check validity of module name

We should add a function that checks the validity of module_name (i.e., is the user-specified module name a valid module that exists?) before feature extraction starts. Else, the feature extraction method will raise a KeyError after the first iteration which is probably fine but definitely not great. I am thinking about something along the lines of
def get_module_names(self):
    return zip(*self.model.named_modules())

def _is_valid_module(self, module_name: str) -> bool:
    valid_names, _ = self.get_module_names()
    return (module_name in valid_names)

which is supposed to be evaluated prior to executing the main feature extraction loop. Therefore, this should probably be evaluated in extractor.extract_features(...).

This does not seem to be necessary if we resolve issue #89.

I think its still necessary, if we continue allowing users to extract features for individual network modules (which I also think we should do)

@andropar I agree.


RHIROS #358 - Log archive report URL

Output as per the second commit looks like -
2021-10-14 19:40:51,107 - INFO  - _download_and_extract_report - ARCHIVE PROCESSOR - Starting to download the report from http://minio:9000/insights-upload-perma/<url continues with credentials>.

2021-10-14 19:40:51,108 - INFO  - _download_and_extract_report - ARCHIVE PROCESSOR - Downloaded the report successfully from http://minio:9000/insights-upload-perma/<url continues with credentials>.

2021-10-14 19:40:51,195 - INFO  - get_performance_profile - ARCHIVE PROCESSOR - Starting to extract performance profile from the report present at http://minio:9000/insights-upload-perma/<url continues with credentials>.

2021-10-14 19:40:51,626 - INFO  - get_performance_profile - ARCHIVE PROCESSOR - Extracted performance profile from the report successfully present at http://minio:9000/insights-upload-perma/<url continues with credentials>.

LGMT @apuntamb


BKR-1508

Currently beaker does not support WinRM connections to windows hosts.
To use beaker to provision and run tests on a Windows 2016 server using vagrant,
beaker uses SSH connection to connect to the box. This means that there should be a SSH server
configured on the windows box. This needs to happen before beaker starting to connect.
The only possible option in the context of vagrant is to use vagrant provision.
So this add shell_provisioner option on the beaker host file to allow running
a shell script using vagrant. This takes advantage of Vagrant WinRM setup.

Can one of the admins verify this patch?

@kevpl Can I kindly ask if these changes can be reviewed? We have difficulties running Beaker tests on Windows since there is not WinRM connection and this solves the issue.

jenkins test this please

Hey @ardeshireshghi, here are the failures from the spec tests:
09:59:28 Failures:
09:59:28
09:59:28   1) Beaker::Vagrant can generate a ssh-config file
09:59:28      Failure/Error: f.write(ssh_config)
09:59:28
09:59:28        #<Double "file"> received :write with unexpected arguments
09:59:28          expected: ("Host ip.address.for.vm1\n    HostName <IP_ADDRESS>\n    User root\n    Port 2222\n    UserKnownHostsFil...hentication no\n    IdentityFile /home/root/.vagrant.d/insecure_private_key\n    IdentitiesOnly yes")
09:59:28               got: ("Host ip.address.for.vm1\n    HostName <IP_ADDRESS>\n    User root\n    Port 2222\n    UserKnownHostsFil...hentication no\n    IdentityFile /home/root/.vagrant.d/insecure_private_key\n     IdentitiesOnly no")
09:59:28        Diff:
09:59:28        @@ -6,5 +6,5 @@
09:59:28             StrictHostKeyChecking no
09:59:28             PasswordAuthentication no
09:59:28             IdentityFile /home/root/.vagrant.d/insecure_private_key
09:59:28        -    IdentitiesOnly yes
09:59:28        +     IdentitiesOnly no
09:59:28
09:59:28      # ./lib/beaker/hypervisor/vagrant.rb:167:in `set_ssh_config'
09:59:28      # ./spec/beaker/hypervisor/vagrant_spec.rb:476:in `block (2 levels) in <module:Beaker>'
09:59:28
09:59:28   2) Beaker::Vagrant provisioning and cleanup on windows can provision a set of hosts
09:59:28      Failure/Error: expect( vagrant ).not_to receive( :copy_ssh_to_root ).with( host, options ).once
09:59:28
09:59:28      RuntimeError:
09:59:28        `count` is not supported with negative message expectations
09:59:28      # ./spec/beaker/hypervisor/vagrant_spec.rb:557:in `block (4 levels) in <module:Beaker>'
09:59:28      # ./spec/beaker/hypervisor/vagrant_spec.rb:554:in `each'
09:59:28      # ./spec/beaker/hypervisor/vagrant_spec.rb:554:in `block (3 levels) in <module:Beaker>'
09:59:28
09:59:28   3) Beaker::Vagrant provisioning and cleanup on windows destroys an existing set of hosts before provisioning
09:59:28      Failure/Error: expect( vagrant ).not_to receive( :copy_ssh_to_root ).with( host, options ).once
09:59:28
09:59:28      RuntimeError:
09:59:28        `count` is not supported with negative message expectations
09:59:28      # ./spec/beaker/hypervisor/vagrant_spec.rb:557:in `block (4 levels) in <module:Beaker>'
09:59:28      # ./spec/beaker/hypervisor/vagrant_spec.rb:554:in `each'
09:59:28      # ./spec/beaker/hypervisor/vagrant_spec.rb:554:in `block (3 levels) in <module:Beaker>'
09:59:28
09:59:28   4) Beaker::Vagrant provisioning and cleanup on windows can cleanup
09:59:28      Failure/Error: expect( vagrant ).not_to receive( :copy_ssh_to_root ).with( host, options ).once
09:59:28
09:59:28      RuntimeError:
09:59:28        `count` is not supported with negative message expectations
09:59:28      # ./spec/beaker/hypervisor/vagrant_spec.rb:557:in `block (4 levels) in <module:Beaker>'
09:59:28      # ./spec/beaker/hypervisor/vagrant_spec.rb:554:in `each'
09:59:28      # ./spec/beaker/hypervisor/vagrant_spec.rb:554:in `block (3 levels) in <module:Beaker>'
09:59:28

@smcelmurry Thanks for the feedback. I fixed the tests and added a new test case for when :forward_ssh_agent is set to false


How to remove "Open in Windows Terminal" from context menu?

Hi All
how to remove "Open in Windows Terminal" from context menu?
I was looking into Registry but could not find anything...
What is the implementation of that feature?
Thank you.

It can't be removed right now. We're tracking a workitem to only show it when SHIFT is held down.
We're not going to add the ability to delete it entirely. Sorry.
/dup #6113

To remove this manually, open regedit, go to the folder \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked (you may have to create the Blocked key) then add a string value on the right with the name {9F156763-7844-4DC4-B2B1-901F640F5155} and the value WindowsTerminal

To remove this manually, open regedit, go to the folder \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked (you may have to create the Blocked key) then add a string value on the right with the name {9F156763-7844-4DC4-B2B1-901F640F5155} and the value WindowsTerminal
Bookmark the folder if you're likely to want to come back and re-enable the menu item when they add the option to only show it on holding shift

Cool stuff man. Thank you.

To remove this manually, open regedit, go to the folder \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked (you may have to create the Blocked key) then add a string value on the right with the name {9F156763-7844-4DC4-B2B1-901F640F5155} and the value WindowsTerminal
Bookmark the folder if you're likely to want to come back and re-enable the menu item when they add the option to only show it on holding shift

Cool stuff. Thank you.

To remove this manually, open regedit, go to the folder [...]

Nice, I already added my own shortcut on shift only, so this removed the duplicate.

It can't be removed right now. We're tracking a workitem to only show it when SHIFT is held down.
We're not going to add the ability to delete it entirely. Sorry.
/dup #6113

Hi, sorry to hear that, since this feature is simply not working when you choose wsl as the defualt profile in terminal. It will open the terminal, but the path is not mapped to the mounts in wsl. If you dont plan to add the ability to disable the context menu entry, you should at least make it work with wsl by default.
Cheers

I use this in combination with https://github.com/BroJenuel/Explorer-Context-Menu-Integration-for-windows-terminal to address issues with Windows Terminal not being able to properly retain the CWD when opening new tabs and panes (#8933).

I use this registry hack in combination with https://github.com/BroJenuel/Explorer-Context-Menu-Integration-for-windows-terminal to address issues with Windows Terminal not being able to properly retain the CWD when opening new tabs and panes (#8933).

I think this one is better:
https://github.com/lextm/windowsterminal-shell

@vitaminj Unfortunately that doesn't work for 'Open in Windows Terminal Preview'. Any idea of the correct CLSID for that?

@pundoo it seems to be {02DB545A-3E20-46DE-83A5-1329B1E88B6B} for the preview version (you can use any string for the value but WindowsTerminalPreview is probably a good idea so that you remember what it was)

@vitaminj Ahh.. its literally just there. I went over the source code atleast twice. How could I possibly overlook that.. smh

@vitaminj
Thank you for finding that string!  Now Windows Terminal Preview no longer shows up in my Windows 11 context menu 👍

To remove this manually, open Regedit, go to the folder \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked (you may have to create the Blocked key) then add a string value on the right with the name {9F156763-7844-4DC4-B2B1-901F640F5155} and the value WindowsTerminal Then restart Explorer.
Bookmark the folder if you're likely to want to come back and re-enable the menu item when they add the option to only show it on holding shift

Thank you.

@pundoo it seems to be {02DB545A-3E20-46DE-83A5-1329B1E88B6B} for the preview version (you can use any string for the value but WindowsTerminalPreview is probably a good idea so that you remember what it was)

Thank you. How about how to remove it from the extended context menu on Windows 11, after you click "Show More Options"?

@pundoo it seems to be {02DB545A-3E20-46DE-83A5-1329B1E88B6B} for the preview version (you can use any string for the value but WindowsTerminalPreview is probably a good idea so that you remember what it was)

Thank you. How about how to remove it from the extended context menu on Windows 11, after you click "Show More Options"?

the same registry edit you can apply in Windows 11 too.

To remove this manually, open regedit, go to the folder \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked (you may have to create the Blocked key) then add a string value on the right with the name {9F156763-7844-4DC4-B2B1-901F640F5155} and the value WindowsTerminal Then restart Explorer.
Bookmark the folder if you're likely to want to come back and re-enable the menu item when they add the option to only show it on holding shift

What would be the identifier for the Windows Terminal Preview version?


Zero file size on drive

Hello,
I really enjoy this tool and I use it every days, hence I would like first, to thank you for the dev you are doing.
However
Since few days, I had an issue while copying a file to google drive:
-creating a tree folder is working successfully.
-copying a file either with rsync or cp, leads to a corrupted  zero file size on google drive.
Thanks in advance

Please update to the latest version. It should fix it. (See issues #159 and #160.)

After removing the rpm, and fixing the cryptokit 1.9 failure
I updated it to the latest version with opam
opam update && opam upgrade.
Now I have again full accessworking.
Thanks for your quick support
BR
Stéphane


Setup bundle size report

closes #2835

:tada: This PR is included in version 3.29.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[ENG-517] Add registries navigation dropdown menu

Purpose
Add navigation dropdown menu.

Pull Request Test Coverage Report for Build 3867

10 of 12 (83.33%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.004%) to 75.643%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/osf-components/addon/components/registries/draft-registration-manager/component.ts
1
2
50.0%

lib/osf-components/addon/components/registries/registration-form-navigation-dropdown/component.ts
9
10
90.0%

Totals

Change from base Build 3806:
0.004%

Covered Lines:
8554

Relevant Lines:
9955

💛  - Coveralls


Hosted collectives: reduce the reliance on the Members table

In many places, we stopped looking at the Members table to get the list of hosted collectives to instead rely on collective.HostCollectiveId + collective.isActive. While the entry in the Members table is still nice to have when displaying the list of members/memberships, we should consolidate the behavior - especially in getHostedCollectives.
We need to first check:

Which occurrences have a Members entry and not HostCollectiveId set
Which occurrences have HostCollectiveId or not, a Members entry set
Do we have a Members entry if the Collective is not approved?

Which occurrences have a Members entry and not HostCollectiveId set
SELECT * FROM "Collectives"
WHERE "HostCollectiveId" IS NOT NULL
AND "approvedAt" IS NOT NULL
AND "isActive" IS TRUE
AND "deletedAt" IS NULL
AND "HostCollectiveId" != "id"
AND NOT EXISTS (
	SELECT * FROM "Members" WHERE "role" = 'HOST'
	AND "CollectiveId" = "Collectives"."id"
	AND "MemberCollectiveId" = "Collectives"."HostCollectiveId"
	AND "deletedAt" IS NULL
)

-> 0 (I fixed a couple of old entries before reaching this), re-using the query from https://github.com/opencollective/opencollective/issues/4938


ROS Surface-Pi Communication

Set up ROS communication (e.g. pub/sub) between the surface laptop and a Pi. Document the process for other devs.

ROS: "It just works."
It's literally as simple as connect an ethernet cable.
For more info: https://answers.ros.org/question/195514/ethernet-connection-via-ros/


Local security policy

A New PR
THANK YOU - We love to get PR's and really appreciate your time and help to improve this module
Accepting a PR
Before we accept the PR - please confirm that you have run the tests locally to avoid our automated build and release process failing. You can see how to do that in our wiki
https://github.com/sqlcollaborative/dbachecks/wiki
Please confirm you have 0 failing Pester Tests
[x] There are 0 failing Pester tests
Changes this PR brings
These are checks for Instant File Initialization and Lock Pages In Memory.

Hey mikey - so sorry, since your PR, there have been a lto of changes to the commands and now we've got conflicts. I'm going to close this PR since it cannot be merged in its current state and hasn't been updated in a while. Please feel free to resubmit the PR with the updated dev branch.