Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Lua/Octopus Failure #2557

Closed
Closed

Description

@NateBrady23

@cyberz-eu Octopus is failing again and it seems like the issue is again related to zlib removing a prior version https://github.com/cyberz-eu/octopus/blob/master/bin/unix/server.sh#L92

Activity

  1. knewmanTE commented on Feb 7, 2017

    @knewmanTE
    Contributor

    zlib lives on github (https://github.com/madler/zlib/releases) so the ideal fix would be if octopus shifted over to using the github zips so we don't have this problem every time zlib is updated.

    Also, I tested out adding a sed line to the setup.sh file to use zlib 1.2.11 and now I'm getting an error with the database host line:

    Setup octopus: /home/knewman/FrameworkBenchmarks/frameworks/Lua/octopus/octopus/bin/unix/luajit/bin/luajit: ../../extensions/config.lua:24: attempt to index global 'os' (a nil value)
    Setup octopus: stack traceback:
    Setup octopus: 	../../extensions/config.lua:24: in function 'f'
    Setup octopus: 	../../extensions/core/src/eval.lua:41: in function 'file'
    Setup octopus: 	build.lua:70: in main chunk
    

    which points to the first line of this function in eval.lua:

    local function evalFile(fileName, environment)
    	local f = load_file(fileName, environment)
    	local res, res2, res3, res4, res5 = f()
    	return res, res2, res3, res4, res5
    end
    

    When I manually set the host attribute in config.lua to "127.0.0.1", all of the tests passed, but manually setting it to "TFB-database" didn't work and output the error:

    ...octopus/bin/unix/../../extensions/core/src/exception.lua:21: failed to connect: no resolver defined to resolve "TFB-database"
    
  2. NateBrady23 commented on Feb 7, 2017

    @NateBrady23
    MemberAuthor

    @knewmanTE Yeah, that sed replacement was something I did the last time this came up and I submitted a PR to the Octopus repo to get it fixed, hopefully @cyberz-eu can nail down that issue. @msmith-techempower recently fixed the other two Lua frameworks that were having trouble with using the hosts aliases. I can look deeper into it tomorrow and see if any of the things he did could be applied here.

  3. msmith-techempower commented on Feb 7, 2017

    @msmith-techempower
    Member

    This line is the relevant one for the Lua fixes.

  4. knewmanTE commented on Feb 8, 2017

    @knewmanTE
    Contributor

    Temporary fix added with #2559, but would love a permanent, less-hacky solution.

  5. NateBrady23 commented on Feb 9, 2017

    @NateBrady23
    MemberAuthor

    Going to close this for now. We've pinged the framework owner. If it comes up again, will re-open or remove the framework until fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions